Please wait. This can take some minutes ...
Many resources are needed to download a project. Please understand that we have to compensate our server costs. Thank you in advance.
Project price only 1 $
You can buy this project and download/modify it how often you want.
com.yandex.ydb.import_.YdbImport Maven / Gradle / Ivy
Go to download
JDBC client implementation over Table client, single jar
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: ydb/public/api/protos/ydb_import.proto
package com.yandex.ydb.import_;
public final class YdbImport {
private YdbImport() {}
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 ImportProgressOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportProgress)
com.google.protobuf.MessageOrBuilder {
}
/**
*
*/ Common
*
*
* Protobuf type {@code Ydb.Import.ImportProgress}
*/
public static final class ImportProgress extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportProgress)
ImportProgressOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImportProgress.newBuilder() to construct.
private ImportProgress(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImportProgress() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImportProgress();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImportProgress(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportProgress_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportProgress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportProgress.class, com.yandex.ydb.import_.YdbImport.ImportProgress.Builder.class);
}
/**
* Protobuf enum {@code Ydb.Import.ImportProgress.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_BUILD_INDEXES = 3;
*/
PROGRESS_BUILD_INDEXES(3),
/**
* PROGRESS_DONE = 4;
*/
PROGRESS_DONE(4),
/**
* PROGRESS_CANCELLATION = 5;
*/
PROGRESS_CANCELLATION(5),
/**
* PROGRESS_CANCELLED = 6;
*/
PROGRESS_CANCELLED(6),
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_BUILD_INDEXES = 3;
*/
public static final int PROGRESS_BUILD_INDEXES_VALUE = 3;
/**
* PROGRESS_DONE = 4;
*/
public static final int PROGRESS_DONE_VALUE = 4;
/**
* PROGRESS_CANCELLATION = 5;
*/
public static final int PROGRESS_CANCELLATION_VALUE = 5;
/**
* PROGRESS_CANCELLED = 6;
*/
public static final int PROGRESS_CANCELLED_VALUE = 6;
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_BUILD_INDEXES;
case 4: return PROGRESS_DONE;
case 5: return PROGRESS_CANCELLATION;
case 6: return PROGRESS_CANCELLED;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Progress> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Progress findValueByNumber(int number) {
return Progress.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.ImportProgress.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.Import.ImportProgress.Progress)
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportProgress)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportProgress other = (com.yandex.ydb.import_.YdbImport.ImportProgress) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportProgress prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Import.ImportProgress}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportProgress)
com.yandex.ydb.import_.YdbImport.ImportProgressOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportProgress_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportProgress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportProgress.class, com.yandex.ydb.import_.YdbImport.ImportProgress.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportProgress.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportProgress_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportProgress getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportProgress.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportProgress build() {
com.yandex.ydb.import_.YdbImport.ImportProgress result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportProgress buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportProgress result = new com.yandex.ydb.import_.YdbImport.ImportProgress(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportProgress) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportProgress)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportProgress other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportProgress.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportProgress parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportProgress) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.ImportProgress)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportProgress)
private static final com.yandex.ydb.import_.YdbImport.ImportProgress DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportProgress();
}
public static com.yandex.ydb.import_.YdbImport.ImportProgress getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImportProgress parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImportProgress(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportProgress getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImportItemProgressOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportItemProgress)
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.Import.ImportItemProgress}
*/
public static final class ImportItemProgress extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportItemProgress)
ImportItemProgressOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImportItemProgress.newBuilder() to construct.
private ImportItemProgress(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImportItemProgress() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImportItemProgress();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImportItemProgress(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
partsTotal_ = input.readUInt32();
break;
}
case 16: {
partsCompleted_ = input.readUInt32();
break;
}
case 26: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (startTime_ != null) {
subBuilder = startTime_.toBuilder();
}
startTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(startTime_);
startTime_ = subBuilder.buildPartial();
}
break;
}
case 34: {
com.google.protobuf.Timestamp.Builder subBuilder = null;
if (endTime_ != null) {
subBuilder = endTime_.toBuilder();
}
endTime_ = input.readMessage(com.google.protobuf.Timestamp.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(endTime_);
endTime_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportItemProgress_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportItemProgress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportItemProgress.class, com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder.class);
}
public static final int PARTS_TOTAL_FIELD_NUMBER = 1;
private int partsTotal_;
/**
* uint32 parts_total = 1;
* @return The partsTotal.
*/
@java.lang.Override
public int getPartsTotal() {
return partsTotal_;
}
public static final int PARTS_COMPLETED_FIELD_NUMBER = 2;
private int partsCompleted_;
/**
* uint32 parts_completed = 2;
* @return The partsCompleted.
*/
@java.lang.Override
public int getPartsCompleted() {
return partsCompleted_;
}
public static final int START_TIME_FIELD_NUMBER = 3;
private com.google.protobuf.Timestamp startTime_;
/**
* .google.protobuf.Timestamp start_time = 3;
* @return Whether the startTime field is set.
*/
@java.lang.Override
public boolean hasStartTime() {
return startTime_ != null;
}
/**
* .google.protobuf.Timestamp start_time = 3;
* @return The startTime.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getStartTime() {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
/**
* .google.protobuf.Timestamp start_time = 3;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
return getStartTime();
}
public static final int END_TIME_FIELD_NUMBER = 4;
private com.google.protobuf.Timestamp endTime_;
/**
* .google.protobuf.Timestamp end_time = 4;
* @return Whether the endTime field is set.
*/
@java.lang.Override
public boolean hasEndTime() {
return endTime_ != null;
}
/**
* .google.protobuf.Timestamp end_time = 4;
* @return The endTime.
*/
@java.lang.Override
public com.google.protobuf.Timestamp getEndTime() {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
/**
* .google.protobuf.Timestamp end_time = 4;
*/
@java.lang.Override
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
return getEndTime();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (partsTotal_ != 0) {
output.writeUInt32(1, partsTotal_);
}
if (partsCompleted_ != 0) {
output.writeUInt32(2, partsCompleted_);
}
if (startTime_ != null) {
output.writeMessage(3, getStartTime());
}
if (endTime_ != null) {
output.writeMessage(4, getEndTime());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (partsTotal_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, partsTotal_);
}
if (partsCompleted_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, partsCompleted_);
}
if (startTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getStartTime());
}
if (endTime_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getEndTime());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportItemProgress)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportItemProgress other = (com.yandex.ydb.import_.YdbImport.ImportItemProgress) obj;
if (getPartsTotal()
!= other.getPartsTotal()) return false;
if (getPartsCompleted()
!= other.getPartsCompleted()) return false;
if (hasStartTime() != other.hasStartTime()) return false;
if (hasStartTime()) {
if (!getStartTime()
.equals(other.getStartTime())) return false;
}
if (hasEndTime() != other.hasEndTime()) return false;
if (hasEndTime()) {
if (!getEndTime()
.equals(other.getEndTime())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PARTS_TOTAL_FIELD_NUMBER;
hash = (53 * hash) + getPartsTotal();
hash = (37 * hash) + PARTS_COMPLETED_FIELD_NUMBER;
hash = (53 * hash) + getPartsCompleted();
if (hasStartTime()) {
hash = (37 * hash) + START_TIME_FIELD_NUMBER;
hash = (53 * hash) + getStartTime().hashCode();
}
if (hasEndTime()) {
hash = (37 * hash) + END_TIME_FIELD_NUMBER;
hash = (53 * hash) + getEndTime().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportItemProgress prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Import.ImportItemProgress}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportItemProgress)
com.yandex.ydb.import_.YdbImport.ImportItemProgressOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportItemProgress_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportItemProgress_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportItemProgress.class, com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportItemProgress.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
partsTotal_ = 0;
partsCompleted_ = 0;
if (startTimeBuilder_ == null) {
startTime_ = null;
} else {
startTime_ = null;
startTimeBuilder_ = null;
}
if (endTimeBuilder_ == null) {
endTime_ = null;
} else {
endTime_ = null;
endTimeBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportItemProgress_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportItemProgress getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportItemProgress.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportItemProgress build() {
com.yandex.ydb.import_.YdbImport.ImportItemProgress result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportItemProgress buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportItemProgress result = new com.yandex.ydb.import_.YdbImport.ImportItemProgress(this);
result.partsTotal_ = partsTotal_;
result.partsCompleted_ = partsCompleted_;
if (startTimeBuilder_ == null) {
result.startTime_ = startTime_;
} else {
result.startTime_ = startTimeBuilder_.build();
}
if (endTimeBuilder_ == null) {
result.endTime_ = endTime_;
} else {
result.endTime_ = endTimeBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportItemProgress) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportItemProgress)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportItemProgress other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportItemProgress.getDefaultInstance()) return this;
if (other.getPartsTotal() != 0) {
setPartsTotal(other.getPartsTotal());
}
if (other.getPartsCompleted() != 0) {
setPartsCompleted(other.getPartsCompleted());
}
if (other.hasStartTime()) {
mergeStartTime(other.getStartTime());
}
if (other.hasEndTime()) {
mergeEndTime(other.getEndTime());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportItemProgress parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportItemProgress) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int partsTotal_ ;
/**
* uint32 parts_total = 1;
* @return The partsTotal.
*/
@java.lang.Override
public int getPartsTotal() {
return partsTotal_;
}
/**
* uint32 parts_total = 1;
* @param value The partsTotal to set.
* @return This builder for chaining.
*/
public Builder setPartsTotal(int value) {
partsTotal_ = value;
onChanged();
return this;
}
/**
* uint32 parts_total = 1;
* @return This builder for chaining.
*/
public Builder clearPartsTotal() {
partsTotal_ = 0;
onChanged();
return this;
}
private int partsCompleted_ ;
/**
* uint32 parts_completed = 2;
* @return The partsCompleted.
*/
@java.lang.Override
public int getPartsCompleted() {
return partsCompleted_;
}
/**
* uint32 parts_completed = 2;
* @param value The partsCompleted to set.
* @return This builder for chaining.
*/
public Builder setPartsCompleted(int value) {
partsCompleted_ = value;
onChanged();
return this;
}
/**
* uint32 parts_completed = 2;
* @return This builder for chaining.
*/
public Builder clearPartsCompleted() {
partsCompleted_ = 0;
onChanged();
return this;
}
private com.google.protobuf.Timestamp startTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> startTimeBuilder_;
/**
* .google.protobuf.Timestamp start_time = 3;
* @return Whether the startTime field is set.
*/
public boolean hasStartTime() {
return startTimeBuilder_ != null || startTime_ != null;
}
/**
* .google.protobuf.Timestamp start_time = 3;
* @return The startTime.
*/
public com.google.protobuf.Timestamp getStartTime() {
if (startTimeBuilder_ == null) {
return startTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
} else {
return startTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp start_time = 3;
*/
public Builder setStartTime(com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
startTime_ = value;
onChanged();
} else {
startTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp start_time = 3;
*/
public Builder setStartTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (startTimeBuilder_ == null) {
startTime_ = builderForValue.build();
onChanged();
} else {
startTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp start_time = 3;
*/
public Builder mergeStartTime(com.google.protobuf.Timestamp value) {
if (startTimeBuilder_ == null) {
if (startTime_ != null) {
startTime_ =
com.google.protobuf.Timestamp.newBuilder(startTime_).mergeFrom(value).buildPartial();
} else {
startTime_ = value;
}
onChanged();
} else {
startTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp start_time = 3;
*/
public Builder clearStartTime() {
if (startTimeBuilder_ == null) {
startTime_ = null;
onChanged();
} else {
startTime_ = null;
startTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp start_time = 3;
*/
public com.google.protobuf.Timestamp.Builder getStartTimeBuilder() {
onChanged();
return getStartTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp start_time = 3;
*/
public com.google.protobuf.TimestampOrBuilder getStartTimeOrBuilder() {
if (startTimeBuilder_ != null) {
return startTimeBuilder_.getMessageOrBuilder();
} else {
return startTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : startTime_;
}
}
/**
* .google.protobuf.Timestamp start_time = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getStartTimeFieldBuilder() {
if (startTimeBuilder_ == null) {
startTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getStartTime(),
getParentForChildren(),
isClean());
startTime_ = null;
}
return startTimeBuilder_;
}
private com.google.protobuf.Timestamp endTime_;
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder> endTimeBuilder_;
/**
* .google.protobuf.Timestamp end_time = 4;
* @return Whether the endTime field is set.
*/
public boolean hasEndTime() {
return endTimeBuilder_ != null || endTime_ != null;
}
/**
* .google.protobuf.Timestamp end_time = 4;
* @return The endTime.
*/
public com.google.protobuf.Timestamp getEndTime() {
if (endTimeBuilder_ == null) {
return endTime_ == null ? com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
} else {
return endTimeBuilder_.getMessage();
}
}
/**
* .google.protobuf.Timestamp end_time = 4;
*/
public Builder setEndTime(com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
endTime_ = value;
onChanged();
} else {
endTimeBuilder_.setMessage(value);
}
return this;
}
/**
* .google.protobuf.Timestamp end_time = 4;
*/
public Builder setEndTime(
com.google.protobuf.Timestamp.Builder builderForValue) {
if (endTimeBuilder_ == null) {
endTime_ = builderForValue.build();
onChanged();
} else {
endTimeBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .google.protobuf.Timestamp end_time = 4;
*/
public Builder mergeEndTime(com.google.protobuf.Timestamp value) {
if (endTimeBuilder_ == null) {
if (endTime_ != null) {
endTime_ =
com.google.protobuf.Timestamp.newBuilder(endTime_).mergeFrom(value).buildPartial();
} else {
endTime_ = value;
}
onChanged();
} else {
endTimeBuilder_.mergeFrom(value);
}
return this;
}
/**
* .google.protobuf.Timestamp end_time = 4;
*/
public Builder clearEndTime() {
if (endTimeBuilder_ == null) {
endTime_ = null;
onChanged();
} else {
endTime_ = null;
endTimeBuilder_ = null;
}
return this;
}
/**
* .google.protobuf.Timestamp end_time = 4;
*/
public com.google.protobuf.Timestamp.Builder getEndTimeBuilder() {
onChanged();
return getEndTimeFieldBuilder().getBuilder();
}
/**
* .google.protobuf.Timestamp end_time = 4;
*/
public com.google.protobuf.TimestampOrBuilder getEndTimeOrBuilder() {
if (endTimeBuilder_ != null) {
return endTimeBuilder_.getMessageOrBuilder();
} else {
return endTime_ == null ?
com.google.protobuf.Timestamp.getDefaultInstance() : endTime_;
}
}
/**
* .google.protobuf.Timestamp end_time = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>
getEndTimeFieldBuilder() {
if (endTimeBuilder_ == null) {
endTimeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.google.protobuf.Timestamp, com.google.protobuf.Timestamp.Builder, com.google.protobuf.TimestampOrBuilder>(
getEndTime(),
getParentForChildren(),
isClean());
endTime_ = null;
}
return endTimeBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.ImportItemProgress)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportItemProgress)
private static final com.yandex.ydb.import_.YdbImport.ImportItemProgress DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportItemProgress();
}
public static com.yandex.ydb.import_.YdbImport.ImportItemProgress getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImportItemProgress parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImportItemProgress(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportItemProgress getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImportFromS3SettingsOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportFromS3Settings)
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.Import.ImportFromS3Settings.Scheme scheme = 2;
* @return The enum numeric value on the wire for scheme.
*/
int getSchemeValue();
/**
*
* HTTPS if not specified
*
*
* .Ydb.Import.ImportFromS3Settings.Scheme scheme = 2;
* @return The scheme.
*/
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.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.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
java.util.List
getItemsList();
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item getItems(int index);
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
int getItemsCount();
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
java.util.List extends com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.ItemOrBuilder>
getItemsOrBuilderList();
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.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();
}
/**
*
*/ S3
*
*
* Protobuf type {@code Ydb.Import.ImportFromS3Settings}
*/
public static final class ImportFromS3Settings extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportFromS3Settings)
ImportFromS3SettingsOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImportFromS3Settings.newBuilder() to construct.
private ImportFromS3Settings(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImportFromS3Settings() {
endpoint_ = "";
scheme_ = 0;
bucket_ = "";
accessKey_ = "";
secretKey_ = "";
items_ = java.util.Collections.emptyList();
description_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImportFromS3Settings();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImportFromS3Settings(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
endpoint_ = s;
break;
}
case 16: {
int rawValue = input.readEnum();
scheme_ = rawValue;
break;
}
case 26: {
java.lang.String s = input.readStringRequireUtf8();
bucket_ = s;
break;
}
case 34: {
java.lang.String s = input.readStringRequireUtf8();
accessKey_ = s;
break;
}
case 42: {
java.lang.String s = input.readStringRequireUtf8();
secretKey_ = s;
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
items_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
items_.add(
input.readMessage(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.parser(), extensionRegistry));
break;
}
case 58: {
java.lang.String s = input.readStringRequireUtf8();
description_ = s;
break;
}
case 64: {
numberOfRetries_ = input.readUInt32();
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
items_ = java.util.Collections.unmodifiableList(items_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Settings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Settings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder.class);
}
/**
* Protobuf enum {@code Ydb.Import.ImportFromS3Settings.Scheme}
*/
public enum Scheme
implements com.google.protobuf.ProtocolMessageEnum {
/**
* UNSPECIFIED = 0;
*/
UNSPECIFIED(0),
/**
* HTTP = 1;
*/
HTTP(1),
/**
* HTTPS = 2;
*/
HTTPS(2),
UNRECOGNIZED(-1),
;
/**
* UNSPECIFIED = 0;
*/
public static final int UNSPECIFIED_VALUE = 0;
/**
* HTTP = 1;
*/
public static final int HTTP_VALUE = 1;
/**
* HTTPS = 2;
*/
public static final int HTTPS_VALUE = 2;
public final int getNumber() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalArgumentException(
"Can't get the number of an unknown enum value.");
}
return value;
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static Scheme valueOf(int value) {
return forNumber(value);
}
/**
* @param value The numeric wire value of the corresponding enum entry.
* @return The enum associated with the given numeric wire value.
*/
public static Scheme forNumber(int value) {
switch (value) {
case 0: return UNSPECIFIED;
case 1: return HTTP;
case 2: return HTTPS;
default: return null;
}
}
public static com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static final com.google.protobuf.Internal.EnumLiteMap<
Scheme> internalValueMap =
new com.google.protobuf.Internal.EnumLiteMap() {
public Scheme findValueByNumber(int number) {
return Scheme.forNumber(number);
}
};
public final com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
if (this == UNRECOGNIZED) {
throw new java.lang.IllegalStateException(
"Can't get the descriptor of an unrecognized enum value.");
}
return getDescriptor().getValues().get(ordinal());
}
public final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.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.Import.ImportFromS3Settings.Scheme)
}
public interface ItemOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportFromS3Settings.Item)
com.google.protobuf.MessageOrBuilder {
/**
*
* YDB tables in S3 are stored in one or more objects (see ydb_export.proto).
*The object name begins with 'source_prefix'.
*This prefix is followed by:
* '/data_PartNumber', where 'PartNumber' represents the index of the part, starting at zero;
* '/scheme.pb' - object with information about scheme, indexes, etc.
*
*
* string source_prefix = 1 [(.Ydb.required) = true];
* @return The sourcePrefix.
*/
java.lang.String getSourcePrefix();
/**
*
* YDB tables in S3 are stored in one or more objects (see ydb_export.proto).
*The object name begins with 'source_prefix'.
*This prefix is followed by:
* '/data_PartNumber', where 'PartNumber' represents the index of the part, starting at zero;
* '/scheme.pb' - object with information about scheme, indexes, etc.
*
*
* string source_prefix = 1 [(.Ydb.required) = true];
* @return The bytes for sourcePrefix.
*/
com.google.protobuf.ByteString
getSourcePrefixBytes();
/**
*
* Database path to a table to import to.
*
*
* string destination_path = 2 [(.Ydb.required) = true];
* @return The destinationPath.
*/
java.lang.String getDestinationPath();
/**
*
* Database path to a table to import to.
*
*
* string destination_path = 2 [(.Ydb.required) = true];
* @return The bytes for destinationPath.
*/
com.google.protobuf.ByteString
getDestinationPathBytes();
}
/**
* Protobuf type {@code Ydb.Import.ImportFromS3Settings.Item}
*/
public static final class Item extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportFromS3Settings.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() {
sourcePrefix_ = "";
destinationPath_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Item();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Item(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
sourcePrefix_ = s;
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
destinationPath_ = s;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Settings_Item_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Settings_Item_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder.class);
}
public static final int SOURCE_PREFIX_FIELD_NUMBER = 1;
private volatile java.lang.Object sourcePrefix_;
/**
*
* YDB tables in S3 are stored in one or more objects (see ydb_export.proto).
*The object name begins with 'source_prefix'.
*This prefix is followed by:
* '/data_PartNumber', where 'PartNumber' represents the index of the part, starting at zero;
* '/scheme.pb' - object with information about scheme, indexes, etc.
*
*
* string source_prefix = 1 [(.Ydb.required) = true];
* @return The sourcePrefix.
*/
@java.lang.Override
public java.lang.String getSourcePrefix() {
java.lang.Object ref = sourcePrefix_;
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();
sourcePrefix_ = s;
return s;
}
}
/**
*
* YDB tables in S3 are stored in one or more objects (see ydb_export.proto).
*The object name begins with 'source_prefix'.
*This prefix is followed by:
* '/data_PartNumber', where 'PartNumber' represents the index of the part, starting at zero;
* '/scheme.pb' - object with information about scheme, indexes, etc.
*
*
* string source_prefix = 1 [(.Ydb.required) = true];
* @return The bytes for sourcePrefix.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSourcePrefixBytes() {
java.lang.Object ref = sourcePrefix_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourcePrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DESTINATION_PATH_FIELD_NUMBER = 2;
private volatile java.lang.Object destinationPath_;
/**
*
* Database path to a table to import to.
*
*
* 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;
}
}
/**
*
* Database path to a table to import to.
*
*
* 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(sourcePrefix_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, sourcePrefix_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPath_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, destinationPath_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(sourcePrefix_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, sourcePrefix_);
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(destinationPath_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, destinationPath_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item other = (com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item) obj;
if (!getSourcePrefix()
.equals(other.getSourcePrefix())) return false;
if (!getDestinationPath()
.equals(other.getDestinationPath())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + SOURCE_PREFIX_FIELD_NUMBER;
hash = (53 * hash) + getSourcePrefix().hashCode();
hash = (37 * hash) + DESTINATION_PATH_FIELD_NUMBER;
hash = (53 * hash) + getDestinationPath().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.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.Import.ImportFromS3Settings.Item}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportFromS3Settings.Item)
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.ItemOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Settings_Item_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Settings_Item_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
sourcePrefix_ = "";
destinationPath_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Settings_Item_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item build() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item result = new com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item(this);
result.sourcePrefix_ = sourcePrefix_;
result.destinationPath_ = destinationPath_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.getDefaultInstance()) return this;
if (!other.getSourcePrefix().isEmpty()) {
sourcePrefix_ = other.sourcePrefix_;
onChanged();
}
if (!other.getDestinationPath().isEmpty()) {
destinationPath_ = other.destinationPath_;
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private java.lang.Object sourcePrefix_ = "";
/**
*
* YDB tables in S3 are stored in one or more objects (see ydb_export.proto).
*The object name begins with 'source_prefix'.
*This prefix is followed by:
* '/data_PartNumber', where 'PartNumber' represents the index of the part, starting at zero;
* '/scheme.pb' - object with information about scheme, indexes, etc.
*
*
* string source_prefix = 1 [(.Ydb.required) = true];
* @return The sourcePrefix.
*/
public java.lang.String getSourcePrefix() {
java.lang.Object ref = sourcePrefix_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
sourcePrefix_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* YDB tables in S3 are stored in one or more objects (see ydb_export.proto).
*The object name begins with 'source_prefix'.
*This prefix is followed by:
* '/data_PartNumber', where 'PartNumber' represents the index of the part, starting at zero;
* '/scheme.pb' - object with information about scheme, indexes, etc.
*
*
* string source_prefix = 1 [(.Ydb.required) = true];
* @return The bytes for sourcePrefix.
*/
public com.google.protobuf.ByteString
getSourcePrefixBytes() {
java.lang.Object ref = sourcePrefix_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sourcePrefix_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* YDB tables in S3 are stored in one or more objects (see ydb_export.proto).
*The object name begins with 'source_prefix'.
*This prefix is followed by:
* '/data_PartNumber', where 'PartNumber' represents the index of the part, starting at zero;
* '/scheme.pb' - object with information about scheme, indexes, etc.
*
*
* string source_prefix = 1 [(.Ydb.required) = true];
* @param value The sourcePrefix to set.
* @return This builder for chaining.
*/
public Builder setSourcePrefix(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
sourcePrefix_ = value;
onChanged();
return this;
}
/**
*
* YDB tables in S3 are stored in one or more objects (see ydb_export.proto).
*The object name begins with 'source_prefix'.
*This prefix is followed by:
* '/data_PartNumber', where 'PartNumber' represents the index of the part, starting at zero;
* '/scheme.pb' - object with information about scheme, indexes, etc.
*
*
* string source_prefix = 1 [(.Ydb.required) = true];
* @return This builder for chaining.
*/
public Builder clearSourcePrefix() {
sourcePrefix_ = getDefaultInstance().getSourcePrefix();
onChanged();
return this;
}
/**
*
* YDB tables in S3 are stored in one or more objects (see ydb_export.proto).
*The object name begins with 'source_prefix'.
*This prefix is followed by:
* '/data_PartNumber', where 'PartNumber' represents the index of the part, starting at zero;
* '/scheme.pb' - object with information about scheme, indexes, etc.
*
*
* string source_prefix = 1 [(.Ydb.required) = true];
* @param value The bytes for sourcePrefix to set.
* @return This builder for chaining.
*/
public Builder setSourcePrefixBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
sourcePrefix_ = value;
onChanged();
return this;
}
private java.lang.Object destinationPath_ = "";
/**
*
* Database path to a table to import to.
*
*
* 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;
}
}
/**
*
* Database path to a table to import to.
*
*
* 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;
}
}
/**
*
* Database path to a table to import to.
*
*
* string destination_path = 2 [(.Ydb.required) = true];
* @param value The destinationPath to set.
* @return This builder for chaining.
*/
public Builder setDestinationPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
destinationPath_ = value;
onChanged();
return this;
}
/**
*
* Database path to a table to import to.
*
*
* string destination_path = 2 [(.Ydb.required) = true];
* @return This builder for chaining.
*/
public Builder clearDestinationPath() {
destinationPath_ = getDefaultInstance().getDestinationPath();
onChanged();
return this;
}
/**
*
* Database path to a table to import to.
*
*
* string destination_path = 2 [(.Ydb.required) = true];
* @param value The bytes for destinationPath to set.
* @return This builder for chaining.
*/
public Builder setDestinationPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
destinationPath_ = value;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.ImportFromS3Settings.Item)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportFromS3Settings.Item)
private static final com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item();
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser-
PARSER = new com.google.protobuf.AbstractParser
- () {
@java.lang.Override
public Item parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new Item(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser
- parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser
- getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int ENDPOINT_FIELD_NUMBER = 1;
private volatile java.lang.Object endpoint_;
/**
*
string endpoint = 1 [(.Ydb.required) = true];
* @return The endpoint.
*/
@java.lang.Override
public java.lang.String getEndpoint() {
java.lang.Object ref = endpoint_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endpoint_ = s;
return s;
}
}
/**
* string endpoint = 1 [(.Ydb.required) = true];
* @return The bytes for endpoint.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getEndpointBytes() {
java.lang.Object ref = endpoint_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SCHEME_FIELD_NUMBER = 2;
private int scheme_;
/**
*
* HTTPS if not specified
*
*
* .Ydb.Import.ImportFromS3Settings.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.Import.ImportFromS3Settings.Scheme scheme = 2;
* @return The scheme.
*/
@java.lang.Override public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Scheme getScheme() {
@SuppressWarnings("deprecation")
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Scheme result = com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Scheme.valueOf(scheme_);
return result == null ? com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Scheme.UNRECOGNIZED : result;
}
public static final int BUCKET_FIELD_NUMBER = 3;
private volatile java.lang.Object bucket_;
/**
* string bucket = 3 [(.Ydb.required) = true];
* @return The bucket.
*/
@java.lang.Override
public java.lang.String getBucket() {
java.lang.Object ref = bucket_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bucket_ = s;
return s;
}
}
/**
* string bucket = 3 [(.Ydb.required) = true];
* @return The bytes for bucket.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getBucketBytes() {
java.lang.Object ref = bucket_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bucket_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ACCESS_KEY_FIELD_NUMBER = 4;
private volatile java.lang.Object accessKey_;
/**
* string access_key = 4 [(.Ydb.required) = true];
* @return The accessKey.
*/
@java.lang.Override
public java.lang.String getAccessKey() {
java.lang.Object ref = accessKey_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accessKey_ = s;
return s;
}
}
/**
* string access_key = 4 [(.Ydb.required) = true];
* @return The bytes for accessKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getAccessKeyBytes() {
java.lang.Object ref = accessKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int SECRET_KEY_FIELD_NUMBER = 5;
private volatile java.lang.Object secretKey_;
/**
* string secret_key = 5 [(.Ydb.required) = true];
* @return The secretKey.
*/
@java.lang.Override
public java.lang.String getSecretKey() {
java.lang.Object ref = secretKey_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
secretKey_ = s;
return s;
}
}
/**
* string secret_key = 5 [(.Ydb.required) = true];
* @return The bytes for secretKey.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getSecretKeyBytes() {
java.lang.Object ref = secretKey_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
secretKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int ITEMS_FIELD_NUMBER = 6;
private java.util.List items_;
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
@java.lang.Override
public java.util.List getItemsList() {
return items_;
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
@java.lang.Override
public java.util.List extends com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.ItemOrBuilder>
getItemsOrBuilderList() {
return items_;
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
@java.lang.Override
public int getItemsCount() {
return items_.size();
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item getItems(int index) {
return items_.get(index);
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.ItemOrBuilder getItemsOrBuilder(
int index) {
return items_.get(index);
}
public static final int DESCRIPTION_FIELD_NUMBER = 7;
private volatile java.lang.Object description_;
/**
* string description = 7 [(.Ydb.length) = { ... }
* @return The description.
*/
@java.lang.Override
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
}
}
/**
* string description = 7 [(.Ydb.length) = { ... }
* @return The bytes for description.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int NUMBER_OF_RETRIES_FIELD_NUMBER = 8;
private int numberOfRetries_;
/**
* uint32 number_of_retries = 8;
* @return The numberOfRetries.
*/
@java.lang.Override
public int getNumberOfRetries() {
return numberOfRetries_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
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_ != com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.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_);
}
unknownFields.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_ != com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.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_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Settings)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings other = (com.yandex.ydb.import_.YdbImport.ImportFromS3Settings) 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 (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + ENDPOINT_FIELD_NUMBER;
hash = (53 * hash) + getEndpoint().hashCode();
hash = (37 * hash) + SCHEME_FIELD_NUMBER;
hash = (53 * hash) + scheme_;
hash = (37 * hash) + BUCKET_FIELD_NUMBER;
hash = (53 * hash) + getBucket().hashCode();
hash = (37 * hash) + ACCESS_KEY_FIELD_NUMBER;
hash = (53 * hash) + getAccessKey().hashCode();
hash = (37 * hash) + SECRET_KEY_FIELD_NUMBER;
hash = (53 * hash) + getSecretKey().hashCode();
if (getItemsCount() > 0) {
hash = (37 * hash) + ITEMS_FIELD_NUMBER;
hash = (53 * hash) + getItemsList().hashCode();
}
hash = (37 * hash) + DESCRIPTION_FIELD_NUMBER;
hash = (53 * hash) + getDescription().hashCode();
hash = (37 * hash) + NUMBER_OF_RETRIES_FIELD_NUMBER;
hash = (53 * hash) + getNumberOfRetries();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Import.ImportFromS3Settings}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportFromS3Settings)
com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Settings_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Settings_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getItemsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
endpoint_ = "";
scheme_ = 0;
bucket_ = "";
accessKey_ = "";
secretKey_ = "";
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
itemsBuilder_.clear();
}
description_ = "";
numberOfRetries_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Settings_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings build() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings result = new com.yandex.ydb.import_.YdbImport.ImportFromS3Settings(this);
int from_bitField0_ = bitField0_;
result.endpoint_ = endpoint_;
result.scheme_ = scheme_;
result.bucket_ = bucket_;
result.accessKey_ = accessKey_;
result.secretKey_ = secretKey_;
if (itemsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
items_ = java.util.Collections.unmodifiableList(items_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.items_ = items_;
} else {
result.items_ = itemsBuilder_.build();
}
result.description_ = description_;
result.numberOfRetries_ = numberOfRetries_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Settings) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportFromS3Settings)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.getDefaultInstance()) return this;
if (!other.getEndpoint().isEmpty()) {
endpoint_ = other.endpoint_;
onChanged();
}
if (other.scheme_ != 0) {
setSchemeValue(other.getSchemeValue());
}
if (!other.getBucket().isEmpty()) {
bucket_ = other.bucket_;
onChanged();
}
if (!other.getAccessKey().isEmpty()) {
accessKey_ = other.accessKey_;
onChanged();
}
if (!other.getSecretKey().isEmpty()) {
secretKey_ = other.secretKey_;
onChanged();
}
if (itemsBuilder_ == null) {
if (!other.items_.isEmpty()) {
if (items_.isEmpty()) {
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureItemsIsMutable();
items_.addAll(other.items_);
}
onChanged();
}
} else {
if (!other.items_.isEmpty()) {
if (itemsBuilder_.isEmpty()) {
itemsBuilder_.dispose();
itemsBuilder_ = null;
items_ = other.items_;
bitField0_ = (bitField0_ & ~0x00000001);
itemsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemsFieldBuilder() : null;
} else {
itemsBuilder_.addAllMessages(other.items_);
}
}
}
if (!other.getDescription().isEmpty()) {
description_ = other.description_;
onChanged();
}
if (other.getNumberOfRetries() != 0) {
setNumberOfRetries(other.getNumberOfRetries());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportFromS3Settings) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object endpoint_ = "";
/**
* string endpoint = 1 [(.Ydb.required) = true];
* @return The endpoint.
*/
public java.lang.String getEndpoint() {
java.lang.Object ref = endpoint_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
endpoint_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string endpoint = 1 [(.Ydb.required) = true];
* @return The bytes for endpoint.
*/
public com.google.protobuf.ByteString
getEndpointBytes() {
java.lang.Object ref = endpoint_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
endpoint_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string endpoint = 1 [(.Ydb.required) = true];
* @param value The endpoint to set.
* @return This builder for chaining.
*/
public Builder setEndpoint(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
endpoint_ = value;
onChanged();
return this;
}
/**
* string endpoint = 1 [(.Ydb.required) = true];
* @return This builder for chaining.
*/
public Builder clearEndpoint() {
endpoint_ = getDefaultInstance().getEndpoint();
onChanged();
return this;
}
/**
* string endpoint = 1 [(.Ydb.required) = true];
* @param value The bytes for endpoint to set.
* @return This builder for chaining.
*/
public Builder setEndpointBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
endpoint_ = value;
onChanged();
return this;
}
private int scheme_ = 0;
/**
*
* HTTPS if not specified
*
*
* .Ydb.Import.ImportFromS3Settings.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.Import.ImportFromS3Settings.Scheme scheme = 2;
* @param value The enum numeric value on the wire for scheme to set.
* @return This builder for chaining.
*/
public Builder setSchemeValue(int value) {
scheme_ = value;
onChanged();
return this;
}
/**
*
* HTTPS if not specified
*
*
* .Ydb.Import.ImportFromS3Settings.Scheme scheme = 2;
* @return The scheme.
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Scheme getScheme() {
@SuppressWarnings("deprecation")
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Scheme result = com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Scheme.valueOf(scheme_);
return result == null ? com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Scheme.UNRECOGNIZED : result;
}
/**
*
* HTTPS if not specified
*
*
* .Ydb.Import.ImportFromS3Settings.Scheme scheme = 2;
* @param value The scheme to set.
* @return This builder for chaining.
*/
public Builder setScheme(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Scheme value) {
if (value == null) {
throw new NullPointerException();
}
scheme_ = value.getNumber();
onChanged();
return this;
}
/**
*
* HTTPS if not specified
*
*
* .Ydb.Import.ImportFromS3Settings.Scheme scheme = 2;
* @return This builder for chaining.
*/
public Builder clearScheme() {
scheme_ = 0;
onChanged();
return this;
}
private java.lang.Object bucket_ = "";
/**
* string bucket = 3 [(.Ydb.required) = true];
* @return The bucket.
*/
public java.lang.String getBucket() {
java.lang.Object ref = bucket_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
bucket_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string bucket = 3 [(.Ydb.required) = true];
* @return The bytes for bucket.
*/
public com.google.protobuf.ByteString
getBucketBytes() {
java.lang.Object ref = bucket_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
bucket_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string bucket = 3 [(.Ydb.required) = true];
* @param value The bucket to set.
* @return This builder for chaining.
*/
public Builder setBucket(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bucket_ = value;
onChanged();
return this;
}
/**
* string bucket = 3 [(.Ydb.required) = true];
* @return This builder for chaining.
*/
public Builder clearBucket() {
bucket_ = getDefaultInstance().getBucket();
onChanged();
return this;
}
/**
* string bucket = 3 [(.Ydb.required) = true];
* @param value The bytes for bucket to set.
* @return This builder for chaining.
*/
public Builder setBucketBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
bucket_ = value;
onChanged();
return this;
}
private java.lang.Object accessKey_ = "";
/**
* string access_key = 4 [(.Ydb.required) = true];
* @return The accessKey.
*/
public java.lang.String getAccessKey() {
java.lang.Object ref = accessKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
accessKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string access_key = 4 [(.Ydb.required) = true];
* @return The bytes for accessKey.
*/
public com.google.protobuf.ByteString
getAccessKeyBytes() {
java.lang.Object ref = accessKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
accessKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string access_key = 4 [(.Ydb.required) = true];
* @param value The accessKey to set.
* @return This builder for chaining.
*/
public Builder setAccessKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
accessKey_ = value;
onChanged();
return this;
}
/**
* string access_key = 4 [(.Ydb.required) = true];
* @return This builder for chaining.
*/
public Builder clearAccessKey() {
accessKey_ = getDefaultInstance().getAccessKey();
onChanged();
return this;
}
/**
* string access_key = 4 [(.Ydb.required) = true];
* @param value The bytes for accessKey to set.
* @return This builder for chaining.
*/
public Builder setAccessKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
accessKey_ = value;
onChanged();
return this;
}
private java.lang.Object secretKey_ = "";
/**
* string secret_key = 5 [(.Ydb.required) = true];
* @return The secretKey.
*/
public java.lang.String getSecretKey() {
java.lang.Object ref = secretKey_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
secretKey_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string secret_key = 5 [(.Ydb.required) = true];
* @return The bytes for secretKey.
*/
public com.google.protobuf.ByteString
getSecretKeyBytes() {
java.lang.Object ref = secretKey_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
secretKey_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string secret_key = 5 [(.Ydb.required) = true];
* @param value The secretKey to set.
* @return This builder for chaining.
*/
public Builder setSecretKey(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
secretKey_ = value;
onChanged();
return this;
}
/**
* string secret_key = 5 [(.Ydb.required) = true];
* @return This builder for chaining.
*/
public Builder clearSecretKey() {
secretKey_ = getDefaultInstance().getSecretKey();
onChanged();
return this;
}
/**
* string secret_key = 5 [(.Ydb.required) = true];
* @param value The bytes for secretKey to set.
* @return This builder for chaining.
*/
public Builder setSecretKeyBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
secretKey_ = value;
onChanged();
return this;
}
private java.util.List items_ =
java.util.Collections.emptyList();
private void ensureItemsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
items_ = new java.util.ArrayList(items_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.ItemOrBuilder> itemsBuilder_;
/**
* repeated .Ydb.Import.ImportFromS3Settings.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.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public int getItemsCount() {
if (itemsBuilder_ == null) {
return items_.size();
} else {
return itemsBuilder_.getCount();
}
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item getItems(int index) {
if (itemsBuilder_ == null) {
return items_.get(index);
} else {
return itemsBuilder_.getMessage(index);
}
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public Builder setItems(
int index, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.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.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public Builder setItems(
int index, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.set(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public Builder addItems(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item value) {
if (itemsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsIsMutable();
items_.add(value);
onChanged();
} else {
itemsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public Builder addItems(
int index, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.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.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public Builder addItems(
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public Builder addItems(
int index, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder builderForValue) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
items_.add(index, builderForValue.build());
onChanged();
} else {
itemsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public Builder addAllItems(
java.lang.Iterable extends com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item> values) {
if (itemsBuilder_ == null) {
ensureItemsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, items_);
onChanged();
} else {
itemsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public Builder clearItems() {
if (itemsBuilder_ == null) {
items_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
itemsBuilder_.clear();
}
return this;
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.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.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder getItemsBuilder(
int index) {
return getItemsFieldBuilder().getBuilder(index);
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.ItemOrBuilder getItemsOrBuilder(
int index) {
if (itemsBuilder_ == null) {
return items_.get(index); } else {
return itemsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public java.util.List extends com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.ItemOrBuilder>
getItemsOrBuilderList() {
if (itemsBuilder_ != null) {
return itemsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(items_);
}
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder addItemsBuilder() {
return getItemsFieldBuilder().addBuilder(
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.getDefaultInstance());
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder addItemsBuilder(
int index) {
return getItemsFieldBuilder().addBuilder(
index, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.getDefaultInstance());
}
/**
* repeated .Ydb.Import.ImportFromS3Settings.Item items = 6 [(.Ydb.size) = { ... }
*/
public java.util.List
getItemsBuilderList() {
return getItemsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.ItemOrBuilder>
getItemsFieldBuilder() {
if (itemsBuilder_ == null) {
itemsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Item.Builder, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.ItemOrBuilder>(
items_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
items_ = null;
}
return itemsBuilder_;
}
private java.lang.Object description_ = "";
/**
* string description = 7 [(.Ydb.length) = { ... }
* @return The description.
*/
public java.lang.String getDescription() {
java.lang.Object ref = description_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
description_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string description = 7 [(.Ydb.length) = { ... }
* @return The bytes for description.
*/
public com.google.protobuf.ByteString
getDescriptionBytes() {
java.lang.Object ref = description_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
description_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string description = 7 [(.Ydb.length) = { ... }
* @param value The description to set.
* @return This builder for chaining.
*/
public Builder setDescription(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
description_ = value;
onChanged();
return this;
}
/**
* string description = 7 [(.Ydb.length) = { ... }
* @return This builder for chaining.
*/
public Builder clearDescription() {
description_ = getDefaultInstance().getDescription();
onChanged();
return this;
}
/**
* string description = 7 [(.Ydb.length) = { ... }
* @param value The bytes for description to set.
* @return This builder for chaining.
*/
public Builder setDescriptionBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
description_ = value;
onChanged();
return this;
}
private int numberOfRetries_ ;
/**
* uint32 number_of_retries = 8;
* @return The numberOfRetries.
*/
@java.lang.Override
public int getNumberOfRetries() {
return numberOfRetries_;
}
/**
* uint32 number_of_retries = 8;
* @param value The numberOfRetries to set.
* @return This builder for chaining.
*/
public Builder setNumberOfRetries(int value) {
numberOfRetries_ = value;
onChanged();
return this;
}
/**
* uint32 number_of_retries = 8;
* @return This builder for chaining.
*/
public Builder clearNumberOfRetries() {
numberOfRetries_ = 0;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.ImportFromS3Settings)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportFromS3Settings)
private static final com.yandex.ydb.import_.YdbImport.ImportFromS3Settings DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportFromS3Settings();
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Settings getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImportFromS3Settings parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImportFromS3Settings(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImportFromS3ResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportFromS3Result)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code Ydb.Import.ImportFromS3Result}
*/
public static final class ImportFromS3Result extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportFromS3Result)
ImportFromS3ResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImportFromS3Result.newBuilder() to construct.
private ImportFromS3Result(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImportFromS3Result() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImportFromS3Result();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImportFromS3Result(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Result_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Result_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Result.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Result.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Result)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportFromS3Result other = (com.yandex.ydb.import_.YdbImport.ImportFromS3Result) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportFromS3Result prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Import.ImportFromS3Result}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportFromS3Result)
com.yandex.ydb.import_.YdbImport.ImportFromS3ResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Result_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Result_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Result.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Result.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportFromS3Result.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Result_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Result getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportFromS3Result.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Result build() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Result result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Result buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Result result = new com.yandex.ydb.import_.YdbImport.ImportFromS3Result(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Result) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportFromS3Result)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportFromS3Result other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportFromS3Result.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportFromS3Result parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportFromS3Result) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.ImportFromS3Result)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportFromS3Result)
private static final com.yandex.ydb.import_.YdbImport.ImportFromS3Result DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportFromS3Result();
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Result getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImportFromS3Result parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImportFromS3Result(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Result getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImportFromS3MetadataOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportFromS3Metadata)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
* @return Whether the settings field is set.
*/
boolean hasSettings();
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
* @return The settings.
*/
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings getSettings();
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
*/
com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder getSettingsOrBuilder();
/**
* .Ydb.Import.ImportProgress.Progress progress = 2;
* @return The enum numeric value on the wire for progress.
*/
int getProgressValue();
/**
* .Ydb.Import.ImportProgress.Progress progress = 2;
* @return The progress.
*/
com.yandex.ydb.import_.YdbImport.ImportProgress.Progress getProgress();
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
java.util.List
getItemsProgressList();
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
com.yandex.ydb.import_.YdbImport.ImportItemProgress getItemsProgress(int index);
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
int getItemsProgressCount();
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
java.util.List extends com.yandex.ydb.import_.YdbImport.ImportItemProgressOrBuilder>
getItemsProgressOrBuilderList();
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
com.yandex.ydb.import_.YdbImport.ImportItemProgressOrBuilder getItemsProgressOrBuilder(
int index);
}
/**
* Protobuf type {@code Ydb.Import.ImportFromS3Metadata}
*/
public static final class ImportFromS3Metadata extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportFromS3Metadata)
ImportFromS3MetadataOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImportFromS3Metadata.newBuilder() to construct.
private ImportFromS3Metadata(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImportFromS3Metadata() {
progress_ = 0;
itemsProgress_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImportFromS3Metadata();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImportFromS3Metadata(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder subBuilder = null;
if (settings_ != null) {
subBuilder = settings_.toBuilder();
}
settings_ = input.readMessage(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(settings_);
settings_ = subBuilder.buildPartial();
}
break;
}
case 16: {
int rawValue = input.readEnum();
progress_ = rawValue;
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
itemsProgress_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
itemsProgress_.add(
input.readMessage(com.yandex.ydb.import_.YdbImport.ImportItemProgress.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
itemsProgress_ = java.util.Collections.unmodifiableList(itemsProgress_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Metadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata.Builder.class);
}
public static final int SETTINGS_FIELD_NUMBER = 1;
private com.yandex.ydb.import_.YdbImport.ImportFromS3Settings settings_;
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
* @return Whether the settings field is set.
*/
@java.lang.Override
public boolean hasSettings() {
return settings_ != null;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
* @return The settings.
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings getSettings() {
return settings_ == null ? com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.getDefaultInstance() : settings_;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder getSettingsOrBuilder() {
return getSettings();
}
public static final int PROGRESS_FIELD_NUMBER = 2;
private int progress_;
/**
* .Ydb.Import.ImportProgress.Progress progress = 2;
* @return The enum numeric value on the wire for progress.
*/
@java.lang.Override public int getProgressValue() {
return progress_;
}
/**
* .Ydb.Import.ImportProgress.Progress progress = 2;
* @return The progress.
*/
@java.lang.Override public com.yandex.ydb.import_.YdbImport.ImportProgress.Progress getProgress() {
@SuppressWarnings("deprecation")
com.yandex.ydb.import_.YdbImport.ImportProgress.Progress result = com.yandex.ydb.import_.YdbImport.ImportProgress.Progress.valueOf(progress_);
return result == null ? com.yandex.ydb.import_.YdbImport.ImportProgress.Progress.UNRECOGNIZED : result;
}
public static final int ITEMS_PROGRESS_FIELD_NUMBER = 3;
private java.util.List itemsProgress_;
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
@java.lang.Override
public java.util.List getItemsProgressList() {
return itemsProgress_;
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
@java.lang.Override
public java.util.List extends com.yandex.ydb.import_.YdbImport.ImportItemProgressOrBuilder>
getItemsProgressOrBuilderList() {
return itemsProgress_;
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
@java.lang.Override
public int getItemsProgressCount() {
return itemsProgress_.size();
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportItemProgress getItemsProgress(int index) {
return itemsProgress_.get(index);
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportItemProgressOrBuilder getItemsProgressOrBuilder(
int index) {
return itemsProgress_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (settings_ != null) {
output.writeMessage(1, getSettings());
}
if (progress_ != com.yandex.ydb.import_.YdbImport.ImportProgress.Progress.PROGRESS_UNSPECIFIED.getNumber()) {
output.writeEnum(2, progress_);
}
for (int i = 0; i < itemsProgress_.size(); i++) {
output.writeMessage(3, itemsProgress_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (settings_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getSettings());
}
if (progress_ != com.yandex.ydb.import_.YdbImport.ImportProgress.Progress.PROGRESS_UNSPECIFIED.getNumber()) {
size += com.google.protobuf.CodedOutputStream
.computeEnumSize(2, progress_);
}
for (int i = 0; i < itemsProgress_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, itemsProgress_.get(i));
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata other = (com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata) obj;
if (hasSettings() != other.hasSettings()) return false;
if (hasSettings()) {
if (!getSettings()
.equals(other.getSettings())) return false;
}
if (progress_ != other.progress_) return false;
if (!getItemsProgressList()
.equals(other.getItemsProgressList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasSettings()) {
hash = (37 * hash) + SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getSettings().hashCode();
}
hash = (37 * hash) + PROGRESS_FIELD_NUMBER;
hash = (53 * hash) + progress_;
if (getItemsProgressCount() > 0) {
hash = (37 * hash) + ITEMS_PROGRESS_FIELD_NUMBER;
hash = (53 * hash) + getItemsProgressList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Import.ImportFromS3Metadata}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportFromS3Metadata)
com.yandex.ydb.import_.YdbImport.ImportFromS3MetadataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Metadata_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getItemsProgressFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (settingsBuilder_ == null) {
settings_ = null;
} else {
settings_ = null;
settingsBuilder_ = null;
}
progress_ = 0;
if (itemsProgressBuilder_ == null) {
itemsProgress_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
itemsProgressBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Metadata_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata build() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata result = new com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata(this);
int from_bitField0_ = bitField0_;
if (settingsBuilder_ == null) {
result.settings_ = settings_;
} else {
result.settings_ = settingsBuilder_.build();
}
result.progress_ = progress_;
if (itemsProgressBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
itemsProgress_ = java.util.Collections.unmodifiableList(itemsProgress_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.itemsProgress_ = itemsProgress_;
} else {
result.itemsProgress_ = itemsProgressBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata.getDefaultInstance()) return this;
if (other.hasSettings()) {
mergeSettings(other.getSettings());
}
if (other.progress_ != 0) {
setProgressValue(other.getProgressValue());
}
if (itemsProgressBuilder_ == null) {
if (!other.itemsProgress_.isEmpty()) {
if (itemsProgress_.isEmpty()) {
itemsProgress_ = other.itemsProgress_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureItemsProgressIsMutable();
itemsProgress_.addAll(other.itemsProgress_);
}
onChanged();
}
} else {
if (!other.itemsProgress_.isEmpty()) {
if (itemsProgressBuilder_.isEmpty()) {
itemsProgressBuilder_.dispose();
itemsProgressBuilder_ = null;
itemsProgress_ = other.itemsProgress_;
bitField0_ = (bitField0_ & ~0x00000001);
itemsProgressBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getItemsProgressFieldBuilder() : null;
} else {
itemsProgressBuilder_.addAllMessages(other.itemsProgress_);
}
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.yandex.ydb.import_.YdbImport.ImportFromS3Settings settings_;
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder, com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder> settingsBuilder_;
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
* @return Whether the settings field is set.
*/
public boolean hasSettings() {
return settingsBuilder_ != null || settings_ != null;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
* @return The settings.
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings getSettings() {
if (settingsBuilder_ == null) {
return settings_ == null ? com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.getDefaultInstance() : settings_;
} else {
return settingsBuilder_.getMessage();
}
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
*/
public Builder setSettings(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings value) {
if (settingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
settings_ = value;
onChanged();
} else {
settingsBuilder_.setMessage(value);
}
return this;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
*/
public Builder setSettings(
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder builderForValue) {
if (settingsBuilder_ == null) {
settings_ = builderForValue.build();
onChanged();
} else {
settingsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
*/
public Builder mergeSettings(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings value) {
if (settingsBuilder_ == null) {
if (settings_ != null) {
settings_ =
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.newBuilder(settings_).mergeFrom(value).buildPartial();
} else {
settings_ = value;
}
onChanged();
} else {
settingsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
*/
public Builder clearSettings() {
if (settingsBuilder_ == null) {
settings_ = null;
onChanged();
} else {
settings_ = null;
settingsBuilder_ = null;
}
return this;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder getSettingsBuilder() {
onChanged();
return getSettingsFieldBuilder().getBuilder();
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder getSettingsOrBuilder() {
if (settingsBuilder_ != null) {
return settingsBuilder_.getMessageOrBuilder();
} else {
return settings_ == null ?
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.getDefaultInstance() : settings_;
}
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder, com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder>
getSettingsFieldBuilder() {
if (settingsBuilder_ == null) {
settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder, com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder>(
getSettings(),
getParentForChildren(),
isClean());
settings_ = null;
}
return settingsBuilder_;
}
private int progress_ = 0;
/**
* .Ydb.Import.ImportProgress.Progress progress = 2;
* @return The enum numeric value on the wire for progress.
*/
@java.lang.Override public int getProgressValue() {
return progress_;
}
/**
* .Ydb.Import.ImportProgress.Progress progress = 2;
* @param value The enum numeric value on the wire for progress to set.
* @return This builder for chaining.
*/
public Builder setProgressValue(int value) {
progress_ = value;
onChanged();
return this;
}
/**
* .Ydb.Import.ImportProgress.Progress progress = 2;
* @return The progress.
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportProgress.Progress getProgress() {
@SuppressWarnings("deprecation")
com.yandex.ydb.import_.YdbImport.ImportProgress.Progress result = com.yandex.ydb.import_.YdbImport.ImportProgress.Progress.valueOf(progress_);
return result == null ? com.yandex.ydb.import_.YdbImport.ImportProgress.Progress.UNRECOGNIZED : result;
}
/**
* .Ydb.Import.ImportProgress.Progress progress = 2;
* @param value The progress to set.
* @return This builder for chaining.
*/
public Builder setProgress(com.yandex.ydb.import_.YdbImport.ImportProgress.Progress value) {
if (value == null) {
throw new NullPointerException();
}
progress_ = value.getNumber();
onChanged();
return this;
}
/**
* .Ydb.Import.ImportProgress.Progress progress = 2;
* @return This builder for chaining.
*/
public Builder clearProgress() {
progress_ = 0;
onChanged();
return this;
}
private java.util.List itemsProgress_ =
java.util.Collections.emptyList();
private void ensureItemsProgressIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
itemsProgress_ = new java.util.ArrayList(itemsProgress_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportItemProgress, com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder, com.yandex.ydb.import_.YdbImport.ImportItemProgressOrBuilder> itemsProgressBuilder_;
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public java.util.List getItemsProgressList() {
if (itemsProgressBuilder_ == null) {
return java.util.Collections.unmodifiableList(itemsProgress_);
} else {
return itemsProgressBuilder_.getMessageList();
}
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public int getItemsProgressCount() {
if (itemsProgressBuilder_ == null) {
return itemsProgress_.size();
} else {
return itemsProgressBuilder_.getCount();
}
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public com.yandex.ydb.import_.YdbImport.ImportItemProgress getItemsProgress(int index) {
if (itemsProgressBuilder_ == null) {
return itemsProgress_.get(index);
} else {
return itemsProgressBuilder_.getMessage(index);
}
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public Builder setItemsProgress(
int index, com.yandex.ydb.import_.YdbImport.ImportItemProgress 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.Import.ImportItemProgress items_progress = 3;
*/
public Builder setItemsProgress(
int index, com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder builderForValue) {
if (itemsProgressBuilder_ == null) {
ensureItemsProgressIsMutable();
itemsProgress_.set(index, builderForValue.build());
onChanged();
} else {
itemsProgressBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public Builder addItemsProgress(com.yandex.ydb.import_.YdbImport.ImportItemProgress value) {
if (itemsProgressBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureItemsProgressIsMutable();
itemsProgress_.add(value);
onChanged();
} else {
itemsProgressBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public Builder addItemsProgress(
int index, com.yandex.ydb.import_.YdbImport.ImportItemProgress 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.Import.ImportItemProgress items_progress = 3;
*/
public Builder addItemsProgress(
com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder builderForValue) {
if (itemsProgressBuilder_ == null) {
ensureItemsProgressIsMutable();
itemsProgress_.add(builderForValue.build());
onChanged();
} else {
itemsProgressBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public Builder addItemsProgress(
int index, com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder builderForValue) {
if (itemsProgressBuilder_ == null) {
ensureItemsProgressIsMutable();
itemsProgress_.add(index, builderForValue.build());
onChanged();
} else {
itemsProgressBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public Builder addAllItemsProgress(
java.lang.Iterable extends com.yandex.ydb.import_.YdbImport.ImportItemProgress> values) {
if (itemsProgressBuilder_ == null) {
ensureItemsProgressIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, itemsProgress_);
onChanged();
} else {
itemsProgressBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public Builder clearItemsProgress() {
if (itemsProgressBuilder_ == null) {
itemsProgress_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
itemsProgressBuilder_.clear();
}
return this;
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public Builder removeItemsProgress(int index) {
if (itemsProgressBuilder_ == null) {
ensureItemsProgressIsMutable();
itemsProgress_.remove(index);
onChanged();
} else {
itemsProgressBuilder_.remove(index);
}
return this;
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder getItemsProgressBuilder(
int index) {
return getItemsProgressFieldBuilder().getBuilder(index);
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public com.yandex.ydb.import_.YdbImport.ImportItemProgressOrBuilder getItemsProgressOrBuilder(
int index) {
if (itemsProgressBuilder_ == null) {
return itemsProgress_.get(index); } else {
return itemsProgressBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public java.util.List extends com.yandex.ydb.import_.YdbImport.ImportItemProgressOrBuilder>
getItemsProgressOrBuilderList() {
if (itemsProgressBuilder_ != null) {
return itemsProgressBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(itemsProgress_);
}
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder addItemsProgressBuilder() {
return getItemsProgressFieldBuilder().addBuilder(
com.yandex.ydb.import_.YdbImport.ImportItemProgress.getDefaultInstance());
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder addItemsProgressBuilder(
int index) {
return getItemsProgressFieldBuilder().addBuilder(
index, com.yandex.ydb.import_.YdbImport.ImportItemProgress.getDefaultInstance());
}
/**
* repeated .Ydb.Import.ImportItemProgress items_progress = 3;
*/
public java.util.List
getItemsProgressBuilderList() {
return getItemsProgressFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportItemProgress, com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder, com.yandex.ydb.import_.YdbImport.ImportItemProgressOrBuilder>
getItemsProgressFieldBuilder() {
if (itemsProgressBuilder_ == null) {
itemsProgressBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportItemProgress, com.yandex.ydb.import_.YdbImport.ImportItemProgress.Builder, com.yandex.ydb.import_.YdbImport.ImportItemProgressOrBuilder>(
itemsProgress_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
itemsProgress_ = null;
}
return itemsProgressBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.ImportFromS3Metadata)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportFromS3Metadata)
private static final com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata();
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImportFromS3Metadata parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImportFromS3Metadata(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Metadata getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImportFromS3RequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportFromS3Request)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
boolean hasOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
com.yandex.ydb.OperationProtos.OperationParams getOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder();
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
* @return Whether the settings field is set.
*/
boolean hasSettings();
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
* @return The settings.
*/
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings getSettings();
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
*/
com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder getSettingsOrBuilder();
}
/**
* Protobuf type {@code Ydb.Import.ImportFromS3Request}
*/
public static final class ImportFromS3Request extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportFromS3Request)
ImportFromS3RequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImportFromS3Request.newBuilder() to construct.
private ImportFromS3Request(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImportFromS3Request() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImportFromS3Request();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImportFromS3Request(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null;
if (operationParams_ != null) {
subBuilder = operationParams_.toBuilder();
}
operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(operationParams_);
operationParams_ = subBuilder.buildPartial();
}
break;
}
case 18: {
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder subBuilder = null;
if (settings_ != null) {
subBuilder = settings_.toBuilder();
}
settings_ = input.readMessage(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(settings_);
settings_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Request.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Request.Builder.class);
}
public static final int OPERATION_PARAMS_FIELD_NUMBER = 1;
private com.yandex.ydb.OperationProtos.OperationParams operationParams_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
@java.lang.Override
public boolean hasOperationParams() {
return operationParams_ != null;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
@java.lang.Override
public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() {
return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
@java.lang.Override
public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
return getOperationParams();
}
public static final int SETTINGS_FIELD_NUMBER = 2;
private com.yandex.ydb.import_.YdbImport.ImportFromS3Settings settings_;
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
* @return Whether the settings field is set.
*/
@java.lang.Override
public boolean hasSettings() {
return settings_ != null;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
* @return The settings.
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings getSettings() {
return settings_ == null ? com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.getDefaultInstance() : settings_;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder getSettingsOrBuilder() {
return getSettings();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (operationParams_ != null) {
output.writeMessage(1, getOperationParams());
}
if (settings_ != null) {
output.writeMessage(2, getSettings());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (operationParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperationParams());
}
if (settings_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getSettings());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Request)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportFromS3Request other = (com.yandex.ydb.import_.YdbImport.ImportFromS3Request) obj;
if (hasOperationParams() != other.hasOperationParams()) return false;
if (hasOperationParams()) {
if (!getOperationParams()
.equals(other.getOperationParams())) return false;
}
if (hasSettings() != other.hasSettings()) return false;
if (hasSettings()) {
if (!getSettings()
.equals(other.getSettings())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperationParams()) {
hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getOperationParams().hashCode();
}
if (hasSettings()) {
hash = (37 * hash) + SETTINGS_FIELD_NUMBER;
hash = (53 * hash) + getSettings().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportFromS3Request prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Import.ImportFromS3Request}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportFromS3Request)
com.yandex.ydb.import_.YdbImport.ImportFromS3RequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Request_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Request_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Request.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Request.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportFromS3Request.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (operationParamsBuilder_ == null) {
operationParams_ = null;
} else {
operationParams_ = null;
operationParamsBuilder_ = null;
}
if (settingsBuilder_ == null) {
settings_ = null;
} else {
settings_ = null;
settingsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Request_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Request getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportFromS3Request.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Request build() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Request result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Request buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Request result = new com.yandex.ydb.import_.YdbImport.ImportFromS3Request(this);
if (operationParamsBuilder_ == null) {
result.operationParams_ = operationParams_;
} else {
result.operationParams_ = operationParamsBuilder_.build();
}
if (settingsBuilder_ == null) {
result.settings_ = settings_;
} else {
result.settings_ = settingsBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Request) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportFromS3Request)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportFromS3Request other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportFromS3Request.getDefaultInstance()) return this;
if (other.hasOperationParams()) {
mergeOperationParams(other.getOperationParams());
}
if (other.hasSettings()) {
mergeSettings(other.getSettings());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportFromS3Request parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportFromS3Request) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.yandex.ydb.OperationProtos.OperationParams operationParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
public boolean hasOperationParams() {
return operationParamsBuilder_ != null || operationParams_ != null;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() {
if (operationParamsBuilder_ == null) {
return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
} else {
return operationParamsBuilder_.getMessage();
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operationParams_ = value;
onChanged();
} else {
operationParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(
com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) {
if (operationParamsBuilder_ == null) {
operationParams_ = builderForValue.build();
onChanged();
} else {
operationParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (operationParams_ != null) {
operationParams_ =
com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial();
} else {
operationParams_ = value;
}
onChanged();
} else {
operationParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder clearOperationParams() {
if (operationParamsBuilder_ == null) {
operationParams_ = null;
onChanged();
} else {
operationParams_ = null;
operationParamsBuilder_ = null;
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() {
onChanged();
return getOperationParamsFieldBuilder().getBuilder();
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
if (operationParamsBuilder_ != null) {
return operationParamsBuilder_.getMessageOrBuilder();
} else {
return operationParams_ == null ?
com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder>
getOperationParamsFieldBuilder() {
if (operationParamsBuilder_ == null) {
operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder>(
getOperationParams(),
getParentForChildren(),
isClean());
operationParams_ = null;
}
return operationParamsBuilder_;
}
private com.yandex.ydb.import_.YdbImport.ImportFromS3Settings settings_;
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder, com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder> settingsBuilder_;
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
* @return Whether the settings field is set.
*/
public boolean hasSettings() {
return settingsBuilder_ != null || settings_ != null;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
* @return The settings.
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings getSettings() {
if (settingsBuilder_ == null) {
return settings_ == null ? com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.getDefaultInstance() : settings_;
} else {
return settingsBuilder_.getMessage();
}
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
*/
public Builder setSettings(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings value) {
if (settingsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
settings_ = value;
onChanged();
} else {
settingsBuilder_.setMessage(value);
}
return this;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
*/
public Builder setSettings(
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder builderForValue) {
if (settingsBuilder_ == null) {
settings_ = builderForValue.build();
onChanged();
} else {
settingsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
*/
public Builder mergeSettings(com.yandex.ydb.import_.YdbImport.ImportFromS3Settings value) {
if (settingsBuilder_ == null) {
if (settings_ != null) {
settings_ =
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.newBuilder(settings_).mergeFrom(value).buildPartial();
} else {
settings_ = value;
}
onChanged();
} else {
settingsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
*/
public Builder clearSettings() {
if (settingsBuilder_ == null) {
settings_ = null;
onChanged();
} else {
settings_ = null;
settingsBuilder_ = null;
}
return this;
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder getSettingsBuilder() {
onChanged();
return getSettingsFieldBuilder().getBuilder();
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
*/
public com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder getSettingsOrBuilder() {
if (settingsBuilder_ != null) {
return settingsBuilder_.getMessageOrBuilder();
} else {
return settings_ == null ?
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.getDefaultInstance() : settings_;
}
}
/**
* .Ydb.Import.ImportFromS3Settings settings = 2 [(.Ydb.required) = true];
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder, com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder>
getSettingsFieldBuilder() {
if (settingsBuilder_ == null) {
settingsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.ImportFromS3Settings, com.yandex.ydb.import_.YdbImport.ImportFromS3Settings.Builder, com.yandex.ydb.import_.YdbImport.ImportFromS3SettingsOrBuilder>(
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.Import.ImportFromS3Request)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportFromS3Request)
private static final com.yandex.ydb.import_.YdbImport.ImportFromS3Request DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportFromS3Request();
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Request getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImportFromS3Request parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImportFromS3Request(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Request getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImportFromS3ResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportFromS3Response)
com.google.protobuf.MessageOrBuilder {
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
boolean hasOperation();
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
com.yandex.ydb.OperationProtos.Operation getOperation();
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
*/
com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder();
}
/**
* Protobuf type {@code Ydb.Import.ImportFromS3Response}
*/
public static final class ImportFromS3Response extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportFromS3Response)
ImportFromS3ResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImportFromS3Response.newBuilder() to construct.
private ImportFromS3Response(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImportFromS3Response() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImportFromS3Response();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImportFromS3Response(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null;
if (operation_ != null) {
subBuilder = operation_.toBuilder();
}
operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(operation_);
operation_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Response.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Response.Builder.class);
}
public static final int OPERATION_FIELD_NUMBER = 1;
private com.yandex.ydb.OperationProtos.Operation operation_;
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
@java.lang.Override
public boolean hasOperation() {
return operation_ != null;
}
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
@java.lang.Override
public com.yandex.ydb.OperationProtos.Operation getOperation() {
return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_;
}
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
*/
@java.lang.Override
public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
return getOperation();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (operation_ != null) {
output.writeMessage(1, getOperation());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (operation_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperation());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Response)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportFromS3Response other = (com.yandex.ydb.import_.YdbImport.ImportFromS3Response) obj;
if (hasOperation() != other.hasOperation()) return false;
if (hasOperation()) {
if (!getOperation()
.equals(other.getOperation())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperation()) {
hash = (37 * hash) + OPERATION_FIELD_NUMBER;
hash = (53 * hash) + getOperation().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportFromS3Response prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Import.ImportFromS3Response}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportFromS3Response)
com.yandex.ydb.import_.YdbImport.ImportFromS3ResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Response_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Response_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportFromS3Response.class, com.yandex.ydb.import_.YdbImport.ImportFromS3Response.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportFromS3Response.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (operationBuilder_ == null) {
operation_ = null;
} else {
operation_ = null;
operationBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportFromS3Response_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Response getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportFromS3Response.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Response build() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Response result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Response buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportFromS3Response result = new com.yandex.ydb.import_.YdbImport.ImportFromS3Response(this);
if (operationBuilder_ == null) {
result.operation_ = operation_;
} else {
result.operation_ = operationBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportFromS3Response) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportFromS3Response)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportFromS3Response other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportFromS3Response.getDefaultInstance()) return this;
if (other.hasOperation()) {
mergeOperation(other.getOperation());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportFromS3Response parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportFromS3Response) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.yandex.ydb.OperationProtos.Operation operation_;
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_;
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
public boolean hasOperation() {
return operationBuilder_ != null || operation_ != null;
}
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
public com.yandex.ydb.OperationProtos.Operation getOperation() {
if (operationBuilder_ == null) {
return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_;
} else {
return operationBuilder_.getMessage();
}
}
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operation_ = value;
onChanged();
} else {
operationBuilder_.setMessage(value);
}
return this;
}
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(
com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) {
if (operationBuilder_ == null) {
operation_ = builderForValue.build();
onChanged();
} else {
operationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (operation_ != null) {
operation_ =
com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial();
} else {
operation_ = value;
}
onChanged();
} else {
operationBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder clearOperation() {
if (operationBuilder_ == null) {
operation_ = null;
onChanged();
} else {
operation_ = null;
operationBuilder_ = null;
}
return this;
}
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() {
onChanged();
return getOperationFieldBuilder().getBuilder();
}
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
if (operationBuilder_ != null) {
return operationBuilder_.getMessageOrBuilder();
} else {
return operation_ == null ?
com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_;
}
}
/**
*
* operation.result = ImportFromS3Result
* operation.metadata = ImportFromS3Metadata
*
*
* .Ydb.Operations.Operation operation = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder>
getOperationFieldBuilder() {
if (operationBuilder_ == null) {
operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder>(
getOperation(),
getParentForChildren(),
isClean());
operation_ = null;
}
return operationBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.ImportFromS3Response)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportFromS3Response)
private static final com.yandex.ydb.import_.YdbImport.ImportFromS3Response DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportFromS3Response();
}
public static com.yandex.ydb.import_.YdbImport.ImportFromS3Response getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImportFromS3Response parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImportFromS3Response(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportFromS3Response getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface YdbDumpFormatOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.YdbDumpFormat)
com.google.protobuf.MessageOrBuilder {
/**
* repeated string columns = 1;
* @return A list containing the columns.
*/
java.util.List
getColumnsList();
/**
* repeated string columns = 1;
* @return The count of columns.
*/
int getColumnsCount();
/**
* repeated string columns = 1;
* @param index The index of the element to return.
* @return The columns at the given index.
*/
java.lang.String getColumns(int index);
/**
* repeated string columns = 1;
* @param index The index of the value to return.
* @return The bytes of the columns at the given index.
*/
com.google.protobuf.ByteString
getColumnsBytes(int index);
}
/**
*
*/ Data
*
*
* Protobuf type {@code Ydb.Import.YdbDumpFormat}
*/
public static final class YdbDumpFormat extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.YdbDumpFormat)
YdbDumpFormatOrBuilder {
private static final long serialVersionUID = 0L;
// Use YdbDumpFormat.newBuilder() to construct.
private YdbDumpFormat(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private YdbDumpFormat() {
columns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new YdbDumpFormat();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private YdbDumpFormat(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
columns_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000001;
}
columns_.add(s);
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
columns_ = columns_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_YdbDumpFormat_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_YdbDumpFormat_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.YdbDumpFormat.class, com.yandex.ydb.import_.YdbImport.YdbDumpFormat.Builder.class);
}
public static final int COLUMNS_FIELD_NUMBER = 1;
private com.google.protobuf.LazyStringList columns_;
/**
* repeated string columns = 1;
* @return A list containing the columns.
*/
public com.google.protobuf.ProtocolStringList
getColumnsList() {
return columns_;
}
/**
* repeated string columns = 1;
* @return The count of columns.
*/
public int getColumnsCount() {
return columns_.size();
}
/**
* repeated string columns = 1;
* @param index The index of the element to return.
* @return The columns at the given index.
*/
public java.lang.String getColumns(int index) {
return columns_.get(index);
}
/**
* repeated string columns = 1;
* @param index The index of the value to return.
* @return The bytes of the columns at the given index.
*/
public com.google.protobuf.ByteString
getColumnsBytes(int index) {
return columns_.getByteString(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < columns_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columns_.getRaw(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < columns_.size(); i++) {
dataSize += computeStringSizeNoTag(columns_.getRaw(i));
}
size += dataSize;
size += 1 * getColumnsList().size();
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.YdbDumpFormat)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.YdbDumpFormat other = (com.yandex.ydb.import_.YdbImport.YdbDumpFormat) obj;
if (!getColumnsList()
.equals(other.getColumnsList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (getColumnsCount() > 0) {
hash = (37 * hash) + COLUMNS_FIELD_NUMBER;
hash = (53 * hash) + getColumnsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.YdbDumpFormat prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new Builder() : new Builder().mergeFrom(this);
}
@java.lang.Override
protected Builder newBuilderForType(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
*
*/ Data
*
*
* Protobuf type {@code Ydb.Import.YdbDumpFormat}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.YdbDumpFormat)
com.yandex.ydb.import_.YdbImport.YdbDumpFormatOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_YdbDumpFormat_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_YdbDumpFormat_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.YdbDumpFormat.class, com.yandex.ydb.import_.YdbImport.YdbDumpFormat.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.YdbDumpFormat.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
columns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_YdbDumpFormat_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.YdbDumpFormat getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.YdbDumpFormat.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.YdbDumpFormat build() {
com.yandex.ydb.import_.YdbImport.YdbDumpFormat result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.YdbDumpFormat buildPartial() {
com.yandex.ydb.import_.YdbImport.YdbDumpFormat result = new com.yandex.ydb.import_.YdbImport.YdbDumpFormat(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) != 0)) {
columns_ = columns_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000001);
}
result.columns_ = columns_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.YdbDumpFormat) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.YdbDumpFormat)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.YdbDumpFormat other) {
if (other == com.yandex.ydb.import_.YdbImport.YdbDumpFormat.getDefaultInstance()) return this;
if (!other.columns_.isEmpty()) {
if (columns_.isEmpty()) {
columns_ = other.columns_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureColumnsIsMutable();
columns_.addAll(other.columns_);
}
onChanged();
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.YdbDumpFormat parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.YdbDumpFormat) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private com.google.protobuf.LazyStringList columns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureColumnsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
columns_ = new com.google.protobuf.LazyStringArrayList(columns_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated string columns = 1;
* @return A list containing the columns.
*/
public com.google.protobuf.ProtocolStringList
getColumnsList() {
return columns_.getUnmodifiableView();
}
/**
* repeated string columns = 1;
* @return The count of columns.
*/
public int getColumnsCount() {
return columns_.size();
}
/**
* repeated string columns = 1;
* @param index The index of the element to return.
* @return The columns at the given index.
*/
public java.lang.String getColumns(int index) {
return columns_.get(index);
}
/**
* repeated string columns = 1;
* @param index The index of the value to return.
* @return The bytes of the columns at the given index.
*/
public com.google.protobuf.ByteString
getColumnsBytes(int index) {
return columns_.getByteString(index);
}
/**
* repeated string columns = 1;
* @param index The index to set the value at.
* @param value The columns to set.
* @return This builder for chaining.
*/
public Builder setColumns(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureColumnsIsMutable();
columns_.set(index, value);
onChanged();
return this;
}
/**
* repeated string columns = 1;
* @param value The columns to add.
* @return This builder for chaining.
*/
public Builder addColumns(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureColumnsIsMutable();
columns_.add(value);
onChanged();
return this;
}
/**
* repeated string columns = 1;
* @param values The columns to add.
* @return This builder for chaining.
*/
public Builder addAllColumns(
java.lang.Iterable values) {
ensureColumnsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, columns_);
onChanged();
return this;
}
/**
* repeated string columns = 1;
* @return This builder for chaining.
*/
public Builder clearColumns() {
columns_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
/**
* repeated string columns = 1;
* @param value The bytes of the columns to add.
* @return This builder for chaining.
*/
public Builder addColumnsBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensureColumnsIsMutable();
columns_.add(value);
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.YdbDumpFormat)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.YdbDumpFormat)
private static final com.yandex.ydb.import_.YdbImport.YdbDumpFormat DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.YdbDumpFormat();
}
public static com.yandex.ydb.import_.YdbImport.YdbDumpFormat getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public YdbDumpFormat parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new YdbDumpFormat(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.YdbDumpFormat getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImportDataResultOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportDataResult)
com.google.protobuf.MessageOrBuilder {
}
/**
* Protobuf type {@code Ydb.Import.ImportDataResult}
*/
public static final class ImportDataResult extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportDataResult)
ImportDataResultOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImportDataResult.newBuilder() to construct.
private ImportDataResult(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImportDataResult() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImportDataResult();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImportDataResult(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportDataResult.class, com.yandex.ydb.import_.YdbImport.ImportDataResult.Builder.class);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportDataResult)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportDataResult other = (com.yandex.ydb.import_.YdbImport.ImportDataResult) obj;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportDataResult prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Import.ImportDataResult}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportDataResult)
com.yandex.ydb.import_.YdbImport.ImportDataResultOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataResult_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataResult_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportDataResult.class, com.yandex.ydb.import_.YdbImport.ImportDataResult.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportDataResult.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataResult_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataResult getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportDataResult.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataResult build() {
com.yandex.ydb.import_.YdbImport.ImportDataResult result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataResult buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportDataResult result = new com.yandex.ydb.import_.YdbImport.ImportDataResult(this);
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportDataResult) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportDataResult)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportDataResult other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportDataResult.getDefaultInstance()) return this;
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportDataResult parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportDataResult) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.ImportDataResult)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportDataResult)
private static final com.yandex.ydb.import_.YdbImport.ImportDataResult DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportDataResult();
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResult getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImportDataResult parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImportDataResult(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataResult getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImportDataRequestOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportDataRequest)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
boolean hasOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
com.yandex.ydb.OperationProtos.OperationParams getOperationParams();
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder();
/**
*
* Full path to table
*
*
* string path = 2;
* @return The path.
*/
java.lang.String getPath();
/**
*
* Full path to table
*
*
* string path = 2;
* @return The bytes for path.
*/
com.google.protobuf.ByteString
getPathBytes();
/**
*
* Data serialized in the selected format. Restrictions:
* - sorted by primary key;
* - all keys must be from the same partition;
* - table has no global secondary indexes;
* - size of serialized data is limited to 8 MB.
*
*
* bytes data = 3 [(.Ydb.length) = { ... }
* @return The data.
*/
com.google.protobuf.ByteString getData();
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
* @return Whether the ydbDump field is set.
*/
boolean hasYdbDump();
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
* @return The ydbDump.
*/
com.yandex.ydb.import_.YdbImport.YdbDumpFormat getYdbDump();
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
*/
com.yandex.ydb.import_.YdbImport.YdbDumpFormatOrBuilder getYdbDumpOrBuilder();
public com.yandex.ydb.import_.YdbImport.ImportDataRequest.FormatCase getFormatCase();
}
/**
* Protobuf type {@code Ydb.Import.ImportDataRequest}
*/
public static final class ImportDataRequest extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportDataRequest)
ImportDataRequestOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImportDataRequest.newBuilder() to construct.
private ImportDataRequest(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImportDataRequest() {
path_ = "";
data_ = com.google.protobuf.ByteString.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImportDataRequest();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImportDataRequest(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.yandex.ydb.OperationProtos.OperationParams.Builder subBuilder = null;
if (operationParams_ != null) {
subBuilder = operationParams_.toBuilder();
}
operationParams_ = input.readMessage(com.yandex.ydb.OperationProtos.OperationParams.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(operationParams_);
operationParams_ = subBuilder.buildPartial();
}
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
path_ = s;
break;
}
case 26: {
data_ = input.readBytes();
break;
}
case 34: {
com.yandex.ydb.import_.YdbImport.YdbDumpFormat.Builder subBuilder = null;
if (formatCase_ == 4) {
subBuilder = ((com.yandex.ydb.import_.YdbImport.YdbDumpFormat) format_).toBuilder();
}
format_ =
input.readMessage(com.yandex.ydb.import_.YdbImport.YdbDumpFormat.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((com.yandex.ydb.import_.YdbImport.YdbDumpFormat) format_);
format_ = subBuilder.buildPartial();
}
formatCase_ = 4;
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportDataRequest.class, com.yandex.ydb.import_.YdbImport.ImportDataRequest.Builder.class);
}
private int formatCase_ = 0;
private java.lang.Object format_;
public enum FormatCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
YDB_DUMP(4),
FORMAT_NOT_SET(0);
private final int value;
private FormatCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static FormatCase valueOf(int value) {
return forNumber(value);
}
public static FormatCase forNumber(int value) {
switch (value) {
case 4: return YDB_DUMP;
case 0: return FORMAT_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public FormatCase
getFormatCase() {
return FormatCase.forNumber(
formatCase_);
}
public static final int OPERATION_PARAMS_FIELD_NUMBER = 1;
private com.yandex.ydb.OperationProtos.OperationParams operationParams_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
@java.lang.Override
public boolean hasOperationParams() {
return operationParams_ != null;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
@java.lang.Override
public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() {
return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
@java.lang.Override
public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
return getOperationParams();
}
public static final int PATH_FIELD_NUMBER = 2;
private volatile java.lang.Object path_;
/**
*
* Full path to table
*
*
* string path = 2;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
/**
*
* Full path to table
*
*
* string path = 2;
* @return The bytes for path.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int DATA_FIELD_NUMBER = 3;
private com.google.protobuf.ByteString data_;
/**
*
* Data serialized in the selected format. Restrictions:
* - sorted by primary key;
* - all keys must be from the same partition;
* - table has no global secondary indexes;
* - size of serialized data is limited to 8 MB.
*
*
* bytes data = 3 [(.Ydb.length) = { ... }
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return data_;
}
public static final int YDB_DUMP_FIELD_NUMBER = 4;
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
* @return Whether the ydbDump field is set.
*/
@java.lang.Override
public boolean hasYdbDump() {
return formatCase_ == 4;
}
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
* @return The ydbDump.
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.YdbDumpFormat getYdbDump() {
if (formatCase_ == 4) {
return (com.yandex.ydb.import_.YdbImport.YdbDumpFormat) format_;
}
return com.yandex.ydb.import_.YdbImport.YdbDumpFormat.getDefaultInstance();
}
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.YdbDumpFormatOrBuilder getYdbDumpOrBuilder() {
if (formatCase_ == 4) {
return (com.yandex.ydb.import_.YdbImport.YdbDumpFormat) format_;
}
return com.yandex.ydb.import_.YdbImport.YdbDumpFormat.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (operationParams_ != null) {
output.writeMessage(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, path_);
}
if (!data_.isEmpty()) {
output.writeBytes(3, data_);
}
if (formatCase_ == 4) {
output.writeMessage(4, (com.yandex.ydb.import_.YdbImport.YdbDumpFormat) format_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (operationParams_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperationParams());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, path_);
}
if (!data_.isEmpty()) {
size += com.google.protobuf.CodedOutputStream
.computeBytesSize(3, data_);
}
if (formatCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (com.yandex.ydb.import_.YdbImport.YdbDumpFormat) format_);
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportDataRequest)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportDataRequest other = (com.yandex.ydb.import_.YdbImport.ImportDataRequest) obj;
if (hasOperationParams() != other.hasOperationParams()) return false;
if (hasOperationParams()) {
if (!getOperationParams()
.equals(other.getOperationParams())) return false;
}
if (!getPath()
.equals(other.getPath())) return false;
if (!getData()
.equals(other.getData())) return false;
if (!getFormatCase().equals(other.getFormatCase())) return false;
switch (formatCase_) {
case 4:
if (!getYdbDump()
.equals(other.getYdbDump())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperationParams()) {
hash = (37 * hash) + OPERATION_PARAMS_FIELD_NUMBER;
hash = (53 * hash) + getOperationParams().hashCode();
}
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
hash = (37 * hash) + DATA_FIELD_NUMBER;
hash = (53 * hash) + getData().hashCode();
switch (formatCase_) {
case 4:
hash = (37 * hash) + YDB_DUMP_FIELD_NUMBER;
hash = (53 * hash) + getYdbDump().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportDataRequest prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Import.ImportDataRequest}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportDataRequest)
com.yandex.ydb.import_.YdbImport.ImportDataRequestOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataRequest_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataRequest_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportDataRequest.class, com.yandex.ydb.import_.YdbImport.ImportDataRequest.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportDataRequest.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (operationParamsBuilder_ == null) {
operationParams_ = null;
} else {
operationParams_ = null;
operationParamsBuilder_ = null;
}
path_ = "";
data_ = com.google.protobuf.ByteString.EMPTY;
formatCase_ = 0;
format_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataRequest_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataRequest getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportDataRequest.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataRequest build() {
com.yandex.ydb.import_.YdbImport.ImportDataRequest result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataRequest buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportDataRequest result = new com.yandex.ydb.import_.YdbImport.ImportDataRequest(this);
if (operationParamsBuilder_ == null) {
result.operationParams_ = operationParams_;
} else {
result.operationParams_ = operationParamsBuilder_.build();
}
result.path_ = path_;
result.data_ = data_;
if (formatCase_ == 4) {
if (ydbDumpBuilder_ == null) {
result.format_ = format_;
} else {
result.format_ = ydbDumpBuilder_.build();
}
}
result.formatCase_ = formatCase_;
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportDataRequest) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportDataRequest)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportDataRequest other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportDataRequest.getDefaultInstance()) return this;
if (other.hasOperationParams()) {
mergeOperationParams(other.getOperationParams());
}
if (!other.getPath().isEmpty()) {
path_ = other.path_;
onChanged();
}
if (other.getData() != com.google.protobuf.ByteString.EMPTY) {
setData(other.getData());
}
switch (other.getFormatCase()) {
case YDB_DUMP: {
mergeYdbDump(other.getYdbDump());
break;
}
case FORMAT_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportDataRequest parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportDataRequest) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int formatCase_ = 0;
private java.lang.Object format_;
public FormatCase
getFormatCase() {
return FormatCase.forNumber(
formatCase_);
}
public Builder clearFormat() {
formatCase_ = 0;
format_ = null;
onChanged();
return this;
}
private com.yandex.ydb.OperationProtos.OperationParams operationParams_;
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder> operationParamsBuilder_;
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return Whether the operationParams field is set.
*/
public boolean hasOperationParams() {
return operationParamsBuilder_ != null || operationParams_ != null;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
* @return The operationParams.
*/
public com.yandex.ydb.OperationProtos.OperationParams getOperationParams() {
if (operationParamsBuilder_ == null) {
return operationParams_ == null ? com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
} else {
return operationParamsBuilder_.getMessage();
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operationParams_ = value;
onChanged();
} else {
operationParamsBuilder_.setMessage(value);
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder setOperationParams(
com.yandex.ydb.OperationProtos.OperationParams.Builder builderForValue) {
if (operationParamsBuilder_ == null) {
operationParams_ = builderForValue.build();
onChanged();
} else {
operationParamsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder mergeOperationParams(com.yandex.ydb.OperationProtos.OperationParams value) {
if (operationParamsBuilder_ == null) {
if (operationParams_ != null) {
operationParams_ =
com.yandex.ydb.OperationProtos.OperationParams.newBuilder(operationParams_).mergeFrom(value).buildPartial();
} else {
operationParams_ = value;
}
onChanged();
} else {
operationParamsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public Builder clearOperationParams() {
if (operationParamsBuilder_ == null) {
operationParams_ = null;
onChanged();
} else {
operationParams_ = null;
operationParamsBuilder_ = null;
}
return this;
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public com.yandex.ydb.OperationProtos.OperationParams.Builder getOperationParamsBuilder() {
onChanged();
return getOperationParamsFieldBuilder().getBuilder();
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
public com.yandex.ydb.OperationProtos.OperationParamsOrBuilder getOperationParamsOrBuilder() {
if (operationParamsBuilder_ != null) {
return operationParamsBuilder_.getMessageOrBuilder();
} else {
return operationParams_ == null ?
com.yandex.ydb.OperationProtos.OperationParams.getDefaultInstance() : operationParams_;
}
}
/**
* .Ydb.Operations.OperationParams operation_params = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder>
getOperationParamsFieldBuilder() {
if (operationParamsBuilder_ == null) {
operationParamsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.OperationParams, com.yandex.ydb.OperationProtos.OperationParams.Builder, com.yandex.ydb.OperationProtos.OperationParamsOrBuilder>(
getOperationParams(),
getParentForChildren(),
isClean());
operationParams_ = null;
}
return operationParamsBuilder_;
}
private java.lang.Object path_ = "";
/**
*
* Full path to table
*
*
* string path = 2;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
*
* Full path to table
*
*
* string path = 2;
* @return The bytes for path.
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
*
* Full path to table
*
*
* string path = 2;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
path_ = value;
onChanged();
return this;
}
/**
*
* Full path to table
*
*
* string path = 2;
* @return This builder for chaining.
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
*
* Full path to table
*
*
* string path = 2;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
path_ = value;
onChanged();
return this;
}
private com.google.protobuf.ByteString data_ = com.google.protobuf.ByteString.EMPTY;
/**
*
* Data serialized in the selected format. Restrictions:
* - sorted by primary key;
* - all keys must be from the same partition;
* - table has no global secondary indexes;
* - size of serialized data is limited to 8 MB.
*
*
* bytes data = 3 [(.Ydb.length) = { ... }
* @return The data.
*/
@java.lang.Override
public com.google.protobuf.ByteString getData() {
return data_;
}
/**
*
* Data serialized in the selected format. Restrictions:
* - sorted by primary key;
* - all keys must be from the same partition;
* - table has no global secondary indexes;
* - size of serialized data is limited to 8 MB.
*
*
* bytes data = 3 [(.Ydb.length) = { ... }
* @param value The data to set.
* @return This builder for chaining.
*/
public Builder setData(com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
data_ = value;
onChanged();
return this;
}
/**
*
* Data serialized in the selected format. Restrictions:
* - sorted by primary key;
* - all keys must be from the same partition;
* - table has no global secondary indexes;
* - size of serialized data is limited to 8 MB.
*
*
* bytes data = 3 [(.Ydb.length) = { ... }
* @return This builder for chaining.
*/
public Builder clearData() {
data_ = getDefaultInstance().getData();
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.YdbDumpFormat, com.yandex.ydb.import_.YdbImport.YdbDumpFormat.Builder, com.yandex.ydb.import_.YdbImport.YdbDumpFormatOrBuilder> ydbDumpBuilder_;
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
* @return Whether the ydbDump field is set.
*/
@java.lang.Override
public boolean hasYdbDump() {
return formatCase_ == 4;
}
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
* @return The ydbDump.
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.YdbDumpFormat getYdbDump() {
if (ydbDumpBuilder_ == null) {
if (formatCase_ == 4) {
return (com.yandex.ydb.import_.YdbImport.YdbDumpFormat) format_;
}
return com.yandex.ydb.import_.YdbImport.YdbDumpFormat.getDefaultInstance();
} else {
if (formatCase_ == 4) {
return ydbDumpBuilder_.getMessage();
}
return com.yandex.ydb.import_.YdbImport.YdbDumpFormat.getDefaultInstance();
}
}
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
*/
public Builder setYdbDump(com.yandex.ydb.import_.YdbImport.YdbDumpFormat value) {
if (ydbDumpBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
format_ = value;
onChanged();
} else {
ydbDumpBuilder_.setMessage(value);
}
formatCase_ = 4;
return this;
}
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
*/
public Builder setYdbDump(
com.yandex.ydb.import_.YdbImport.YdbDumpFormat.Builder builderForValue) {
if (ydbDumpBuilder_ == null) {
format_ = builderForValue.build();
onChanged();
} else {
ydbDumpBuilder_.setMessage(builderForValue.build());
}
formatCase_ = 4;
return this;
}
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
*/
public Builder mergeYdbDump(com.yandex.ydb.import_.YdbImport.YdbDumpFormat value) {
if (ydbDumpBuilder_ == null) {
if (formatCase_ == 4 &&
format_ != com.yandex.ydb.import_.YdbImport.YdbDumpFormat.getDefaultInstance()) {
format_ = com.yandex.ydb.import_.YdbImport.YdbDumpFormat.newBuilder((com.yandex.ydb.import_.YdbImport.YdbDumpFormat) format_)
.mergeFrom(value).buildPartial();
} else {
format_ = value;
}
onChanged();
} else {
if (formatCase_ == 4) {
ydbDumpBuilder_.mergeFrom(value);
}
ydbDumpBuilder_.setMessage(value);
}
formatCase_ = 4;
return this;
}
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
*/
public Builder clearYdbDump() {
if (ydbDumpBuilder_ == null) {
if (formatCase_ == 4) {
formatCase_ = 0;
format_ = null;
onChanged();
}
} else {
if (formatCase_ == 4) {
formatCase_ = 0;
format_ = null;
}
ydbDumpBuilder_.clear();
}
return this;
}
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
*/
public com.yandex.ydb.import_.YdbImport.YdbDumpFormat.Builder getYdbDumpBuilder() {
return getYdbDumpFieldBuilder().getBuilder();
}
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
*/
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.YdbDumpFormatOrBuilder getYdbDumpOrBuilder() {
if ((formatCase_ == 4) && (ydbDumpBuilder_ != null)) {
return ydbDumpBuilder_.getMessageOrBuilder();
} else {
if (formatCase_ == 4) {
return (com.yandex.ydb.import_.YdbImport.YdbDumpFormat) format_;
}
return com.yandex.ydb.import_.YdbImport.YdbDumpFormat.getDefaultInstance();
}
}
/**
*
* Result of `ydb tools dump`
*
*
* .Ydb.Import.YdbDumpFormat ydb_dump = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.YdbDumpFormat, com.yandex.ydb.import_.YdbImport.YdbDumpFormat.Builder, com.yandex.ydb.import_.YdbImport.YdbDumpFormatOrBuilder>
getYdbDumpFieldBuilder() {
if (ydbDumpBuilder_ == null) {
if (!(formatCase_ == 4)) {
format_ = com.yandex.ydb.import_.YdbImport.YdbDumpFormat.getDefaultInstance();
}
ydbDumpBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.import_.YdbImport.YdbDumpFormat, com.yandex.ydb.import_.YdbImport.YdbDumpFormat.Builder, com.yandex.ydb.import_.YdbImport.YdbDumpFormatOrBuilder>(
(com.yandex.ydb.import_.YdbImport.YdbDumpFormat) format_,
getParentForChildren(),
isClean());
format_ = null;
}
formatCase_ = 4;
onChanged();;
return ydbDumpBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.ImportDataRequest)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportDataRequest)
private static final com.yandex.ydb.import_.YdbImport.ImportDataRequest DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportDataRequest();
}
public static com.yandex.ydb.import_.YdbImport.ImportDataRequest getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImportDataRequest parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImportDataRequest(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataRequest getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface ImportDataResponseOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Import.ImportDataResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
boolean hasOperation();
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
com.yandex.ydb.OperationProtos.Operation getOperation();
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder();
}
/**
* Protobuf type {@code Ydb.Import.ImportDataResponse}
*/
public static final class ImportDataResponse extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Import.ImportDataResponse)
ImportDataResponseOrBuilder {
private static final long serialVersionUID = 0L;
// Use ImportDataResponse.newBuilder() to construct.
private ImportDataResponse(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ImportDataResponse() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ImportDataResponse();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ImportDataResponse(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
com.yandex.ydb.OperationProtos.Operation.Builder subBuilder = null;
if (operation_ != null) {
subBuilder = operation_.toBuilder();
}
operation_ = input.readMessage(com.yandex.ydb.OperationProtos.Operation.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(operation_);
operation_ = subBuilder.buildPartial();
}
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportDataResponse.class, com.yandex.ydb.import_.YdbImport.ImportDataResponse.Builder.class);
}
public static final int OPERATION_FIELD_NUMBER = 1;
private com.yandex.ydb.OperationProtos.Operation operation_;
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
@java.lang.Override
public boolean hasOperation() {
return operation_ != null;
}
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
@java.lang.Override
public com.yandex.ydb.OperationProtos.Operation getOperation() {
return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_;
}
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
@java.lang.Override
public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
return getOperation();
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (operation_ != null) {
output.writeMessage(1, getOperation());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (operation_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getOperation());
}
size += unknownFields.getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof com.yandex.ydb.import_.YdbImport.ImportDataResponse)) {
return super.equals(obj);
}
com.yandex.ydb.import_.YdbImport.ImportDataResponse other = (com.yandex.ydb.import_.YdbImport.ImportDataResponse) obj;
if (hasOperation() != other.hasOperation()) return false;
if (hasOperation()) {
if (!getOperation()
.equals(other.getOperation())) return false;
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasOperation()) {
hash = (37 * hash) + OPERATION_FIELD_NUMBER;
hash = (53 * hash) + getOperation().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(com.yandex.ydb.import_.YdbImport.ImportDataResponse prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Import.ImportDataResponse}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Import.ImportDataResponse)
com.yandex.ydb.import_.YdbImport.ImportDataResponseOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataResponse_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataResponse_fieldAccessorTable
.ensureFieldAccessorsInitialized(
com.yandex.ydb.import_.YdbImport.ImportDataResponse.class, com.yandex.ydb.import_.YdbImport.ImportDataResponse.Builder.class);
}
// Construct using com.yandex.ydb.import_.YdbImport.ImportDataResponse.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (operationBuilder_ == null) {
operation_ = null;
} else {
operation_ = null;
operationBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return com.yandex.ydb.import_.YdbImport.internal_static_Ydb_Import_ImportDataResponse_descriptor;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataResponse getDefaultInstanceForType() {
return com.yandex.ydb.import_.YdbImport.ImportDataResponse.getDefaultInstance();
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataResponse build() {
com.yandex.ydb.import_.YdbImport.ImportDataResponse result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataResponse buildPartial() {
com.yandex.ydb.import_.YdbImport.ImportDataResponse result = new com.yandex.ydb.import_.YdbImport.ImportDataResponse(this);
if (operationBuilder_ == null) {
result.operation_ = operation_;
} else {
result.operation_ = operationBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof com.yandex.ydb.import_.YdbImport.ImportDataResponse) {
return mergeFrom((com.yandex.ydb.import_.YdbImport.ImportDataResponse)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(com.yandex.ydb.import_.YdbImport.ImportDataResponse other) {
if (other == com.yandex.ydb.import_.YdbImport.ImportDataResponse.getDefaultInstance()) return this;
if (other.hasOperation()) {
mergeOperation(other.getOperation());
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
com.yandex.ydb.import_.YdbImport.ImportDataResponse parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (com.yandex.ydb.import_.YdbImport.ImportDataResponse) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private com.yandex.ydb.OperationProtos.Operation operation_;
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder> operationBuilder_;
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return Whether the operation field is set.
*/
public boolean hasOperation() {
return operationBuilder_ != null || operation_ != null;
}
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
* @return The operation.
*/
public com.yandex.ydb.OperationProtos.Operation getOperation() {
if (operationBuilder_ == null) {
return operation_ == null ? com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_;
} else {
return operationBuilder_.getMessage();
}
}
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(com.yandex.ydb.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
operation_ = value;
onChanged();
} else {
operationBuilder_.setMessage(value);
}
return this;
}
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder setOperation(
com.yandex.ydb.OperationProtos.Operation.Builder builderForValue) {
if (operationBuilder_ == null) {
operation_ = builderForValue.build();
onChanged();
} else {
operationBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder mergeOperation(com.yandex.ydb.OperationProtos.Operation value) {
if (operationBuilder_ == null) {
if (operation_ != null) {
operation_ =
com.yandex.ydb.OperationProtos.Operation.newBuilder(operation_).mergeFrom(value).buildPartial();
} else {
operation_ = value;
}
onChanged();
} else {
operationBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public Builder clearOperation() {
if (operationBuilder_ == null) {
operation_ = null;
onChanged();
} else {
operation_ = null;
operationBuilder_ = null;
}
return this;
}
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public com.yandex.ydb.OperationProtos.Operation.Builder getOperationBuilder() {
onChanged();
return getOperationFieldBuilder().getBuilder();
}
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
public com.yandex.ydb.OperationProtos.OperationOrBuilder getOperationOrBuilder() {
if (operationBuilder_ != null) {
return operationBuilder_.getMessageOrBuilder();
} else {
return operation_ == null ?
com.yandex.ydb.OperationProtos.Operation.getDefaultInstance() : operation_;
}
}
/**
*
* operation.result = ImportDataResult
*
*
* .Ydb.Operations.Operation operation = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder>
getOperationFieldBuilder() {
if (operationBuilder_ == null) {
operationBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
com.yandex.ydb.OperationProtos.Operation, com.yandex.ydb.OperationProtos.Operation.Builder, com.yandex.ydb.OperationProtos.OperationOrBuilder>(
getOperation(),
getParentForChildren(),
isClean());
operation_ = null;
}
return operationBuilder_;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Import.ImportDataResponse)
}
// @@protoc_insertion_point(class_scope:Ydb.Import.ImportDataResponse)
private static final com.yandex.ydb.import_.YdbImport.ImportDataResponse DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new com.yandex.ydb.import_.YdbImport.ImportDataResponse();
}
public static com.yandex.ydb.import_.YdbImport.ImportDataResponse getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ImportDataResponse parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ImportDataResponse(input, extensionRegistry);
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public com.yandex.ydb.import_.YdbImport.ImportDataResponse getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportProgress_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportProgress_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportItemProgress_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportItemProgress_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportFromS3Settings_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportFromS3Settings_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportFromS3Settings_Item_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportFromS3Settings_Item_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportFromS3Result_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportFromS3Result_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportFromS3Metadata_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportFromS3Metadata_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportFromS3Request_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportFromS3Request_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportFromS3Response_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportFromS3Response_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_YdbDumpFormat_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_YdbDumpFormat_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportDataResult_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportDataResult_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportDataRequest_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportDataRequest_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Import_ImportDataResponse_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Import_ImportDataResponse_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n&ydb/public/api/protos/ydb_import.proto" +
"\022\nYdb.Import\0322ydb/public/api/protos/anno" +
"tations/validation.proto\032)ydb/public/api" +
"/protos/ydb_operation.proto\032\037google/prot" +
"obuf/timestamp.proto\"\315\001\n\016ImportProgress\"" +
"\272\001\n\010Progress\022\030\n\024PROGRESS_UNSPECIFIED\020\000\022\026" +
"\n\022PROGRESS_PREPARING\020\001\022\032\n\026PROGRESS_TRANS" +
"FER_DATA\020\002\022\032\n\026PROGRESS_BUILD_INDEXES\020\003\022\021" +
"\n\rPROGRESS_DONE\020\004\022\031\n\025PROGRESS_CANCELLATI" +
"ON\020\005\022\026\n\022PROGRESS_CANCELLED\020\006\"\240\001\n\022ImportI" +
"temProgress\022\023\n\013parts_total\030\001 \001(\r\022\027\n\017part" +
"s_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\"\235\003\n\024Impo" +
"rtFromS3Settings\022\026\n\010endpoint\030\001 \001(\tB\004\220\346*\001" +
"\0227\n\006scheme\030\002 \001(\0162\'.Ydb.Import.ImportFrom" +
"S3Settings.Scheme\022\024\n\006bucket\030\003 \001(\tB\004\220\346*\001\022" +
"\030\n\naccess_key\030\004 \001(\tB\004\220\346*\001\022\030\n\nsecret_key\030" +
"\005 \001(\tB\004\220\346*\001\022<\n\005items\030\006 \003(\0132%.Ydb.Import." +
"ImportFromS3Settings.ItemB\006\232\346*\002(\001\022\034\n\013des" +
"cription\030\007 \001(\tB\007\242\346*\003\030\200\001\022\031\n\021number_of_ret" +
"ries\030\010 \001(\r\032C\n\004Item\022\033\n\rsource_prefix\030\001 \001(" +
"\tB\004\220\346*\001\022\036\n\020destination_path\030\002 \001(\tB\004\220\346*\001\"" +
".\n\006Scheme\022\017\n\013UNSPECIFIED\020\000\022\010\n\004HTTP\020\001\022\t\n\005" +
"HTTPS\020\002\"\024\n\022ImportFromS3Result\"\271\001\n\024Import" +
"FromS3Metadata\0222\n\010settings\030\001 \001(\0132 .Ydb.I" +
"mport.ImportFromS3Settings\0225\n\010progress\030\002" +
" \001(\0162#.Ydb.Import.ImportProgress.Progres" +
"s\0226\n\016items_progress\030\003 \003(\0132\036.Ydb.Import.I" +
"mportItemProgress\"\212\001\n\023ImportFromS3Reques" +
"t\0229\n\020operation_params\030\001 \001(\0132\037.Ydb.Operat" +
"ions.OperationParams\0228\n\010settings\030\002 \001(\0132 " +
".Ydb.Import.ImportFromS3SettingsB\004\220\346*\001\"D" +
"\n\024ImportFromS3Response\022,\n\toperation\030\001 \001(" +
"\0132\031.Ydb.Operations.Operation\" \n\rYdbDumpF" +
"ormat\022\017\n\007columns\030\001 \003(\t\"\022\n\020ImportDataResu" +
"lt\"\256\001\n\021ImportDataRequest\0229\n\020operation_pa" +
"rams\030\001 \001(\0132\037.Ydb.Operations.OperationPar" +
"ams\022\014\n\004path\030\002 \001(\t\022\027\n\004data\030\003 \001(\014B\t\242\346*\005\030\200\200" +
"\200\004\022-\n\010ydb_dump\030\004 \001(\0132\031.Ydb.Import.YdbDum" +
"pFormatH\000B\010\n\006format\"B\n\022ImportDataRespons" +
"e\022,\n\toperation\030\001 \001(\0132\031.Ydb.Operations.Op" +
"erationB\033\n\026com.yandex.ydb.import_\370\001\001b\006pr" +
"oto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.yandex.ydb.Validation.getDescriptor(),
com.yandex.ydb.OperationProtos.getDescriptor(),
com.google.protobuf.TimestampProto.getDescriptor(),
});
internal_static_Ydb_Import_ImportProgress_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_Ydb_Import_ImportProgress_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportProgress_descriptor,
new java.lang.String[] { });
internal_static_Ydb_Import_ImportItemProgress_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_Ydb_Import_ImportItemProgress_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportItemProgress_descriptor,
new java.lang.String[] { "PartsTotal", "PartsCompleted", "StartTime", "EndTime", });
internal_static_Ydb_Import_ImportFromS3Settings_descriptor =
getDescriptor().getMessageTypes().get(2);
internal_static_Ydb_Import_ImportFromS3Settings_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportFromS3Settings_descriptor,
new java.lang.String[] { "Endpoint", "Scheme", "Bucket", "AccessKey", "SecretKey", "Items", "Description", "NumberOfRetries", });
internal_static_Ydb_Import_ImportFromS3Settings_Item_descriptor =
internal_static_Ydb_Import_ImportFromS3Settings_descriptor.getNestedTypes().get(0);
internal_static_Ydb_Import_ImportFromS3Settings_Item_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportFromS3Settings_Item_descriptor,
new java.lang.String[] { "SourcePrefix", "DestinationPath", });
internal_static_Ydb_Import_ImportFromS3Result_descriptor =
getDescriptor().getMessageTypes().get(3);
internal_static_Ydb_Import_ImportFromS3Result_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportFromS3Result_descriptor,
new java.lang.String[] { });
internal_static_Ydb_Import_ImportFromS3Metadata_descriptor =
getDescriptor().getMessageTypes().get(4);
internal_static_Ydb_Import_ImportFromS3Metadata_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportFromS3Metadata_descriptor,
new java.lang.String[] { "Settings", "Progress", "ItemsProgress", });
internal_static_Ydb_Import_ImportFromS3Request_descriptor =
getDescriptor().getMessageTypes().get(5);
internal_static_Ydb_Import_ImportFromS3Request_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportFromS3Request_descriptor,
new java.lang.String[] { "OperationParams", "Settings", });
internal_static_Ydb_Import_ImportFromS3Response_descriptor =
getDescriptor().getMessageTypes().get(6);
internal_static_Ydb_Import_ImportFromS3Response_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportFromS3Response_descriptor,
new java.lang.String[] { "Operation", });
internal_static_Ydb_Import_YdbDumpFormat_descriptor =
getDescriptor().getMessageTypes().get(7);
internal_static_Ydb_Import_YdbDumpFormat_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_YdbDumpFormat_descriptor,
new java.lang.String[] { "Columns", });
internal_static_Ydb_Import_ImportDataResult_descriptor =
getDescriptor().getMessageTypes().get(8);
internal_static_Ydb_Import_ImportDataResult_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportDataResult_descriptor,
new java.lang.String[] { });
internal_static_Ydb_Import_ImportDataRequest_descriptor =
getDescriptor().getMessageTypes().get(9);
internal_static_Ydb_Import_ImportDataRequest_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportDataRequest_descriptor,
new java.lang.String[] { "OperationParams", "Path", "Data", "YdbDump", "Format", });
internal_static_Ydb_Import_ImportDataResponse_descriptor =
getDescriptor().getMessageTypes().get(10);
internal_static_Ydb_Import_ImportDataResponse_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Import_ImportDataResponse_descriptor,
new java.lang.String[] { "Operation", });
com.google.protobuf.ExtensionRegistry registry =
com.google.protobuf.ExtensionRegistry.newInstance();
registry.add(com.yandex.ydb.Validation.length);
registry.add(com.yandex.ydb.Validation.required);
registry.add(com.yandex.ydb.Validation.size);
com.google.protobuf.Descriptors.FileDescriptor
.internalUpdateFileDescriptor(descriptor, registry);
com.yandex.ydb.Validation.getDescriptor();
com.yandex.ydb.OperationProtos.getDescriptor();
com.google.protobuf.TimestampProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}