cz.proto.CompactionSplitFile 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.CompactionSplitFile}
*/
public final class CompactionSplitFile extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.CompactionSplitFile)
CompactionSplitFileOrBuilder {
private static final long serialVersionUID = 0L;
// Use CompactionSplitFile.newBuilder() to construct.
private CompactionSplitFile(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private CompactionSplitFile() {
path_ = "";
deltaFiles_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new CompactionSplitFile();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private CompactionSplitFile(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
java.lang.String s = input.readStringRequireUtf8();
path_ = s;
break;
}
case 16: {
offset_ = input.readInt64();
break;
}
case 24: {
size_ = input.readInt64();
break;
}
case 32: {
sliceId_ = input.readInt64();
break;
}
case 42: {
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder subBuilder = null;
if (valueInfo_ != null) {
subBuilder = valueInfo_.toBuilder();
}
valueInfo_ = input.readMessage(cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(valueInfo_);
valueInfo_ = subBuilder.buildPartial();
}
break;
}
case 50: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
deltaFiles_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
deltaFiles_.add(
input.readMessage(cz.proto.CompactionSplitFile.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
deltaFiles_ = java.util.Collections.unmodifiableList(deltaFiles_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.InputSplitProto.internal_static_cz_proto_CompactionSplitFile_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.InputSplitProto.internal_static_cz_proto_CompactionSplitFile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.CompactionSplitFile.class, cz.proto.CompactionSplitFile.Builder.class);
}
public static final int PATH_FIELD_NUMBER = 1;
private volatile java.lang.Object path_;
/**
* string path = 1;
* @return The path.
*/
@java.lang.Override
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
}
}
/**
* string path = 1;
* @return The bytes for path.
*/
@java.lang.Override
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof java.lang.String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
public static final int OFFSET_FIELD_NUMBER = 2;
private long offset_;
/**
* int64 offset = 2;
* @return The offset.
*/
@java.lang.Override
public long getOffset() {
return offset_;
}
public static final int SIZE_FIELD_NUMBER = 3;
private long size_;
/**
* int64 size = 3;
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
public static final int SLICEID_FIELD_NUMBER = 4;
private long sliceId_;
/**
* int64 sliceId = 4;
* @return The sliceId.
*/
@java.lang.Override
public long getSliceId() {
return sliceId_;
}
public static final int VALUE_INFO_FIELD_NUMBER = 5;
private cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo valueInfo_;
/**
* .cz.proto.VirtualValueInfo value_info = 5;
* @return Whether the valueInfo field is set.
*/
@java.lang.Override
public boolean hasValueInfo() {
return valueInfo_ != null;
}
/**
* .cz.proto.VirtualValueInfo value_info = 5;
* @return The valueInfo.
*/
@java.lang.Override
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo getValueInfo() {
return valueInfo_ == null ? cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.getDefaultInstance() : valueInfo_;
}
/**
* .cz.proto.VirtualValueInfo value_info = 5;
*/
@java.lang.Override
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder getValueInfoOrBuilder() {
return getValueInfo();
}
public static final int DELTA_FILES_FIELD_NUMBER = 6;
private java.util.List deltaFiles_;
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
@java.lang.Override
public java.util.List getDeltaFilesList() {
return deltaFiles_;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
@java.lang.Override
public java.util.List extends cz.proto.CompactionSplitFileOrBuilder>
getDeltaFilesOrBuilderList() {
return deltaFiles_;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
@java.lang.Override
public int getDeltaFilesCount() {
return deltaFiles_.size();
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
@java.lang.Override
public cz.proto.CompactionSplitFile getDeltaFiles(int index) {
return deltaFiles_.get(index);
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
@java.lang.Override
public cz.proto.CompactionSplitFileOrBuilder getDeltaFilesOrBuilder(
int index) {
return deltaFiles_.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 (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 1, path_);
}
if (offset_ != 0L) {
output.writeInt64(2, offset_);
}
if (size_ != 0L) {
output.writeInt64(3, size_);
}
if (sliceId_ != 0L) {
output.writeInt64(4, sliceId_);
}
if (valueInfo_ != null) {
output.writeMessage(5, getValueInfo());
}
for (int i = 0; i < deltaFiles_.size(); i++) {
output.writeMessage(6, deltaFiles_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(path_)) {
size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, path_);
}
if (offset_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, offset_);
}
if (size_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, size_);
}
if (sliceId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(4, sliceId_);
}
if (valueInfo_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getValueInfo());
}
for (int i = 0; i < deltaFiles_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, deltaFiles_.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.CompactionSplitFile)) {
return super.equals(obj);
}
cz.proto.CompactionSplitFile other = (cz.proto.CompactionSplitFile) obj;
if (!getPath()
.equals(other.getPath())) return false;
if (getOffset()
!= other.getOffset()) return false;
if (getSize()
!= other.getSize()) return false;
if (getSliceId()
!= other.getSliceId()) return false;
if (hasValueInfo() != other.hasValueInfo()) return false;
if (hasValueInfo()) {
if (!getValueInfo()
.equals(other.getValueInfo())) return false;
}
if (!getDeltaFilesList()
.equals(other.getDeltaFilesList())) return false;
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + PATH_FIELD_NUMBER;
hash = (53 * hash) + getPath().hashCode();
hash = (37 * hash) + OFFSET_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getOffset());
hash = (37 * hash) + SIZE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSize());
hash = (37 * hash) + SLICEID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSliceId());
if (hasValueInfo()) {
hash = (37 * hash) + VALUE_INFO_FIELD_NUMBER;
hash = (53 * hash) + getValueInfo().hashCode();
}
if (getDeltaFilesCount() > 0) {
hash = (37 * hash) + DELTA_FILES_FIELD_NUMBER;
hash = (53 * hash) + getDeltaFilesList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.CompactionSplitFile parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.CompactionSplitFile parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.CompactionSplitFile parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.CompactionSplitFile 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.CompactionSplitFile parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.CompactionSplitFile parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.CompactionSplitFile parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.CompactionSplitFile 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.CompactionSplitFile parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.CompactionSplitFile 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.CompactionSplitFile parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.CompactionSplitFile 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.CompactionSplitFile 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.CompactionSplitFile}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.CompactionSplitFile)
cz.proto.CompactionSplitFileOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.InputSplitProto.internal_static_cz_proto_CompactionSplitFile_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.InputSplitProto.internal_static_cz_proto_CompactionSplitFile_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.CompactionSplitFile.class, cz.proto.CompactionSplitFile.Builder.class);
}
// Construct using cz.proto.CompactionSplitFile.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getDeltaFilesFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
path_ = "";
offset_ = 0L;
size_ = 0L;
sliceId_ = 0L;
if (valueInfoBuilder_ == null) {
valueInfo_ = null;
} else {
valueInfo_ = null;
valueInfoBuilder_ = null;
}
if (deltaFilesBuilder_ == null) {
deltaFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
deltaFilesBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.InputSplitProto.internal_static_cz_proto_CompactionSplitFile_descriptor;
}
@java.lang.Override
public cz.proto.CompactionSplitFile getDefaultInstanceForType() {
return cz.proto.CompactionSplitFile.getDefaultInstance();
}
@java.lang.Override
public cz.proto.CompactionSplitFile build() {
cz.proto.CompactionSplitFile result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.CompactionSplitFile buildPartial() {
cz.proto.CompactionSplitFile result = new cz.proto.CompactionSplitFile(this);
int from_bitField0_ = bitField0_;
result.path_ = path_;
result.offset_ = offset_;
result.size_ = size_;
result.sliceId_ = sliceId_;
if (valueInfoBuilder_ == null) {
result.valueInfo_ = valueInfo_;
} else {
result.valueInfo_ = valueInfoBuilder_.build();
}
if (deltaFilesBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
deltaFiles_ = java.util.Collections.unmodifiableList(deltaFiles_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.deltaFiles_ = deltaFiles_;
} else {
result.deltaFiles_ = deltaFilesBuilder_.build();
}
onBuilt();
return result;
}
@java.lang.Override
public Builder clone() {
return super.clone();
}
@java.lang.Override
public Builder setField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.setField(field, value);
}
@java.lang.Override
public Builder clearField(
com.google.protobuf.Descriptors.FieldDescriptor field) {
return super.clearField(field);
}
@java.lang.Override
public Builder clearOneof(
com.google.protobuf.Descriptors.OneofDescriptor oneof) {
return super.clearOneof(oneof);
}
@java.lang.Override
public Builder setRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
int index, java.lang.Object value) {
return super.setRepeatedField(field, index, value);
}
@java.lang.Override
public Builder addRepeatedField(
com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) {
return super.addRepeatedField(field, value);
}
@java.lang.Override
public Builder mergeFrom(com.google.protobuf.Message other) {
if (other instanceof cz.proto.CompactionSplitFile) {
return mergeFrom((cz.proto.CompactionSplitFile)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.CompactionSplitFile other) {
if (other == cz.proto.CompactionSplitFile.getDefaultInstance()) return this;
if (!other.getPath().isEmpty()) {
path_ = other.path_;
onChanged();
}
if (other.getOffset() != 0L) {
setOffset(other.getOffset());
}
if (other.getSize() != 0L) {
setSize(other.getSize());
}
if (other.getSliceId() != 0L) {
setSliceId(other.getSliceId());
}
if (other.hasValueInfo()) {
mergeValueInfo(other.getValueInfo());
}
if (deltaFilesBuilder_ == null) {
if (!other.deltaFiles_.isEmpty()) {
if (deltaFiles_.isEmpty()) {
deltaFiles_ = other.deltaFiles_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureDeltaFilesIsMutable();
deltaFiles_.addAll(other.deltaFiles_);
}
onChanged();
}
} else {
if (!other.deltaFiles_.isEmpty()) {
if (deltaFilesBuilder_.isEmpty()) {
deltaFilesBuilder_.dispose();
deltaFilesBuilder_ = null;
deltaFiles_ = other.deltaFiles_;
bitField0_ = (bitField0_ & ~0x00000001);
deltaFilesBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getDeltaFilesFieldBuilder() : null;
} else {
deltaFilesBuilder_.addAllMessages(other.deltaFiles_);
}
}
}
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.CompactionSplitFile parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.CompactionSplitFile) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.lang.Object path_ = "";
/**
* string path = 1;
* @return The path.
*/
public java.lang.String getPath() {
java.lang.Object ref = path_;
if (!(ref instanceof java.lang.String)) {
com.google.protobuf.ByteString bs =
(com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
path_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* string path = 1;
* @return The bytes for path.
*/
public com.google.protobuf.ByteString
getPathBytes() {
java.lang.Object ref = path_;
if (ref instanceof String) {
com.google.protobuf.ByteString b =
com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
path_ = b;
return b;
} else {
return (com.google.protobuf.ByteString) ref;
}
}
/**
* string path = 1;
* @param value The path to set.
* @return This builder for chaining.
*/
public Builder setPath(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
path_ = value;
onChanged();
return this;
}
/**
* string path = 1;
* @return This builder for chaining.
*/
public Builder clearPath() {
path_ = getDefaultInstance().getPath();
onChanged();
return this;
}
/**
* string path = 1;
* @param value The bytes for path to set.
* @return This builder for chaining.
*/
public Builder setPathBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
path_ = value;
onChanged();
return this;
}
private long offset_ ;
/**
* int64 offset = 2;
* @return The offset.
*/
@java.lang.Override
public long getOffset() {
return offset_;
}
/**
* int64 offset = 2;
* @param value The offset to set.
* @return This builder for chaining.
*/
public Builder setOffset(long value) {
offset_ = value;
onChanged();
return this;
}
/**
* int64 offset = 2;
* @return This builder for chaining.
*/
public Builder clearOffset() {
offset_ = 0L;
onChanged();
return this;
}
private long size_ ;
/**
* int64 size = 3;
* @return The size.
*/
@java.lang.Override
public long getSize() {
return size_;
}
/**
* int64 size = 3;
* @param value The size to set.
* @return This builder for chaining.
*/
public Builder setSize(long value) {
size_ = value;
onChanged();
return this;
}
/**
* int64 size = 3;
* @return This builder for chaining.
*/
public Builder clearSize() {
size_ = 0L;
onChanged();
return this;
}
private long sliceId_ ;
/**
* int64 sliceId = 4;
* @return The sliceId.
*/
@java.lang.Override
public long getSliceId() {
return sliceId_;
}
/**
* int64 sliceId = 4;
* @param value The sliceId to set.
* @return This builder for chaining.
*/
public Builder setSliceId(long value) {
sliceId_ = value;
onChanged();
return this;
}
/**
* int64 sliceId = 4;
* @return This builder for chaining.
*/
public Builder clearSliceId() {
sliceId_ = 0L;
onChanged();
return this;
}
private cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo valueInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder> valueInfoBuilder_;
/**
* .cz.proto.VirtualValueInfo value_info = 5;
* @return Whether the valueInfo field is set.
*/
public boolean hasValueInfo() {
return valueInfoBuilder_ != null || valueInfo_ != null;
}
/**
* .cz.proto.VirtualValueInfo value_info = 5;
* @return The valueInfo.
*/
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo getValueInfo() {
if (valueInfoBuilder_ == null) {
return valueInfo_ == null ? cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.getDefaultInstance() : valueInfo_;
} else {
return valueInfoBuilder_.getMessage();
}
}
/**
* .cz.proto.VirtualValueInfo value_info = 5;
*/
public Builder setValueInfo(cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo value) {
if (valueInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
valueInfo_ = value;
onChanged();
} else {
valueInfoBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.VirtualValueInfo value_info = 5;
*/
public Builder setValueInfo(
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder builderForValue) {
if (valueInfoBuilder_ == null) {
valueInfo_ = builderForValue.build();
onChanged();
} else {
valueInfoBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.VirtualValueInfo value_info = 5;
*/
public Builder mergeValueInfo(cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo value) {
if (valueInfoBuilder_ == null) {
if (valueInfo_ != null) {
valueInfo_ =
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.newBuilder(valueInfo_).mergeFrom(value).buildPartial();
} else {
valueInfo_ = value;
}
onChanged();
} else {
valueInfoBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.VirtualValueInfo value_info = 5;
*/
public Builder clearValueInfo() {
if (valueInfoBuilder_ == null) {
valueInfo_ = null;
onChanged();
} else {
valueInfo_ = null;
valueInfoBuilder_ = null;
}
return this;
}
/**
* .cz.proto.VirtualValueInfo value_info = 5;
*/
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder getValueInfoBuilder() {
onChanged();
return getValueInfoFieldBuilder().getBuilder();
}
/**
* .cz.proto.VirtualValueInfo value_info = 5;
*/
public cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder getValueInfoOrBuilder() {
if (valueInfoBuilder_ != null) {
return valueInfoBuilder_.getMessageOrBuilder();
} else {
return valueInfo_ == null ?
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.getDefaultInstance() : valueInfo_;
}
}
/**
* .cz.proto.VirtualValueInfo value_info = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder>
getValueInfoFieldBuilder() {
if (valueInfoBuilder_ == null) {
valueInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfo.Builder, cz.proto.VirtualValueInfoOuterClass.VirtualValueInfoOrBuilder>(
getValueInfo(),
getParentForChildren(),
isClean());
valueInfo_ = null;
}
return valueInfoBuilder_;
}
private java.util.List deltaFiles_ =
java.util.Collections.emptyList();
private void ensureDeltaFilesIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
deltaFiles_ = new java.util.ArrayList(deltaFiles_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.CompactionSplitFile, cz.proto.CompactionSplitFile.Builder, cz.proto.CompactionSplitFileOrBuilder> deltaFilesBuilder_;
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public java.util.List getDeltaFilesList() {
if (deltaFilesBuilder_ == null) {
return java.util.Collections.unmodifiableList(deltaFiles_);
} else {
return deltaFilesBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public int getDeltaFilesCount() {
if (deltaFilesBuilder_ == null) {
return deltaFiles_.size();
} else {
return deltaFilesBuilder_.getCount();
}
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public cz.proto.CompactionSplitFile getDeltaFiles(int index) {
if (deltaFilesBuilder_ == null) {
return deltaFiles_.get(index);
} else {
return deltaFilesBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public Builder setDeltaFiles(
int index, cz.proto.CompactionSplitFile value) {
if (deltaFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeltaFilesIsMutable();
deltaFiles_.set(index, value);
onChanged();
} else {
deltaFilesBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public Builder setDeltaFiles(
int index, cz.proto.CompactionSplitFile.Builder builderForValue) {
if (deltaFilesBuilder_ == null) {
ensureDeltaFilesIsMutable();
deltaFiles_.set(index, builderForValue.build());
onChanged();
} else {
deltaFilesBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public Builder addDeltaFiles(cz.proto.CompactionSplitFile value) {
if (deltaFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeltaFilesIsMutable();
deltaFiles_.add(value);
onChanged();
} else {
deltaFilesBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public Builder addDeltaFiles(
int index, cz.proto.CompactionSplitFile value) {
if (deltaFilesBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureDeltaFilesIsMutable();
deltaFiles_.add(index, value);
onChanged();
} else {
deltaFilesBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public Builder addDeltaFiles(
cz.proto.CompactionSplitFile.Builder builderForValue) {
if (deltaFilesBuilder_ == null) {
ensureDeltaFilesIsMutable();
deltaFiles_.add(builderForValue.build());
onChanged();
} else {
deltaFilesBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public Builder addDeltaFiles(
int index, cz.proto.CompactionSplitFile.Builder builderForValue) {
if (deltaFilesBuilder_ == null) {
ensureDeltaFilesIsMutable();
deltaFiles_.add(index, builderForValue.build());
onChanged();
} else {
deltaFilesBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public Builder addAllDeltaFiles(
java.lang.Iterable extends cz.proto.CompactionSplitFile> values) {
if (deltaFilesBuilder_ == null) {
ensureDeltaFilesIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, deltaFiles_);
onChanged();
} else {
deltaFilesBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public Builder clearDeltaFiles() {
if (deltaFilesBuilder_ == null) {
deltaFiles_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
deltaFilesBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public Builder removeDeltaFiles(int index) {
if (deltaFilesBuilder_ == null) {
ensureDeltaFilesIsMutable();
deltaFiles_.remove(index);
onChanged();
} else {
deltaFilesBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public cz.proto.CompactionSplitFile.Builder getDeltaFilesBuilder(
int index) {
return getDeltaFilesFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public cz.proto.CompactionSplitFileOrBuilder getDeltaFilesOrBuilder(
int index) {
if (deltaFilesBuilder_ == null) {
return deltaFiles_.get(index); } else {
return deltaFilesBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public java.util.List extends cz.proto.CompactionSplitFileOrBuilder>
getDeltaFilesOrBuilderList() {
if (deltaFilesBuilder_ != null) {
return deltaFilesBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(deltaFiles_);
}
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public cz.proto.CompactionSplitFile.Builder addDeltaFilesBuilder() {
return getDeltaFilesFieldBuilder().addBuilder(
cz.proto.CompactionSplitFile.getDefaultInstance());
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public cz.proto.CompactionSplitFile.Builder addDeltaFilesBuilder(
int index) {
return getDeltaFilesFieldBuilder().addBuilder(
index, cz.proto.CompactionSplitFile.getDefaultInstance());
}
/**
* repeated .cz.proto.CompactionSplitFile delta_files = 6;
*/
public java.util.List
getDeltaFilesBuilderList() {
return getDeltaFilesFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.CompactionSplitFile, cz.proto.CompactionSplitFile.Builder, cz.proto.CompactionSplitFileOrBuilder>
getDeltaFilesFieldBuilder() {
if (deltaFilesBuilder_ == null) {
deltaFilesBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.CompactionSplitFile, cz.proto.CompactionSplitFile.Builder, cz.proto.CompactionSplitFileOrBuilder>(
deltaFiles_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
deltaFiles_ = null;
}
return deltaFilesBuilder_;
}
@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.CompactionSplitFile)
}
// @@protoc_insertion_point(class_scope:cz.proto.CompactionSplitFile)
private static final cz.proto.CompactionSplitFile DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.CompactionSplitFile();
}
public static cz.proto.CompactionSplitFile getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public CompactionSplitFile parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new CompactionSplitFile(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.CompactionSplitFile getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy