cz.proto.FileRangesInputStats 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: operator.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.FileRangesInputStats}
*/
public final class FileRangesInputStats extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.FileRangesInputStats)
FileRangesInputStatsOrBuilder {
private static final long serialVersionUID = 0L;
// Use FileRangesInputStats.newBuilder() to construct.
private FileRangesInputStats(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FileRangesInputStats() {
fileInputStats_ = java.util.Collections.emptyList();
ppdFilter_ = com.google.protobuf.LazyStringArrayList.EMPTY;
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FileRangesInputStats();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FileRangesInputStats(
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: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
fileInputStats_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
fileInputStats_.add(
input.readMessage(cz.proto.DataInputStats.parser(), extensionRegistry));
break;
}
case 18: {
java.lang.String s = input.readStringRequireUtf8();
if (!((mutable_bitField0_ & 0x00000002) != 0)) {
ppdFilter_ = new com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000002;
}
ppdFilter_.add(s);
break;
}
case 24: {
prunedFileCount_ = input.readUInt64();
break;
}
case 32: {
prefetchedFileCount_ = input.readUInt64();
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)) {
fileInputStats_ = java.util.Collections.unmodifiableList(fileInputStats_);
}
if (((mutable_bitField0_ & 0x00000002) != 0)) {
ppdFilter_ = ppdFilter_.getUnmodifiableView();
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_FileRangesInputStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_FileRangesInputStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.FileRangesInputStats.class, cz.proto.FileRangesInputStats.Builder.class);
}
public static final int FILE_INPUT_STATS_FIELD_NUMBER = 1;
private java.util.List fileInputStats_;
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
@java.lang.Override
public java.util.List getFileInputStatsList() {
return fileInputStats_;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
@java.lang.Override
public java.util.List extends cz.proto.DataInputStatsOrBuilder>
getFileInputStatsOrBuilderList() {
return fileInputStats_;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
@java.lang.Override
public int getFileInputStatsCount() {
return fileInputStats_.size();
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
@java.lang.Override
public cz.proto.DataInputStats getFileInputStats(int index) {
return fileInputStats_.get(index);
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
@java.lang.Override
public cz.proto.DataInputStatsOrBuilder getFileInputStatsOrBuilder(
int index) {
return fileInputStats_.get(index);
}
public static final int PPD_FILTER_FIELD_NUMBER = 2;
private com.google.protobuf.LazyStringList ppdFilter_;
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @return A list containing the ppdFilter.
*/
public com.google.protobuf.ProtocolStringList
getPpdFilterList() {
return ppdFilter_;
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @return The count of ppdFilter.
*/
public int getPpdFilterCount() {
return ppdFilter_.size();
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @param index The index of the element to return.
* @return The ppdFilter at the given index.
*/
public java.lang.String getPpdFilter(int index) {
return ppdFilter_.get(index);
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @param index The index of the value to return.
* @return The bytes of the ppdFilter at the given index.
*/
public com.google.protobuf.ByteString
getPpdFilterBytes(int index) {
return ppdFilter_.getByteString(index);
}
public static final int PRUNED_FILE_COUNT_FIELD_NUMBER = 3;
private long prunedFileCount_;
/**
* uint64 pruned_file_count = 3;
* @return The prunedFileCount.
*/
@java.lang.Override
public long getPrunedFileCount() {
return prunedFileCount_;
}
public static final int PREFETCHED_FILE_COUNT_FIELD_NUMBER = 4;
private long prefetchedFileCount_;
/**
* uint64 prefetched_file_count = 4;
* @return The prefetchedFileCount.
*/
@java.lang.Override
public long getPrefetchedFileCount() {
return prefetchedFileCount_;
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < fileInputStats_.size(); i++) {
output.writeMessage(1, fileInputStats_.get(i));
}
for (int i = 0; i < ppdFilter_.size(); i++) {
com.google.protobuf.GeneratedMessageV3.writeString(output, 2, ppdFilter_.getRaw(i));
}
if (prunedFileCount_ != 0L) {
output.writeUInt64(3, prunedFileCount_);
}
if (prefetchedFileCount_ != 0L) {
output.writeUInt64(4, prefetchedFileCount_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < fileInputStats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, fileInputStats_.get(i));
}
{
int dataSize = 0;
for (int i = 0; i < ppdFilter_.size(); i++) {
dataSize += computeStringSizeNoTag(ppdFilter_.getRaw(i));
}
size += dataSize;
size += 1 * getPpdFilterList().size();
}
if (prunedFileCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, prunedFileCount_);
}
if (prefetchedFileCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, prefetchedFileCount_);
}
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.FileRangesInputStats)) {
return super.equals(obj);
}
cz.proto.FileRangesInputStats other = (cz.proto.FileRangesInputStats) obj;
if (!getFileInputStatsList()
.equals(other.getFileInputStatsList())) return false;
if (!getPpdFilterList()
.equals(other.getPpdFilterList())) return false;
if (getPrunedFileCount()
!= other.getPrunedFileCount()) return false;
if (getPrefetchedFileCount()
!= other.getPrefetchedFileCount()) 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 (getFileInputStatsCount() > 0) {
hash = (37 * hash) + FILE_INPUT_STATS_FIELD_NUMBER;
hash = (53 * hash) + getFileInputStatsList().hashCode();
}
if (getPpdFilterCount() > 0) {
hash = (37 * hash) + PPD_FILTER_FIELD_NUMBER;
hash = (53 * hash) + getPpdFilterList().hashCode();
}
hash = (37 * hash) + PRUNED_FILE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPrunedFileCount());
hash = (37 * hash) + PREFETCHED_FILE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPrefetchedFileCount());
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.FileRangesInputStats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FileRangesInputStats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.FileRangesInputStats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FileRangesInputStats 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.FileRangesInputStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FileRangesInputStats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.FileRangesInputStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.FileRangesInputStats 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.FileRangesInputStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.FileRangesInputStats 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.FileRangesInputStats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.FileRangesInputStats 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.FileRangesInputStats 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.FileRangesInputStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.FileRangesInputStats)
cz.proto.FileRangesInputStatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_FileRangesInputStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_FileRangesInputStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.FileRangesInputStats.class, cz.proto.FileRangesInputStats.Builder.class);
}
// Construct using cz.proto.FileRangesInputStats.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFileInputStatsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (fileInputStatsBuilder_ == null) {
fileInputStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
fileInputStatsBuilder_.clear();
}
ppdFilter_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
prunedFileCount_ = 0L;
prefetchedFileCount_ = 0L;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_FileRangesInputStats_descriptor;
}
@java.lang.Override
public cz.proto.FileRangesInputStats getDefaultInstanceForType() {
return cz.proto.FileRangesInputStats.getDefaultInstance();
}
@java.lang.Override
public cz.proto.FileRangesInputStats build() {
cz.proto.FileRangesInputStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.FileRangesInputStats buildPartial() {
cz.proto.FileRangesInputStats result = new cz.proto.FileRangesInputStats(this);
int from_bitField0_ = bitField0_;
if (fileInputStatsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
fileInputStats_ = java.util.Collections.unmodifiableList(fileInputStats_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.fileInputStats_ = fileInputStats_;
} else {
result.fileInputStats_ = fileInputStatsBuilder_.build();
}
if (((bitField0_ & 0x00000002) != 0)) {
ppdFilter_ = ppdFilter_.getUnmodifiableView();
bitField0_ = (bitField0_ & ~0x00000002);
}
result.ppdFilter_ = ppdFilter_;
result.prunedFileCount_ = prunedFileCount_;
result.prefetchedFileCount_ = prefetchedFileCount_;
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.FileRangesInputStats) {
return mergeFrom((cz.proto.FileRangesInputStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.FileRangesInputStats other) {
if (other == cz.proto.FileRangesInputStats.getDefaultInstance()) return this;
if (fileInputStatsBuilder_ == null) {
if (!other.fileInputStats_.isEmpty()) {
if (fileInputStats_.isEmpty()) {
fileInputStats_ = other.fileInputStats_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFileInputStatsIsMutable();
fileInputStats_.addAll(other.fileInputStats_);
}
onChanged();
}
} else {
if (!other.fileInputStats_.isEmpty()) {
if (fileInputStatsBuilder_.isEmpty()) {
fileInputStatsBuilder_.dispose();
fileInputStatsBuilder_ = null;
fileInputStats_ = other.fileInputStats_;
bitField0_ = (bitField0_ & ~0x00000001);
fileInputStatsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFileInputStatsFieldBuilder() : null;
} else {
fileInputStatsBuilder_.addAllMessages(other.fileInputStats_);
}
}
}
if (!other.ppdFilter_.isEmpty()) {
if (ppdFilter_.isEmpty()) {
ppdFilter_ = other.ppdFilter_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensurePpdFilterIsMutable();
ppdFilter_.addAll(other.ppdFilter_);
}
onChanged();
}
if (other.getPrunedFileCount() != 0L) {
setPrunedFileCount(other.getPrunedFileCount());
}
if (other.getPrefetchedFileCount() != 0L) {
setPrefetchedFileCount(other.getPrefetchedFileCount());
}
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.FileRangesInputStats parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.FileRangesInputStats) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List fileInputStats_ =
java.util.Collections.emptyList();
private void ensureFileInputStatsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
fileInputStats_ = new java.util.ArrayList(fileInputStats_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataInputStats, cz.proto.DataInputStats.Builder, cz.proto.DataInputStatsOrBuilder> fileInputStatsBuilder_;
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public java.util.List getFileInputStatsList() {
if (fileInputStatsBuilder_ == null) {
return java.util.Collections.unmodifiableList(fileInputStats_);
} else {
return fileInputStatsBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public int getFileInputStatsCount() {
if (fileInputStatsBuilder_ == null) {
return fileInputStats_.size();
} else {
return fileInputStatsBuilder_.getCount();
}
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public cz.proto.DataInputStats getFileInputStats(int index) {
if (fileInputStatsBuilder_ == null) {
return fileInputStats_.get(index);
} else {
return fileInputStatsBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public Builder setFileInputStats(
int index, cz.proto.DataInputStats value) {
if (fileInputStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileInputStatsIsMutable();
fileInputStats_.set(index, value);
onChanged();
} else {
fileInputStatsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public Builder setFileInputStats(
int index, cz.proto.DataInputStats.Builder builderForValue) {
if (fileInputStatsBuilder_ == null) {
ensureFileInputStatsIsMutable();
fileInputStats_.set(index, builderForValue.build());
onChanged();
} else {
fileInputStatsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public Builder addFileInputStats(cz.proto.DataInputStats value) {
if (fileInputStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileInputStatsIsMutable();
fileInputStats_.add(value);
onChanged();
} else {
fileInputStatsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public Builder addFileInputStats(
int index, cz.proto.DataInputStats value) {
if (fileInputStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFileInputStatsIsMutable();
fileInputStats_.add(index, value);
onChanged();
} else {
fileInputStatsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public Builder addFileInputStats(
cz.proto.DataInputStats.Builder builderForValue) {
if (fileInputStatsBuilder_ == null) {
ensureFileInputStatsIsMutable();
fileInputStats_.add(builderForValue.build());
onChanged();
} else {
fileInputStatsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public Builder addFileInputStats(
int index, cz.proto.DataInputStats.Builder builderForValue) {
if (fileInputStatsBuilder_ == null) {
ensureFileInputStatsIsMutable();
fileInputStats_.add(index, builderForValue.build());
onChanged();
} else {
fileInputStatsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public Builder addAllFileInputStats(
java.lang.Iterable extends cz.proto.DataInputStats> values) {
if (fileInputStatsBuilder_ == null) {
ensureFileInputStatsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fileInputStats_);
onChanged();
} else {
fileInputStatsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public Builder clearFileInputStats() {
if (fileInputStatsBuilder_ == null) {
fileInputStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
fileInputStatsBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public Builder removeFileInputStats(int index) {
if (fileInputStatsBuilder_ == null) {
ensureFileInputStatsIsMutable();
fileInputStats_.remove(index);
onChanged();
} else {
fileInputStatsBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public cz.proto.DataInputStats.Builder getFileInputStatsBuilder(
int index) {
return getFileInputStatsFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public cz.proto.DataInputStatsOrBuilder getFileInputStatsOrBuilder(
int index) {
if (fileInputStatsBuilder_ == null) {
return fileInputStats_.get(index); } else {
return fileInputStatsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public java.util.List extends cz.proto.DataInputStatsOrBuilder>
getFileInputStatsOrBuilderList() {
if (fileInputStatsBuilder_ != null) {
return fileInputStatsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(fileInputStats_);
}
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public cz.proto.DataInputStats.Builder addFileInputStatsBuilder() {
return getFileInputStatsFieldBuilder().addBuilder(
cz.proto.DataInputStats.getDefaultInstance());
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public cz.proto.DataInputStats.Builder addFileInputStatsBuilder(
int index) {
return getFileInputStatsFieldBuilder().addBuilder(
index, cz.proto.DataInputStats.getDefaultInstance());
}
/**
* repeated .cz.proto.DataInputStats file_input_stats = 1;
*/
public java.util.List
getFileInputStatsBuilderList() {
return getFileInputStatsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataInputStats, cz.proto.DataInputStats.Builder, cz.proto.DataInputStatsOrBuilder>
getFileInputStatsFieldBuilder() {
if (fileInputStatsBuilder_ == null) {
fileInputStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.DataInputStats, cz.proto.DataInputStats.Builder, cz.proto.DataInputStatsOrBuilder>(
fileInputStats_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
fileInputStats_ = null;
}
return fileInputStatsBuilder_;
}
private com.google.protobuf.LazyStringList ppdFilter_ = com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensurePpdFilterIsMutable() {
if (!((bitField0_ & 0x00000002) != 0)) {
ppdFilter_ = new com.google.protobuf.LazyStringArrayList(ppdFilter_);
bitField0_ |= 0x00000002;
}
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @return A list containing the ppdFilter.
*/
public com.google.protobuf.ProtocolStringList
getPpdFilterList() {
return ppdFilter_.getUnmodifiableView();
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @return The count of ppdFilter.
*/
public int getPpdFilterCount() {
return ppdFilter_.size();
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @param index The index of the element to return.
* @return The ppdFilter at the given index.
*/
public java.lang.String getPpdFilter(int index) {
return ppdFilter_.get(index);
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @param index The index of the value to return.
* @return The bytes of the ppdFilter at the given index.
*/
public com.google.protobuf.ByteString
getPpdFilterBytes(int index) {
return ppdFilter_.getByteString(index);
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @param index The index to set the value at.
* @param value The ppdFilter to set.
* @return This builder for chaining.
*/
public Builder setPpdFilter(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePpdFilterIsMutable();
ppdFilter_.set(index, value);
onChanged();
return this;
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @param value The ppdFilter to add.
* @return This builder for chaining.
*/
public Builder addPpdFilter(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensurePpdFilterIsMutable();
ppdFilter_.add(value);
onChanged();
return this;
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @param values The ppdFilter to add.
* @return This builder for chaining.
*/
public Builder addAllPpdFilter(
java.lang.Iterable values) {
ensurePpdFilterIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, ppdFilter_);
onChanged();
return this;
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @return This builder for chaining.
*/
public Builder clearPpdFilter() {
ppdFilter_ = com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
/**
*
* Trying to keep all filters in the same order as the basic
* filter and applyNewFilter
*
*
* repeated string ppd_filter = 2;
* @param value The bytes of the ppdFilter to add.
* @return This builder for chaining.
*/
public Builder addPpdFilterBytes(
com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
checkByteStringIsUtf8(value);
ensurePpdFilterIsMutable();
ppdFilter_.add(value);
onChanged();
return this;
}
private long prunedFileCount_ ;
/**
* uint64 pruned_file_count = 3;
* @return The prunedFileCount.
*/
@java.lang.Override
public long getPrunedFileCount() {
return prunedFileCount_;
}
/**
* uint64 pruned_file_count = 3;
* @param value The prunedFileCount to set.
* @return This builder for chaining.
*/
public Builder setPrunedFileCount(long value) {
prunedFileCount_ = value;
onChanged();
return this;
}
/**
* uint64 pruned_file_count = 3;
* @return This builder for chaining.
*/
public Builder clearPrunedFileCount() {
prunedFileCount_ = 0L;
onChanged();
return this;
}
private long prefetchedFileCount_ ;
/**
* uint64 prefetched_file_count = 4;
* @return The prefetchedFileCount.
*/
@java.lang.Override
public long getPrefetchedFileCount() {
return prefetchedFileCount_;
}
/**
* uint64 prefetched_file_count = 4;
* @param value The prefetchedFileCount to set.
* @return This builder for chaining.
*/
public Builder setPrefetchedFileCount(long value) {
prefetchedFileCount_ = value;
onChanged();
return this;
}
/**
* uint64 prefetched_file_count = 4;
* @return This builder for chaining.
*/
public Builder clearPrefetchedFileCount() {
prefetchedFileCount_ = 0L;
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:cz.proto.FileRangesInputStats)
}
// @@protoc_insertion_point(class_scope:cz.proto.FileRangesInputStats)
private static final cz.proto.FileRangesInputStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.FileRangesInputStats();
}
public static cz.proto.FileRangesInputStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FileRangesInputStats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FileRangesInputStats(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.FileRangesInputStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy