tech.ydb.proto.Validation Maven / Gradle / Ivy
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: protos/annotations/validation.proto
package tech.ydb.proto;
public final class Validation {
private Validation() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
registry.add(tech.ydb.proto.Validation.required);
registry.add(tech.ydb.proto.Validation.size);
registry.add(tech.ydb.proto.Validation.length);
registry.add(tech.ydb.proto.Validation.mapKey);
registry.add(tech.ydb.proto.Validation.value);
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
public interface LimitOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Limit)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Limit.Range range = 1;
* @return Whether the range field is set.
*/
boolean hasRange();
/**
* .Ydb.Limit.Range range = 1;
* @return The range.
*/
tech.ydb.proto.Validation.Limit.Range getRange();
/**
* .Ydb.Limit.Range range = 1;
*/
tech.ydb.proto.Validation.Limit.RangeOrBuilder getRangeOrBuilder();
/**
* uint32 lt = 2;
* @return Whether the lt field is set.
*/
boolean hasLt();
/**
* uint32 lt = 2;
* @return The lt.
*/
int getLt();
/**
* uint32 le = 3;
* @return Whether the le field is set.
*/
boolean hasLe();
/**
* uint32 le = 3;
* @return The le.
*/
int getLe();
/**
* uint32 eq = 4;
* @return Whether the eq field is set.
*/
boolean hasEq();
/**
* uint32 eq = 4;
* @return The eq.
*/
int getEq();
/**
* uint32 ge = 5;
* @return Whether the ge field is set.
*/
boolean hasGe();
/**
* uint32 ge = 5;
* @return The ge.
*/
int getGe();
/**
* uint32 gt = 6;
* @return Whether the gt field is set.
*/
boolean hasGt();
/**
* uint32 gt = 6;
* @return The gt.
*/
int getGt();
tech.ydb.proto.Validation.Limit.KindCase getKindCase();
}
/**
* Protobuf type {@code Ydb.Limit}
*/
public static final class Limit extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Limit)
LimitOrBuilder {
private static final long serialVersionUID = 0L;
// Use Limit.newBuilder() to construct.
private Limit(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Limit() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Limit();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.Validation.internal_static_Ydb_Limit_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.Validation.internal_static_Ydb_Limit_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.Validation.Limit.class, tech.ydb.proto.Validation.Limit.Builder.class);
}
public interface RangeOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.Limit.Range)
com.google.protobuf.MessageOrBuilder {
/**
* uint32 min = 1;
* @return The min.
*/
int getMin();
/**
* uint32 max = 2;
* @return The max.
*/
int getMax();
}
/**
* Protobuf type {@code Ydb.Limit.Range}
*/
public static final class Range extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.Limit.Range)
RangeOrBuilder {
private static final long serialVersionUID = 0L;
// Use Range.newBuilder() to construct.
private Range(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private Range() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new Range();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.Validation.internal_static_Ydb_Limit_Range_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.Validation.internal_static_Ydb_Limit_Range_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.Validation.Limit.Range.class, tech.ydb.proto.Validation.Limit.Range.Builder.class);
}
public static final int MIN_FIELD_NUMBER = 1;
private int min_ = 0;
/**
* uint32 min = 1;
* @return The min.
*/
@java.lang.Override
public int getMin() {
return min_;
}
public static final int MAX_FIELD_NUMBER = 2;
private int max_ = 0;
/**
* uint32 max = 2;
* @return The max.
*/
@java.lang.Override
public int getMax() {
return max_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
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 (min_ != 0) {
output.writeUInt32(1, min_);
}
if (max_ != 0) {
output.writeUInt32(2, max_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (min_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, min_);
}
if (max_ != 0) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, max_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.Validation.Limit.Range)) {
return super.equals(obj);
}
tech.ydb.proto.Validation.Limit.Range other = (tech.ydb.proto.Validation.Limit.Range) obj;
if (getMin()
!= other.getMin()) return false;
if (getMax()
!= other.getMax()) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + MIN_FIELD_NUMBER;
hash = (53 * hash) + getMin();
hash = (37 * hash) + MAX_FIELD_NUMBER;
hash = (53 * hash) + getMax();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.Validation.Limit.Range parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.Validation.Limit.Range parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.Validation.Limit.Range parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.Validation.Limit.Range parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.Validation.Limit.Range parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.Validation.Limit.Range parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.Validation.Limit.Range parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.Validation.Limit.Range parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.Validation.Limit.Range parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.Validation.Limit.Range parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.Validation.Limit.Range parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.Validation.Limit.Range parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.Validation.Limit.Range prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Limit.Range}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Limit.Range)
tech.ydb.proto.Validation.Limit.RangeOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.Validation.internal_static_Ydb_Limit_Range_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.Validation.internal_static_Ydb_Limit_Range_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.Validation.Limit.Range.class, tech.ydb.proto.Validation.Limit.Range.Builder.class);
}
// Construct using tech.ydb.proto.Validation.Limit.Range.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
min_ = 0;
max_ = 0;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.Validation.internal_static_Ydb_Limit_Range_descriptor;
}
@java.lang.Override
public tech.ydb.proto.Validation.Limit.Range getDefaultInstanceForType() {
return tech.ydb.proto.Validation.Limit.Range.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.Validation.Limit.Range build() {
tech.ydb.proto.Validation.Limit.Range result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.Validation.Limit.Range buildPartial() {
tech.ydb.proto.Validation.Limit.Range result = new tech.ydb.proto.Validation.Limit.Range(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.Validation.Limit.Range result) {
int from_bitField0_ = bitField0_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.min_ = min_;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.max_ = max_;
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.Validation.Limit.Range) {
return mergeFrom((tech.ydb.proto.Validation.Limit.Range)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.Validation.Limit.Range other) {
if (other == tech.ydb.proto.Validation.Limit.Range.getDefaultInstance()) return this;
if (other.getMin() != 0) {
setMin(other.getMin());
}
if (other.getMax() != 0) {
setMax(other.getMax());
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
min_ = input.readUInt32();
bitField0_ |= 0x00000001;
break;
} // case 8
case 16: {
max_ = input.readUInt32();
bitField0_ |= 0x00000002;
break;
} // case 16
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private int min_ ;
/**
* uint32 min = 1;
* @return The min.
*/
@java.lang.Override
public int getMin() {
return min_;
}
/**
* uint32 min = 1;
* @param value The min to set.
* @return This builder for chaining.
*/
public Builder setMin(int value) {
min_ = value;
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* uint32 min = 1;
* @return This builder for chaining.
*/
public Builder clearMin() {
bitField0_ = (bitField0_ & ~0x00000001);
min_ = 0;
onChanged();
return this;
}
private int max_ ;
/**
* uint32 max = 2;
* @return The max.
*/
@java.lang.Override
public int getMax() {
return max_;
}
/**
* uint32 max = 2;
* @param value The max to set.
* @return This builder for chaining.
*/
public Builder setMax(int value) {
max_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* uint32 max = 2;
* @return This builder for chaining.
*/
public Builder clearMax() {
bitField0_ = (bitField0_ & ~0x00000002);
max_ = 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.Limit.Range)
}
// @@protoc_insertion_point(class_scope:Ydb.Limit.Range)
private static final tech.ydb.proto.Validation.Limit.Range DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.Validation.Limit.Range();
}
public static tech.ydb.proto.Validation.Limit.Range getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Range parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.Validation.Limit.Range getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
private int kindCase_ = 0;
@SuppressWarnings("serial")
private java.lang.Object kind_;
public enum KindCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
RANGE(1),
LT(2),
LE(3),
EQ(4),
GE(5),
GT(6),
KIND_NOT_SET(0);
private final int value;
private KindCase(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 KindCase valueOf(int value) {
return forNumber(value);
}
public static KindCase forNumber(int value) {
switch (value) {
case 1: return RANGE;
case 2: return LT;
case 3: return LE;
case 4: return EQ;
case 5: return GE;
case 6: return GT;
case 0: return KIND_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public KindCase
getKindCase() {
return KindCase.forNumber(
kindCase_);
}
public static final int RANGE_FIELD_NUMBER = 1;
/**
* .Ydb.Limit.Range range = 1;
* @return Whether the range field is set.
*/
@java.lang.Override
public boolean hasRange() {
return kindCase_ == 1;
}
/**
* .Ydb.Limit.Range range = 1;
* @return The range.
*/
@java.lang.Override
public tech.ydb.proto.Validation.Limit.Range getRange() {
if (kindCase_ == 1) {
return (tech.ydb.proto.Validation.Limit.Range) kind_;
}
return tech.ydb.proto.Validation.Limit.Range.getDefaultInstance();
}
/**
* .Ydb.Limit.Range range = 1;
*/
@java.lang.Override
public tech.ydb.proto.Validation.Limit.RangeOrBuilder getRangeOrBuilder() {
if (kindCase_ == 1) {
return (tech.ydb.proto.Validation.Limit.Range) kind_;
}
return tech.ydb.proto.Validation.Limit.Range.getDefaultInstance();
}
public static final int LT_FIELD_NUMBER = 2;
/**
* uint32 lt = 2;
* @return Whether the lt field is set.
*/
@java.lang.Override
public boolean hasLt() {
return kindCase_ == 2;
}
/**
* uint32 lt = 2;
* @return The lt.
*/
@java.lang.Override
public int getLt() {
if (kindCase_ == 2) {
return (java.lang.Integer) kind_;
}
return 0;
}
public static final int LE_FIELD_NUMBER = 3;
/**
* uint32 le = 3;
* @return Whether the le field is set.
*/
@java.lang.Override
public boolean hasLe() {
return kindCase_ == 3;
}
/**
* uint32 le = 3;
* @return The le.
*/
@java.lang.Override
public int getLe() {
if (kindCase_ == 3) {
return (java.lang.Integer) kind_;
}
return 0;
}
public static final int EQ_FIELD_NUMBER = 4;
/**
* uint32 eq = 4;
* @return Whether the eq field is set.
*/
@java.lang.Override
public boolean hasEq() {
return kindCase_ == 4;
}
/**
* uint32 eq = 4;
* @return The eq.
*/
@java.lang.Override
public int getEq() {
if (kindCase_ == 4) {
return (java.lang.Integer) kind_;
}
return 0;
}
public static final int GE_FIELD_NUMBER = 5;
/**
* uint32 ge = 5;
* @return Whether the ge field is set.
*/
@java.lang.Override
public boolean hasGe() {
return kindCase_ == 5;
}
/**
* uint32 ge = 5;
* @return The ge.
*/
@java.lang.Override
public int getGe() {
if (kindCase_ == 5) {
return (java.lang.Integer) kind_;
}
return 0;
}
public static final int GT_FIELD_NUMBER = 6;
/**
* uint32 gt = 6;
* @return Whether the gt field is set.
*/
@java.lang.Override
public boolean hasGt() {
return kindCase_ == 6;
}
/**
* uint32 gt = 6;
* @return The gt.
*/
@java.lang.Override
public int getGt() {
if (kindCase_ == 6) {
return (java.lang.Integer) kind_;
}
return 0;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
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 (kindCase_ == 1) {
output.writeMessage(1, (tech.ydb.proto.Validation.Limit.Range) kind_);
}
if (kindCase_ == 2) {
output.writeUInt32(
2, (int)((java.lang.Integer) kind_));
}
if (kindCase_ == 3) {
output.writeUInt32(
3, (int)((java.lang.Integer) kind_));
}
if (kindCase_ == 4) {
output.writeUInt32(
4, (int)((java.lang.Integer) kind_));
}
if (kindCase_ == 5) {
output.writeUInt32(
5, (int)((java.lang.Integer) kind_));
}
if (kindCase_ == 6) {
output.writeUInt32(
6, (int)((java.lang.Integer) kind_));
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (kindCase_ == 1) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, (tech.ydb.proto.Validation.Limit.Range) kind_);
}
if (kindCase_ == 2) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(
2, (int)((java.lang.Integer) kind_));
}
if (kindCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(
3, (int)((java.lang.Integer) kind_));
}
if (kindCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(
4, (int)((java.lang.Integer) kind_));
}
if (kindCase_ == 5) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(
5, (int)((java.lang.Integer) kind_));
}
if (kindCase_ == 6) {
size += com.google.protobuf.CodedOutputStream
.computeUInt32Size(
6, (int)((java.lang.Integer) kind_));
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.Validation.Limit)) {
return super.equals(obj);
}
tech.ydb.proto.Validation.Limit other = (tech.ydb.proto.Validation.Limit) obj;
if (!getKindCase().equals(other.getKindCase())) return false;
switch (kindCase_) {
case 1:
if (!getRange()
.equals(other.getRange())) return false;
break;
case 2:
if (getLt()
!= other.getLt()) return false;
break;
case 3:
if (getLe()
!= other.getLe()) return false;
break;
case 4:
if (getEq()
!= other.getEq()) return false;
break;
case 5:
if (getGe()
!= other.getGe()) return false;
break;
case 6:
if (getGt()
!= other.getGt()) return false;
break;
case 0:
default:
}
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
switch (kindCase_) {
case 1:
hash = (37 * hash) + RANGE_FIELD_NUMBER;
hash = (53 * hash) + getRange().hashCode();
break;
case 2:
hash = (37 * hash) + LT_FIELD_NUMBER;
hash = (53 * hash) + getLt();
break;
case 3:
hash = (37 * hash) + LE_FIELD_NUMBER;
hash = (53 * hash) + getLe();
break;
case 4:
hash = (37 * hash) + EQ_FIELD_NUMBER;
hash = (53 * hash) + getEq();
break;
case 5:
hash = (37 * hash) + GE_FIELD_NUMBER;
hash = (53 * hash) + getGe();
break;
case 6:
hash = (37 * hash) + GT_FIELD_NUMBER;
hash = (53 * hash) + getGt();
break;
case 0:
default:
}
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.Validation.Limit parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.Validation.Limit parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.Validation.Limit parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.Validation.Limit parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.Validation.Limit parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.Validation.Limit parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.Validation.Limit parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.Validation.Limit parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.Validation.Limit parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.Validation.Limit parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.Validation.Limit parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.Validation.Limit parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.Validation.Limit prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.Limit}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.Limit)
tech.ydb.proto.Validation.LimitOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.Validation.internal_static_Ydb_Limit_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.Validation.internal_static_Ydb_Limit_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.Validation.Limit.class, tech.ydb.proto.Validation.Limit.Builder.class);
}
// Construct using tech.ydb.proto.Validation.Limit.newBuilder()
private Builder() {
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
if (rangeBuilder_ != null) {
rangeBuilder_.clear();
}
kindCase_ = 0;
kind_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.Validation.internal_static_Ydb_Limit_descriptor;
}
@java.lang.Override
public tech.ydb.proto.Validation.Limit getDefaultInstanceForType() {
return tech.ydb.proto.Validation.Limit.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.Validation.Limit build() {
tech.ydb.proto.Validation.Limit result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.Validation.Limit buildPartial() {
tech.ydb.proto.Validation.Limit result = new tech.ydb.proto.Validation.Limit(this);
if (bitField0_ != 0) { buildPartial0(result); }
buildPartialOneofs(result);
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.Validation.Limit result) {
int from_bitField0_ = bitField0_;
}
private void buildPartialOneofs(tech.ydb.proto.Validation.Limit result) {
result.kindCase_ = kindCase_;
result.kind_ = this.kind_;
if (kindCase_ == 1 &&
rangeBuilder_ != null) {
result.kind_ = rangeBuilder_.build();
}
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.Validation.Limit) {
return mergeFrom((tech.ydb.proto.Validation.Limit)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.Validation.Limit other) {
if (other == tech.ydb.proto.Validation.Limit.getDefaultInstance()) return this;
switch (other.getKindCase()) {
case RANGE: {
mergeRange(other.getRange());
break;
}
case LT: {
setLt(other.getLt());
break;
}
case LE: {
setLe(other.getLe());
break;
}
case EQ: {
setEq(other.getEq());
break;
}
case GE: {
setGe(other.getGe());
break;
}
case GT: {
setGt(other.getGt());
break;
}
case KIND_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getRangeFieldBuilder().getBuilder(),
extensionRegistry);
kindCase_ = 1;
break;
} // case 10
case 16: {
kind_ = input.readUInt32();
kindCase_ = 2;
break;
} // case 16
case 24: {
kind_ = input.readUInt32();
kindCase_ = 3;
break;
} // case 24
case 32: {
kind_ = input.readUInt32();
kindCase_ = 4;
break;
} // case 32
case 40: {
kind_ = input.readUInt32();
kindCase_ = 5;
break;
} // case 40
case 48: {
kind_ = input.readUInt32();
kindCase_ = 6;
break;
} // case 48
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int kindCase_ = 0;
private java.lang.Object kind_;
public KindCase
getKindCase() {
return KindCase.forNumber(
kindCase_);
}
public Builder clearKind() {
kindCase_ = 0;
kind_ = null;
onChanged();
return this;
}
private int bitField0_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.Validation.Limit.Range, tech.ydb.proto.Validation.Limit.Range.Builder, tech.ydb.proto.Validation.Limit.RangeOrBuilder> rangeBuilder_;
/**
* .Ydb.Limit.Range range = 1;
* @return Whether the range field is set.
*/
@java.lang.Override
public boolean hasRange() {
return kindCase_ == 1;
}
/**
* .Ydb.Limit.Range range = 1;
* @return The range.
*/
@java.lang.Override
public tech.ydb.proto.Validation.Limit.Range getRange() {
if (rangeBuilder_ == null) {
if (kindCase_ == 1) {
return (tech.ydb.proto.Validation.Limit.Range) kind_;
}
return tech.ydb.proto.Validation.Limit.Range.getDefaultInstance();
} else {
if (kindCase_ == 1) {
return rangeBuilder_.getMessage();
}
return tech.ydb.proto.Validation.Limit.Range.getDefaultInstance();
}
}
/**
* .Ydb.Limit.Range range = 1;
*/
public Builder setRange(tech.ydb.proto.Validation.Limit.Range value) {
if (rangeBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
kind_ = value;
onChanged();
} else {
rangeBuilder_.setMessage(value);
}
kindCase_ = 1;
return this;
}
/**
* .Ydb.Limit.Range range = 1;
*/
public Builder setRange(
tech.ydb.proto.Validation.Limit.Range.Builder builderForValue) {
if (rangeBuilder_ == null) {
kind_ = builderForValue.build();
onChanged();
} else {
rangeBuilder_.setMessage(builderForValue.build());
}
kindCase_ = 1;
return this;
}
/**
* .Ydb.Limit.Range range = 1;
*/
public Builder mergeRange(tech.ydb.proto.Validation.Limit.Range value) {
if (rangeBuilder_ == null) {
if (kindCase_ == 1 &&
kind_ != tech.ydb.proto.Validation.Limit.Range.getDefaultInstance()) {
kind_ = tech.ydb.proto.Validation.Limit.Range.newBuilder((tech.ydb.proto.Validation.Limit.Range) kind_)
.mergeFrom(value).buildPartial();
} else {
kind_ = value;
}
onChanged();
} else {
if (kindCase_ == 1) {
rangeBuilder_.mergeFrom(value);
} else {
rangeBuilder_.setMessage(value);
}
}
kindCase_ = 1;
return this;
}
/**
* .Ydb.Limit.Range range = 1;
*/
public Builder clearRange() {
if (rangeBuilder_ == null) {
if (kindCase_ == 1) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
} else {
if (kindCase_ == 1) {
kindCase_ = 0;
kind_ = null;
}
rangeBuilder_.clear();
}
return this;
}
/**
* .Ydb.Limit.Range range = 1;
*/
public tech.ydb.proto.Validation.Limit.Range.Builder getRangeBuilder() {
return getRangeFieldBuilder().getBuilder();
}
/**
* .Ydb.Limit.Range range = 1;
*/
@java.lang.Override
public tech.ydb.proto.Validation.Limit.RangeOrBuilder getRangeOrBuilder() {
if ((kindCase_ == 1) && (rangeBuilder_ != null)) {
return rangeBuilder_.getMessageOrBuilder();
} else {
if (kindCase_ == 1) {
return (tech.ydb.proto.Validation.Limit.Range) kind_;
}
return tech.ydb.proto.Validation.Limit.Range.getDefaultInstance();
}
}
/**
* .Ydb.Limit.Range range = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.Validation.Limit.Range, tech.ydb.proto.Validation.Limit.Range.Builder, tech.ydb.proto.Validation.Limit.RangeOrBuilder>
getRangeFieldBuilder() {
if (rangeBuilder_ == null) {
if (!(kindCase_ == 1)) {
kind_ = tech.ydb.proto.Validation.Limit.Range.getDefaultInstance();
}
rangeBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.Validation.Limit.Range, tech.ydb.proto.Validation.Limit.Range.Builder, tech.ydb.proto.Validation.Limit.RangeOrBuilder>(
(tech.ydb.proto.Validation.Limit.Range) kind_,
getParentForChildren(),
isClean());
kind_ = null;
}
kindCase_ = 1;
onChanged();
return rangeBuilder_;
}
/**
* uint32 lt = 2;
* @return Whether the lt field is set.
*/
public boolean hasLt() {
return kindCase_ == 2;
}
/**
* uint32 lt = 2;
* @return The lt.
*/
public int getLt() {
if (kindCase_ == 2) {
return (java.lang.Integer) kind_;
}
return 0;
}
/**
* uint32 lt = 2;
* @param value The lt to set.
* @return This builder for chaining.
*/
public Builder setLt(int value) {
kindCase_ = 2;
kind_ = value;
onChanged();
return this;
}
/**
* uint32 lt = 2;
* @return This builder for chaining.
*/
public Builder clearLt() {
if (kindCase_ == 2) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
return this;
}
/**
* uint32 le = 3;
* @return Whether the le field is set.
*/
public boolean hasLe() {
return kindCase_ == 3;
}
/**
* uint32 le = 3;
* @return The le.
*/
public int getLe() {
if (kindCase_ == 3) {
return (java.lang.Integer) kind_;
}
return 0;
}
/**
* uint32 le = 3;
* @param value The le to set.
* @return This builder for chaining.
*/
public Builder setLe(int value) {
kindCase_ = 3;
kind_ = value;
onChanged();
return this;
}
/**
* uint32 le = 3;
* @return This builder for chaining.
*/
public Builder clearLe() {
if (kindCase_ == 3) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
return this;
}
/**
* uint32 eq = 4;
* @return Whether the eq field is set.
*/
public boolean hasEq() {
return kindCase_ == 4;
}
/**
* uint32 eq = 4;
* @return The eq.
*/
public int getEq() {
if (kindCase_ == 4) {
return (java.lang.Integer) kind_;
}
return 0;
}
/**
* uint32 eq = 4;
* @param value The eq to set.
* @return This builder for chaining.
*/
public Builder setEq(int value) {
kindCase_ = 4;
kind_ = value;
onChanged();
return this;
}
/**
* uint32 eq = 4;
* @return This builder for chaining.
*/
public Builder clearEq() {
if (kindCase_ == 4) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
return this;
}
/**
* uint32 ge = 5;
* @return Whether the ge field is set.
*/
public boolean hasGe() {
return kindCase_ == 5;
}
/**
* uint32 ge = 5;
* @return The ge.
*/
public int getGe() {
if (kindCase_ == 5) {
return (java.lang.Integer) kind_;
}
return 0;
}
/**
* uint32 ge = 5;
* @param value The ge to set.
* @return This builder for chaining.
*/
public Builder setGe(int value) {
kindCase_ = 5;
kind_ = value;
onChanged();
return this;
}
/**
* uint32 ge = 5;
* @return This builder for chaining.
*/
public Builder clearGe() {
if (kindCase_ == 5) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
return this;
}
/**
* uint32 gt = 6;
* @return Whether the gt field is set.
*/
public boolean hasGt() {
return kindCase_ == 6;
}
/**
* uint32 gt = 6;
* @return The gt.
*/
public int getGt() {
if (kindCase_ == 6) {
return (java.lang.Integer) kind_;
}
return 0;
}
/**
* uint32 gt = 6;
* @param value The gt to set.
* @return This builder for chaining.
*/
public Builder setGt(int value) {
kindCase_ = 6;
kind_ = value;
onChanged();
return this;
}
/**
* uint32 gt = 6;
* @return This builder for chaining.
*/
public Builder clearGt() {
if (kindCase_ == 6) {
kindCase_ = 0;
kind_ = null;
onChanged();
}
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.Limit)
}
// @@protoc_insertion_point(class_scope:Ydb.Limit)
private static final tech.ydb.proto.Validation.Limit DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.Validation.Limit();
}
public static tech.ydb.proto.Validation.Limit getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public Limit parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.Validation.Limit getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public interface MapKeyOrBuilder extends
// @@protoc_insertion_point(interface_extends:Ydb.MapKey)
com.google.protobuf.MessageOrBuilder {
/**
* .Ydb.Limit length = 1;
* @return Whether the length field is set.
*/
boolean hasLength();
/**
* .Ydb.Limit length = 1;
* @return The length.
*/
tech.ydb.proto.Validation.Limit getLength();
/**
* .Ydb.Limit length = 1;
*/
tech.ydb.proto.Validation.LimitOrBuilder getLengthOrBuilder();
/**
* string value = 2;
* @return The value.
*/
java.lang.String getValue();
/**
* string value = 2;
* @return The bytes for value.
*/
com.google.protobuf.ByteString
getValueBytes();
}
/**
* Protobuf type {@code Ydb.MapKey}
*/
public static final class MapKey extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:Ydb.MapKey)
MapKeyOrBuilder {
private static final long serialVersionUID = 0L;
// Use MapKey.newBuilder() to construct.
private MapKey(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private MapKey() {
value_ = "";
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new MapKey();
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.Validation.internal_static_Ydb_MapKey_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.Validation.internal_static_Ydb_MapKey_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.Validation.MapKey.class, tech.ydb.proto.Validation.MapKey.Builder.class);
}
private int bitField0_;
public static final int LENGTH_FIELD_NUMBER = 1;
private tech.ydb.proto.Validation.Limit length_;
/**
* .Ydb.Limit length = 1;
* @return Whether the length field is set.
*/
@java.lang.Override
public boolean hasLength() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Limit length = 1;
* @return The length.
*/
@java.lang.Override
public tech.ydb.proto.Validation.Limit getLength() {
return length_ == null ? tech.ydb.proto.Validation.Limit.getDefaultInstance() : length_;
}
/**
* .Ydb.Limit length = 1;
*/
@java.lang.Override
public tech.ydb.proto.Validation.LimitOrBuilder getLengthOrBuilder() {
return length_ == null ? tech.ydb.proto.Validation.Limit.getDefaultInstance() : length_;
}
public static final int VALUE_FIELD_NUMBER = 2;
@SuppressWarnings("serial")
private volatile java.lang.Object value_ = "";
/**
* string value = 2;
* @return The value.
*/
@java.lang.Override
public java.lang.String getValue() {
java.lang.Object ref = value_;
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();
value_ = s;
return s;
}
}
/**
* string value = 2;
* @return The bytes for value.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeMessage(1, getLength());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, value_);
}
getUnknownFields().writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getLength());
}
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(value_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSize = size;
return size;
}
@java.lang.Override
public boolean equals(final java.lang.Object obj) {
if (obj == this) {
return true;
}
if (!(obj instanceof tech.ydb.proto.Validation.MapKey)) {
return super.equals(obj);
}
tech.ydb.proto.Validation.MapKey other = (tech.ydb.proto.Validation.MapKey) obj;
if (hasLength() != other.hasLength()) return false;
if (hasLength()) {
if (!getLength()
.equals(other.getLength())) return false;
}
if (!getValue()
.equals(other.getValue())) return false;
if (!getUnknownFields().equals(other.getUnknownFields())) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
if (hasLength()) {
hash = (37 * hash) + LENGTH_FIELD_NUMBER;
hash = (53 * hash) + getLength().hashCode();
}
hash = (37 * hash) + VALUE_FIELD_NUMBER;
hash = (53 * hash) + getValue().hashCode();
hash = (29 * hash) + getUnknownFields().hashCode();
memoizedHashCode = hash;
return hash;
}
public static tech.ydb.proto.Validation.MapKey parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.Validation.MapKey parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.Validation.MapKey parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.Validation.MapKey parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.Validation.MapKey parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static tech.ydb.proto.Validation.MapKey parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static tech.ydb.proto.Validation.MapKey parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.Validation.MapKey parseFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.Validation.MapKey parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static tech.ydb.proto.Validation.MapKey parseDelimitedFrom(
java.io.InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input, extensionRegistry);
}
public static tech.ydb.proto.Validation.MapKey parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static tech.ydb.proto.Validation.MapKey parseFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input, extensionRegistry);
}
@java.lang.Override
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder() {
return DEFAULT_INSTANCE.toBuilder();
}
public static Builder newBuilder(tech.ydb.proto.Validation.MapKey prototype) {
return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
}
@java.lang.Override
public Builder toBuilder() {
return this == DEFAULT_INSTANCE
? new 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.MapKey}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:Ydb.MapKey)
tech.ydb.proto.Validation.MapKeyOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return tech.ydb.proto.Validation.internal_static_Ydb_MapKey_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return tech.ydb.proto.Validation.internal_static_Ydb_MapKey_fieldAccessorTable
.ensureFieldAccessorsInitialized(
tech.ydb.proto.Validation.MapKey.class, tech.ydb.proto.Validation.MapKey.Builder.class);
}
// Construct using tech.ydb.proto.Validation.MapKey.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getLengthFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
bitField0_ = 0;
length_ = null;
if (lengthBuilder_ != null) {
lengthBuilder_.dispose();
lengthBuilder_ = null;
}
value_ = "";
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return tech.ydb.proto.Validation.internal_static_Ydb_MapKey_descriptor;
}
@java.lang.Override
public tech.ydb.proto.Validation.MapKey getDefaultInstanceForType() {
return tech.ydb.proto.Validation.MapKey.getDefaultInstance();
}
@java.lang.Override
public tech.ydb.proto.Validation.MapKey build() {
tech.ydb.proto.Validation.MapKey result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public tech.ydb.proto.Validation.MapKey buildPartial() {
tech.ydb.proto.Validation.MapKey result = new tech.ydb.proto.Validation.MapKey(this);
if (bitField0_ != 0) { buildPartial0(result); }
onBuilt();
return result;
}
private void buildPartial0(tech.ydb.proto.Validation.MapKey result) {
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.length_ = lengthBuilder_ == null
? length_
: lengthBuilder_.build();
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.value_ = value_;
}
result.bitField0_ |= to_bitField0_;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof tech.ydb.proto.Validation.MapKey) {
return mergeFrom((tech.ydb.proto.Validation.MapKey)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(tech.ydb.proto.Validation.MapKey other) {
if (other == tech.ydb.proto.Validation.MapKey.getDefaultInstance()) return this;
if (other.hasLength()) {
mergeLength(other.getLength());
}
if (!other.getValue().isEmpty()) {
value_ = other.value_;
bitField0_ |= 0x00000002;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
input.readMessage(
getLengthFieldBuilder().getBuilder(),
extensionRegistry);
bitField0_ |= 0x00000001;
break;
} // case 10
case 18: {
value_ = input.readStringRequireUtf8();
bitField0_ |= 0x00000002;
break;
} // case 18
default: {
if (!super.parseUnknownField(input, extensionRegistry, tag)) {
done = true; // was an endgroup tag
}
break;
} // default:
} // switch (tag)
} // while (!done)
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.unwrapIOException();
} finally {
onChanged();
} // finally
return this;
}
private int bitField0_;
private tech.ydb.proto.Validation.Limit length_;
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.Validation.Limit, tech.ydb.proto.Validation.Limit.Builder, tech.ydb.proto.Validation.LimitOrBuilder> lengthBuilder_;
/**
* .Ydb.Limit length = 1;
* @return Whether the length field is set.
*/
public boolean hasLength() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* .Ydb.Limit length = 1;
* @return The length.
*/
public tech.ydb.proto.Validation.Limit getLength() {
if (lengthBuilder_ == null) {
return length_ == null ? tech.ydb.proto.Validation.Limit.getDefaultInstance() : length_;
} else {
return lengthBuilder_.getMessage();
}
}
/**
* .Ydb.Limit length = 1;
*/
public Builder setLength(tech.ydb.proto.Validation.Limit value) {
if (lengthBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
length_ = value;
} else {
lengthBuilder_.setMessage(value);
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Limit length = 1;
*/
public Builder setLength(
tech.ydb.proto.Validation.Limit.Builder builderForValue) {
if (lengthBuilder_ == null) {
length_ = builderForValue.build();
} else {
lengthBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000001;
onChanged();
return this;
}
/**
* .Ydb.Limit length = 1;
*/
public Builder mergeLength(tech.ydb.proto.Validation.Limit value) {
if (lengthBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0) &&
length_ != null &&
length_ != tech.ydb.proto.Validation.Limit.getDefaultInstance()) {
getLengthBuilder().mergeFrom(value);
} else {
length_ = value;
}
} else {
lengthBuilder_.mergeFrom(value);
}
if (length_ != null) {
bitField0_ |= 0x00000001;
onChanged();
}
return this;
}
/**
* .Ydb.Limit length = 1;
*/
public Builder clearLength() {
bitField0_ = (bitField0_ & ~0x00000001);
length_ = null;
if (lengthBuilder_ != null) {
lengthBuilder_.dispose();
lengthBuilder_ = null;
}
onChanged();
return this;
}
/**
* .Ydb.Limit length = 1;
*/
public tech.ydb.proto.Validation.Limit.Builder getLengthBuilder() {
bitField0_ |= 0x00000001;
onChanged();
return getLengthFieldBuilder().getBuilder();
}
/**
* .Ydb.Limit length = 1;
*/
public tech.ydb.proto.Validation.LimitOrBuilder getLengthOrBuilder() {
if (lengthBuilder_ != null) {
return lengthBuilder_.getMessageOrBuilder();
} else {
return length_ == null ?
tech.ydb.proto.Validation.Limit.getDefaultInstance() : length_;
}
}
/**
* .Ydb.Limit length = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.Validation.Limit, tech.ydb.proto.Validation.Limit.Builder, tech.ydb.proto.Validation.LimitOrBuilder>
getLengthFieldBuilder() {
if (lengthBuilder_ == null) {
lengthBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
tech.ydb.proto.Validation.Limit, tech.ydb.proto.Validation.Limit.Builder, tech.ydb.proto.Validation.LimitOrBuilder>(
getLength(),
getParentForChildren(),
isClean());
length_ = null;
}
return lengthBuilder_;
}
private java.lang.Object value_ = "";
/**
* string value = 2;
* @return The value.
*/
public java.lang.String getValue() {
java.lang.Object ref = value_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
value_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string value = 2;
* @return The bytes for value.
*/
public com.google.protobuf.ByteString
getValueBytes() {
java.lang.Object ref = value_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
value_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string value = 2;
* @param value The value to set.
* @return This builder for chaining.
*/
public Builder setValue(
java.lang.String value) {
if (value == null) { throw new NullPointerException(); }
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
/**
* string value = 2;
* @return This builder for chaining.
*/
public Builder clearValue() {
value_ = getDefaultInstance().getValue();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
* string value = 2;
* @param value The bytes for value to set.
* @return This builder for chaining.
*/
public Builder setValueBytes(
com.google.protobuf.ByteString value) {
if (value == null) { throw new NullPointerException(); }
checkByteStringIsUtf8(value);
value_ = value;
bitField0_ |= 0x00000002;
onChanged();
return this;
}
@java.lang.Override
public final Builder setUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.setUnknownFields(unknownFields);
}
@java.lang.Override
public final Builder mergeUnknownFields(
final com.google.protobuf.UnknownFieldSet unknownFields) {
return super.mergeUnknownFields(unknownFields);
}
// @@protoc_insertion_point(builder_scope:Ydb.MapKey)
}
// @@protoc_insertion_point(class_scope:Ydb.MapKey)
private static final tech.ydb.proto.Validation.MapKey DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new tech.ydb.proto.Validation.MapKey();
}
public static tech.ydb.proto.Validation.MapKey getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public MapKey parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
Builder builder = newBuilder();
try {
builder.mergeFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(builder.buildPartial());
} catch (com.google.protobuf.UninitializedMessageException e) {
throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(e)
.setUnfinishedMessage(builder.buildPartial());
}
return builder.buildPartial();
}
};
public static com.google.protobuf.Parser parser() {
return PARSER;
}
@java.lang.Override
public com.google.protobuf.Parser getParserForType() {
return PARSER;
}
@java.lang.Override
public tech.ydb.proto.Validation.MapKey getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
public static final int REQUIRED_FIELD_NUMBER = 87650;
/**
* extend .google.protobuf.FieldOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
java.lang.Boolean> required = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
java.lang.Boolean.class,
null);
public static final int SIZE_FIELD_NUMBER = 87651;
/**
* extend .google.protobuf.FieldOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
tech.ydb.proto.Validation.Limit> size = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
tech.ydb.proto.Validation.Limit.class,
tech.ydb.proto.Validation.Limit.getDefaultInstance());
public static final int LENGTH_FIELD_NUMBER = 87652;
/**
* extend .google.protobuf.FieldOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
tech.ydb.proto.Validation.Limit> length = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
tech.ydb.proto.Validation.Limit.class,
tech.ydb.proto.Validation.Limit.getDefaultInstance());
public static final int MAP_KEY_FIELD_NUMBER = 87653;
/**
* extend .google.protobuf.FieldOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
tech.ydb.proto.Validation.MapKey> mapKey = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
tech.ydb.proto.Validation.MapKey.class,
tech.ydb.proto.Validation.MapKey.getDefaultInstance());
public static final int VALUE_FIELD_NUMBER = 87654;
/**
* extend .google.protobuf.FieldOptions { ... }
*/
public static final
com.google.protobuf.GeneratedMessage.GeneratedExtension<
com.google.protobuf.DescriptorProtos.FieldOptions,
java.lang.String> value = com.google.protobuf.GeneratedMessage
.newFileScopedGeneratedExtension(
java.lang.String.class,
null);
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Limit_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Limit_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_Limit_Range_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_Limit_Range_fieldAccessorTable;
private static final com.google.protobuf.Descriptors.Descriptor
internal_static_Ydb_MapKey_descriptor;
private static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_Ydb_MapKey_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#protos/annotations/validation.proto\022\003Y" +
"db\032 google/protobuf/descriptor.proto\"\233\001\n" +
"\005Limit\022!\n\005range\030\001 \001(\0132\020.Ydb.Limit.RangeH" +
"\000\022\014\n\002lt\030\002 \001(\rH\000\022\014\n\002le\030\003 \001(\rH\000\022\014\n\002eq\030\004 \001(" +
"\rH\000\022\014\n\002ge\030\005 \001(\rH\000\022\014\n\002gt\030\006 \001(\rH\000\032!\n\005Range" +
"\022\013\n\003min\030\001 \001(\r\022\013\n\003max\030\002 \001(\rB\006\n\004kind\"3\n\006Ma" +
"pKey\022\032\n\006length\030\001 \001(\0132\n.Ydb.Limit\022\r\n\005valu" +
"e\030\002 \001(\t:1\n\010required\022\035.google.protobuf.Fi" +
"eldOptions\030\342\254\005 \001(\010:9\n\004size\022\035.google.prot" +
"obuf.FieldOptions\030\343\254\005 \001(\0132\n.Ydb.Limit:;\n" +
"\006length\022\035.google.protobuf.FieldOptions\030\344" +
"\254\005 \001(\0132\n.Ydb.Limit:=\n\007map_key\022\035.google.p" +
"rotobuf.FieldOptions\030\345\254\005 \001(\0132\013.Ydb.MapKe" +
"y:.\n\005value\022\035.google.protobuf.FieldOption" +
"s\030\346\254\005 \001(\tBG\n\016tech.ydb.protoZ2github.com/" +
"ydb-platform/ydb-go-genproto/protos/Ydb\370" +
"\001\001b\006proto3"
};
descriptor = com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.protobuf.DescriptorProtos.getDescriptor(),
});
internal_static_Ydb_Limit_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_Ydb_Limit_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Limit_descriptor,
new java.lang.String[] { "Range", "Lt", "Le", "Eq", "Ge", "Gt", "Kind", });
internal_static_Ydb_Limit_Range_descriptor =
internal_static_Ydb_Limit_descriptor.getNestedTypes().get(0);
internal_static_Ydb_Limit_Range_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_Limit_Range_descriptor,
new java.lang.String[] { "Min", "Max", });
internal_static_Ydb_MapKey_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_Ydb_MapKey_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_Ydb_MapKey_descriptor,
new java.lang.String[] { "Length", "Value", });
required.internalInit(descriptor.getExtensions().get(0));
size.internalInit(descriptor.getExtensions().get(1));
length.internalInit(descriptor.getExtensions().get(2));
mapKey.internalInit(descriptor.getExtensions().get(3));
value.internalInit(descriptor.getExtensions().get(4));
com.google.protobuf.DescriptorProtos.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy