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

tech.ydb.proto.export.YdbExport Maven / Gradle / Ivy

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

package tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportProgress.class, tech.ydb.proto.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 tech.ydb.proto.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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportProgress)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportProgress other = (tech.ydb.proto.export.YdbExport.ExportProgress) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportProgress parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportProgress parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportProgress parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportProgress parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportProgress parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportProgressOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportProgress.class, tech.ydb.proto.export.YdbExport.ExportProgress.Builder.class); } // Construct using tech.ydb.proto.export.YdbExport.ExportProgress.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportProgress_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportProgress getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportProgress.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportProgress build() { tech.ydb.proto.export.YdbExport.ExportProgress result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportProgress buildPartial() { tech.ydb.proto.export.YdbExport.ExportProgress result = new tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportProgress) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportProgress)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportProgress other) { if (other == tech.ydb.proto.export.YdbExport.ExportProgress.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Export.ExportProgress) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportProgress) private static final tech.ydb.proto.export.YdbExport.ExportProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportProgress(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportItemProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportItemProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportItemProgress.class, tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder.class); } private int bitField0_; public static final int PARTS_TOTAL_FIELD_NUMBER = 1; private int partsTotal_ = 0; /** * 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_ = 0; /** * 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 ((bitField0_ & 0x00000001) != 0); } /** * .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 startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_; } 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 ((bitField0_ & 0x00000002) != 0); } /** * .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 endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_; } 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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(3, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(4, getEndTime()); } getUnknownFields().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 (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, getStartTime()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, getEndTime()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportItemProgress)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportItemProgress other = (tech.ydb.proto.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + 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) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportItemProgress parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportItemProgress parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportItemProgress parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportItemProgress parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportItemProgress parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportItemProgress parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportItemProgress parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportItemProgressOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportItemProgress_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportItemProgress_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportItemProgress.class, tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder.class); } // Construct using tech.ydb.proto.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) { getStartTimeFieldBuilder(); getEndTimeFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; partsTotal_ = 0; partsCompleted_ = 0; startTime_ = null; if (startTimeBuilder_ != null) { startTimeBuilder_.dispose(); startTimeBuilder_ = null; } endTime_ = null; if (endTimeBuilder_ != null) { endTimeBuilder_.dispose(); endTimeBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportItemProgress_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportItemProgress getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportItemProgress.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportItemProgress build() { tech.ydb.proto.export.YdbExport.ExportItemProgress result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportItemProgress buildPartial() { tech.ydb.proto.export.YdbExport.ExportItemProgress result = new tech.ydb.proto.export.YdbExport.ExportItemProgress(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportItemProgress result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.partsTotal_ = partsTotal_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.partsCompleted_ = partsCompleted_; } int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000004) != 0)) { result.startTime_ = startTimeBuilder_ == null ? startTime_ : startTimeBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000008) != 0)) { result.endTime_ = endTimeBuilder_ == null ? endTime_ : endTimeBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportItemProgress) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportItemProgress)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportItemProgress other) { if (other == tech.ydb.proto.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.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 8: { partsTotal_ = input.readUInt32(); bitField0_ |= 0x00000001; break; } // case 8 case 16: { partsCompleted_ = input.readUInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { input.readMessage( getStartTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000004; break; } // case 26 case 34: { input.readMessage( getEndTimeFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000008; break; } // case 34 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private 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; bitField0_ |= 0x00000001; onChanged(); return this; } /** * uint32 parts_total = 1; * @return This builder for chaining. */ public Builder clearPartsTotal() { bitField0_ = (bitField0_ & ~0x00000001); 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** * uint32 parts_completed = 2; * @return This builder for chaining. */ public Builder clearPartsCompleted() { bitField0_ = (bitField0_ & ~0x00000002); 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 ((bitField0_ & 0x00000004) != 0); } /** * .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; } else { startTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .google.protobuf.Timestamp start_time = 3; */ public Builder setStartTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (startTimeBuilder_ == null) { startTime_ = builderForValue.build(); } else { startTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; onChanged(); return this; } /** * .google.protobuf.Timestamp start_time = 3; */ public Builder mergeStartTime(com.google.protobuf.Timestamp value) { if (startTimeBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0) && startTime_ != null && startTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getStartTimeBuilder().mergeFrom(value); } else { startTime_ = value; } } else { startTimeBuilder_.mergeFrom(value); } if (startTime_ != null) { bitField0_ |= 0x00000004; onChanged(); } return this; } /** * .google.protobuf.Timestamp start_time = 3; */ public Builder clearStartTime() { bitField0_ = (bitField0_ & ~0x00000004); startTime_ = null; if (startTimeBuilder_ != null) { startTimeBuilder_.dispose(); startTimeBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.Timestamp start_time = 3; */ public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() { bitField0_ |= 0x00000004; 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 ((bitField0_ & 0x00000008) != 0); } /** * .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; } else { endTimeBuilder_.setMessage(value); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .google.protobuf.Timestamp end_time = 4; */ public Builder setEndTime( com.google.protobuf.Timestamp.Builder builderForValue) { if (endTimeBuilder_ == null) { endTime_ = builderForValue.build(); } else { endTimeBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; onChanged(); return this; } /** * .google.protobuf.Timestamp end_time = 4; */ public Builder mergeEndTime(com.google.protobuf.Timestamp value) { if (endTimeBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0) && endTime_ != null && endTime_ != com.google.protobuf.Timestamp.getDefaultInstance()) { getEndTimeBuilder().mergeFrom(value); } else { endTime_ = value; } } else { endTimeBuilder_.mergeFrom(value); } if (endTime_ != null) { bitField0_ |= 0x00000008; onChanged(); } return this; } /** * .google.protobuf.Timestamp end_time = 4; */ public Builder clearEndTime() { bitField0_ = (bitField0_ & ~0x00000008); endTime_ = null; if (endTimeBuilder_ != null) { endTimeBuilder_.dispose(); endTimeBuilder_ = null; } onChanged(); return this; } /** * .google.protobuf.Timestamp end_time = 4; */ public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() { bitField0_ |= 0x00000008; 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 tech.ydb.proto.export.YdbExport.ExportItemProgress DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportItemProgress(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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) = { ... } */ tech.ydb.proto.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) = { ... } */ tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtSettings.class, tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.class, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.Builder.class); } public static final int SOURCE_PATH_FIELD_NUMBER = 1; @SuppressWarnings("serial") 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; @SuppressWarnings("serial") 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourcePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourcePath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationPath_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourcePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourcePath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationPath_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item other = (tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item) obj; if (!getSourcePath() .equals(other.getSourcePath())) return false; if (!getDestinationPath() .equals(other.getDestinationPath())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SOURCE_PATH_FIELD_NUMBER; hash = (53 * hash) + getSourcePath().hashCode(); hash = (37 * hash) + DESTINATION_PATH_FIELD_NUMBER; hash = (53 * hash) + getDestinationPath().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToYtSettings.ItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.class, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.Builder.class); } // Construct using tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sourcePath_ = ""; destinationPath_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_Item_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item build() { tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item buildPartial() { tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item result = new tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sourcePath_ = sourcePath_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.destinationPath_ = destinationPath_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item other) { if (other == tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.getDefaultInstance()) return this; if (!other.getSourcePath().isEmpty()) { sourcePath_ = other.sourcePath_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getDestinationPath().isEmpty()) { destinationPath_ = other.destinationPath_; bitField0_ |= 0x00000002; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { sourcePath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { destinationPath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private 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; bitField0_ |= 0x00000001; 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(); bitField0_ = (bitField0_ & ~0x00000001); 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; bitField0_ |= 0x00000001; 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** * string destination_path = 2 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearDestinationPath() { destinationPath_ = getDefaultInstance().getDestinationPath(); bitField0_ = (bitField0_ & ~0x00000002); 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; bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Export.ExportToYtSettings.Item) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToYtSettings.Item) private static final tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int HOST_FIELD_NUMBER = 1; @SuppressWarnings("serial") 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_ = 0; /** * uint32 port = 2; * @return The port. */ @java.lang.Override public int getPort() { return port_; } public static final int TOKEN_FIELD_NUMBER = 3; @SuppressWarnings("serial") 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; @SuppressWarnings("serial") 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 tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item getItems(int index) { return items_.get(index); } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettings.ItemOrBuilder getItemsOrBuilder( int index) { return items_.get(index); } public static final int DESCRIPTION_FIELD_NUMBER = 5; @SuppressWarnings("serial") 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_ = 0; /** * 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_ = false; /** * 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, host_); } if (port_ != 0) { output.writeUInt32(2, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, token_); } for (int i = 0; i < items_.size(); i++) { output.writeMessage(4, items_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, description_); } if (numberOfRetries_ != 0) { output.writeUInt32(6, numberOfRetries_); } if (useTypeV3_ != false) { output.writeBool(7, useTypeV3_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(host_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, host_); } if (port_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(2, port_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(token_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { 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 += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToYtSettings)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToYtSettings other = (tech.ydb.proto.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + 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) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToYtSettings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtSettings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToYtSettings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToYtSettings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtSettings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtSettings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToYtSettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtSettings.class, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder.class); } // Construct using tech.ydb.proto.export.YdbExport.ExportToYtSettings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; host_ = ""; port_ = 0; token_ = ""; if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); } else { items_ = null; itemsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); description_ = ""; numberOfRetries_ = 0; useTypeV3_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtSettings_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettings getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettings build() { tech.ydb.proto.export.YdbExport.ExportToYtSettings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettings buildPartial() { tech.ydb.proto.export.YdbExport.ExportToYtSettings result = new tech.ydb.proto.export.YdbExport.ExportToYtSettings(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.export.YdbExport.ExportToYtSettings result) { if (itemsBuilder_ == null) { if (((bitField0_ & 0x00000008) != 0)) { items_ = java.util.Collections.unmodifiableList(items_); bitField0_ = (bitField0_ & ~0x00000008); } result.items_ = items_; } else { result.items_ = itemsBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportToYtSettings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.host_ = host_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.port_ = port_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.token_ = token_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.description_ = description_; } if (((from_bitField0_ & 0x00000020) != 0)) { result.numberOfRetries_ = numberOfRetries_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.useTypeV3_ = useTypeV3_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportToYtSettings) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToYtSettings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToYtSettings other) { if (other == tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance()) return this; if (!other.getHost().isEmpty()) { host_ = other.host_; bitField0_ |= 0x00000001; onChanged(); } if (other.getPort() != 0) { setPort(other.getPort()); } if (!other.getToken().isEmpty()) { token_ = other.token_; bitField0_ |= 0x00000004; onChanged(); } if (itemsBuilder_ == null) { if (!other.items_.isEmpty()) { if (items_.isEmpty()) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureItemsIsMutable(); items_.addAll(other.items_); } onChanged(); } } else { if (!other.items_.isEmpty()) { if (itemsBuilder_.isEmpty()) { itemsBuilder_.dispose(); itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000008); itemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } } } if (!other.getDescription().isEmpty()) { description_ = other.description_; bitField0_ |= 0x00000010; onChanged(); } if (other.getNumberOfRetries() != 0) { setNumberOfRetries(other.getNumberOfRetries()); } if (other.getUseTypeV3() != false) { setUseTypeV3(other.getUseTypeV3()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { host_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { port_ = input.readUInt32(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { token_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item m = input.readMessage( tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.parser(), extensionRegistry); if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(m); } else { itemsBuilder_.addMessage(m); } break; } // case 34 case 42: { description_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 48: { numberOfRetries_ = input.readUInt32(); bitField0_ |= 0x00000020; break; } // case 48 case 56: { useTypeV3_ = input.readBool(); bitField0_ |= 0x00000040; break; } // case 56 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object 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; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string host = 1 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearHost() { host_ = getDefaultInstance().getHost(); bitField0_ = (bitField0_ & ~0x00000001); 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; bitField0_ |= 0x00000001; 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** * uint32 port = 2; * @return This builder for chaining. */ public Builder clearPort() { bitField0_ = (bitField0_ & ~0x00000002); 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; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string token = 3 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearToken() { token_ = getDefaultInstance().getToken(); bitField0_ = (bitField0_ & ~0x00000004); 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; bitField0_ |= 0x00000004; onChanged(); return this; } private java.util.List items_ = java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000008) != 0)) { items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000008; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.Builder, tech.ydb.proto.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 tech.ydb.proto.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, tech.ydb.proto.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, tech.ydb.proto.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(tech.ydb.proto.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, tech.ydb.proto.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( tech.ydb.proto.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, tech.ydb.proto.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_ & ~0x00000008); 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 tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.Builder getItemsBuilder( int index) { return getItemsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.Builder addItemsBuilder() { return getItemsFieldBuilder().addBuilder( tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportToYtSettings.Item items = 4 [(.Ydb.size) = { ... } */ public tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.Builder addItemsBuilder( int index) { return getItemsFieldBuilder().addBuilder( index, tech.ydb.proto.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< tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.Builder, tech.ydb.proto.export.YdbExport.ExportToYtSettings.ItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Item.Builder, tech.ydb.proto.export.YdbExport.ExportToYtSettings.ItemOrBuilder>( items_, ((bitField0_ & 0x00000008) != 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; bitField0_ |= 0x00000010; onChanged(); return this; } /** * string description = 5 [(.Ydb.length) = { ... } * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); bitField0_ = (bitField0_ & ~0x00000010); 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; bitField0_ |= 0x00000010; 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; bitField0_ |= 0x00000020; onChanged(); return this; } /** * uint32 number_of_retries = 6; * @return This builder for chaining. */ public Builder clearNumberOfRetries() { bitField0_ = (bitField0_ & ~0x00000020); 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; bitField0_ |= 0x00000040; onChanged(); return this; } /** * bool use_type_v3 = 7; * @return This builder for chaining. */ public Builder clearUseTypeV3() { bitField0_ = (bitField0_ & ~0x00000040); 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 tech.ydb.proto.export.YdbExport.ExportToYtSettings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToYtSettings(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtResult.class, tech.ydb.proto.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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToYtResult)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToYtResult other = (tech.ydb.proto.export.YdbExport.ExportToYtResult) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToYtResult parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtResult parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtResult parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToYtResult parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToYtResult parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtResult parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtResult parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToYtResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtResult_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtResult_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtResult.class, tech.ydb.proto.export.YdbExport.ExportToYtResult.Builder.class); } // Construct using tech.ydb.proto.export.YdbExport.ExportToYtResult.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtResult_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtResult getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToYtResult.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtResult build() { tech.ydb.proto.export.YdbExport.ExportToYtResult result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtResult buildPartial() { tech.ydb.proto.export.YdbExport.ExportToYtResult result = new tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtResult) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToYtResult)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToYtResult other) { if (other == tech.ydb.proto.export.YdbExport.ExportToYtResult.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Export.ExportToYtResult) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToYtResult) private static final tech.ydb.proto.export.YdbExport.ExportToYtResult DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToYtResult(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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. */ tech.ydb.proto.export.YdbExport.ExportToYtSettings getSettings(); /** * .Ydb.Export.ExportToYtSettings settings = 1; */ tech.ydb.proto.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. */ tech.ydb.proto.export.YdbExport.ExportProgress.Progress getProgress(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ java.util.List getItemsProgressList(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ tech.ydb.proto.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; */ tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtMetadata.class, tech.ydb.proto.export.YdbExport.ExportToYtMetadata.Builder.class); } private int bitField0_; public static final int SETTINGS_FIELD_NUMBER = 1; private tech.ydb.proto.export.YdbExport.ExportToYtSettings settings_; /** * .Ydb.Export.ExportToYtSettings settings = 1; * @return Whether the settings field is set. */ @java.lang.Override public boolean hasSettings() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Export.ExportToYtSettings settings = 1; * @return The settings. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettings getSettings() { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettingsOrBuilder getSettingsOrBuilder() { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } public static final int PROGRESS_FIELD_NUMBER = 2; 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; * @return The progress. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportProgress.Progress getProgress() { tech.ydb.proto.export.YdbExport.ExportProgress.Progress result = tech.ydb.proto.export.YdbExport.ExportProgress.Progress.forNumber(progress_); return result == null ? tech.ydb.proto.export.YdbExport.ExportProgress.Progress.UNRECOGNIZED : result; } public static final int ITEMS_PROGRESS_FIELD_NUMBER = 3; @SuppressWarnings("serial") 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 tech.ydb.proto.export.YdbExport.ExportItemProgress getItemsProgress(int index) { return itemsProgress_.get(index); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public tech.ydb.proto.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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getSettings()); } if (progress_ != tech.ydb.proto.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)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSettings()); } if (progress_ != tech.ydb.proto.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 += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToYtMetadata)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToYtMetadata other = (tech.ydb.proto.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (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) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToYtMetadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtMetadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtMetadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToYtMetadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToYtMetadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtMetadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtMetadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToYtMetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtMetadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtMetadata_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtMetadata.class, tech.ydb.proto.export.YdbExport.ExportToYtMetadata.Builder.class); } // Construct using tech.ydb.proto.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) { getSettingsFieldBuilder(); getItemsProgressFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; settings_ = null; if (settingsBuilder_ != null) { settingsBuilder_.dispose(); settingsBuilder_ = null; } progress_ = 0; if (itemsProgressBuilder_ == null) { itemsProgress_ = java.util.Collections.emptyList(); } else { itemsProgress_ = null; itemsProgressBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtMetadata_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtMetadata getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToYtMetadata.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtMetadata build() { tech.ydb.proto.export.YdbExport.ExportToYtMetadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtMetadata buildPartial() { tech.ydb.proto.export.YdbExport.ExportToYtMetadata result = new tech.ydb.proto.export.YdbExport.ExportToYtMetadata(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.export.YdbExport.ExportToYtMetadata result) { if (itemsProgressBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { itemsProgress_ = java.util.Collections.unmodifiableList(itemsProgress_); bitField0_ = (bitField0_ & ~0x00000004); } result.itemsProgress_ = itemsProgress_; } else { result.itemsProgress_ = itemsProgressBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportToYtMetadata result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.settings_ = settingsBuilder_ == null ? settings_ : settingsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.progress_ = progress_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportToYtMetadata) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToYtMetadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToYtMetadata other) { if (other == tech.ydb.proto.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_ & ~0x00000004); } else { ensureItemsProgressIsMutable(); itemsProgress_.addAll(other.itemsProgress_); } onChanged(); } } else { if (!other.itemsProgress_.isEmpty()) { if (itemsProgressBuilder_.isEmpty()) { itemsProgressBuilder_.dispose(); itemsProgressBuilder_ = null; itemsProgress_ = other.itemsProgress_; bitField0_ = (bitField0_ & ~0x00000004); itemsProgressBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsProgressFieldBuilder() : null; } else { itemsProgressBuilder_.addAllMessages(other.itemsProgress_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { progress_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { tech.ydb.proto.export.YdbExport.ExportItemProgress m = input.readMessage( tech.ydb.proto.export.YdbExport.ExportItemProgress.parser(), extensionRegistry); if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); itemsProgress_.add(m); } else { itemsProgressBuilder_.addMessage(m); } break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private tech.ydb.proto.export.YdbExport.ExportToYtSettings settings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToYtSettings, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder, tech.ydb.proto.export.YdbExport.ExportToYtSettingsOrBuilder> settingsBuilder_; /** * .Ydb.Export.ExportToYtSettings settings = 1; * @return Whether the settings field is set. */ public boolean hasSettings() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Export.ExportToYtSettings settings = 1; * @return The settings. */ public tech.ydb.proto.export.YdbExport.ExportToYtSettings getSettings() { if (settingsBuilder_ == null) { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public Builder setSettings(tech.ydb.proto.export.YdbExport.ExportToYtSettings value) { if (settingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settings_ = value; } else { settingsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public Builder setSettings( tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder builderForValue) { if (settingsBuilder_ == null) { settings_ = builderForValue.build(); } else { settingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public Builder mergeSettings(tech.ydb.proto.export.YdbExport.ExportToYtSettings value) { if (settingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && settings_ != null && settings_ != tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance()) { getSettingsBuilder().mergeFrom(value); } else { settings_ = value; } } else { settingsBuilder_.mergeFrom(value); } if (settings_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public Builder clearSettings() { bitField0_ = (bitField0_ & ~0x00000001); settings_ = null; if (settingsBuilder_ != null) { settingsBuilder_.dispose(); settingsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder getSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ public tech.ydb.proto.export.YdbExport.ExportToYtSettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } } /** * .Ydb.Export.ExportToYtSettings settings = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToYtSettings, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder, tech.ydb.proto.export.YdbExport.ExportToYtSettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToYtSettings, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder, tech.ydb.proto.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; bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The progress. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportProgress.Progress getProgress() { tech.ydb.proto.export.YdbExport.ExportProgress.Progress result = tech.ydb.proto.export.YdbExport.ExportProgress.Progress.forNumber(progress_); return result == null ? tech.ydb.proto.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(tech.ydb.proto.export.YdbExport.ExportProgress.Progress value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; progress_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return This builder for chaining. */ public Builder clearProgress() { bitField0_ = (bitField0_ & ~0x00000002); progress_ = 0; onChanged(); return this; } private java.util.List itemsProgress_ = java.util.Collections.emptyList(); private void ensureItemsProgressIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { itemsProgress_ = new java.util.ArrayList(itemsProgress_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportItemProgress, tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder, tech.ydb.proto.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 tech.ydb.proto.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, tech.ydb.proto.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, tech.ydb.proto.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(tech.ydb.proto.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, tech.ydb.proto.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( tech.ydb.proto.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, tech.ydb.proto.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_ & ~0x00000004); 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 tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder getItemsProgressBuilder( int index) { return getItemsProgressFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder addItemsProgressBuilder() { return getItemsProgressFieldBuilder().addBuilder( tech.ydb.proto.export.YdbExport.ExportItemProgress.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder addItemsProgressBuilder( int index) { return getItemsProgressFieldBuilder().addBuilder( index, tech.ydb.proto.export.YdbExport.ExportItemProgress.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public java.util.List getItemsProgressBuilderList() { return getItemsProgressFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportItemProgress, tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder, tech.ydb.proto.export.YdbExport.ExportItemProgressOrBuilder> getItemsProgressFieldBuilder() { if (itemsProgressBuilder_ == null) { itemsProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportItemProgress, tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder, tech.ydb.proto.export.YdbExport.ExportItemProgressOrBuilder>( itemsProgress_, ((bitField0_ & 0x00000004) != 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 tech.ydb.proto.export.YdbExport.ExportToYtMetadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToYtMetadata(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 1; */ tech.ydb.proto.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. */ tech.ydb.proto.export.YdbExport.ExportToYtSettings getSettings(); /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtRequest.class, tech.ydb.proto.export.YdbExport.ExportToYtRequest.Builder.class); } private int bitField0_; public static final int OPERATION_PARAMS_FIELD_NUMBER = 1; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } public static final int SETTINGS_FIELD_NUMBER = 2; private tech.ydb.proto.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 ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; * @return The settings. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettings getSettings() { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtSettingsOrBuilder getSettingsOrBuilder() { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOperationParams()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getSettings()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperationParams()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToYtRequest)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToYtRequest other = (tech.ydb.proto.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } if (hasSettings()) { hash = (37 * hash) + SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSettings().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToYtRequest parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtRequest parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToYtRequest parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToYtRequest parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtRequest parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtRequest parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToYtRequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtRequest_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtRequest_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtRequest.class, tech.ydb.proto.export.YdbExport.ExportToYtRequest.Builder.class); } // Construct using tech.ydb.proto.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) { getOperationParamsFieldBuilder(); getSettingsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } settings_ = null; if (settingsBuilder_ != null) { settingsBuilder_.dispose(); settingsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtRequest_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtRequest getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToYtRequest.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtRequest build() { tech.ydb.proto.export.YdbExport.ExportToYtRequest result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtRequest buildPartial() { tech.ydb.proto.export.YdbExport.ExportToYtRequest result = new tech.ydb.proto.export.YdbExport.ExportToYtRequest(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportToYtRequest result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.settings_ = settingsBuilder_ == null ? settings_ : settingsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportToYtRequest) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToYtRequest)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToYtRequest other) { if (other == tech.ydb.proto.export.YdbExport.ExportToYtRequest.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.hasSettings()) { mergeSettings(other.getSettings()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; } else { operationParamsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000001); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>( getOperationParams(), getParentForChildren(), isClean()); operationParams_ = null; } return operationParamsBuilder_; } private tech.ydb.proto.export.YdbExport.ExportToYtSettings settings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToYtSettings, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder, tech.ydb.proto.export.YdbExport.ExportToYtSettingsOrBuilder> settingsBuilder_; /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; * @return Whether the settings field is set. */ public boolean hasSettings() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; * @return The settings. */ public tech.ydb.proto.export.YdbExport.ExportToYtSettings getSettings() { if (settingsBuilder_ == null) { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public Builder setSettings(tech.ydb.proto.export.YdbExport.ExportToYtSettings value) { if (settingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settings_ = value; } else { settingsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public Builder setSettings( tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder builderForValue) { if (settingsBuilder_ == null) { settings_ = builderForValue.build(); } else { settingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public Builder mergeSettings(tech.ydb.proto.export.YdbExport.ExportToYtSettings value) { if (settingsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && settings_ != null && settings_ != tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance()) { getSettingsBuilder().mergeFrom(value); } else { settings_ = value; } } else { settingsBuilder_.mergeFrom(value); } if (settings_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public Builder clearSettings() { bitField0_ = (bitField0_ & ~0x00000002); settings_ = null; if (settingsBuilder_ != null) { settingsBuilder_.dispose(); settingsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder getSettingsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ public tech.ydb.proto.export.YdbExport.ExportToYtSettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToYtSettings.getDefaultInstance() : settings_; } } /** * .Ydb.Export.ExportToYtSettings settings = 2 [(.Ydb.required) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToYtSettings, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder, tech.ydb.proto.export.YdbExport.ExportToYtSettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToYtSettings, tech.ydb.proto.export.YdbExport.ExportToYtSettings.Builder, tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtRequest DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToYtRequest(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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. */ tech.ydb.proto.OperationProtos.Operation getOperation(); /** *
     * operation.result = ExportToYtResult
     * operation.metadata = ExportToYtMetadata
     * 
* * .Ydb.Operations.Operation operation = 1; */ tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtResponse.class, tech.ydb.proto.export.YdbExport.ExportToYtResponse.Builder.class); } private int bitField0_; public static final int OPERATION_FIELD_NUMBER = 1; private tech.ydb.proto.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 ((bitField0_ & 0x00000001) != 0); } /** *
     * operation.result = ExportToYtResult
     * operation.metadata = ExportToYtMetadata
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public tech.ydb.proto.OperationProtos.Operation getOperation() { return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_; } /** *
     * operation.result = ExportToYtResult
     * operation.metadata = ExportToYtMetadata
     * 
* * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOperation()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToYtResponse)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToYtResponse other = (tech.ydb.proto.export.YdbExport.ExportToYtResponse) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOperation()) { hash = (37 * hash) + OPERATION_FIELD_NUMBER; hash = (53 * hash) + getOperation().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToYtResponse parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtResponse parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToYtResponse parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToYtResponse parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtResponse parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToYtResponse parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToYtResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtResponse_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtResponse_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToYtResponse.class, tech.ydb.proto.export.YdbExport.ExportToYtResponse.Builder.class); } // Construct using tech.ydb.proto.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) { getOperationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; operation_ = null; if (operationBuilder_ != null) { operationBuilder_.dispose(); operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToYtResponse_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtResponse getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToYtResponse.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtResponse build() { tech.ydb.proto.export.YdbExport.ExportToYtResponse result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToYtResponse buildPartial() { tech.ydb.proto.export.YdbExport.ExportToYtResponse result = new tech.ydb.proto.export.YdbExport.ExportToYtResponse(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportToYtResponse result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.operation_ = operationBuilder_ == null ? operation_ : operationBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportToYtResponse) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToYtResponse)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToYtResponse other) { if (other == tech.ydb.proto.export.YdbExport.ExportToYtResponse.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getOperationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private tech.ydb.proto.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> operationBuilder_; /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public tech.ydb.proto.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(tech.ydb.proto.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; } else { operationBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( tech.ydb.proto.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); } else { operationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(tech.ydb.proto.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && operation_ != null && operation_ != tech.ydb.proto.OperationProtos.Operation.getDefaultInstance()) { getOperationBuilder().mergeFrom(value); } else { operation_ = value; } } else { operationBuilder_.mergeFrom(value); } if (operation_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { bitField0_ = (bitField0_ & ~0x00000001); operation_ = null; if (operationBuilder_ != null) { operationBuilder_.dispose(); operationBuilder_ = null; } onChanged(); return this; } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public tech.ydb.proto.OperationProtos.Operation.Builder getOperationBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** *
       * operation.result = ExportToYtResult
       * operation.metadata = ExportToYtMetadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>( getOperation(), getParentForChildren(), isClean()); operation_ = null; } return operationBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Export.ExportToYtResponse) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToYtResponse) private static final tech.ydb.proto.export.YdbExport.ExportToYtResponse DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToYtResponse(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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. */ tech.ydb.proto.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) = { ... } */ tech.ydb.proto.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) = { ... } */ tech.ydb.proto.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. */ tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass getStorageClass(); /** *
     * Codec used to compress data. Codecs are available:
     * - zstd.
     * - zstd-N, where N is compression level, e.g. zstd-3.
     * 
* * string compression = 10; * @return The compression. */ java.lang.String getCompression(); /** *
     * Codec used to compress data. Codecs are available:
     * - zstd.
     * - zstd-N, where N is compression level, e.g. zstd-3.
     * 
* * string compression = 10; * @return The bytes for compression. */ com.google.protobuf.ByteString getCompressionBytes(); /** *
     * Region to use in requests
     * 
* * string region = 11; * @return The region. */ java.lang.String getRegion(); /** *
     * Region to use in requests
     * 
* * string region = 11; * @return The bytes for region. */ com.google.protobuf.ByteString getRegionBytes(); /** *
     * disables virtual hosting style buckets aws s3 feature
     * it changes the way bucket appended to url. e.g. https//bucket_name.example.com/ vs https://example.com/bucket_name
     * details: https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html
     * it is especially useful for custom s3 implementations
     * 
* * bool disable_virtual_addressing = 12; * @return The disableVirtualAddressing. */ boolean getDisableVirtualAddressing(); } /** *
   */ 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; compression_ = ""; region_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new ExportToS3Settings(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Settings.class, tech.ydb.proto.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 tech.ydb.proto.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 tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.class, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.Builder.class); } public static final int SOURCE_PATH_FIELD_NUMBER = 1; @SuppressWarnings("serial") 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; @SuppressWarnings("serial") 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourcePath_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourcePath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPrefix_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationPrefix_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourcePath_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourcePath_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPrefix_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationPrefix_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item other = (tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item) obj; if (!getSourcePath() .equals(other.getSourcePath())) return false; if (!getDestinationPrefix() .equals(other.getDestinationPrefix())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + SOURCE_PATH_FIELD_NUMBER; hash = (53 * hash) + getSourcePath().hashCode(); hash = (37 * hash) + DESTINATION_PREFIX_FIELD_NUMBER; hash = (53 * hash) + getDestinationPrefix().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToS3Settings.ItemOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_Item_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_Item_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.class, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.Builder.class); } // Construct using tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; sourcePath_ = ""; destinationPrefix_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_Item_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item build() { tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item buildPartial() { tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item result = new tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.sourcePath_ = sourcePath_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.destinationPrefix_ = destinationPrefix_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item other) { if (other == tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.getDefaultInstance()) return this; if (!other.getSourcePath().isEmpty()) { sourcePath_ = other.sourcePath_; bitField0_ |= 0x00000001; onChanged(); } if (!other.getDestinationPrefix().isEmpty()) { destinationPrefix_ = other.destinationPrefix_; bitField0_ |= 0x00000002; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { sourcePath_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 18: { destinationPrefix_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private 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; bitField0_ |= 0x00000001; 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(); bitField0_ = (bitField0_ & ~0x00000001); 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; bitField0_ |= 0x00000001; 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; bitField0_ |= 0x00000002; 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(); bitField0_ = (bitField0_ & ~0x00000002); 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; bitField0_ |= 0x00000002; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Export.ExportToS3Settings.Item) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToS3Settings.Item) private static final tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public static final int ENDPOINT_FIELD_NUMBER = 1; @SuppressWarnings("serial") 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_ = 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; * @return The scheme. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings.Scheme getScheme() { tech.ydb.proto.export.YdbExport.ExportToS3Settings.Scheme result = tech.ydb.proto.export.YdbExport.ExportToS3Settings.Scheme.forNumber(scheme_); return result == null ? tech.ydb.proto.export.YdbExport.ExportToS3Settings.Scheme.UNRECOGNIZED : result; } public static final int BUCKET_FIELD_NUMBER = 3; @SuppressWarnings("serial") 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; @SuppressWarnings("serial") 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; @SuppressWarnings("serial") 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; @SuppressWarnings("serial") 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 tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item getItems(int index) { return items_.get(index); } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings.ItemOrBuilder getItemsOrBuilder( int index) { return items_.get(index); } public static final int DESCRIPTION_FIELD_NUMBER = 7; @SuppressWarnings("serial") 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_ = 0; /** * 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_ = 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; * @return The storageClass. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass getStorageClass() { tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass result = tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass.forNumber(storageClass_); return result == null ? tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass.UNRECOGNIZED : result; } public static final int COMPRESSION_FIELD_NUMBER = 10; @SuppressWarnings("serial") private volatile java.lang.Object compression_ = ""; /** *
     * Codec used to compress data. Codecs are available:
     * - zstd.
     * - zstd-N, where N is compression level, e.g. zstd-3.
     * 
* * string compression = 10; * @return The compression. */ @java.lang.Override public java.lang.String getCompression() { java.lang.Object ref = compression_; 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(); compression_ = s; return s; } } /** *
     * Codec used to compress data. Codecs are available:
     * - zstd.
     * - zstd-N, where N is compression level, e.g. zstd-3.
     * 
* * string compression = 10; * @return The bytes for compression. */ @java.lang.Override public com.google.protobuf.ByteString getCompressionBytes() { java.lang.Object ref = compression_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); compression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int REGION_FIELD_NUMBER = 11; @SuppressWarnings("serial") private volatile java.lang.Object region_ = ""; /** *
     * Region to use in requests
     * 
* * string region = 11; * @return The region. */ @java.lang.Override public java.lang.String getRegion() { java.lang.Object ref = region_; 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(); region_ = s; return s; } } /** *
     * Region to use in requests
     * 
* * string region = 11; * @return The bytes for region. */ @java.lang.Override public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); region_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int DISABLE_VIRTUAL_ADDRESSING_FIELD_NUMBER = 12; private boolean disableVirtualAddressing_ = false; /** *
     * disables virtual hosting style buckets aws s3 feature
     * it changes the way bucket appended to url. e.g. https//bucket_name.example.com/ vs https://example.com/bucket_name
     * details: https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html
     * it is especially useful for custom s3 implementations
     * 
* * bool disable_virtual_addressing = 12; * @return The disableVirtualAddressing. */ @java.lang.Override public boolean getDisableVirtualAddressing() { return disableVirtualAddressing_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, endpoint_); } if (scheme_ != tech.ydb.proto.export.YdbExport.ExportToS3Settings.Scheme.UNSPECIFIED.getNumber()) { output.writeEnum(2, scheme_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 3, bucket_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 4, accessKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(secretKey_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 5, secretKey_); } for (int i = 0; i < items_.size(); i++) { output.writeMessage(6, items_.get(i)); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 7, description_); } if (numberOfRetries_ != 0) { output.writeUInt32(8, numberOfRetries_); } if (storageClass_ != tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass.STORAGE_CLASS_UNSPECIFIED.getNumber()) { output.writeEnum(9, storageClass_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(compression_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 10, compression_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 11, region_); } if (disableVirtualAddressing_ != false) { output.writeBool(12, disableVirtualAddressing_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(endpoint_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, endpoint_); } if (scheme_ != tech.ydb.proto.export.YdbExport.ExportToS3Settings.Scheme.UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(2, scheme_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(bucket_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(3, bucket_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(accessKey_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(4, accessKey_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(secretKey_)) { 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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(description_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(7, description_); } if (numberOfRetries_ != 0) { size += com.google.protobuf.CodedOutputStream .computeUInt32Size(8, numberOfRetries_); } if (storageClass_ != tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass.STORAGE_CLASS_UNSPECIFIED.getNumber()) { size += com.google.protobuf.CodedOutputStream .computeEnumSize(9, storageClass_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(compression_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(10, compression_); } if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(region_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(11, region_); } if (disableVirtualAddressing_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(12, disableVirtualAddressing_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToS3Settings)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToS3Settings other = (tech.ydb.proto.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 (!getCompression() .equals(other.getCompression())) return false; if (!getRegion() .equals(other.getRegion())) return false; if (getDisableVirtualAddressing() != other.getDisableVirtualAddressing()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + 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 = (37 * hash) + COMPRESSION_FIELD_NUMBER; hash = (53 * hash) + getCompression().hashCode(); hash = (37 * hash) + REGION_FIELD_NUMBER; hash = (53 * hash) + getRegion().hashCode(); hash = (37 * hash) + DISABLE_VIRTUAL_ADDRESSING_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getDisableVirtualAddressing()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToS3Settings parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Settings parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Settings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToS3Settings parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToS3Settings parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Settings parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Settings parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToS3SettingsOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Settings.class, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder.class); } // Construct using tech.ydb.proto.export.YdbExport.ExportToS3Settings.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; endpoint_ = ""; scheme_ = 0; bucket_ = ""; accessKey_ = ""; secretKey_ = ""; if (itemsBuilder_ == null) { items_ = java.util.Collections.emptyList(); } else { items_ = null; itemsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); description_ = ""; numberOfRetries_ = 0; storageClass_ = 0; compression_ = ""; region_ = ""; disableVirtualAddressing_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Settings_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings build() { tech.ydb.proto.export.YdbExport.ExportToS3Settings result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings buildPartial() { tech.ydb.proto.export.YdbExport.ExportToS3Settings result = new tech.ydb.proto.export.YdbExport.ExportToS3Settings(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.export.YdbExport.ExportToS3Settings result) { if (itemsBuilder_ == null) { if (((bitField0_ & 0x00000020) != 0)) { items_ = java.util.Collections.unmodifiableList(items_); bitField0_ = (bitField0_ & ~0x00000020); } result.items_ = items_; } else { result.items_ = itemsBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportToS3Settings result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.endpoint_ = endpoint_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.scheme_ = scheme_; } if (((from_bitField0_ & 0x00000004) != 0)) { result.bucket_ = bucket_; } if (((from_bitField0_ & 0x00000008) != 0)) { result.accessKey_ = accessKey_; } if (((from_bitField0_ & 0x00000010) != 0)) { result.secretKey_ = secretKey_; } if (((from_bitField0_ & 0x00000040) != 0)) { result.description_ = description_; } if (((from_bitField0_ & 0x00000080) != 0)) { result.numberOfRetries_ = numberOfRetries_; } if (((from_bitField0_ & 0x00000100) != 0)) { result.storageClass_ = storageClass_; } if (((from_bitField0_ & 0x00000200) != 0)) { result.compression_ = compression_; } if (((from_bitField0_ & 0x00000400) != 0)) { result.region_ = region_; } if (((from_bitField0_ & 0x00000800) != 0)) { result.disableVirtualAddressing_ = disableVirtualAddressing_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportToS3Settings) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToS3Settings)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToS3Settings other) { if (other == tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance()) return this; if (!other.getEndpoint().isEmpty()) { endpoint_ = other.endpoint_; bitField0_ |= 0x00000001; onChanged(); } if (other.scheme_ != 0) { setSchemeValue(other.getSchemeValue()); } if (!other.getBucket().isEmpty()) { bucket_ = other.bucket_; bitField0_ |= 0x00000004; onChanged(); } if (!other.getAccessKey().isEmpty()) { accessKey_ = other.accessKey_; bitField0_ |= 0x00000008; onChanged(); } if (!other.getSecretKey().isEmpty()) { secretKey_ = other.secretKey_; bitField0_ |= 0x00000010; onChanged(); } if (itemsBuilder_ == null) { if (!other.items_.isEmpty()) { if (items_.isEmpty()) { items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000020); } else { ensureItemsIsMutable(); items_.addAll(other.items_); } onChanged(); } } else { if (!other.items_.isEmpty()) { if (itemsBuilder_.isEmpty()) { itemsBuilder_.dispose(); itemsBuilder_ = null; items_ = other.items_; bitField0_ = (bitField0_ & ~0x00000020); itemsBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsFieldBuilder() : null; } else { itemsBuilder_.addAllMessages(other.items_); } } } if (!other.getDescription().isEmpty()) { description_ = other.description_; bitField0_ |= 0x00000040; onChanged(); } if (other.getNumberOfRetries() != 0) { setNumberOfRetries(other.getNumberOfRetries()); } if (other.storageClass_ != 0) { setStorageClassValue(other.getStorageClassValue()); } if (!other.getCompression().isEmpty()) { compression_ = other.compression_; bitField0_ |= 0x00000200; onChanged(); } if (!other.getRegion().isEmpty()) { region_ = other.region_; bitField0_ |= 0x00000400; onChanged(); } if (other.getDisableVirtualAddressing() != false) { setDisableVirtualAddressing(other.getDisableVirtualAddressing()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { endpoint_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { scheme_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { bucket_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000004; break; } // case 26 case 34: { accessKey_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000008; break; } // case 34 case 42: { secretKey_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000010; break; } // case 42 case 50: { tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item m = input.readMessage( tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.parser(), extensionRegistry); if (itemsBuilder_ == null) { ensureItemsIsMutable(); items_.add(m); } else { itemsBuilder_.addMessage(m); } break; } // case 50 case 58: { description_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000040; break; } // case 58 case 64: { numberOfRetries_ = input.readUInt32(); bitField0_ |= 0x00000080; break; } // case 64 case 72: { storageClass_ = input.readEnum(); bitField0_ |= 0x00000100; break; } // case 72 case 82: { compression_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000200; break; } // case 82 case 90: { region_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000400; break; } // case 90 case 96: { disableVirtualAddressing_ = input.readBool(); bitField0_ |= 0x00000800; break; } // case 96 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object 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; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string endpoint = 1 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearEndpoint() { endpoint_ = getDefaultInstance().getEndpoint(); bitField0_ = (bitField0_ & ~0x00000001); 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; bitField0_ |= 0x00000001; 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; bitField0_ |= 0x00000002; onChanged(); return this; } /** *
       * HTTPS if not specified
       * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @return The scheme. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings.Scheme getScheme() { tech.ydb.proto.export.YdbExport.ExportToS3Settings.Scheme result = tech.ydb.proto.export.YdbExport.ExportToS3Settings.Scheme.forNumber(scheme_); return result == null ? tech.ydb.proto.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(tech.ydb.proto.export.YdbExport.ExportToS3Settings.Scheme value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; scheme_ = value.getNumber(); onChanged(); return this; } /** *
       * HTTPS if not specified
       * 
* * .Ydb.Export.ExportToS3Settings.Scheme scheme = 2; * @return This builder for chaining. */ public Builder clearScheme() { bitField0_ = (bitField0_ & ~0x00000002); 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; bitField0_ |= 0x00000004; onChanged(); return this; } /** * string bucket = 3 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearBucket() { bucket_ = getDefaultInstance().getBucket(); bitField0_ = (bitField0_ & ~0x00000004); 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; bitField0_ |= 0x00000004; 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; bitField0_ |= 0x00000008; onChanged(); return this; } /** * string access_key = 4 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearAccessKey() { accessKey_ = getDefaultInstance().getAccessKey(); bitField0_ = (bitField0_ & ~0x00000008); 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; bitField0_ |= 0x00000008; 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; bitField0_ |= 0x00000010; onChanged(); return this; } /** * string secret_key = 5 [(.Ydb.required) = true]; * @return This builder for chaining. */ public Builder clearSecretKey() { secretKey_ = getDefaultInstance().getSecretKey(); bitField0_ = (bitField0_ & ~0x00000010); 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; bitField0_ |= 0x00000010; onChanged(); return this; } private java.util.List items_ = java.util.Collections.emptyList(); private void ensureItemsIsMutable() { if (!((bitField0_ & 0x00000020) != 0)) { items_ = new java.util.ArrayList(items_); bitField0_ |= 0x00000020; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.Builder, tech.ydb.proto.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 tech.ydb.proto.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, tech.ydb.proto.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, tech.ydb.proto.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(tech.ydb.proto.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, tech.ydb.proto.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( tech.ydb.proto.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, tech.ydb.proto.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_ & ~0x00000020); 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 tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.Builder getItemsBuilder( int index) { return getItemsFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.Builder addItemsBuilder() { return getItemsFieldBuilder().addBuilder( tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportToS3Settings.Item items = 6 [(.Ydb.size) = { ... } */ public tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.Builder addItemsBuilder( int index) { return getItemsFieldBuilder().addBuilder( index, tech.ydb.proto.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< tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.Builder, tech.ydb.proto.export.YdbExport.ExportToS3Settings.ItemOrBuilder> getItemsFieldBuilder() { if (itemsBuilder_ == null) { itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Item.Builder, tech.ydb.proto.export.YdbExport.ExportToS3Settings.ItemOrBuilder>( items_, ((bitField0_ & 0x00000020) != 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; bitField0_ |= 0x00000040; onChanged(); return this; } /** * string description = 7 [(.Ydb.length) = { ... } * @return This builder for chaining. */ public Builder clearDescription() { description_ = getDefaultInstance().getDescription(); bitField0_ = (bitField0_ & ~0x00000040); 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; bitField0_ |= 0x00000040; 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; bitField0_ |= 0x00000080; onChanged(); return this; } /** * uint32 number_of_retries = 8; * @return This builder for chaining. */ public Builder clearNumberOfRetries() { bitField0_ = (bitField0_ & ~0x00000080); 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; bitField0_ |= 0x00000100; onChanged(); return this; } /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @return The storageClass. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass getStorageClass() { tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass result = tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass.forNumber(storageClass_); return result == null ? tech.ydb.proto.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(tech.ydb.proto.export.YdbExport.ExportToS3Settings.StorageClass value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000100; storageClass_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Export.ExportToS3Settings.StorageClass storage_class = 9; * @return This builder for chaining. */ public Builder clearStorageClass() { bitField0_ = (bitField0_ & ~0x00000100); storageClass_ = 0; onChanged(); return this; } private java.lang.Object compression_ = ""; /** *
       * Codec used to compress data. Codecs are available:
       * - zstd.
       * - zstd-N, where N is compression level, e.g. zstd-3.
       * 
* * string compression = 10; * @return The compression. */ public java.lang.String getCompression() { java.lang.Object ref = compression_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); compression_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Codec used to compress data. Codecs are available:
       * - zstd.
       * - zstd-N, where N is compression level, e.g. zstd-3.
       * 
* * string compression = 10; * @return The bytes for compression. */ public com.google.protobuf.ByteString getCompressionBytes() { java.lang.Object ref = compression_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); compression_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Codec used to compress data. Codecs are available:
       * - zstd.
       * - zstd-N, where N is compression level, e.g. zstd-3.
       * 
* * string compression = 10; * @param value The compression to set. * @return This builder for chaining. */ public Builder setCompression( java.lang.String value) { if (value == null) { throw new NullPointerException(); } compression_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } /** *
       * Codec used to compress data. Codecs are available:
       * - zstd.
       * - zstd-N, where N is compression level, e.g. zstd-3.
       * 
* * string compression = 10; * @return This builder for chaining. */ public Builder clearCompression() { compression_ = getDefaultInstance().getCompression(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } /** *
       * Codec used to compress data. Codecs are available:
       * - zstd.
       * - zstd-N, where N is compression level, e.g. zstd-3.
       * 
* * string compression = 10; * @param value The bytes for compression to set. * @return This builder for chaining. */ public Builder setCompressionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); compression_ = value; bitField0_ |= 0x00000200; onChanged(); return this; } private java.lang.Object region_ = ""; /** *
       * Region to use in requests
       * 
* * string region = 11; * @return The region. */ public java.lang.String getRegion() { java.lang.Object ref = region_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); region_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * Region to use in requests
       * 
* * string region = 11; * @return The bytes for region. */ public com.google.protobuf.ByteString getRegionBytes() { java.lang.Object ref = region_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); region_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * Region to use in requests
       * 
* * string region = 11; * @param value The region to set. * @return This builder for chaining. */ public Builder setRegion( java.lang.String value) { if (value == null) { throw new NullPointerException(); } region_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } /** *
       * Region to use in requests
       * 
* * string region = 11; * @return This builder for chaining. */ public Builder clearRegion() { region_ = getDefaultInstance().getRegion(); bitField0_ = (bitField0_ & ~0x00000400); onChanged(); return this; } /** *
       * Region to use in requests
       * 
* * string region = 11; * @param value The bytes for region to set. * @return This builder for chaining. */ public Builder setRegionBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); region_ = value; bitField0_ |= 0x00000400; onChanged(); return this; } private boolean disableVirtualAddressing_ ; /** *
       * disables virtual hosting style buckets aws s3 feature
       * it changes the way bucket appended to url. e.g. https//bucket_name.example.com/ vs https://example.com/bucket_name
       * details: https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html
       * it is especially useful for custom s3 implementations
       * 
* * bool disable_virtual_addressing = 12; * @return The disableVirtualAddressing. */ @java.lang.Override public boolean getDisableVirtualAddressing() { return disableVirtualAddressing_; } /** *
       * disables virtual hosting style buckets aws s3 feature
       * it changes the way bucket appended to url. e.g. https//bucket_name.example.com/ vs https://example.com/bucket_name
       * details: https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html
       * it is especially useful for custom s3 implementations
       * 
* * bool disable_virtual_addressing = 12; * @param value The disableVirtualAddressing to set. * @return This builder for chaining. */ public Builder setDisableVirtualAddressing(boolean value) { disableVirtualAddressing_ = value; bitField0_ |= 0x00000800; onChanged(); return this; } /** *
       * disables virtual hosting style buckets aws s3 feature
       * it changes the way bucket appended to url. e.g. https//bucket_name.example.com/ vs https://example.com/bucket_name
       * details: https://docs.aws.amazon.com/AmazonS3/latest/userguide/VirtualHosting.html
       * it is especially useful for custom s3 implementations
       * 
* * bool disable_virtual_addressing = 12; * @return This builder for chaining. */ public Builder clearDisableVirtualAddressing() { bitField0_ = (bitField0_ & ~0x00000800); disableVirtualAddressing_ = 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.ExportToS3Settings) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToS3Settings) private static final tech.ydb.proto.export.YdbExport.ExportToS3Settings DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToS3Settings(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Result_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Result.class, tech.ydb.proto.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 { getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToS3Result)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToS3Result other = (tech.ydb.proto.export.YdbExport.ExportToS3Result) obj; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToS3Result parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Result parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Result parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToS3Result parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToS3Result parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Result parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Result parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToS3ResultOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Result_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Result_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Result.class, tech.ydb.proto.export.YdbExport.ExportToS3Result.Builder.class); } // Construct using tech.ydb.proto.export.YdbExport.ExportToS3Result.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Result_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Result getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToS3Result.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Result build() { tech.ydb.proto.export.YdbExport.ExportToS3Result result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Result buildPartial() { tech.ydb.proto.export.YdbExport.ExportToS3Result result = new tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Result) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToS3Result)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToS3Result other) { if (other == tech.ydb.proto.export.YdbExport.ExportToS3Result.getDefaultInstance()) return this; this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Export.ExportToS3Result) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToS3Result) private static final tech.ydb.proto.export.YdbExport.ExportToS3Result DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToS3Result(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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. */ tech.ydb.proto.export.YdbExport.ExportToS3Settings getSettings(); /** * .Ydb.Export.ExportToS3Settings settings = 1; */ tech.ydb.proto.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. */ tech.ydb.proto.export.YdbExport.ExportProgress.Progress getProgress(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ java.util.List getItemsProgressList(); /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ tech.ydb.proto.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; */ tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Metadata.class, tech.ydb.proto.export.YdbExport.ExportToS3Metadata.Builder.class); } private int bitField0_; public static final int SETTINGS_FIELD_NUMBER = 1; private tech.ydb.proto.export.YdbExport.ExportToS3Settings settings_; /** * .Ydb.Export.ExportToS3Settings settings = 1; * @return Whether the settings field is set. */ @java.lang.Override public boolean hasSettings() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Export.ExportToS3Settings settings = 1; * @return The settings. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings getSettings() { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3SettingsOrBuilder getSettingsOrBuilder() { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } public static final int PROGRESS_FIELD_NUMBER = 2; 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; * @return The progress. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportProgress.Progress getProgress() { tech.ydb.proto.export.YdbExport.ExportProgress.Progress result = tech.ydb.proto.export.YdbExport.ExportProgress.Progress.forNumber(progress_); return result == null ? tech.ydb.proto.export.YdbExport.ExportProgress.Progress.UNRECOGNIZED : result; } public static final int ITEMS_PROGRESS_FIELD_NUMBER = 3; @SuppressWarnings("serial") 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 tech.ydb.proto.export.YdbExport.ExportItemProgress getItemsProgress(int index) { return itemsProgress_.get(index); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ @java.lang.Override public tech.ydb.proto.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 (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getSettings()); } if (progress_ != tech.ydb.proto.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)); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getSettings()); } if (progress_ != tech.ydb.proto.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 += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToS3Metadata)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToS3Metadata other = (tech.ydb.proto.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (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) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToS3Metadata parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Metadata parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Metadata parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToS3Metadata parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToS3Metadata parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Metadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Metadata parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToS3MetadataOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Metadata_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Metadata.class, tech.ydb.proto.export.YdbExport.ExportToS3Metadata.Builder.class); } // Construct using tech.ydb.proto.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) { getSettingsFieldBuilder(); getItemsProgressFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; settings_ = null; if (settingsBuilder_ != null) { settingsBuilder_.dispose(); settingsBuilder_ = null; } progress_ = 0; if (itemsProgressBuilder_ == null) { itemsProgress_ = java.util.Collections.emptyList(); } else { itemsProgress_ = null; itemsProgressBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Metadata_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Metadata getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToS3Metadata.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Metadata build() { tech.ydb.proto.export.YdbExport.ExportToS3Metadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Metadata buildPartial() { tech.ydb.proto.export.YdbExport.ExportToS3Metadata result = new tech.ydb.proto.export.YdbExport.ExportToS3Metadata(this); buildPartialRepeatedFields(result); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartialRepeatedFields(tech.ydb.proto.export.YdbExport.ExportToS3Metadata result) { if (itemsProgressBuilder_ == null) { if (((bitField0_ & 0x00000004) != 0)) { itemsProgress_ = java.util.Collections.unmodifiableList(itemsProgress_); bitField0_ = (bitField0_ & ~0x00000004); } result.itemsProgress_ = itemsProgress_; } else { result.itemsProgress_ = itemsProgressBuilder_.build(); } } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportToS3Metadata result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.settings_ = settingsBuilder_ == null ? settings_ : settingsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.progress_ = progress_; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportToS3Metadata) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToS3Metadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToS3Metadata other) { if (other == tech.ydb.proto.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_ & ~0x00000004); } else { ensureItemsProgressIsMutable(); itemsProgress_.addAll(other.itemsProgress_); } onChanged(); } } else { if (!other.itemsProgress_.isEmpty()) { if (itemsProgressBuilder_.isEmpty()) { itemsProgressBuilder_.dispose(); itemsProgressBuilder_ = null; itemsProgress_ = other.itemsProgress_; bitField0_ = (bitField0_ & ~0x00000004); itemsProgressBuilder_ = com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getItemsProgressFieldBuilder() : null; } else { itemsProgressBuilder_.addAllMessages(other.itemsProgress_); } } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 16: { progress_ = input.readEnum(); bitField0_ |= 0x00000002; break; } // case 16 case 26: { tech.ydb.proto.export.YdbExport.ExportItemProgress m = input.readMessage( tech.ydb.proto.export.YdbExport.ExportItemProgress.parser(), extensionRegistry); if (itemsProgressBuilder_ == null) { ensureItemsProgressIsMutable(); itemsProgress_.add(m); } else { itemsProgressBuilder_.addMessage(m); } break; } // case 26 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private tech.ydb.proto.export.YdbExport.ExportToS3Settings settings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToS3Settings, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder, tech.ydb.proto.export.YdbExport.ExportToS3SettingsOrBuilder> settingsBuilder_; /** * .Ydb.Export.ExportToS3Settings settings = 1; * @return Whether the settings field is set. */ public boolean hasSettings() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Export.ExportToS3Settings settings = 1; * @return The settings. */ public tech.ydb.proto.export.YdbExport.ExportToS3Settings getSettings() { if (settingsBuilder_ == null) { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public Builder setSettings(tech.ydb.proto.export.YdbExport.ExportToS3Settings value) { if (settingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settings_ = value; } else { settingsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public Builder setSettings( tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder builderForValue) { if (settingsBuilder_ == null) { settings_ = builderForValue.build(); } else { settingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public Builder mergeSettings(tech.ydb.proto.export.YdbExport.ExportToS3Settings value) { if (settingsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && settings_ != null && settings_ != tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance()) { getSettingsBuilder().mergeFrom(value); } else { settings_ = value; } } else { settingsBuilder_.mergeFrom(value); } if (settings_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public Builder clearSettings() { bitField0_ = (bitField0_ & ~0x00000001); settings_ = null; if (settingsBuilder_ != null) { settingsBuilder_.dispose(); settingsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder getSettingsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ public tech.ydb.proto.export.YdbExport.ExportToS3SettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } } /** * .Ydb.Export.ExportToS3Settings settings = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToS3Settings, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder, tech.ydb.proto.export.YdbExport.ExportToS3SettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToS3Settings, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder, tech.ydb.proto.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; bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return The progress. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportProgress.Progress getProgress() { tech.ydb.proto.export.YdbExport.ExportProgress.Progress result = tech.ydb.proto.export.YdbExport.ExportProgress.Progress.forNumber(progress_); return result == null ? tech.ydb.proto.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(tech.ydb.proto.export.YdbExport.ExportProgress.Progress value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; progress_ = value.getNumber(); onChanged(); return this; } /** * .Ydb.Export.ExportProgress.Progress progress = 2; * @return This builder for chaining. */ public Builder clearProgress() { bitField0_ = (bitField0_ & ~0x00000002); progress_ = 0; onChanged(); return this; } private java.util.List itemsProgress_ = java.util.Collections.emptyList(); private void ensureItemsProgressIsMutable() { if (!((bitField0_ & 0x00000004) != 0)) { itemsProgress_ = new java.util.ArrayList(itemsProgress_); bitField0_ |= 0x00000004; } } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportItemProgress, tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder, tech.ydb.proto.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 tech.ydb.proto.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, tech.ydb.proto.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, tech.ydb.proto.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(tech.ydb.proto.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, tech.ydb.proto.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( tech.ydb.proto.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, tech.ydb.proto.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_ & ~0x00000004); 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 tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder getItemsProgressBuilder( int index) { return getItemsProgressFieldBuilder().getBuilder(index); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder addItemsProgressBuilder() { return getItemsProgressFieldBuilder().addBuilder( tech.ydb.proto.export.YdbExport.ExportItemProgress.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder addItemsProgressBuilder( int index) { return getItemsProgressFieldBuilder().addBuilder( index, tech.ydb.proto.export.YdbExport.ExportItemProgress.getDefaultInstance()); } /** * repeated .Ydb.Export.ExportItemProgress items_progress = 3; */ public java.util.List getItemsProgressBuilderList() { return getItemsProgressFieldBuilder().getBuilderList(); } private com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportItemProgress, tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder, tech.ydb.proto.export.YdbExport.ExportItemProgressOrBuilder> getItemsProgressFieldBuilder() { if (itemsProgressBuilder_ == null) { itemsProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportItemProgress, tech.ydb.proto.export.YdbExport.ExportItemProgress.Builder, tech.ydb.proto.export.YdbExport.ExportItemProgressOrBuilder>( itemsProgress_, ((bitField0_ & 0x00000004) != 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 tech.ydb.proto.export.YdbExport.ExportToS3Metadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToS3Metadata(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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. */ tech.ydb.proto.OperationProtos.OperationParams getOperationParams(); /** * .Ydb.Operations.OperationParams operation_params = 1; */ tech.ydb.proto.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. */ tech.ydb.proto.export.YdbExport.ExportToS3Settings getSettings(); /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Request_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Request.class, tech.ydb.proto.export.YdbExport.ExportToS3Request.Builder.class); } private int bitField0_; public static final int OPERATION_PARAMS_FIELD_NUMBER = 1; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ @java.lang.Override public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } public static final int SETTINGS_FIELD_NUMBER = 2; private tech.ydb.proto.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 ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; * @return The settings. */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Settings getSettings() { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3SettingsOrBuilder getSettingsOrBuilder() { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOperationParams()); } if (((bitField0_ & 0x00000002) != 0)) { output.writeMessage(2, getSettings()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperationParams()); } if (((bitField0_ & 0x00000002) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, getSettings()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToS3Request)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToS3Request other = (tech.ydb.proto.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 (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOperationParams()) { hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER; hash = (53 * hash) + getOperationParams().hashCode(); } if (hasSettings()) { hash = (37 * hash) + SETTINGS_FIELD_NUMBER; hash = (53 * hash) + getSettings().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToS3Request parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Request parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Request parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToS3Request parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToS3Request parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Request parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Request parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToS3RequestOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Request_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Request_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Request.class, tech.ydb.proto.export.YdbExport.ExportToS3Request.Builder.class); } // Construct using tech.ydb.proto.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) { getOperationParamsFieldBuilder(); getSettingsFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } settings_ = null; if (settingsBuilder_ != null) { settingsBuilder_.dispose(); settingsBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Request_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Request getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToS3Request.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Request build() { tech.ydb.proto.export.YdbExport.ExportToS3Request result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Request buildPartial() { tech.ydb.proto.export.YdbExport.ExportToS3Request result = new tech.ydb.proto.export.YdbExport.ExportToS3Request(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportToS3Request result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.operationParams_ = operationParamsBuilder_ == null ? operationParams_ : operationParamsBuilder_.build(); to_bitField0_ |= 0x00000001; } if (((from_bitField0_ & 0x00000002) != 0)) { result.settings_ = settingsBuilder_ == null ? settings_ : settingsBuilder_.build(); to_bitField0_ |= 0x00000002; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportToS3Request) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToS3Request)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToS3Request other) { if (other == tech.ydb.proto.export.YdbExport.ExportToS3Request.getDefaultInstance()) return this; if (other.hasOperationParams()) { mergeOperationParams(other.getOperationParams()); } if (other.hasSettings()) { mergeSettings(other.getSettings()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getOperationParamsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 case 18: { input.readMessage( getSettingsFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000002; break; } // case 18 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private tech.ydb.proto.OperationProtos.OperationParams operationParams_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_; /** * .Ydb.Operations.OperationParams operation_params = 1; * @return Whether the operationParams field is set. */ public boolean hasOperationParams() { return ((bitField0_ & 0x00000001) != 0); } /** * .Ydb.Operations.OperationParams operation_params = 1; * @return The operationParams. */ public tech.ydb.proto.OperationProtos.OperationParams getOperationParams() { if (operationParamsBuilder_ == null) { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } else { return operationParamsBuilder_.getMessage(); } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operationParams_ = value; } else { operationParamsBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder setOperationParams( tech.ydb.proto.OperationProtos.OperationParams.Builder builderForValue) { if (operationParamsBuilder_ == null) { operationParams_ = builderForValue.build(); } else { operationParamsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder mergeOperationParams(tech.ydb.proto.OperationProtos.OperationParams value) { if (operationParamsBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && operationParams_ != null && operationParams_ != tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance()) { getOperationParamsBuilder().mergeFrom(value); } else { operationParams_ = value; } } else { operationParamsBuilder_.mergeFrom(value); } if (operationParams_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public Builder clearOperationParams() { bitField0_ = (bitField0_ & ~0x00000001); operationParams_ = null; if (operationParamsBuilder_ != null) { operationParamsBuilder_.dispose(); operationParamsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public tech.ydb.proto.OperationProtos.OperationParams.Builder getOperationParamsBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOperationParamsFieldBuilder().getBuilder(); } /** * .Ydb.Operations.OperationParams operation_params = 1; */ public tech.ydb.proto.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() { if (operationParamsBuilder_ != null) { return operationParamsBuilder_.getMessageOrBuilder(); } else { return operationParams_ == null ? tech.ydb.proto.OperationProtos.OperationParams.getDefaultInstance() : operationParams_; } } /** * .Ydb.Operations.OperationParams operation_params = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder> getOperationParamsFieldBuilder() { if (operationParamsBuilder_ == null) { operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.OperationParams, tech.ydb.proto.OperationProtos.OperationParams.Builder, tech.ydb.proto.OperationProtos.OperationParamsOrBuilder>( getOperationParams(), getParentForChildren(), isClean()); operationParams_ = null; } return operationParamsBuilder_; } private tech.ydb.proto.export.YdbExport.ExportToS3Settings settings_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToS3Settings, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder, tech.ydb.proto.export.YdbExport.ExportToS3SettingsOrBuilder> settingsBuilder_; /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; * @return Whether the settings field is set. */ public boolean hasSettings() { return ((bitField0_ & 0x00000002) != 0); } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; * @return The settings. */ public tech.ydb.proto.export.YdbExport.ExportToS3Settings getSettings() { if (settingsBuilder_ == null) { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } else { return settingsBuilder_.getMessage(); } } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public Builder setSettings(tech.ydb.proto.export.YdbExport.ExportToS3Settings value) { if (settingsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } settings_ = value; } else { settingsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public Builder setSettings( tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder builderForValue) { if (settingsBuilder_ == null) { settings_ = builderForValue.build(); } else { settingsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; onChanged(); return this; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public Builder mergeSettings(tech.ydb.proto.export.YdbExport.ExportToS3Settings value) { if (settingsBuilder_ == null) { if (((bitField0_ & 0x00000002) != 0) && settings_ != null && settings_ != tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance()) { getSettingsBuilder().mergeFrom(value); } else { settings_ = value; } } else { settingsBuilder_.mergeFrom(value); } if (settings_ != null) { bitField0_ |= 0x00000002; onChanged(); } return this; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public Builder clearSettings() { bitField0_ = (bitField0_ & ~0x00000002); settings_ = null; if (settingsBuilder_ != null) { settingsBuilder_.dispose(); settingsBuilder_ = null; } onChanged(); return this; } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder getSettingsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getSettingsFieldBuilder().getBuilder(); } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ public tech.ydb.proto.export.YdbExport.ExportToS3SettingsOrBuilder getSettingsOrBuilder() { if (settingsBuilder_ != null) { return settingsBuilder_.getMessageOrBuilder(); } else { return settings_ == null ? tech.ydb.proto.export.YdbExport.ExportToS3Settings.getDefaultInstance() : settings_; } } /** * .Ydb.Export.ExportToS3Settings settings = 2 [(.Ydb.required) = true]; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToS3Settings, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder, tech.ydb.proto.export.YdbExport.ExportToS3SettingsOrBuilder> getSettingsFieldBuilder() { if (settingsBuilder_ == null) { settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.export.YdbExport.ExportToS3Settings, tech.ydb.proto.export.YdbExport.ExportToS3Settings.Builder, tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Request DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToS3Request(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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. */ tech.ydb.proto.OperationProtos.Operation getOperation(); /** *
     * operation.result = ExportToS3Result
     * operation.metadata = ExportToS3Metadata
     * 
* * .Ydb.Operations.Operation operation = 1; */ tech.ydb.proto.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(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Response_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Response.class, tech.ydb.proto.export.YdbExport.ExportToS3Response.Builder.class); } private int bitField0_; public static final int OPERATION_FIELD_NUMBER = 1; private tech.ydb.proto.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 ((bitField0_ & 0x00000001) != 0); } /** *
     * operation.result = ExportToS3Result
     * operation.metadata = ExportToS3Metadata
     * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ @java.lang.Override public tech.ydb.proto.OperationProtos.Operation getOperation() { return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_; } /** *
     * operation.result = ExportToS3Result
     * operation.metadata = ExportToS3Metadata
     * 
* * .Ydb.Operations.Operation operation = 1; */ @java.lang.Override public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() { return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) != 0)) { output.writeMessage(1, getOperation()); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) != 0)) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, getOperation()); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof tech.ydb.proto.export.YdbExport.ExportToS3Response)) { return super.equals(obj); } tech.ydb.proto.export.YdbExport.ExportToS3Response other = (tech.ydb.proto.export.YdbExport.ExportToS3Response) obj; if (hasOperation() != other.hasOperation()) return false; if (hasOperation()) { if (!getOperation() .equals(other.getOperation())) return false; } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOperation()) { hash = (37 * hash) + OPERATION_FIELD_NUMBER; hash = (53 * hash) + getOperation().hashCode(); } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static tech.ydb.proto.export.YdbExport.ExportToS3Response parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Response parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Response parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static tech.ydb.proto.export.YdbExport.ExportToS3Response parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static tech.ydb.proto.export.YdbExport.ExportToS3Response parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Response parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static tech.ydb.proto.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 tech.ydb.proto.export.YdbExport.ExportToS3Response parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static tech.ydb.proto.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(tech.ydb.proto.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) tech.ydb.proto.export.YdbExport.ExportToS3ResponseOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Response_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Response_fieldAccessorTable .ensureFieldAccessorsInitialized( tech.ydb.proto.export.YdbExport.ExportToS3Response.class, tech.ydb.proto.export.YdbExport.ExportToS3Response.Builder.class); } // Construct using tech.ydb.proto.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) { getOperationFieldBuilder(); } } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; operation_ = null; if (operationBuilder_ != null) { operationBuilder_.dispose(); operationBuilder_ = null; } return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return tech.ydb.proto.export.YdbExport.internal_static_Ydb_Export_ExportToS3Response_descriptor; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Response getDefaultInstanceForType() { return tech.ydb.proto.export.YdbExport.ExportToS3Response.getDefaultInstance(); } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Response build() { tech.ydb.proto.export.YdbExport.ExportToS3Response result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public tech.ydb.proto.export.YdbExport.ExportToS3Response buildPartial() { tech.ydb.proto.export.YdbExport.ExportToS3Response result = new tech.ydb.proto.export.YdbExport.ExportToS3Response(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(tech.ydb.proto.export.YdbExport.ExportToS3Response result) { int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) != 0)) { result.operation_ = operationBuilder_ == null ? operation_ : operationBuilder_.build(); to_bitField0_ |= 0x00000001; } result.bitField0_ |= to_bitField0_; } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof tech.ydb.proto.export.YdbExport.ExportToS3Response) { return mergeFrom((tech.ydb.proto.export.YdbExport.ExportToS3Response)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(tech.ydb.proto.export.YdbExport.ExportToS3Response other) { if (other == tech.ydb.proto.export.YdbExport.ExportToS3Response.getDefaultInstance()) return this; if (other.hasOperation()) { mergeOperation(other.getOperation()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getOperationFieldBuilder().getBuilder(), extensionRegistry); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private tech.ydb.proto.OperationProtos.Operation operation_; private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> operationBuilder_; /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; * @return Whether the operation field is set. */ public boolean hasOperation() { return ((bitField0_ & 0x00000001) != 0); } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; * @return The operation. */ public tech.ydb.proto.OperationProtos.Operation getOperation() { if (operationBuilder_ == null) { return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_; } else { return operationBuilder_.getMessage(); } } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation(tech.ydb.proto.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (value == null) { throw new NullPointerException(); } operation_ = value; } else { operationBuilder_.setMessage(value); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder setOperation( tech.ydb.proto.OperationProtos.Operation.Builder builderForValue) { if (operationBuilder_ == null) { operation_ = builderForValue.build(); } else { operationBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder mergeOperation(tech.ydb.proto.OperationProtos.Operation value) { if (operationBuilder_ == null) { if (((bitField0_ & 0x00000001) != 0) && operation_ != null && operation_ != tech.ydb.proto.OperationProtos.Operation.getDefaultInstance()) { getOperationBuilder().mergeFrom(value); } else { operation_ = value; } } else { operationBuilder_.mergeFrom(value); } if (operation_ != null) { bitField0_ |= 0x00000001; onChanged(); } return this; } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public Builder clearOperation() { bitField0_ = (bitField0_ & ~0x00000001); operation_ = null; if (operationBuilder_ != null) { operationBuilder_.dispose(); operationBuilder_ = null; } onChanged(); return this; } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public tech.ydb.proto.OperationProtos.Operation.Builder getOperationBuilder() { bitField0_ |= 0x00000001; onChanged(); return getOperationFieldBuilder().getBuilder(); } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ public tech.ydb.proto.OperationProtos.OperationOrBuilder getOperationOrBuilder() { if (operationBuilder_ != null) { return operationBuilder_.getMessageOrBuilder(); } else { return operation_ == null ? tech.ydb.proto.OperationProtos.Operation.getDefaultInstance() : operation_; } } /** *
       * operation.result = ExportToS3Result
       * operation.metadata = ExportToS3Metadata
       * 
* * .Ydb.Operations.Operation operation = 1; */ private com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder> getOperationFieldBuilder() { if (operationBuilder_ == null) { operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< tech.ydb.proto.OperationProtos.Operation, tech.ydb.proto.OperationProtos.Operation.Builder, tech.ydb.proto.OperationProtos.OperationOrBuilder>( getOperation(), getParentForChildren(), isClean()); operation_ = null; } return operationBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:Ydb.Export.ExportToS3Response) } // @@protoc_insertion_point(class_scope:Ydb.Export.ExportToS3Response) private static final tech.ydb.proto.export.YdbExport.ExportToS3Response DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new tech.ydb.proto.export.YdbExport.ExportToS3Response(); } public static tech.ydb.proto.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 { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public tech.ydb.proto.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\027protos/ydb_export.proto\022\nYdb.Export\032#p" + "rotos/annotations/validation.proto\032\032prot" + "os/ydb_operation.proto\032\037google/protobuf/" + "timestamp.proto\"\261\001\n\016ExportProgress\"\236\001\n\010P" + "rogress\022\030\n\024PROGRESS_UNSPECIFIED\020\000\022\026\n\022PRO" + "GRESS_PREPARING\020\001\022\032\n\026PROGRESS_TRANSFER_D" + "ATA\020\002\022\021\n\rPROGRESS_DONE\020\003\022\031\n\025PROGRESS_CAN" + "CELLATION\020\004\022\026\n\022PROGRESS_CANCELLED\020\005\"\240\001\n\022" + "ExportItemProgress\022\023\n\013parts_total\030\001 \001(\r\022" + "\027\n\017parts_completed\030\002 \001(\r\022.\n\nstart_time\030\003" + " \001(\0132\032.google.protobuf.Timestamp\022,\n\010end_" + "time\030\004 \001(\0132\032.google.protobuf.Timestamp\"\230" + "\002\n\022ExportToYtSettings\022\022\n\004host\030\001 \001(\tB\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\005" + "items\030\004 \003(\0132#.Ydb.Export.ExportToYtSetti" + "ngs.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_path\030\001 " + "\001(\tB\004\220\346*\001\022\036\n\020destination_path\030\002 \001(\tB\004\220\346*" + "\001\"\022\n\020ExportToYtResult\"\265\001\n\022ExportToYtMeta" + "data\0220\n\010settings\030\001 \001(\0132\036.Ydb.Export.Expo" + "rtToYtSettings\0225\n\010progress\030\002 \001(\0162#.Ydb.E" + "xport.ExportProgress.Progress\0226\n\016items_p" + "rogress\030\003 \003(\0132\036.Ydb.Export.ExportItemPro" + "gress\"\206\001\n\021ExportToYtRequest\0229\n\020operation" + "_params\030\001 \001(\0132\037.Ydb.Operations.Operation" + "Params\0226\n\010settings\030\002 \001(\0132\036.Ydb.Export.Ex" + "portToYtSettingsB\004\220\346*\001\"B\n\022ExportToYtResp" + "onse\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operations" + ".Operation\"\341\005\n\022ExportToS3Settings\022\026\n\010end" + "point\030\001 \001(\tB\004\220\346*\001\0225\n\006scheme\030\002 \001(\0162%.Ydb." + "Export.ExportToS3Settings.Scheme\022\024\n\006buck" + "et\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.ItemB\006" + "\232\346*\002(\001\022\034\n\013description\030\007 \001(\tB\007\242\346*\003\030\200\001\022\031\n\021" + "number_of_retries\030\010 \001(\r\022B\n\rstorage_class" + "\030\t \001(\0162+.Ydb.Export.ExportToS3Settings.S" + "torageClass\022\023\n\013compression\030\n \001(\t\022\016\n\006regi" + "on\030\013 \001(\t\022\"\n\032disable_virtual_addressing\030\014" + " \001(\010\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\006Sch" + "eme\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\031STORAGE_CLASS_UNSP" + "ECIFIED\020\000\022\014\n\010STANDARD\020\001\022\026\n\022REDUCED_REDUN" + "DANCY\020\002\022\017\n\013STANDARD_IA\020\003\022\016\n\nONEZONE_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\020Export" + "ToS3Result\"\265\001\n\022ExportToS3Metadata\0220\n\010set" + "tings\030\001 \001(\0132\036.Ydb.Export.ExportToS3Setti" + "ngs\0225\n\010progress\030\002 \001(\0162#.Ydb.Export.Expor" + "tProgress.Progress\0226\n\016items_progress\030\003 \003" + "(\0132\036.Ydb.Export.ExportItemProgress\"\206\001\n\021E" + "xportToS3Request\0229\n\020operation_params\030\001 \001" + "(\0132\037.Ydb.Operations.OperationParams\0226\n\010s" + "ettings\030\002 \001(\0132\036.Ydb.Export.ExportToS3Set" + "tingsB\004\220\346*\001\"B\n\022ExportToS3Response\022,\n\tope" + "ration\030\001 \001(\0132\031.Ydb.Operations.OperationB" + "U\n\025tech.ydb.proto.exportZ9github.com/ydb" + "-platform/ydb-go-genproto/protos/Ydb_Exp" + "ort\370\001\001b\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.google.protobuf.Descriptors.FileDescriptor[] { tech.ydb.proto.Validation.getDescriptor(), tech.ydb.proto.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", "Compression", "Region", "DisableVirtualAddressing", }); 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(tech.ydb.proto.Validation.length); registry.add(tech.ydb.proto.Validation.required); registry.add(tech.ydb.proto.Validation.size); com.google.protobuf.Descriptors.FileDescriptor .internalUpdateFileDescriptor(descriptor, registry); tech.ydb.proto.Validation.getDescriptor(); tech.ydb.proto.OperationProtos.getDescriptor(); com.google.protobuf.TimestampProto.getDescriptor(); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy