cz.proto.DataInputStats 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.DataInputStats}
*/
public final class DataInputStats extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.DataInputStats)
DataInputStatsOrBuilder {
private static final long serialVersionUID = 0L;
// Use DataInputStats.newBuilder() to construct.
private DataInputStats(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private DataInputStats() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new DataInputStats();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DataInputStats(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
rawInputByteCount_ = input.readUInt64();
break;
}
case 16: {
rowCount_ = input.readUInt64();
break;
}
case 26: {
cz.proto.FileRangesInputStats.Builder subBuilder = null;
if (inputStatsCase_ == 3) {
subBuilder = ((cz.proto.FileRangesInputStats) inputStats_).toBuilder();
}
inputStats_ =
input.readMessage(cz.proto.FileRangesInputStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.FileRangesInputStats) inputStats_);
inputStats_ = subBuilder.buildPartial();
}
inputStatsCase_ = 3;
break;
}
case 34: {
cz.proto.FileInputStats.Builder subBuilder = null;
if (inputStatsCase_ == 4) {
subBuilder = ((cz.proto.FileInputStats) inputStats_).toBuilder();
}
inputStats_ =
input.readMessage(cz.proto.FileInputStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom((cz.proto.FileInputStats) inputStats_);
inputStats_ = subBuilder.buildPartial();
}
inputStatsCase_ = 4;
break;
}
case 40: {
timeElapsedUs_ = 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 {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_DataInputStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_DataInputStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.DataInputStats.class, cz.proto.DataInputStats.Builder.class);
}
private int inputStatsCase_ = 0;
private java.lang.Object inputStats_;
public enum InputStatsCase
implements com.google.protobuf.Internal.EnumLite,
com.google.protobuf.AbstractMessage.InternalOneOfEnum {
FILE_INPUT_STATS(3),
FILE_FORMAT_STATS(4),
INPUTSTATS_NOT_SET(0);
private final int value;
private InputStatsCase(int value) {
this.value = value;
}
/**
* @param value The number of the enum to look for.
* @return The enum associated with the given number.
* @deprecated Use {@link #forNumber(int)} instead.
*/
@java.lang.Deprecated
public static InputStatsCase valueOf(int value) {
return forNumber(value);
}
public static InputStatsCase forNumber(int value) {
switch (value) {
case 3: return FILE_INPUT_STATS;
case 4: return FILE_FORMAT_STATS;
case 0: return INPUTSTATS_NOT_SET;
default: return null;
}
}
public int getNumber() {
return this.value;
}
};
public InputStatsCase
getInputStatsCase() {
return InputStatsCase.forNumber(
inputStatsCase_);
}
public static final int RAW_INPUT_BYTE_COUNT_FIELD_NUMBER = 1;
private long rawInputByteCount_;
/**
* uint64 raw_input_byte_count = 1;
* @return The rawInputByteCount.
*/
@java.lang.Override
public long getRawInputByteCount() {
return rawInputByteCount_;
}
public static final int ROW_COUNT_FIELD_NUMBER = 2;
private long rowCount_;
/**
* uint64 row_count = 2;
* @return The rowCount.
*/
@java.lang.Override
public long getRowCount() {
return rowCount_;
}
public static final int FILE_INPUT_STATS_FIELD_NUMBER = 3;
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
* @return Whether the fileInputStats field is set.
*/
@java.lang.Override
public boolean hasFileInputStats() {
return inputStatsCase_ == 3;
}
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
* @return The fileInputStats.
*/
@java.lang.Override
public cz.proto.FileRangesInputStats getFileInputStats() {
if (inputStatsCase_ == 3) {
return (cz.proto.FileRangesInputStats) inputStats_;
}
return cz.proto.FileRangesInputStats.getDefaultInstance();
}
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
*/
@java.lang.Override
public cz.proto.FileRangesInputStatsOrBuilder getFileInputStatsOrBuilder() {
if (inputStatsCase_ == 3) {
return (cz.proto.FileRangesInputStats) inputStats_;
}
return cz.proto.FileRangesInputStats.getDefaultInstance();
}
public static final int FILE_FORMAT_STATS_FIELD_NUMBER = 4;
/**
* .cz.proto.FileInputStats file_format_stats = 4;
* @return Whether the fileFormatStats field is set.
*/
@java.lang.Override
public boolean hasFileFormatStats() {
return inputStatsCase_ == 4;
}
/**
* .cz.proto.FileInputStats file_format_stats = 4;
* @return The fileFormatStats.
*/
@java.lang.Override
public cz.proto.FileInputStats getFileFormatStats() {
if (inputStatsCase_ == 4) {
return (cz.proto.FileInputStats) inputStats_;
}
return cz.proto.FileInputStats.getDefaultInstance();
}
/**
* .cz.proto.FileInputStats file_format_stats = 4;
*/
@java.lang.Override
public cz.proto.FileInputStatsOrBuilder getFileFormatStatsOrBuilder() {
if (inputStatsCase_ == 4) {
return (cz.proto.FileInputStats) inputStats_;
}
return cz.proto.FileInputStats.getDefaultInstance();
}
public static final int TIME_ELAPSED_US_FIELD_NUMBER = 5;
private long timeElapsedUs_;
/**
*
* including decoding/decompression/io...
*
*
* uint64 time_elapsed_us = 5;
* @return The timeElapsedUs.
*/
@java.lang.Override
public long getTimeElapsedUs() {
return timeElapsedUs_;
}
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 (rawInputByteCount_ != 0L) {
output.writeUInt64(1, rawInputByteCount_);
}
if (rowCount_ != 0L) {
output.writeUInt64(2, rowCount_);
}
if (inputStatsCase_ == 3) {
output.writeMessage(3, (cz.proto.FileRangesInputStats) inputStats_);
}
if (inputStatsCase_ == 4) {
output.writeMessage(4, (cz.proto.FileInputStats) inputStats_);
}
if (timeElapsedUs_ != 0L) {
output.writeUInt64(5, timeElapsedUs_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (rawInputByteCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, rawInputByteCount_);
}
if (rowCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, rowCount_);
}
if (inputStatsCase_ == 3) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, (cz.proto.FileRangesInputStats) inputStats_);
}
if (inputStatsCase_ == 4) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, (cz.proto.FileInputStats) inputStats_);
}
if (timeElapsedUs_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, timeElapsedUs_);
}
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.DataInputStats)) {
return super.equals(obj);
}
cz.proto.DataInputStats other = (cz.proto.DataInputStats) obj;
if (getRawInputByteCount()
!= other.getRawInputByteCount()) return false;
if (getRowCount()
!= other.getRowCount()) return false;
if (getTimeElapsedUs()
!= other.getTimeElapsedUs()) return false;
if (!getInputStatsCase().equals(other.getInputStatsCase())) return false;
switch (inputStatsCase_) {
case 3:
if (!getFileInputStats()
.equals(other.getFileInputStats())) return false;
break;
case 4:
if (!getFileFormatStats()
.equals(other.getFileFormatStats())) return false;
break;
case 0:
default:
}
if (!unknownFields.equals(other.unknownFields)) return false;
return true;
}
@java.lang.Override
public int hashCode() {
if (memoizedHashCode != 0) {
return memoizedHashCode;
}
int hash = 41;
hash = (19 * hash) + getDescriptor().hashCode();
hash = (37 * hash) + RAW_INPUT_BYTE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRawInputByteCount());
hash = (37 * hash) + ROW_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRowCount());
hash = (37 * hash) + TIME_ELAPSED_US_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getTimeElapsedUs());
switch (inputStatsCase_) {
case 3:
hash = (37 * hash) + FILE_INPUT_STATS_FIELD_NUMBER;
hash = (53 * hash) + getFileInputStats().hashCode();
break;
case 4:
hash = (37 * hash) + FILE_FORMAT_STATS_FIELD_NUMBER;
hash = (53 * hash) + getFileFormatStats().hashCode();
break;
case 0:
default:
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.DataInputStats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DataInputStats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.DataInputStats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DataInputStats 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.DataInputStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.DataInputStats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.DataInputStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.DataInputStats 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.DataInputStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.DataInputStats 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.DataInputStats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.DataInputStats 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.DataInputStats 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.DataInputStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.DataInputStats)
cz.proto.DataInputStatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_DataInputStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_DataInputStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.DataInputStats.class, cz.proto.DataInputStats.Builder.class);
}
// Construct using cz.proto.DataInputStats.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
}
}
@java.lang.Override
public Builder clear() {
super.clear();
rawInputByteCount_ = 0L;
rowCount_ = 0L;
timeElapsedUs_ = 0L;
inputStatsCase_ = 0;
inputStats_ = null;
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_DataInputStats_descriptor;
}
@java.lang.Override
public cz.proto.DataInputStats getDefaultInstanceForType() {
return cz.proto.DataInputStats.getDefaultInstance();
}
@java.lang.Override
public cz.proto.DataInputStats build() {
cz.proto.DataInputStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.DataInputStats buildPartial() {
cz.proto.DataInputStats result = new cz.proto.DataInputStats(this);
result.rawInputByteCount_ = rawInputByteCount_;
result.rowCount_ = rowCount_;
if (inputStatsCase_ == 3) {
if (fileInputStatsBuilder_ == null) {
result.inputStats_ = inputStats_;
} else {
result.inputStats_ = fileInputStatsBuilder_.build();
}
}
if (inputStatsCase_ == 4) {
if (fileFormatStatsBuilder_ == null) {
result.inputStats_ = inputStats_;
} else {
result.inputStats_ = fileFormatStatsBuilder_.build();
}
}
result.timeElapsedUs_ = timeElapsedUs_;
result.inputStatsCase_ = inputStatsCase_;
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.DataInputStats) {
return mergeFrom((cz.proto.DataInputStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.DataInputStats other) {
if (other == cz.proto.DataInputStats.getDefaultInstance()) return this;
if (other.getRawInputByteCount() != 0L) {
setRawInputByteCount(other.getRawInputByteCount());
}
if (other.getRowCount() != 0L) {
setRowCount(other.getRowCount());
}
if (other.getTimeElapsedUs() != 0L) {
setTimeElapsedUs(other.getTimeElapsedUs());
}
switch (other.getInputStatsCase()) {
case FILE_INPUT_STATS: {
mergeFileInputStats(other.getFileInputStats());
break;
}
case FILE_FORMAT_STATS: {
mergeFileFormatStats(other.getFileFormatStats());
break;
}
case INPUTSTATS_NOT_SET: {
break;
}
}
this.mergeUnknownFields(other.unknownFields);
onChanged();
return this;
}
@java.lang.Override
public final boolean isInitialized() {
return true;
}
@java.lang.Override
public Builder mergeFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
cz.proto.DataInputStats parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.DataInputStats) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int inputStatsCase_ = 0;
private java.lang.Object inputStats_;
public InputStatsCase
getInputStatsCase() {
return InputStatsCase.forNumber(
inputStatsCase_);
}
public Builder clearInputStats() {
inputStatsCase_ = 0;
inputStats_ = null;
onChanged();
return this;
}
private long rawInputByteCount_ ;
/**
* uint64 raw_input_byte_count = 1;
* @return The rawInputByteCount.
*/
@java.lang.Override
public long getRawInputByteCount() {
return rawInputByteCount_;
}
/**
* uint64 raw_input_byte_count = 1;
* @param value The rawInputByteCount to set.
* @return This builder for chaining.
*/
public Builder setRawInputByteCount(long value) {
rawInputByteCount_ = value;
onChanged();
return this;
}
/**
* uint64 raw_input_byte_count = 1;
* @return This builder for chaining.
*/
public Builder clearRawInputByteCount() {
rawInputByteCount_ = 0L;
onChanged();
return this;
}
private long rowCount_ ;
/**
* uint64 row_count = 2;
* @return The rowCount.
*/
@java.lang.Override
public long getRowCount() {
return rowCount_;
}
/**
* uint64 row_count = 2;
* @param value The rowCount to set.
* @return This builder for chaining.
*/
public Builder setRowCount(long value) {
rowCount_ = value;
onChanged();
return this;
}
/**
* uint64 row_count = 2;
* @return This builder for chaining.
*/
public Builder clearRowCount() {
rowCount_ = 0L;
onChanged();
return this;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileRangesInputStats, cz.proto.FileRangesInputStats.Builder, cz.proto.FileRangesInputStatsOrBuilder> fileInputStatsBuilder_;
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
* @return Whether the fileInputStats field is set.
*/
@java.lang.Override
public boolean hasFileInputStats() {
return inputStatsCase_ == 3;
}
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
* @return The fileInputStats.
*/
@java.lang.Override
public cz.proto.FileRangesInputStats getFileInputStats() {
if (fileInputStatsBuilder_ == null) {
if (inputStatsCase_ == 3) {
return (cz.proto.FileRangesInputStats) inputStats_;
}
return cz.proto.FileRangesInputStats.getDefaultInstance();
} else {
if (inputStatsCase_ == 3) {
return fileInputStatsBuilder_.getMessage();
}
return cz.proto.FileRangesInputStats.getDefaultInstance();
}
}
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
*/
public Builder setFileInputStats(cz.proto.FileRangesInputStats value) {
if (fileInputStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputStats_ = value;
onChanged();
} else {
fileInputStatsBuilder_.setMessage(value);
}
inputStatsCase_ = 3;
return this;
}
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
*/
public Builder setFileInputStats(
cz.proto.FileRangesInputStats.Builder builderForValue) {
if (fileInputStatsBuilder_ == null) {
inputStats_ = builderForValue.build();
onChanged();
} else {
fileInputStatsBuilder_.setMessage(builderForValue.build());
}
inputStatsCase_ = 3;
return this;
}
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
*/
public Builder mergeFileInputStats(cz.proto.FileRangesInputStats value) {
if (fileInputStatsBuilder_ == null) {
if (inputStatsCase_ == 3 &&
inputStats_ != cz.proto.FileRangesInputStats.getDefaultInstance()) {
inputStats_ = cz.proto.FileRangesInputStats.newBuilder((cz.proto.FileRangesInputStats) inputStats_)
.mergeFrom(value).buildPartial();
} else {
inputStats_ = value;
}
onChanged();
} else {
if (inputStatsCase_ == 3) {
fileInputStatsBuilder_.mergeFrom(value);
}
fileInputStatsBuilder_.setMessage(value);
}
inputStatsCase_ = 3;
return this;
}
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
*/
public Builder clearFileInputStats() {
if (fileInputStatsBuilder_ == null) {
if (inputStatsCase_ == 3) {
inputStatsCase_ = 0;
inputStats_ = null;
onChanged();
}
} else {
if (inputStatsCase_ == 3) {
inputStatsCase_ = 0;
inputStats_ = null;
}
fileInputStatsBuilder_.clear();
}
return this;
}
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
*/
public cz.proto.FileRangesInputStats.Builder getFileInputStatsBuilder() {
return getFileInputStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
*/
@java.lang.Override
public cz.proto.FileRangesInputStatsOrBuilder getFileInputStatsOrBuilder() {
if ((inputStatsCase_ == 3) && (fileInputStatsBuilder_ != null)) {
return fileInputStatsBuilder_.getMessageOrBuilder();
} else {
if (inputStatsCase_ == 3) {
return (cz.proto.FileRangesInputStats) inputStats_;
}
return cz.proto.FileRangesInputStats.getDefaultInstance();
}
}
/**
* .cz.proto.FileRangesInputStats file_input_stats = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileRangesInputStats, cz.proto.FileRangesInputStats.Builder, cz.proto.FileRangesInputStatsOrBuilder>
getFileInputStatsFieldBuilder() {
if (fileInputStatsBuilder_ == null) {
if (!(inputStatsCase_ == 3)) {
inputStats_ = cz.proto.FileRangesInputStats.getDefaultInstance();
}
fileInputStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileRangesInputStats, cz.proto.FileRangesInputStats.Builder, cz.proto.FileRangesInputStatsOrBuilder>(
(cz.proto.FileRangesInputStats) inputStats_,
getParentForChildren(),
isClean());
inputStats_ = null;
}
inputStatsCase_ = 3;
onChanged();;
return fileInputStatsBuilder_;
}
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileInputStats, cz.proto.FileInputStats.Builder, cz.proto.FileInputStatsOrBuilder> fileFormatStatsBuilder_;
/**
* .cz.proto.FileInputStats file_format_stats = 4;
* @return Whether the fileFormatStats field is set.
*/
@java.lang.Override
public boolean hasFileFormatStats() {
return inputStatsCase_ == 4;
}
/**
* .cz.proto.FileInputStats file_format_stats = 4;
* @return The fileFormatStats.
*/
@java.lang.Override
public cz.proto.FileInputStats getFileFormatStats() {
if (fileFormatStatsBuilder_ == null) {
if (inputStatsCase_ == 4) {
return (cz.proto.FileInputStats) inputStats_;
}
return cz.proto.FileInputStats.getDefaultInstance();
} else {
if (inputStatsCase_ == 4) {
return fileFormatStatsBuilder_.getMessage();
}
return cz.proto.FileInputStats.getDefaultInstance();
}
}
/**
* .cz.proto.FileInputStats file_format_stats = 4;
*/
public Builder setFileFormatStats(cz.proto.FileInputStats value) {
if (fileFormatStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputStats_ = value;
onChanged();
} else {
fileFormatStatsBuilder_.setMessage(value);
}
inputStatsCase_ = 4;
return this;
}
/**
* .cz.proto.FileInputStats file_format_stats = 4;
*/
public Builder setFileFormatStats(
cz.proto.FileInputStats.Builder builderForValue) {
if (fileFormatStatsBuilder_ == null) {
inputStats_ = builderForValue.build();
onChanged();
} else {
fileFormatStatsBuilder_.setMessage(builderForValue.build());
}
inputStatsCase_ = 4;
return this;
}
/**
* .cz.proto.FileInputStats file_format_stats = 4;
*/
public Builder mergeFileFormatStats(cz.proto.FileInputStats value) {
if (fileFormatStatsBuilder_ == null) {
if (inputStatsCase_ == 4 &&
inputStats_ != cz.proto.FileInputStats.getDefaultInstance()) {
inputStats_ = cz.proto.FileInputStats.newBuilder((cz.proto.FileInputStats) inputStats_)
.mergeFrom(value).buildPartial();
} else {
inputStats_ = value;
}
onChanged();
} else {
if (inputStatsCase_ == 4) {
fileFormatStatsBuilder_.mergeFrom(value);
}
fileFormatStatsBuilder_.setMessage(value);
}
inputStatsCase_ = 4;
return this;
}
/**
* .cz.proto.FileInputStats file_format_stats = 4;
*/
public Builder clearFileFormatStats() {
if (fileFormatStatsBuilder_ == null) {
if (inputStatsCase_ == 4) {
inputStatsCase_ = 0;
inputStats_ = null;
onChanged();
}
} else {
if (inputStatsCase_ == 4) {
inputStatsCase_ = 0;
inputStats_ = null;
}
fileFormatStatsBuilder_.clear();
}
return this;
}
/**
* .cz.proto.FileInputStats file_format_stats = 4;
*/
public cz.proto.FileInputStats.Builder getFileFormatStatsBuilder() {
return getFileFormatStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.FileInputStats file_format_stats = 4;
*/
@java.lang.Override
public cz.proto.FileInputStatsOrBuilder getFileFormatStatsOrBuilder() {
if ((inputStatsCase_ == 4) && (fileFormatStatsBuilder_ != null)) {
return fileFormatStatsBuilder_.getMessageOrBuilder();
} else {
if (inputStatsCase_ == 4) {
return (cz.proto.FileInputStats) inputStats_;
}
return cz.proto.FileInputStats.getDefaultInstance();
}
}
/**
* .cz.proto.FileInputStats file_format_stats = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileInputStats, cz.proto.FileInputStats.Builder, cz.proto.FileInputStatsOrBuilder>
getFileFormatStatsFieldBuilder() {
if (fileFormatStatsBuilder_ == null) {
if (!(inputStatsCase_ == 4)) {
inputStats_ = cz.proto.FileInputStats.getDefaultInstance();
}
fileFormatStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FileInputStats, cz.proto.FileInputStats.Builder, cz.proto.FileInputStatsOrBuilder>(
(cz.proto.FileInputStats) inputStats_,
getParentForChildren(),
isClean());
inputStats_ = null;
}
inputStatsCase_ = 4;
onChanged();;
return fileFormatStatsBuilder_;
}
private long timeElapsedUs_ ;
/**
*
* including decoding/decompression/io...
*
*
* uint64 time_elapsed_us = 5;
* @return The timeElapsedUs.
*/
@java.lang.Override
public long getTimeElapsedUs() {
return timeElapsedUs_;
}
/**
*
* including decoding/decompression/io...
*
*
* uint64 time_elapsed_us = 5;
* @param value The timeElapsedUs to set.
* @return This builder for chaining.
*/
public Builder setTimeElapsedUs(long value) {
timeElapsedUs_ = value;
onChanged();
return this;
}
/**
*
* including decoding/decompression/io...
*
*
* uint64 time_elapsed_us = 5;
* @return This builder for chaining.
*/
public Builder clearTimeElapsedUs() {
timeElapsedUs_ = 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.DataInputStats)
}
// @@protoc_insertion_point(class_scope:cz.proto.DataInputStats)
private static final cz.proto.DataInputStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.DataInputStats();
}
public static cz.proto.DataInputStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public DataInputStats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new DataInputStats(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.DataInputStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy