cz.proto.ExchangeSourceStats 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.ExchangeSourceStats}
*/
public final class ExchangeSourceStats extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.ExchangeSourceStats)
ExchangeSourceStatsOrBuilder {
private static final long serialVersionUID = 0L;
// Use ExchangeSourceStats.newBuilder() to construct.
private ExchangeSourceStats(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private ExchangeSourceStats() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new ExchangeSourceStats();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ExchangeSourceStats(
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: {
receivedByteCount_ = input.readUInt64();
break;
}
case 16: {
decompressOutputByteCount_ = input.readUInt64();
break;
}
case 26: {
cz.proto.Timing.Builder subBuilder = null;
if (deserializeTiming_ != null) {
subBuilder = deserializeTiming_.toBuilder();
}
deserializeTiming_ = input.readMessage(cz.proto.Timing.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(deserializeTiming_);
deserializeTiming_ = subBuilder.buildPartial();
}
break;
}
case 34: {
cz.proto.Timing.Builder subBuilder = null;
if (decompressTiming_ != null) {
subBuilder = decompressTiming_.toBuilder();
}
decompressTiming_ = input.readMessage(cz.proto.Timing.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(decompressTiming_);
decompressTiming_ = subBuilder.buildPartial();
}
break;
}
case 42: {
cz.proto.Timing.Builder subBuilder = null;
if (readBufferTiming_ != null) {
subBuilder = readBufferTiming_.toBuilder();
}
readBufferTiming_ = input.readMessage(cz.proto.Timing.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(readBufferTiming_);
readBufferTiming_ = subBuilder.buildPartial();
}
break;
}
case 50: {
cz.proto.Timing.Builder subBuilder = null;
if (sortTiming_ != null) {
subBuilder = sortTiming_.toBuilder();
}
sortTiming_ = input.readMessage(cz.proto.Timing.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sortTiming_);
sortTiming_ = subBuilder.buildPartial();
}
break;
}
case 58: {
cz.proto.SpillStats.Builder subBuilder = null;
if (sorterSpillStats_ != null) {
subBuilder = sorterSpillStats_.toBuilder();
}
sorterSpillStats_ = input.readMessage(cz.proto.SpillStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sorterSpillStats_);
sorterSpillStats_ = subBuilder.buildPartial();
}
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_ExchangeSourceStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_ExchangeSourceStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.ExchangeSourceStats.class, cz.proto.ExchangeSourceStats.Builder.class);
}
public static final int RECEIVED_BYTE_COUNT_FIELD_NUMBER = 1;
private long receivedByteCount_;
/**
* uint64 received_byte_count = 1;
* @return The receivedByteCount.
*/
@java.lang.Override
public long getReceivedByteCount() {
return receivedByteCount_;
}
public static final int DECOMPRESS_OUTPUT_BYTE_COUNT_FIELD_NUMBER = 2;
private long decompressOutputByteCount_;
/**
* uint64 decompress_output_byte_count = 2;
* @return The decompressOutputByteCount.
*/
@java.lang.Override
public long getDecompressOutputByteCount() {
return decompressOutputByteCount_;
}
public static final int DESERIALIZE_TIMING_FIELD_NUMBER = 3;
private cz.proto.Timing deserializeTiming_;
/**
* .cz.proto.Timing deserialize_timing = 3;
* @return Whether the deserializeTiming field is set.
*/
@java.lang.Override
public boolean hasDeserializeTiming() {
return deserializeTiming_ != null;
}
/**
* .cz.proto.Timing deserialize_timing = 3;
* @return The deserializeTiming.
*/
@java.lang.Override
public cz.proto.Timing getDeserializeTiming() {
return deserializeTiming_ == null ? cz.proto.Timing.getDefaultInstance() : deserializeTiming_;
}
/**
* .cz.proto.Timing deserialize_timing = 3;
*/
@java.lang.Override
public cz.proto.TimingOrBuilder getDeserializeTimingOrBuilder() {
return getDeserializeTiming();
}
public static final int DECOMPRESS_TIMING_FIELD_NUMBER = 4;
private cz.proto.Timing decompressTiming_;
/**
* .cz.proto.Timing decompress_timing = 4;
* @return Whether the decompressTiming field is set.
*/
@java.lang.Override
public boolean hasDecompressTiming() {
return decompressTiming_ != null;
}
/**
* .cz.proto.Timing decompress_timing = 4;
* @return The decompressTiming.
*/
@java.lang.Override
public cz.proto.Timing getDecompressTiming() {
return decompressTiming_ == null ? cz.proto.Timing.getDefaultInstance() : decompressTiming_;
}
/**
* .cz.proto.Timing decompress_timing = 4;
*/
@java.lang.Override
public cz.proto.TimingOrBuilder getDecompressTimingOrBuilder() {
return getDecompressTiming();
}
public static final int READ_BUFFER_TIMING_FIELD_NUMBER = 5;
private cz.proto.Timing readBufferTiming_;
/**
* .cz.proto.Timing read_buffer_timing = 5;
* @return Whether the readBufferTiming field is set.
*/
@java.lang.Override
public boolean hasReadBufferTiming() {
return readBufferTiming_ != null;
}
/**
* .cz.proto.Timing read_buffer_timing = 5;
* @return The readBufferTiming.
*/
@java.lang.Override
public cz.proto.Timing getReadBufferTiming() {
return readBufferTiming_ == null ? cz.proto.Timing.getDefaultInstance() : readBufferTiming_;
}
/**
* .cz.proto.Timing read_buffer_timing = 5;
*/
@java.lang.Override
public cz.proto.TimingOrBuilder getReadBufferTimingOrBuilder() {
return getReadBufferTiming();
}
public static final int SORT_TIMING_FIELD_NUMBER = 6;
private cz.proto.Timing sortTiming_;
/**
* .cz.proto.Timing sort_timing = 6;
* @return Whether the sortTiming field is set.
*/
@java.lang.Override
public boolean hasSortTiming() {
return sortTiming_ != null;
}
/**
* .cz.proto.Timing sort_timing = 6;
* @return The sortTiming.
*/
@java.lang.Override
public cz.proto.Timing getSortTiming() {
return sortTiming_ == null ? cz.proto.Timing.getDefaultInstance() : sortTiming_;
}
/**
* .cz.proto.Timing sort_timing = 6;
*/
@java.lang.Override
public cz.proto.TimingOrBuilder getSortTimingOrBuilder() {
return getSortTiming();
}
public static final int SORTER_SPILL_STATS_FIELD_NUMBER = 7;
private cz.proto.SpillStats sorterSpillStats_;
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
* @return Whether the sorterSpillStats field is set.
*/
@java.lang.Override
public boolean hasSorterSpillStats() {
return sorterSpillStats_ != null;
}
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
* @return The sorterSpillStats.
*/
@java.lang.Override
public cz.proto.SpillStats getSorterSpillStats() {
return sorterSpillStats_ == null ? cz.proto.SpillStats.getDefaultInstance() : sorterSpillStats_;
}
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
*/
@java.lang.Override
public cz.proto.SpillStatsOrBuilder getSorterSpillStatsOrBuilder() {
return getSorterSpillStats();
}
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 (receivedByteCount_ != 0L) {
output.writeUInt64(1, receivedByteCount_);
}
if (decompressOutputByteCount_ != 0L) {
output.writeUInt64(2, decompressOutputByteCount_);
}
if (deserializeTiming_ != null) {
output.writeMessage(3, getDeserializeTiming());
}
if (decompressTiming_ != null) {
output.writeMessage(4, getDecompressTiming());
}
if (readBufferTiming_ != null) {
output.writeMessage(5, getReadBufferTiming());
}
if (sortTiming_ != null) {
output.writeMessage(6, getSortTiming());
}
if (sorterSpillStats_ != null) {
output.writeMessage(7, getSorterSpillStats());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (receivedByteCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, receivedByteCount_);
}
if (decompressOutputByteCount_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, decompressOutputByteCount_);
}
if (deserializeTiming_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getDeserializeTiming());
}
if (decompressTiming_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getDecompressTiming());
}
if (readBufferTiming_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getReadBufferTiming());
}
if (sortTiming_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(6, getSortTiming());
}
if (sorterSpillStats_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getSorterSpillStats());
}
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.ExchangeSourceStats)) {
return super.equals(obj);
}
cz.proto.ExchangeSourceStats other = (cz.proto.ExchangeSourceStats) obj;
if (getReceivedByteCount()
!= other.getReceivedByteCount()) return false;
if (getDecompressOutputByteCount()
!= other.getDecompressOutputByteCount()) return false;
if (hasDeserializeTiming() != other.hasDeserializeTiming()) return false;
if (hasDeserializeTiming()) {
if (!getDeserializeTiming()
.equals(other.getDeserializeTiming())) return false;
}
if (hasDecompressTiming() != other.hasDecompressTiming()) return false;
if (hasDecompressTiming()) {
if (!getDecompressTiming()
.equals(other.getDecompressTiming())) return false;
}
if (hasReadBufferTiming() != other.hasReadBufferTiming()) return false;
if (hasReadBufferTiming()) {
if (!getReadBufferTiming()
.equals(other.getReadBufferTiming())) return false;
}
if (hasSortTiming() != other.hasSortTiming()) return false;
if (hasSortTiming()) {
if (!getSortTiming()
.equals(other.getSortTiming())) return false;
}
if (hasSorterSpillStats() != other.hasSorterSpillStats()) return false;
if (hasSorterSpillStats()) {
if (!getSorterSpillStats()
.equals(other.getSorterSpillStats())) 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) + RECEIVED_BYTE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getReceivedByteCount());
hash = (37 * hash) + DECOMPRESS_OUTPUT_BYTE_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDecompressOutputByteCount());
if (hasDeserializeTiming()) {
hash = (37 * hash) + DESERIALIZE_TIMING_FIELD_NUMBER;
hash = (53 * hash) + getDeserializeTiming().hashCode();
}
if (hasDecompressTiming()) {
hash = (37 * hash) + DECOMPRESS_TIMING_FIELD_NUMBER;
hash = (53 * hash) + getDecompressTiming().hashCode();
}
if (hasReadBufferTiming()) {
hash = (37 * hash) + READ_BUFFER_TIMING_FIELD_NUMBER;
hash = (53 * hash) + getReadBufferTiming().hashCode();
}
if (hasSortTiming()) {
hash = (37 * hash) + SORT_TIMING_FIELD_NUMBER;
hash = (53 * hash) + getSortTiming().hashCode();
}
if (hasSorterSpillStats()) {
hash = (37 * hash) + SORTER_SPILL_STATS_FIELD_NUMBER;
hash = (53 * hash) + getSorterSpillStats().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.ExchangeSourceStats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.ExchangeSourceStats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.ExchangeSourceStats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.ExchangeSourceStats 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.ExchangeSourceStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.ExchangeSourceStats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.ExchangeSourceStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.ExchangeSourceStats 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.ExchangeSourceStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.ExchangeSourceStats 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.ExchangeSourceStats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.ExchangeSourceStats 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.ExchangeSourceStats 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.ExchangeSourceStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.ExchangeSourceStats)
cz.proto.ExchangeSourceStatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_ExchangeSourceStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_ExchangeSourceStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.ExchangeSourceStats.class, cz.proto.ExchangeSourceStats.Builder.class);
}
// Construct using cz.proto.ExchangeSourceStats.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();
receivedByteCount_ = 0L;
decompressOutputByteCount_ = 0L;
if (deserializeTimingBuilder_ == null) {
deserializeTiming_ = null;
} else {
deserializeTiming_ = null;
deserializeTimingBuilder_ = null;
}
if (decompressTimingBuilder_ == null) {
decompressTiming_ = null;
} else {
decompressTiming_ = null;
decompressTimingBuilder_ = null;
}
if (readBufferTimingBuilder_ == null) {
readBufferTiming_ = null;
} else {
readBufferTiming_ = null;
readBufferTimingBuilder_ = null;
}
if (sortTimingBuilder_ == null) {
sortTiming_ = null;
} else {
sortTiming_ = null;
sortTimingBuilder_ = null;
}
if (sorterSpillStatsBuilder_ == null) {
sorterSpillStats_ = null;
} else {
sorterSpillStats_ = null;
sorterSpillStatsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_ExchangeSourceStats_descriptor;
}
@java.lang.Override
public cz.proto.ExchangeSourceStats getDefaultInstanceForType() {
return cz.proto.ExchangeSourceStats.getDefaultInstance();
}
@java.lang.Override
public cz.proto.ExchangeSourceStats build() {
cz.proto.ExchangeSourceStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.ExchangeSourceStats buildPartial() {
cz.proto.ExchangeSourceStats result = new cz.proto.ExchangeSourceStats(this);
result.receivedByteCount_ = receivedByteCount_;
result.decompressOutputByteCount_ = decompressOutputByteCount_;
if (deserializeTimingBuilder_ == null) {
result.deserializeTiming_ = deserializeTiming_;
} else {
result.deserializeTiming_ = deserializeTimingBuilder_.build();
}
if (decompressTimingBuilder_ == null) {
result.decompressTiming_ = decompressTiming_;
} else {
result.decompressTiming_ = decompressTimingBuilder_.build();
}
if (readBufferTimingBuilder_ == null) {
result.readBufferTiming_ = readBufferTiming_;
} else {
result.readBufferTiming_ = readBufferTimingBuilder_.build();
}
if (sortTimingBuilder_ == null) {
result.sortTiming_ = sortTiming_;
} else {
result.sortTiming_ = sortTimingBuilder_.build();
}
if (sorterSpillStatsBuilder_ == null) {
result.sorterSpillStats_ = sorterSpillStats_;
} else {
result.sorterSpillStats_ = sorterSpillStatsBuilder_.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.ExchangeSourceStats) {
return mergeFrom((cz.proto.ExchangeSourceStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.ExchangeSourceStats other) {
if (other == cz.proto.ExchangeSourceStats.getDefaultInstance()) return this;
if (other.getReceivedByteCount() != 0L) {
setReceivedByteCount(other.getReceivedByteCount());
}
if (other.getDecompressOutputByteCount() != 0L) {
setDecompressOutputByteCount(other.getDecompressOutputByteCount());
}
if (other.hasDeserializeTiming()) {
mergeDeserializeTiming(other.getDeserializeTiming());
}
if (other.hasDecompressTiming()) {
mergeDecompressTiming(other.getDecompressTiming());
}
if (other.hasReadBufferTiming()) {
mergeReadBufferTiming(other.getReadBufferTiming());
}
if (other.hasSortTiming()) {
mergeSortTiming(other.getSortTiming());
}
if (other.hasSorterSpillStats()) {
mergeSorterSpillStats(other.getSorterSpillStats());
}
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.ExchangeSourceStats parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.ExchangeSourceStats) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private long receivedByteCount_ ;
/**
* uint64 received_byte_count = 1;
* @return The receivedByteCount.
*/
@java.lang.Override
public long getReceivedByteCount() {
return receivedByteCount_;
}
/**
* uint64 received_byte_count = 1;
* @param value The receivedByteCount to set.
* @return This builder for chaining.
*/
public Builder setReceivedByteCount(long value) {
receivedByteCount_ = value;
onChanged();
return this;
}
/**
* uint64 received_byte_count = 1;
* @return This builder for chaining.
*/
public Builder clearReceivedByteCount() {
receivedByteCount_ = 0L;
onChanged();
return this;
}
private long decompressOutputByteCount_ ;
/**
* uint64 decompress_output_byte_count = 2;
* @return The decompressOutputByteCount.
*/
@java.lang.Override
public long getDecompressOutputByteCount() {
return decompressOutputByteCount_;
}
/**
* uint64 decompress_output_byte_count = 2;
* @param value The decompressOutputByteCount to set.
* @return This builder for chaining.
*/
public Builder setDecompressOutputByteCount(long value) {
decompressOutputByteCount_ = value;
onChanged();
return this;
}
/**
* uint64 decompress_output_byte_count = 2;
* @return This builder for chaining.
*/
public Builder clearDecompressOutputByteCount() {
decompressOutputByteCount_ = 0L;
onChanged();
return this;
}
private cz.proto.Timing deserializeTiming_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder> deserializeTimingBuilder_;
/**
* .cz.proto.Timing deserialize_timing = 3;
* @return Whether the deserializeTiming field is set.
*/
public boolean hasDeserializeTiming() {
return deserializeTimingBuilder_ != null || deserializeTiming_ != null;
}
/**
* .cz.proto.Timing deserialize_timing = 3;
* @return The deserializeTiming.
*/
public cz.proto.Timing getDeserializeTiming() {
if (deserializeTimingBuilder_ == null) {
return deserializeTiming_ == null ? cz.proto.Timing.getDefaultInstance() : deserializeTiming_;
} else {
return deserializeTimingBuilder_.getMessage();
}
}
/**
* .cz.proto.Timing deserialize_timing = 3;
*/
public Builder setDeserializeTiming(cz.proto.Timing value) {
if (deserializeTimingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
deserializeTiming_ = value;
onChanged();
} else {
deserializeTimingBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.Timing deserialize_timing = 3;
*/
public Builder setDeserializeTiming(
cz.proto.Timing.Builder builderForValue) {
if (deserializeTimingBuilder_ == null) {
deserializeTiming_ = builderForValue.build();
onChanged();
} else {
deserializeTimingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.Timing deserialize_timing = 3;
*/
public Builder mergeDeserializeTiming(cz.proto.Timing value) {
if (deserializeTimingBuilder_ == null) {
if (deserializeTiming_ != null) {
deserializeTiming_ =
cz.proto.Timing.newBuilder(deserializeTiming_).mergeFrom(value).buildPartial();
} else {
deserializeTiming_ = value;
}
onChanged();
} else {
deserializeTimingBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.Timing deserialize_timing = 3;
*/
public Builder clearDeserializeTiming() {
if (deserializeTimingBuilder_ == null) {
deserializeTiming_ = null;
onChanged();
} else {
deserializeTiming_ = null;
deserializeTimingBuilder_ = null;
}
return this;
}
/**
* .cz.proto.Timing deserialize_timing = 3;
*/
public cz.proto.Timing.Builder getDeserializeTimingBuilder() {
onChanged();
return getDeserializeTimingFieldBuilder().getBuilder();
}
/**
* .cz.proto.Timing deserialize_timing = 3;
*/
public cz.proto.TimingOrBuilder getDeserializeTimingOrBuilder() {
if (deserializeTimingBuilder_ != null) {
return deserializeTimingBuilder_.getMessageOrBuilder();
} else {
return deserializeTiming_ == null ?
cz.proto.Timing.getDefaultInstance() : deserializeTiming_;
}
}
/**
* .cz.proto.Timing deserialize_timing = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>
getDeserializeTimingFieldBuilder() {
if (deserializeTimingBuilder_ == null) {
deserializeTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>(
getDeserializeTiming(),
getParentForChildren(),
isClean());
deserializeTiming_ = null;
}
return deserializeTimingBuilder_;
}
private cz.proto.Timing decompressTiming_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder> decompressTimingBuilder_;
/**
* .cz.proto.Timing decompress_timing = 4;
* @return Whether the decompressTiming field is set.
*/
public boolean hasDecompressTiming() {
return decompressTimingBuilder_ != null || decompressTiming_ != null;
}
/**
* .cz.proto.Timing decompress_timing = 4;
* @return The decompressTiming.
*/
public cz.proto.Timing getDecompressTiming() {
if (decompressTimingBuilder_ == null) {
return decompressTiming_ == null ? cz.proto.Timing.getDefaultInstance() : decompressTiming_;
} else {
return decompressTimingBuilder_.getMessage();
}
}
/**
* .cz.proto.Timing decompress_timing = 4;
*/
public Builder setDecompressTiming(cz.proto.Timing value) {
if (decompressTimingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
decompressTiming_ = value;
onChanged();
} else {
decompressTimingBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.Timing decompress_timing = 4;
*/
public Builder setDecompressTiming(
cz.proto.Timing.Builder builderForValue) {
if (decompressTimingBuilder_ == null) {
decompressTiming_ = builderForValue.build();
onChanged();
} else {
decompressTimingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.Timing decompress_timing = 4;
*/
public Builder mergeDecompressTiming(cz.proto.Timing value) {
if (decompressTimingBuilder_ == null) {
if (decompressTiming_ != null) {
decompressTiming_ =
cz.proto.Timing.newBuilder(decompressTiming_).mergeFrom(value).buildPartial();
} else {
decompressTiming_ = value;
}
onChanged();
} else {
decompressTimingBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.Timing decompress_timing = 4;
*/
public Builder clearDecompressTiming() {
if (decompressTimingBuilder_ == null) {
decompressTiming_ = null;
onChanged();
} else {
decompressTiming_ = null;
decompressTimingBuilder_ = null;
}
return this;
}
/**
* .cz.proto.Timing decompress_timing = 4;
*/
public cz.proto.Timing.Builder getDecompressTimingBuilder() {
onChanged();
return getDecompressTimingFieldBuilder().getBuilder();
}
/**
* .cz.proto.Timing decompress_timing = 4;
*/
public cz.proto.TimingOrBuilder getDecompressTimingOrBuilder() {
if (decompressTimingBuilder_ != null) {
return decompressTimingBuilder_.getMessageOrBuilder();
} else {
return decompressTiming_ == null ?
cz.proto.Timing.getDefaultInstance() : decompressTiming_;
}
}
/**
* .cz.proto.Timing decompress_timing = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>
getDecompressTimingFieldBuilder() {
if (decompressTimingBuilder_ == null) {
decompressTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>(
getDecompressTiming(),
getParentForChildren(),
isClean());
decompressTiming_ = null;
}
return decompressTimingBuilder_;
}
private cz.proto.Timing readBufferTiming_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder> readBufferTimingBuilder_;
/**
* .cz.proto.Timing read_buffer_timing = 5;
* @return Whether the readBufferTiming field is set.
*/
public boolean hasReadBufferTiming() {
return readBufferTimingBuilder_ != null || readBufferTiming_ != null;
}
/**
* .cz.proto.Timing read_buffer_timing = 5;
* @return The readBufferTiming.
*/
public cz.proto.Timing getReadBufferTiming() {
if (readBufferTimingBuilder_ == null) {
return readBufferTiming_ == null ? cz.proto.Timing.getDefaultInstance() : readBufferTiming_;
} else {
return readBufferTimingBuilder_.getMessage();
}
}
/**
* .cz.proto.Timing read_buffer_timing = 5;
*/
public Builder setReadBufferTiming(cz.proto.Timing value) {
if (readBufferTimingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
readBufferTiming_ = value;
onChanged();
} else {
readBufferTimingBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.Timing read_buffer_timing = 5;
*/
public Builder setReadBufferTiming(
cz.proto.Timing.Builder builderForValue) {
if (readBufferTimingBuilder_ == null) {
readBufferTiming_ = builderForValue.build();
onChanged();
} else {
readBufferTimingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.Timing read_buffer_timing = 5;
*/
public Builder mergeReadBufferTiming(cz.proto.Timing value) {
if (readBufferTimingBuilder_ == null) {
if (readBufferTiming_ != null) {
readBufferTiming_ =
cz.proto.Timing.newBuilder(readBufferTiming_).mergeFrom(value).buildPartial();
} else {
readBufferTiming_ = value;
}
onChanged();
} else {
readBufferTimingBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.Timing read_buffer_timing = 5;
*/
public Builder clearReadBufferTiming() {
if (readBufferTimingBuilder_ == null) {
readBufferTiming_ = null;
onChanged();
} else {
readBufferTiming_ = null;
readBufferTimingBuilder_ = null;
}
return this;
}
/**
* .cz.proto.Timing read_buffer_timing = 5;
*/
public cz.proto.Timing.Builder getReadBufferTimingBuilder() {
onChanged();
return getReadBufferTimingFieldBuilder().getBuilder();
}
/**
* .cz.proto.Timing read_buffer_timing = 5;
*/
public cz.proto.TimingOrBuilder getReadBufferTimingOrBuilder() {
if (readBufferTimingBuilder_ != null) {
return readBufferTimingBuilder_.getMessageOrBuilder();
} else {
return readBufferTiming_ == null ?
cz.proto.Timing.getDefaultInstance() : readBufferTiming_;
}
}
/**
* .cz.proto.Timing read_buffer_timing = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>
getReadBufferTimingFieldBuilder() {
if (readBufferTimingBuilder_ == null) {
readBufferTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>(
getReadBufferTiming(),
getParentForChildren(),
isClean());
readBufferTiming_ = null;
}
return readBufferTimingBuilder_;
}
private cz.proto.Timing sortTiming_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder> sortTimingBuilder_;
/**
* .cz.proto.Timing sort_timing = 6;
* @return Whether the sortTiming field is set.
*/
public boolean hasSortTiming() {
return sortTimingBuilder_ != null || sortTiming_ != null;
}
/**
* .cz.proto.Timing sort_timing = 6;
* @return The sortTiming.
*/
public cz.proto.Timing getSortTiming() {
if (sortTimingBuilder_ == null) {
return sortTiming_ == null ? cz.proto.Timing.getDefaultInstance() : sortTiming_;
} else {
return sortTimingBuilder_.getMessage();
}
}
/**
* .cz.proto.Timing sort_timing = 6;
*/
public Builder setSortTiming(cz.proto.Timing value) {
if (sortTimingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sortTiming_ = value;
onChanged();
} else {
sortTimingBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.Timing sort_timing = 6;
*/
public Builder setSortTiming(
cz.proto.Timing.Builder builderForValue) {
if (sortTimingBuilder_ == null) {
sortTiming_ = builderForValue.build();
onChanged();
} else {
sortTimingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.Timing sort_timing = 6;
*/
public Builder mergeSortTiming(cz.proto.Timing value) {
if (sortTimingBuilder_ == null) {
if (sortTiming_ != null) {
sortTiming_ =
cz.proto.Timing.newBuilder(sortTiming_).mergeFrom(value).buildPartial();
} else {
sortTiming_ = value;
}
onChanged();
} else {
sortTimingBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.Timing sort_timing = 6;
*/
public Builder clearSortTiming() {
if (sortTimingBuilder_ == null) {
sortTiming_ = null;
onChanged();
} else {
sortTiming_ = null;
sortTimingBuilder_ = null;
}
return this;
}
/**
* .cz.proto.Timing sort_timing = 6;
*/
public cz.proto.Timing.Builder getSortTimingBuilder() {
onChanged();
return getSortTimingFieldBuilder().getBuilder();
}
/**
* .cz.proto.Timing sort_timing = 6;
*/
public cz.proto.TimingOrBuilder getSortTimingOrBuilder() {
if (sortTimingBuilder_ != null) {
return sortTimingBuilder_.getMessageOrBuilder();
} else {
return sortTiming_ == null ?
cz.proto.Timing.getDefaultInstance() : sortTiming_;
}
}
/**
* .cz.proto.Timing sort_timing = 6;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>
getSortTimingFieldBuilder() {
if (sortTimingBuilder_ == null) {
sortTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>(
getSortTiming(),
getParentForChildren(),
isClean());
sortTiming_ = null;
}
return sortTimingBuilder_;
}
private cz.proto.SpillStats sorterSpillStats_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SpillStats, cz.proto.SpillStats.Builder, cz.proto.SpillStatsOrBuilder> sorterSpillStatsBuilder_;
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
* @return Whether the sorterSpillStats field is set.
*/
public boolean hasSorterSpillStats() {
return sorterSpillStatsBuilder_ != null || sorterSpillStats_ != null;
}
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
* @return The sorterSpillStats.
*/
public cz.proto.SpillStats getSorterSpillStats() {
if (sorterSpillStatsBuilder_ == null) {
return sorterSpillStats_ == null ? cz.proto.SpillStats.getDefaultInstance() : sorterSpillStats_;
} else {
return sorterSpillStatsBuilder_.getMessage();
}
}
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
*/
public Builder setSorterSpillStats(cz.proto.SpillStats value) {
if (sorterSpillStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sorterSpillStats_ = value;
onChanged();
} else {
sorterSpillStatsBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
*/
public Builder setSorterSpillStats(
cz.proto.SpillStats.Builder builderForValue) {
if (sorterSpillStatsBuilder_ == null) {
sorterSpillStats_ = builderForValue.build();
onChanged();
} else {
sorterSpillStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
*/
public Builder mergeSorterSpillStats(cz.proto.SpillStats value) {
if (sorterSpillStatsBuilder_ == null) {
if (sorterSpillStats_ != null) {
sorterSpillStats_ =
cz.proto.SpillStats.newBuilder(sorterSpillStats_).mergeFrom(value).buildPartial();
} else {
sorterSpillStats_ = value;
}
onChanged();
} else {
sorterSpillStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
*/
public Builder clearSorterSpillStats() {
if (sorterSpillStatsBuilder_ == null) {
sorterSpillStats_ = null;
onChanged();
} else {
sorterSpillStats_ = null;
sorterSpillStatsBuilder_ = null;
}
return this;
}
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
*/
public cz.proto.SpillStats.Builder getSorterSpillStatsBuilder() {
onChanged();
return getSorterSpillStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
*/
public cz.proto.SpillStatsOrBuilder getSorterSpillStatsOrBuilder() {
if (sorterSpillStatsBuilder_ != null) {
return sorterSpillStatsBuilder_.getMessageOrBuilder();
} else {
return sorterSpillStats_ == null ?
cz.proto.SpillStats.getDefaultInstance() : sorterSpillStats_;
}
}
/**
* .cz.proto.SpillStats sorter_spill_stats = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SpillStats, cz.proto.SpillStats.Builder, cz.proto.SpillStatsOrBuilder>
getSorterSpillStatsFieldBuilder() {
if (sorterSpillStatsBuilder_ == null) {
sorterSpillStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SpillStats, cz.proto.SpillStats.Builder, cz.proto.SpillStatsOrBuilder>(
getSorterSpillStats(),
getParentForChildren(),
isClean());
sorterSpillStats_ = null;
}
return sorterSpillStatsBuilder_;
}
@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.ExchangeSourceStats)
}
// @@protoc_insertion_point(class_scope:cz.proto.ExchangeSourceStats)
private static final cz.proto.ExchangeSourceStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.ExchangeSourceStats();
}
public static cz.proto.ExchangeSourceStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public ExchangeSourceStats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new ExchangeSourceStats(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.ExchangeSourceStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy