cz.proto.RangePartition Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of clickzetta-java Show documentation
Show all versions of clickzetta-java Show documentation
The java SDK for clickzetta's Lakehouse
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: input_split.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.RangePartition}
*/
public final class RangePartition extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.RangePartition)
RangePartitionOrBuilder {
private static final long serialVersionUID = 0L;
// Use RangePartition.newBuilder() to construct.
private RangePartition(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private RangePartition() {
rangeFiles_ = java.util.Collections.emptyList();
lower_ = java.util.Collections.emptyList();
upper_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new RangePartition();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RangePartition(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
bitField0_ |= 0x00000001;
rangeId_ = input.readInt32();
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
rangeFiles_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
rangeFiles_.add(
input.readMessage(cz.proto.RangeFile.parser(), extensionRegistry));
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) != 0)) {
lower_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
lower_.add(
input.readMessage(cz.proto.RangeLiteral.parser(), extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) != 0)) {
upper_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
upper_.add(
input.readMessage(cz.proto.RangeLiteral.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_ & 0x00000002) != 0)) {
rangeFiles_ = java.util.Collections.unmodifiableList(rangeFiles_);
}
if (((mutable_bitField0_ & 0x00000004) != 0)) {
lower_ = java.util.Collections.unmodifiableList(lower_);
}
if (((mutable_bitField0_ & 0x00000008) != 0)) {
upper_ = java.util.Collections.unmodifiableList(upper_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.InputSplitProto.internal_static_cz_proto_RangePartition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.InputSplitProto.internal_static_cz_proto_RangePartition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.RangePartition.class, cz.proto.RangePartition.Builder.class);
}
private int bitField0_;
public static final int RANGEID_FIELD_NUMBER = 1;
private int rangeId_;
/**
* optional int32 rangeId = 1;
* @return Whether the rangeId field is set.
*/
@java.lang.Override
public boolean hasRangeId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 rangeId = 1;
* @return The rangeId.
*/
@java.lang.Override
public int getRangeId() {
return rangeId_;
}
public static final int RANGEFILES_FIELD_NUMBER = 2;
private java.util.List rangeFiles_;
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
@java.lang.Override
public java.util.List getRangeFilesList() {
return rangeFiles_;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
@java.lang.Override
public java.util.List extends cz.proto.RangeFileOrBuilder>
getRangeFilesOrBuilderList() {
return rangeFiles_;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
@java.lang.Override
public int getRangeFilesCount() {
return rangeFiles_.size();
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
@java.lang.Override
public cz.proto.RangeFile getRangeFiles(int index) {
return rangeFiles_.get(index);
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
@java.lang.Override
public cz.proto.RangeFileOrBuilder getRangeFilesOrBuilder(
int index) {
return rangeFiles_.get(index);
}
public static final int LOWER_FIELD_NUMBER = 3;
private java.util.List lower_;
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
@java.lang.Override
public java.util.List getLowerList() {
return lower_;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
@java.lang.Override
public java.util.List extends cz.proto.RangeLiteralOrBuilder>
getLowerOrBuilderList() {
return lower_;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
@java.lang.Override
public int getLowerCount() {
return lower_.size();
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
@java.lang.Override
public cz.proto.RangeLiteral getLower(int index) {
return lower_.get(index);
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
@java.lang.Override
public cz.proto.RangeLiteralOrBuilder getLowerOrBuilder(
int index) {
return lower_.get(index);
}
public static final int UPPER_FIELD_NUMBER = 4;
private java.util.List upper_;
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
@java.lang.Override
public java.util.List getUpperList() {
return upper_;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
@java.lang.Override
public java.util.List extends cz.proto.RangeLiteralOrBuilder>
getUpperOrBuilderList() {
return upper_;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
@java.lang.Override
public int getUpperCount() {
return upper_.size();
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
@java.lang.Override
public cz.proto.RangeLiteral getUpper(int index) {
return upper_.get(index);
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
@java.lang.Override
public cz.proto.RangeLiteralOrBuilder getUpperOrBuilder(
int index) {
return upper_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt32(1, rangeId_);
}
for (int i = 0; i < rangeFiles_.size(); i++) {
output.writeMessage(2, rangeFiles_.get(i));
}
for (int i = 0; i < lower_.size(); i++) {
output.writeMessage(3, lower_.get(i));
}
for (int i = 0; i < upper_.size(); i++) {
output.writeMessage(4, upper_.get(i));
}
unknownFields.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
.computeInt32Size(1, rangeId_);
}
for (int i = 0; i < rangeFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, rangeFiles_.get(i));
}
for (int i = 0; i < lower_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, lower_.get(i));
}
for (int i = 0; i < upper_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, upper_.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 cz.proto.RangePartition)) {
return super.equals(obj);
}
cz.proto.RangePartition other = (cz.proto.RangePartition) obj;
if (hasRangeId() != other.hasRangeId()) return false;
if (hasRangeId()) {
if (getRangeId()
!= other.getRangeId()) return false;
}
if (!getRangeFilesList()
.equals(other.getRangeFilesList())) return false;
if (!getLowerList()
.equals(other.getLowerList())) return false;
if (!getUpperList()
.equals(other.getUpperList())) 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 (hasRangeId()) {
hash = (37 * hash) + RANGEID_FIELD_NUMBER;
hash = (53 * hash) + getRangeId();
}
if (getRangeFilesCount() > 0) {
hash = (37 * hash) + RANGEFILES_FIELD_NUMBER;
hash = (53 * hash) + getRangeFilesList().hashCode();
}
if (getLowerCount() > 0) {
hash = (37 * hash) + LOWER_FIELD_NUMBER;
hash = (53 * hash) + getLowerList().hashCode();
}
if (getUpperCount() > 0) {
hash = (37 * hash) + UPPER_FIELD_NUMBER;
hash = (53 * hash) + getUpperList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.RangePartition parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.RangePartition parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.RangePartition parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.RangePartition parseFrom(
com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.RangePartition parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.RangePartition parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.RangePartition parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.RangePartition 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 cz.proto.RangePartition parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.RangePartition 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 cz.proto.RangePartition parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.RangePartition 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(cz.proto.RangePartition 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 cz.proto.RangePartition}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.RangePartition)
cz.proto.RangePartitionOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.InputSplitProto.internal_static_cz_proto_RangePartition_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.InputSplitProto.internal_static_cz_proto_RangePartition_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.RangePartition.class, cz.proto.RangePartition.Builder.class);
}
// Construct using cz.proto.RangePartition.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getRangeFilesFieldBuilder();
getLowerFieldBuilder();
getUpperFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
rangeId_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
if (rangeFilesBuilder_ == null) {
rangeFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
rangeFilesBuilder_.clear();
}
if (lowerBuilder_ == null) {
lower_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
} else {
lowerBuilder_.clear();
}
if (upperBuilder_ == null) {
upper_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
} else {
upperBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.InputSplitProto.internal_static_cz_proto_RangePartition_descriptor;
}
@java.lang.Override
public cz.proto.RangePartition getDefaultInstanceForType() {
return cz.proto.RangePartition.getDefaultInstance();
}
@java.lang.Override
public cz.proto.RangePartition build() {
cz.proto.RangePartition result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.RangePartition buildPartial() {
cz.proto.RangePartition result = new cz.proto.RangePartition(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.rangeId_ = rangeId_;
to_bitField0_ |= 0x00000001;
}
if (rangeFilesBuilder_ == null) {
if (((bitField0_ & 0x00000002) != 0)) {
rangeFiles_ = java.util.Collections.unmodifiableList(rangeFiles_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.rangeFiles_ = rangeFiles_;
} else {
result.rangeFiles_ = rangeFilesBuilder_.build();
}
if (lowerBuilder_ == null) {
if (((bitField0_ & 0x00000004) != 0)) {
lower_ = java.util.Collections.unmodifiableList(lower_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.lower_ = lower_;
} else {
result.lower_ = lowerBuilder_.build();
}
if (upperBuilder_ == null) {
if (((bitField0_ & 0x00000008) != 0)) {
upper_ = java.util.Collections.unmodifiableList(upper_);
bitField0_ = (bitField0_ & ~0x00000008);
}
result.upper_ = upper_;
} else {
result.upper_ = upperBuilder_.build();
}
result.bitField0_ = to_bitField0_;
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 cz.proto.RangePartition) {
return mergeFrom((cz.proto.RangePartition)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.RangePartition other) {
if (other == cz.proto.RangePartition.getDefaultInstance()) return this;
if (other.hasRangeId()) {
setRangeId(other.getRangeId());
}
if (rangeFilesBuilder_ == null) {
if (!other.rangeFiles_.isEmpty()) {
if (rangeFiles_.isEmpty()) {
rangeFiles_ = other.rangeFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureRangeFilesIsMutable();
rangeFiles_.addAll(other.rangeFiles_);
}
onChanged();
}
} else {
if (!other.rangeFiles_.isEmpty()) {
if (rangeFilesBuilder_.isEmpty()) {
rangeFilesBuilder_.dispose();
rangeFilesBuilder_ = null;
rangeFiles_ = other.rangeFiles_;
bitField0_ = (bitField0_ & ~0x00000002);
rangeFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getRangeFilesFieldBuilder() : null;
} else {
rangeFilesBuilder_.addAllMessages(other.rangeFiles_);
}
}
}
if (lowerBuilder_ == null) {
if (!other.lower_.isEmpty()) {
if (lower_.isEmpty()) {
lower_ = other.lower_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureLowerIsMutable();
lower_.addAll(other.lower_);
}
onChanged();
}
} else {
if (!other.lower_.isEmpty()) {
if (lowerBuilder_.isEmpty()) {
lowerBuilder_.dispose();
lowerBuilder_ = null;
lower_ = other.lower_;
bitField0_ = (bitField0_ & ~0x00000004);
lowerBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getLowerFieldBuilder() : null;
} else {
lowerBuilder_.addAllMessages(other.lower_);
}
}
}
if (upperBuilder_ == null) {
if (!other.upper_.isEmpty()) {
if (upper_.isEmpty()) {
upper_ = other.upper_;
bitField0_ = (bitField0_ & ~0x00000008);
} else {
ensureUpperIsMutable();
upper_.addAll(other.upper_);
}
onChanged();
}
} else {
if (!other.upper_.isEmpty()) {
if (upperBuilder_.isEmpty()) {
upperBuilder_.dispose();
upperBuilder_ = null;
upper_ = other.upper_;
bitField0_ = (bitField0_ & ~0x00000008);
upperBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getUpperFieldBuilder() : null;
} else {
upperBuilder_.addAllMessages(other.upper_);
}
}
}
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 {
cz.proto.RangePartition parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.RangePartition) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private int rangeId_ ;
/**
* optional int32 rangeId = 1;
* @return Whether the rangeId field is set.
*/
@java.lang.Override
public boolean hasRangeId() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int32 rangeId = 1;
* @return The rangeId.
*/
@java.lang.Override
public int getRangeId() {
return rangeId_;
}
/**
* optional int32 rangeId = 1;
* @param value The rangeId to set.
* @return This builder for chaining.
*/
public Builder setRangeId(int value) {
bitField0_ |= 0x00000001;
rangeId_ = value;
onChanged();
return this;
}
/**
* optional int32 rangeId = 1;
* @return This builder for chaining.
*/
public Builder clearRangeId() {
bitField0_ = (bitField0_ & ~0x00000001);
rangeId_ = 0;
onChanged();
return this;
}
private java.util.List rangeFiles_ =
java.util.Collections.emptyList();
private void ensureRangeFilesIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
rangeFiles_ = new java.util.ArrayList(rangeFiles_);
bitField0_ |= 0x00000002;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeFile, cz.proto.RangeFile.Builder, cz.proto.RangeFileOrBuilder> rangeFilesBuilder_;
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public java.util.List getRangeFilesList() {
if (rangeFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(rangeFiles_);
} else {
return rangeFilesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public int getRangeFilesCount() {
if (rangeFilesBuilder_ == null) {
return rangeFiles_.size();
} else {
return rangeFilesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public cz.proto.RangeFile getRangeFiles(int index) {
if (rangeFilesBuilder_ == null) {
return rangeFiles_.get(index);
} else {
return rangeFilesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public Builder setRangeFiles(
int index, cz.proto.RangeFile value) {
if (rangeFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRangeFilesIsMutable();
rangeFiles_.set(index, value);
onChanged();
} else {
rangeFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public Builder setRangeFiles(
int index, cz.proto.RangeFile.Builder builderForValue) {
if (rangeFilesBuilder_ == null) {
ensureRangeFilesIsMutable();
rangeFiles_.set(index, builderForValue.build());
onChanged();
} else {
rangeFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public Builder addRangeFiles(cz.proto.RangeFile value) {
if (rangeFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRangeFilesIsMutable();
rangeFiles_.add(value);
onChanged();
} else {
rangeFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public Builder addRangeFiles(
int index, cz.proto.RangeFile value) {
if (rangeFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureRangeFilesIsMutable();
rangeFiles_.add(index, value);
onChanged();
} else {
rangeFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public Builder addRangeFiles(
cz.proto.RangeFile.Builder builderForValue) {
if (rangeFilesBuilder_ == null) {
ensureRangeFilesIsMutable();
rangeFiles_.add(builderForValue.build());
onChanged();
} else {
rangeFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public Builder addRangeFiles(
int index, cz.proto.RangeFile.Builder builderForValue) {
if (rangeFilesBuilder_ == null) {
ensureRangeFilesIsMutable();
rangeFiles_.add(index, builderForValue.build());
onChanged();
} else {
rangeFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public Builder addAllRangeFiles(
java.lang.Iterable extends cz.proto.RangeFile> values) {
if (rangeFilesBuilder_ == null) {
ensureRangeFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, rangeFiles_);
onChanged();
} else {
rangeFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public Builder clearRangeFiles() {
if (rangeFilesBuilder_ == null) {
rangeFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
rangeFilesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public Builder removeRangeFiles(int index) {
if (rangeFilesBuilder_ == null) {
ensureRangeFilesIsMutable();
rangeFiles_.remove(index);
onChanged();
} else {
rangeFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public cz.proto.RangeFile.Builder getRangeFilesBuilder(
int index) {
return getRangeFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public cz.proto.RangeFileOrBuilder getRangeFilesOrBuilder(
int index) {
if (rangeFilesBuilder_ == null) {
return rangeFiles_.get(index); } else {
return rangeFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public java.util.List extends cz.proto.RangeFileOrBuilder>
getRangeFilesOrBuilderList() {
if (rangeFilesBuilder_ != null) {
return rangeFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(rangeFiles_);
}
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public cz.proto.RangeFile.Builder addRangeFilesBuilder() {
return getRangeFilesFieldBuilder().addBuilder(
cz.proto.RangeFile.getDefaultInstance());
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public cz.proto.RangeFile.Builder addRangeFilesBuilder(
int index) {
return getRangeFilesFieldBuilder().addBuilder(
index, cz.proto.RangeFile.getDefaultInstance());
}
/**
* repeated .cz.proto.RangeFile rangeFiles = 2;
*/
public java.util.List
getRangeFilesBuilderList() {
return getRangeFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeFile, cz.proto.RangeFile.Builder, cz.proto.RangeFileOrBuilder>
getRangeFilesFieldBuilder() {
if (rangeFilesBuilder_ == null) {
rangeFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeFile, cz.proto.RangeFile.Builder, cz.proto.RangeFileOrBuilder>(
rangeFiles_,
((bitField0_ & 0x00000002) != 0),
getParentForChildren(),
isClean());
rangeFiles_ = null;
}
return rangeFilesBuilder_;
}
private java.util.List lower_ =
java.util.Collections.emptyList();
private void ensureLowerIsMutable() {
if (!((bitField0_ & 0x00000004) != 0)) {
lower_ = new java.util.ArrayList(lower_);
bitField0_ |= 0x00000004;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeLiteral, cz.proto.RangeLiteral.Builder, cz.proto.RangeLiteralOrBuilder> lowerBuilder_;
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public java.util.List getLowerList() {
if (lowerBuilder_ == null) {
return java.util.Collections.unmodifiableList(lower_);
} else {
return lowerBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public int getLowerCount() {
if (lowerBuilder_ == null) {
return lower_.size();
} else {
return lowerBuilder_.getCount();
}
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public cz.proto.RangeLiteral getLower(int index) {
if (lowerBuilder_ == null) {
return lower_.get(index);
} else {
return lowerBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public Builder setLower(
int index, cz.proto.RangeLiteral value) {
if (lowerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLowerIsMutable();
lower_.set(index, value);
onChanged();
} else {
lowerBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public Builder setLower(
int index, cz.proto.RangeLiteral.Builder builderForValue) {
if (lowerBuilder_ == null) {
ensureLowerIsMutable();
lower_.set(index, builderForValue.build());
onChanged();
} else {
lowerBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public Builder addLower(cz.proto.RangeLiteral value) {
if (lowerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLowerIsMutable();
lower_.add(value);
onChanged();
} else {
lowerBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public Builder addLower(
int index, cz.proto.RangeLiteral value) {
if (lowerBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureLowerIsMutable();
lower_.add(index, value);
onChanged();
} else {
lowerBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public Builder addLower(
cz.proto.RangeLiteral.Builder builderForValue) {
if (lowerBuilder_ == null) {
ensureLowerIsMutable();
lower_.add(builderForValue.build());
onChanged();
} else {
lowerBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public Builder addLower(
int index, cz.proto.RangeLiteral.Builder builderForValue) {
if (lowerBuilder_ == null) {
ensureLowerIsMutable();
lower_.add(index, builderForValue.build());
onChanged();
} else {
lowerBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public Builder addAllLower(
java.lang.Iterable extends cz.proto.RangeLiteral> values) {
if (lowerBuilder_ == null) {
ensureLowerIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, lower_);
onChanged();
} else {
lowerBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public Builder clearLower() {
if (lowerBuilder_ == null) {
lower_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
} else {
lowerBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public Builder removeLower(int index) {
if (lowerBuilder_ == null) {
ensureLowerIsMutable();
lower_.remove(index);
onChanged();
} else {
lowerBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public cz.proto.RangeLiteral.Builder getLowerBuilder(
int index) {
return getLowerFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public cz.proto.RangeLiteralOrBuilder getLowerOrBuilder(
int index) {
if (lowerBuilder_ == null) {
return lower_.get(index); } else {
return lowerBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public java.util.List extends cz.proto.RangeLiteralOrBuilder>
getLowerOrBuilderList() {
if (lowerBuilder_ != null) {
return lowerBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(lower_);
}
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public cz.proto.RangeLiteral.Builder addLowerBuilder() {
return getLowerFieldBuilder().addBuilder(
cz.proto.RangeLiteral.getDefaultInstance());
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public cz.proto.RangeLiteral.Builder addLowerBuilder(
int index) {
return getLowerFieldBuilder().addBuilder(
index, cz.proto.RangeLiteral.getDefaultInstance());
}
/**
* repeated .cz.proto.RangeLiteral lower = 3;
*/
public java.util.List
getLowerBuilderList() {
return getLowerFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeLiteral, cz.proto.RangeLiteral.Builder, cz.proto.RangeLiteralOrBuilder>
getLowerFieldBuilder() {
if (lowerBuilder_ == null) {
lowerBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeLiteral, cz.proto.RangeLiteral.Builder, cz.proto.RangeLiteralOrBuilder>(
lower_,
((bitField0_ & 0x00000004) != 0),
getParentForChildren(),
isClean());
lower_ = null;
}
return lowerBuilder_;
}
private java.util.List upper_ =
java.util.Collections.emptyList();
private void ensureUpperIsMutable() {
if (!((bitField0_ & 0x00000008) != 0)) {
upper_ = new java.util.ArrayList(upper_);
bitField0_ |= 0x00000008;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeLiteral, cz.proto.RangeLiteral.Builder, cz.proto.RangeLiteralOrBuilder> upperBuilder_;
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public java.util.List getUpperList() {
if (upperBuilder_ == null) {
return java.util.Collections.unmodifiableList(upper_);
} else {
return upperBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public int getUpperCount() {
if (upperBuilder_ == null) {
return upper_.size();
} else {
return upperBuilder_.getCount();
}
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public cz.proto.RangeLiteral getUpper(int index) {
if (upperBuilder_ == null) {
return upper_.get(index);
} else {
return upperBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public Builder setUpper(
int index, cz.proto.RangeLiteral value) {
if (upperBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpperIsMutable();
upper_.set(index, value);
onChanged();
} else {
upperBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public Builder setUpper(
int index, cz.proto.RangeLiteral.Builder builderForValue) {
if (upperBuilder_ == null) {
ensureUpperIsMutable();
upper_.set(index, builderForValue.build());
onChanged();
} else {
upperBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public Builder addUpper(cz.proto.RangeLiteral value) {
if (upperBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpperIsMutable();
upper_.add(value);
onChanged();
} else {
upperBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public Builder addUpper(
int index, cz.proto.RangeLiteral value) {
if (upperBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureUpperIsMutable();
upper_.add(index, value);
onChanged();
} else {
upperBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public Builder addUpper(
cz.proto.RangeLiteral.Builder builderForValue) {
if (upperBuilder_ == null) {
ensureUpperIsMutable();
upper_.add(builderForValue.build());
onChanged();
} else {
upperBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public Builder addUpper(
int index, cz.proto.RangeLiteral.Builder builderForValue) {
if (upperBuilder_ == null) {
ensureUpperIsMutable();
upper_.add(index, builderForValue.build());
onChanged();
} else {
upperBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public Builder addAllUpper(
java.lang.Iterable extends cz.proto.RangeLiteral> values) {
if (upperBuilder_ == null) {
ensureUpperIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, upper_);
onChanged();
} else {
upperBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public Builder clearUpper() {
if (upperBuilder_ == null) {
upper_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000008);
onChanged();
} else {
upperBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public Builder removeUpper(int index) {
if (upperBuilder_ == null) {
ensureUpperIsMutable();
upper_.remove(index);
onChanged();
} else {
upperBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public cz.proto.RangeLiteral.Builder getUpperBuilder(
int index) {
return getUpperFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public cz.proto.RangeLiteralOrBuilder getUpperOrBuilder(
int index) {
if (upperBuilder_ == null) {
return upper_.get(index); } else {
return upperBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public java.util.List extends cz.proto.RangeLiteralOrBuilder>
getUpperOrBuilderList() {
if (upperBuilder_ != null) {
return upperBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(upper_);
}
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public cz.proto.RangeLiteral.Builder addUpperBuilder() {
return getUpperFieldBuilder().addBuilder(
cz.proto.RangeLiteral.getDefaultInstance());
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public cz.proto.RangeLiteral.Builder addUpperBuilder(
int index) {
return getUpperFieldBuilder().addBuilder(
index, cz.proto.RangeLiteral.getDefaultInstance());
}
/**
* repeated .cz.proto.RangeLiteral upper = 4;
*/
public java.util.List
getUpperBuilderList() {
return getUpperFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeLiteral, cz.proto.RangeLiteral.Builder, cz.proto.RangeLiteralOrBuilder>
getUpperFieldBuilder() {
if (upperBuilder_ == null) {
upperBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.RangeLiteral, cz.proto.RangeLiteral.Builder, cz.proto.RangeLiteralOrBuilder>(
upper_,
((bitField0_ & 0x00000008) != 0),
getParentForChildren(),
isClean());
upper_ = null;
}
return upperBuilder_;
}
@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:cz.proto.RangePartition)
}
// @@protoc_insertion_point(class_scope:cz.proto.RangePartition)
private static final cz.proto.RangePartition DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.RangePartition();
}
public static cz.proto.RangePartition getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public RangePartition parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new RangePartition(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 cz.proto.RangePartition getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy