cz.proto.HashAggregateStats 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.HashAggregateStats}
*/
public final class HashAggregateStats extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.HashAggregateStats)
HashAggregateStatsOrBuilder {
private static final long serialVersionUID = 0L;
// Use HashAggregateStats.newBuilder() to construct.
private HashAggregateStats(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private HashAggregateStats() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new HashAggregateStats();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private HashAggregateStats(
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 10: {
cz.proto.Timing.Builder subBuilder = null;
if (assignStatesTiming_ != null) {
subBuilder = assignStatesTiming_.toBuilder();
}
assignStatesTiming_ = input.readMessage(cz.proto.Timing.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(assignStatesTiming_);
assignStatesTiming_ = subBuilder.buildPartial();
}
break;
}
case 18: {
cz.proto.Timing.Builder subBuilder = null;
if (updateStatesTiming_ != null) {
subBuilder = updateStatesTiming_.toBuilder();
}
updateStatesTiming_ = input.readMessage(cz.proto.Timing.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(updateStatesTiming_);
updateStatesTiming_ = subBuilder.buildPartial();
}
break;
}
case 26: {
cz.proto.Timing.Builder subBuilder = null;
if (outputTiming_ != null) {
subBuilder = outputTiming_.toBuilder();
}
outputTiming_ = input.readMessage(cz.proto.Timing.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(outputTiming_);
outputTiming_ = subBuilder.buildPartial();
}
break;
}
case 34: {
cz.proto.HashTableStats.Builder subBuilder = null;
if (htStats_ != null) {
subBuilder = htStats_.toBuilder();
}
htStats_ = input.readMessage(cz.proto.HashTableStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(htStats_);
htStats_ = subBuilder.buildPartial();
}
break;
}
case 40: {
statesUsedMemory_ = input.readUInt64();
break;
}
case 48: {
passThroughRows_ = input.readUInt64();
break;
}
case 58: {
cz.proto.SpillStats.Builder subBuilder = null;
if (inputSpillStats_ != null) {
subBuilder = inputSpillStats_.toBuilder();
}
inputSpillStats_ = input.readMessage(cz.proto.SpillStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inputSpillStats_);
inputSpillStats_ = subBuilder.buildPartial();
}
break;
}
case 66: {
cz.proto.SpillStats.Builder subBuilder = null;
if (aggregatedSpillStats_ != null) {
subBuilder = aggregatedSpillStats_.toBuilder();
}
aggregatedSpillStats_ = input.readMessage(cz.proto.SpillStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(aggregatedSpillStats_);
aggregatedSpillStats_ = 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_HashAggregateStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_HashAggregateStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.HashAggregateStats.class, cz.proto.HashAggregateStats.Builder.class);
}
public static final int ASSIGN_STATES_TIMING_FIELD_NUMBER = 1;
private cz.proto.Timing assignStatesTiming_;
/**
* .cz.proto.Timing assign_states_timing = 1;
* @return Whether the assignStatesTiming field is set.
*/
@java.lang.Override
public boolean hasAssignStatesTiming() {
return assignStatesTiming_ != null;
}
/**
* .cz.proto.Timing assign_states_timing = 1;
* @return The assignStatesTiming.
*/
@java.lang.Override
public cz.proto.Timing getAssignStatesTiming() {
return assignStatesTiming_ == null ? cz.proto.Timing.getDefaultInstance() : assignStatesTiming_;
}
/**
* .cz.proto.Timing assign_states_timing = 1;
*/
@java.lang.Override
public cz.proto.TimingOrBuilder getAssignStatesTimingOrBuilder() {
return getAssignStatesTiming();
}
public static final int UPDATE_STATES_TIMING_FIELD_NUMBER = 2;
private cz.proto.Timing updateStatesTiming_;
/**
* .cz.proto.Timing update_states_timing = 2;
* @return Whether the updateStatesTiming field is set.
*/
@java.lang.Override
public boolean hasUpdateStatesTiming() {
return updateStatesTiming_ != null;
}
/**
* .cz.proto.Timing update_states_timing = 2;
* @return The updateStatesTiming.
*/
@java.lang.Override
public cz.proto.Timing getUpdateStatesTiming() {
return updateStatesTiming_ == null ? cz.proto.Timing.getDefaultInstance() : updateStatesTiming_;
}
/**
* .cz.proto.Timing update_states_timing = 2;
*/
@java.lang.Override
public cz.proto.TimingOrBuilder getUpdateStatesTimingOrBuilder() {
return getUpdateStatesTiming();
}
public static final int OUTPUT_TIMING_FIELD_NUMBER = 3;
private cz.proto.Timing outputTiming_;
/**
* .cz.proto.Timing output_timing = 3;
* @return Whether the outputTiming field is set.
*/
@java.lang.Override
public boolean hasOutputTiming() {
return outputTiming_ != null;
}
/**
* .cz.proto.Timing output_timing = 3;
* @return The outputTiming.
*/
@java.lang.Override
public cz.proto.Timing getOutputTiming() {
return outputTiming_ == null ? cz.proto.Timing.getDefaultInstance() : outputTiming_;
}
/**
* .cz.proto.Timing output_timing = 3;
*/
@java.lang.Override
public cz.proto.TimingOrBuilder getOutputTimingOrBuilder() {
return getOutputTiming();
}
public static final int HT_STATS_FIELD_NUMBER = 4;
private cz.proto.HashTableStats htStats_;
/**
* .cz.proto.HashTableStats ht_stats = 4;
* @return Whether the htStats field is set.
*/
@java.lang.Override
public boolean hasHtStats() {
return htStats_ != null;
}
/**
* .cz.proto.HashTableStats ht_stats = 4;
* @return The htStats.
*/
@java.lang.Override
public cz.proto.HashTableStats getHtStats() {
return htStats_ == null ? cz.proto.HashTableStats.getDefaultInstance() : htStats_;
}
/**
* .cz.proto.HashTableStats ht_stats = 4;
*/
@java.lang.Override
public cz.proto.HashTableStatsOrBuilder getHtStatsOrBuilder() {
return getHtStats();
}
public static final int STATES_USED_MEMORY_FIELD_NUMBER = 5;
private long statesUsedMemory_;
/**
* uint64 states_used_memory = 5;
* @return The statesUsedMemory.
*/
@java.lang.Override
public long getStatesUsedMemory() {
return statesUsedMemory_;
}
public static final int PASS_THROUGH_ROWS_FIELD_NUMBER = 6;
private long passThroughRows_;
/**
* uint64 pass_through_rows = 6;
* @return The passThroughRows.
*/
@java.lang.Override
public long getPassThroughRows() {
return passThroughRows_;
}
public static final int INPUT_SPILL_STATS_FIELD_NUMBER = 7;
private cz.proto.SpillStats inputSpillStats_;
/**
* .cz.proto.SpillStats input_spill_stats = 7;
* @return Whether the inputSpillStats field is set.
*/
@java.lang.Override
public boolean hasInputSpillStats() {
return inputSpillStats_ != null;
}
/**
* .cz.proto.SpillStats input_spill_stats = 7;
* @return The inputSpillStats.
*/
@java.lang.Override
public cz.proto.SpillStats getInputSpillStats() {
return inputSpillStats_ == null ? cz.proto.SpillStats.getDefaultInstance() : inputSpillStats_;
}
/**
* .cz.proto.SpillStats input_spill_stats = 7;
*/
@java.lang.Override
public cz.proto.SpillStatsOrBuilder getInputSpillStatsOrBuilder() {
return getInputSpillStats();
}
public static final int AGGREGATED_SPILL_STATS_FIELD_NUMBER = 8;
private cz.proto.SpillStats aggregatedSpillStats_;
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
* @return Whether the aggregatedSpillStats field is set.
*/
@java.lang.Override
public boolean hasAggregatedSpillStats() {
return aggregatedSpillStats_ != null;
}
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
* @return The aggregatedSpillStats.
*/
@java.lang.Override
public cz.proto.SpillStats getAggregatedSpillStats() {
return aggregatedSpillStats_ == null ? cz.proto.SpillStats.getDefaultInstance() : aggregatedSpillStats_;
}
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
*/
@java.lang.Override
public cz.proto.SpillStatsOrBuilder getAggregatedSpillStatsOrBuilder() {
return getAggregatedSpillStats();
}
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 (assignStatesTiming_ != null) {
output.writeMessage(1, getAssignStatesTiming());
}
if (updateStatesTiming_ != null) {
output.writeMessage(2, getUpdateStatesTiming());
}
if (outputTiming_ != null) {
output.writeMessage(3, getOutputTiming());
}
if (htStats_ != null) {
output.writeMessage(4, getHtStats());
}
if (statesUsedMemory_ != 0L) {
output.writeUInt64(5, statesUsedMemory_);
}
if (passThroughRows_ != 0L) {
output.writeUInt64(6, passThroughRows_);
}
if (inputSpillStats_ != null) {
output.writeMessage(7, getInputSpillStats());
}
if (aggregatedSpillStats_ != null) {
output.writeMessage(8, getAggregatedSpillStats());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (assignStatesTiming_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getAssignStatesTiming());
}
if (updateStatesTiming_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getUpdateStatesTiming());
}
if (outputTiming_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(3, getOutputTiming());
}
if (htStats_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(4, getHtStats());
}
if (statesUsedMemory_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, statesUsedMemory_);
}
if (passThroughRows_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeUInt64Size(6, passThroughRows_);
}
if (inputSpillStats_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(7, getInputSpillStats());
}
if (aggregatedSpillStats_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(8, getAggregatedSpillStats());
}
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.HashAggregateStats)) {
return super.equals(obj);
}
cz.proto.HashAggregateStats other = (cz.proto.HashAggregateStats) obj;
if (hasAssignStatesTiming() != other.hasAssignStatesTiming()) return false;
if (hasAssignStatesTiming()) {
if (!getAssignStatesTiming()
.equals(other.getAssignStatesTiming())) return false;
}
if (hasUpdateStatesTiming() != other.hasUpdateStatesTiming()) return false;
if (hasUpdateStatesTiming()) {
if (!getUpdateStatesTiming()
.equals(other.getUpdateStatesTiming())) return false;
}
if (hasOutputTiming() != other.hasOutputTiming()) return false;
if (hasOutputTiming()) {
if (!getOutputTiming()
.equals(other.getOutputTiming())) return false;
}
if (hasHtStats() != other.hasHtStats()) return false;
if (hasHtStats()) {
if (!getHtStats()
.equals(other.getHtStats())) return false;
}
if (getStatesUsedMemory()
!= other.getStatesUsedMemory()) return false;
if (getPassThroughRows()
!= other.getPassThroughRows()) return false;
if (hasInputSpillStats() != other.hasInputSpillStats()) return false;
if (hasInputSpillStats()) {
if (!getInputSpillStats()
.equals(other.getInputSpillStats())) return false;
}
if (hasAggregatedSpillStats() != other.hasAggregatedSpillStats()) return false;
if (hasAggregatedSpillStats()) {
if (!getAggregatedSpillStats()
.equals(other.getAggregatedSpillStats())) 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 (hasAssignStatesTiming()) {
hash = (37 * hash) + ASSIGN_STATES_TIMING_FIELD_NUMBER;
hash = (53 * hash) + getAssignStatesTiming().hashCode();
}
if (hasUpdateStatesTiming()) {
hash = (37 * hash) + UPDATE_STATES_TIMING_FIELD_NUMBER;
hash = (53 * hash) + getUpdateStatesTiming().hashCode();
}
if (hasOutputTiming()) {
hash = (37 * hash) + OUTPUT_TIMING_FIELD_NUMBER;
hash = (53 * hash) + getOutputTiming().hashCode();
}
if (hasHtStats()) {
hash = (37 * hash) + HT_STATS_FIELD_NUMBER;
hash = (53 * hash) + getHtStats().hashCode();
}
hash = (37 * hash) + STATES_USED_MEMORY_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getStatesUsedMemory());
hash = (37 * hash) + PASS_THROUGH_ROWS_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getPassThroughRows());
if (hasInputSpillStats()) {
hash = (37 * hash) + INPUT_SPILL_STATS_FIELD_NUMBER;
hash = (53 * hash) + getInputSpillStats().hashCode();
}
if (hasAggregatedSpillStats()) {
hash = (37 * hash) + AGGREGATED_SPILL_STATS_FIELD_NUMBER;
hash = (53 * hash) + getAggregatedSpillStats().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.HashAggregateStats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.HashAggregateStats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.HashAggregateStats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.HashAggregateStats 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.HashAggregateStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.HashAggregateStats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.HashAggregateStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.HashAggregateStats 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.HashAggregateStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.HashAggregateStats 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.HashAggregateStats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.HashAggregateStats 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.HashAggregateStats 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.HashAggregateStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.HashAggregateStats)
cz.proto.HashAggregateStatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_HashAggregateStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_HashAggregateStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.HashAggregateStats.class, cz.proto.HashAggregateStats.Builder.class);
}
// Construct using cz.proto.HashAggregateStats.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();
if (assignStatesTimingBuilder_ == null) {
assignStatesTiming_ = null;
} else {
assignStatesTiming_ = null;
assignStatesTimingBuilder_ = null;
}
if (updateStatesTimingBuilder_ == null) {
updateStatesTiming_ = null;
} else {
updateStatesTiming_ = null;
updateStatesTimingBuilder_ = null;
}
if (outputTimingBuilder_ == null) {
outputTiming_ = null;
} else {
outputTiming_ = null;
outputTimingBuilder_ = null;
}
if (htStatsBuilder_ == null) {
htStats_ = null;
} else {
htStats_ = null;
htStatsBuilder_ = null;
}
statesUsedMemory_ = 0L;
passThroughRows_ = 0L;
if (inputSpillStatsBuilder_ == null) {
inputSpillStats_ = null;
} else {
inputSpillStats_ = null;
inputSpillStatsBuilder_ = null;
}
if (aggregatedSpillStatsBuilder_ == null) {
aggregatedSpillStats_ = null;
} else {
aggregatedSpillStats_ = null;
aggregatedSpillStatsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_HashAggregateStats_descriptor;
}
@java.lang.Override
public cz.proto.HashAggregateStats getDefaultInstanceForType() {
return cz.proto.HashAggregateStats.getDefaultInstance();
}
@java.lang.Override
public cz.proto.HashAggregateStats build() {
cz.proto.HashAggregateStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.HashAggregateStats buildPartial() {
cz.proto.HashAggregateStats result = new cz.proto.HashAggregateStats(this);
if (assignStatesTimingBuilder_ == null) {
result.assignStatesTiming_ = assignStatesTiming_;
} else {
result.assignStatesTiming_ = assignStatesTimingBuilder_.build();
}
if (updateStatesTimingBuilder_ == null) {
result.updateStatesTiming_ = updateStatesTiming_;
} else {
result.updateStatesTiming_ = updateStatesTimingBuilder_.build();
}
if (outputTimingBuilder_ == null) {
result.outputTiming_ = outputTiming_;
} else {
result.outputTiming_ = outputTimingBuilder_.build();
}
if (htStatsBuilder_ == null) {
result.htStats_ = htStats_;
} else {
result.htStats_ = htStatsBuilder_.build();
}
result.statesUsedMemory_ = statesUsedMemory_;
result.passThroughRows_ = passThroughRows_;
if (inputSpillStatsBuilder_ == null) {
result.inputSpillStats_ = inputSpillStats_;
} else {
result.inputSpillStats_ = inputSpillStatsBuilder_.build();
}
if (aggregatedSpillStatsBuilder_ == null) {
result.aggregatedSpillStats_ = aggregatedSpillStats_;
} else {
result.aggregatedSpillStats_ = aggregatedSpillStatsBuilder_.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.HashAggregateStats) {
return mergeFrom((cz.proto.HashAggregateStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.HashAggregateStats other) {
if (other == cz.proto.HashAggregateStats.getDefaultInstance()) return this;
if (other.hasAssignStatesTiming()) {
mergeAssignStatesTiming(other.getAssignStatesTiming());
}
if (other.hasUpdateStatesTiming()) {
mergeUpdateStatesTiming(other.getUpdateStatesTiming());
}
if (other.hasOutputTiming()) {
mergeOutputTiming(other.getOutputTiming());
}
if (other.hasHtStats()) {
mergeHtStats(other.getHtStats());
}
if (other.getStatesUsedMemory() != 0L) {
setStatesUsedMemory(other.getStatesUsedMemory());
}
if (other.getPassThroughRows() != 0L) {
setPassThroughRows(other.getPassThroughRows());
}
if (other.hasInputSpillStats()) {
mergeInputSpillStats(other.getInputSpillStats());
}
if (other.hasAggregatedSpillStats()) {
mergeAggregatedSpillStats(other.getAggregatedSpillStats());
}
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.HashAggregateStats parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.HashAggregateStats) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cz.proto.Timing assignStatesTiming_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder> assignStatesTimingBuilder_;
/**
* .cz.proto.Timing assign_states_timing = 1;
* @return Whether the assignStatesTiming field is set.
*/
public boolean hasAssignStatesTiming() {
return assignStatesTimingBuilder_ != null || assignStatesTiming_ != null;
}
/**
* .cz.proto.Timing assign_states_timing = 1;
* @return The assignStatesTiming.
*/
public cz.proto.Timing getAssignStatesTiming() {
if (assignStatesTimingBuilder_ == null) {
return assignStatesTiming_ == null ? cz.proto.Timing.getDefaultInstance() : assignStatesTiming_;
} else {
return assignStatesTimingBuilder_.getMessage();
}
}
/**
* .cz.proto.Timing assign_states_timing = 1;
*/
public Builder setAssignStatesTiming(cz.proto.Timing value) {
if (assignStatesTimingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
assignStatesTiming_ = value;
onChanged();
} else {
assignStatesTimingBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.Timing assign_states_timing = 1;
*/
public Builder setAssignStatesTiming(
cz.proto.Timing.Builder builderForValue) {
if (assignStatesTimingBuilder_ == null) {
assignStatesTiming_ = builderForValue.build();
onChanged();
} else {
assignStatesTimingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.Timing assign_states_timing = 1;
*/
public Builder mergeAssignStatesTiming(cz.proto.Timing value) {
if (assignStatesTimingBuilder_ == null) {
if (assignStatesTiming_ != null) {
assignStatesTiming_ =
cz.proto.Timing.newBuilder(assignStatesTiming_).mergeFrom(value).buildPartial();
} else {
assignStatesTiming_ = value;
}
onChanged();
} else {
assignStatesTimingBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.Timing assign_states_timing = 1;
*/
public Builder clearAssignStatesTiming() {
if (assignStatesTimingBuilder_ == null) {
assignStatesTiming_ = null;
onChanged();
} else {
assignStatesTiming_ = null;
assignStatesTimingBuilder_ = null;
}
return this;
}
/**
* .cz.proto.Timing assign_states_timing = 1;
*/
public cz.proto.Timing.Builder getAssignStatesTimingBuilder() {
onChanged();
return getAssignStatesTimingFieldBuilder().getBuilder();
}
/**
* .cz.proto.Timing assign_states_timing = 1;
*/
public cz.proto.TimingOrBuilder getAssignStatesTimingOrBuilder() {
if (assignStatesTimingBuilder_ != null) {
return assignStatesTimingBuilder_.getMessageOrBuilder();
} else {
return assignStatesTiming_ == null ?
cz.proto.Timing.getDefaultInstance() : assignStatesTiming_;
}
}
/**
* .cz.proto.Timing assign_states_timing = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>
getAssignStatesTimingFieldBuilder() {
if (assignStatesTimingBuilder_ == null) {
assignStatesTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>(
getAssignStatesTiming(),
getParentForChildren(),
isClean());
assignStatesTiming_ = null;
}
return assignStatesTimingBuilder_;
}
private cz.proto.Timing updateStatesTiming_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder> updateStatesTimingBuilder_;
/**
* .cz.proto.Timing update_states_timing = 2;
* @return Whether the updateStatesTiming field is set.
*/
public boolean hasUpdateStatesTiming() {
return updateStatesTimingBuilder_ != null || updateStatesTiming_ != null;
}
/**
* .cz.proto.Timing update_states_timing = 2;
* @return The updateStatesTiming.
*/
public cz.proto.Timing getUpdateStatesTiming() {
if (updateStatesTimingBuilder_ == null) {
return updateStatesTiming_ == null ? cz.proto.Timing.getDefaultInstance() : updateStatesTiming_;
} else {
return updateStatesTimingBuilder_.getMessage();
}
}
/**
* .cz.proto.Timing update_states_timing = 2;
*/
public Builder setUpdateStatesTiming(cz.proto.Timing value) {
if (updateStatesTimingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
updateStatesTiming_ = value;
onChanged();
} else {
updateStatesTimingBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.Timing update_states_timing = 2;
*/
public Builder setUpdateStatesTiming(
cz.proto.Timing.Builder builderForValue) {
if (updateStatesTimingBuilder_ == null) {
updateStatesTiming_ = builderForValue.build();
onChanged();
} else {
updateStatesTimingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.Timing update_states_timing = 2;
*/
public Builder mergeUpdateStatesTiming(cz.proto.Timing value) {
if (updateStatesTimingBuilder_ == null) {
if (updateStatesTiming_ != null) {
updateStatesTiming_ =
cz.proto.Timing.newBuilder(updateStatesTiming_).mergeFrom(value).buildPartial();
} else {
updateStatesTiming_ = value;
}
onChanged();
} else {
updateStatesTimingBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.Timing update_states_timing = 2;
*/
public Builder clearUpdateStatesTiming() {
if (updateStatesTimingBuilder_ == null) {
updateStatesTiming_ = null;
onChanged();
} else {
updateStatesTiming_ = null;
updateStatesTimingBuilder_ = null;
}
return this;
}
/**
* .cz.proto.Timing update_states_timing = 2;
*/
public cz.proto.Timing.Builder getUpdateStatesTimingBuilder() {
onChanged();
return getUpdateStatesTimingFieldBuilder().getBuilder();
}
/**
* .cz.proto.Timing update_states_timing = 2;
*/
public cz.proto.TimingOrBuilder getUpdateStatesTimingOrBuilder() {
if (updateStatesTimingBuilder_ != null) {
return updateStatesTimingBuilder_.getMessageOrBuilder();
} else {
return updateStatesTiming_ == null ?
cz.proto.Timing.getDefaultInstance() : updateStatesTiming_;
}
}
/**
* .cz.proto.Timing update_states_timing = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>
getUpdateStatesTimingFieldBuilder() {
if (updateStatesTimingBuilder_ == null) {
updateStatesTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>(
getUpdateStatesTiming(),
getParentForChildren(),
isClean());
updateStatesTiming_ = null;
}
return updateStatesTimingBuilder_;
}
private cz.proto.Timing outputTiming_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder> outputTimingBuilder_;
/**
* .cz.proto.Timing output_timing = 3;
* @return Whether the outputTiming field is set.
*/
public boolean hasOutputTiming() {
return outputTimingBuilder_ != null || outputTiming_ != null;
}
/**
* .cz.proto.Timing output_timing = 3;
* @return The outputTiming.
*/
public cz.proto.Timing getOutputTiming() {
if (outputTimingBuilder_ == null) {
return outputTiming_ == null ? cz.proto.Timing.getDefaultInstance() : outputTiming_;
} else {
return outputTimingBuilder_.getMessage();
}
}
/**
* .cz.proto.Timing output_timing = 3;
*/
public Builder setOutputTiming(cz.proto.Timing value) {
if (outputTimingBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
outputTiming_ = value;
onChanged();
} else {
outputTimingBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.Timing output_timing = 3;
*/
public Builder setOutputTiming(
cz.proto.Timing.Builder builderForValue) {
if (outputTimingBuilder_ == null) {
outputTiming_ = builderForValue.build();
onChanged();
} else {
outputTimingBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.Timing output_timing = 3;
*/
public Builder mergeOutputTiming(cz.proto.Timing value) {
if (outputTimingBuilder_ == null) {
if (outputTiming_ != null) {
outputTiming_ =
cz.proto.Timing.newBuilder(outputTiming_).mergeFrom(value).buildPartial();
} else {
outputTiming_ = value;
}
onChanged();
} else {
outputTimingBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.Timing output_timing = 3;
*/
public Builder clearOutputTiming() {
if (outputTimingBuilder_ == null) {
outputTiming_ = null;
onChanged();
} else {
outputTiming_ = null;
outputTimingBuilder_ = null;
}
return this;
}
/**
* .cz.proto.Timing output_timing = 3;
*/
public cz.proto.Timing.Builder getOutputTimingBuilder() {
onChanged();
return getOutputTimingFieldBuilder().getBuilder();
}
/**
* .cz.proto.Timing output_timing = 3;
*/
public cz.proto.TimingOrBuilder getOutputTimingOrBuilder() {
if (outputTimingBuilder_ != null) {
return outputTimingBuilder_.getMessageOrBuilder();
} else {
return outputTiming_ == null ?
cz.proto.Timing.getDefaultInstance() : outputTiming_;
}
}
/**
* .cz.proto.Timing output_timing = 3;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>
getOutputTimingFieldBuilder() {
if (outputTimingBuilder_ == null) {
outputTimingBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.Timing, cz.proto.Timing.Builder, cz.proto.TimingOrBuilder>(
getOutputTiming(),
getParentForChildren(),
isClean());
outputTiming_ = null;
}
return outputTimingBuilder_;
}
private cz.proto.HashTableStats htStats_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.HashTableStats, cz.proto.HashTableStats.Builder, cz.proto.HashTableStatsOrBuilder> htStatsBuilder_;
/**
* .cz.proto.HashTableStats ht_stats = 4;
* @return Whether the htStats field is set.
*/
public boolean hasHtStats() {
return htStatsBuilder_ != null || htStats_ != null;
}
/**
* .cz.proto.HashTableStats ht_stats = 4;
* @return The htStats.
*/
public cz.proto.HashTableStats getHtStats() {
if (htStatsBuilder_ == null) {
return htStats_ == null ? cz.proto.HashTableStats.getDefaultInstance() : htStats_;
} else {
return htStatsBuilder_.getMessage();
}
}
/**
* .cz.proto.HashTableStats ht_stats = 4;
*/
public Builder setHtStats(cz.proto.HashTableStats value) {
if (htStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
htStats_ = value;
onChanged();
} else {
htStatsBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.HashTableStats ht_stats = 4;
*/
public Builder setHtStats(
cz.proto.HashTableStats.Builder builderForValue) {
if (htStatsBuilder_ == null) {
htStats_ = builderForValue.build();
onChanged();
} else {
htStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.HashTableStats ht_stats = 4;
*/
public Builder mergeHtStats(cz.proto.HashTableStats value) {
if (htStatsBuilder_ == null) {
if (htStats_ != null) {
htStats_ =
cz.proto.HashTableStats.newBuilder(htStats_).mergeFrom(value).buildPartial();
} else {
htStats_ = value;
}
onChanged();
} else {
htStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.HashTableStats ht_stats = 4;
*/
public Builder clearHtStats() {
if (htStatsBuilder_ == null) {
htStats_ = null;
onChanged();
} else {
htStats_ = null;
htStatsBuilder_ = null;
}
return this;
}
/**
* .cz.proto.HashTableStats ht_stats = 4;
*/
public cz.proto.HashTableStats.Builder getHtStatsBuilder() {
onChanged();
return getHtStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.HashTableStats ht_stats = 4;
*/
public cz.proto.HashTableStatsOrBuilder getHtStatsOrBuilder() {
if (htStatsBuilder_ != null) {
return htStatsBuilder_.getMessageOrBuilder();
} else {
return htStats_ == null ?
cz.proto.HashTableStats.getDefaultInstance() : htStats_;
}
}
/**
* .cz.proto.HashTableStats ht_stats = 4;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.HashTableStats, cz.proto.HashTableStats.Builder, cz.proto.HashTableStatsOrBuilder>
getHtStatsFieldBuilder() {
if (htStatsBuilder_ == null) {
htStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.HashTableStats, cz.proto.HashTableStats.Builder, cz.proto.HashTableStatsOrBuilder>(
getHtStats(),
getParentForChildren(),
isClean());
htStats_ = null;
}
return htStatsBuilder_;
}
private long statesUsedMemory_ ;
/**
* uint64 states_used_memory = 5;
* @return The statesUsedMemory.
*/
@java.lang.Override
public long getStatesUsedMemory() {
return statesUsedMemory_;
}
/**
* uint64 states_used_memory = 5;
* @param value The statesUsedMemory to set.
* @return This builder for chaining.
*/
public Builder setStatesUsedMemory(long value) {
statesUsedMemory_ = value;
onChanged();
return this;
}
/**
* uint64 states_used_memory = 5;
* @return This builder for chaining.
*/
public Builder clearStatesUsedMemory() {
statesUsedMemory_ = 0L;
onChanged();
return this;
}
private long passThroughRows_ ;
/**
* uint64 pass_through_rows = 6;
* @return The passThroughRows.
*/
@java.lang.Override
public long getPassThroughRows() {
return passThroughRows_;
}
/**
* uint64 pass_through_rows = 6;
* @param value The passThroughRows to set.
* @return This builder for chaining.
*/
public Builder setPassThroughRows(long value) {
passThroughRows_ = value;
onChanged();
return this;
}
/**
* uint64 pass_through_rows = 6;
* @return This builder for chaining.
*/
public Builder clearPassThroughRows() {
passThroughRows_ = 0L;
onChanged();
return this;
}
private cz.proto.SpillStats inputSpillStats_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SpillStats, cz.proto.SpillStats.Builder, cz.proto.SpillStatsOrBuilder> inputSpillStatsBuilder_;
/**
* .cz.proto.SpillStats input_spill_stats = 7;
* @return Whether the inputSpillStats field is set.
*/
public boolean hasInputSpillStats() {
return inputSpillStatsBuilder_ != null || inputSpillStats_ != null;
}
/**
* .cz.proto.SpillStats input_spill_stats = 7;
* @return The inputSpillStats.
*/
public cz.proto.SpillStats getInputSpillStats() {
if (inputSpillStatsBuilder_ == null) {
return inputSpillStats_ == null ? cz.proto.SpillStats.getDefaultInstance() : inputSpillStats_;
} else {
return inputSpillStatsBuilder_.getMessage();
}
}
/**
* .cz.proto.SpillStats input_spill_stats = 7;
*/
public Builder setInputSpillStats(cz.proto.SpillStats value) {
if (inputSpillStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputSpillStats_ = value;
onChanged();
} else {
inputSpillStatsBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.SpillStats input_spill_stats = 7;
*/
public Builder setInputSpillStats(
cz.proto.SpillStats.Builder builderForValue) {
if (inputSpillStatsBuilder_ == null) {
inputSpillStats_ = builderForValue.build();
onChanged();
} else {
inputSpillStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.SpillStats input_spill_stats = 7;
*/
public Builder mergeInputSpillStats(cz.proto.SpillStats value) {
if (inputSpillStatsBuilder_ == null) {
if (inputSpillStats_ != null) {
inputSpillStats_ =
cz.proto.SpillStats.newBuilder(inputSpillStats_).mergeFrom(value).buildPartial();
} else {
inputSpillStats_ = value;
}
onChanged();
} else {
inputSpillStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.SpillStats input_spill_stats = 7;
*/
public Builder clearInputSpillStats() {
if (inputSpillStatsBuilder_ == null) {
inputSpillStats_ = null;
onChanged();
} else {
inputSpillStats_ = null;
inputSpillStatsBuilder_ = null;
}
return this;
}
/**
* .cz.proto.SpillStats input_spill_stats = 7;
*/
public cz.proto.SpillStats.Builder getInputSpillStatsBuilder() {
onChanged();
return getInputSpillStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.SpillStats input_spill_stats = 7;
*/
public cz.proto.SpillStatsOrBuilder getInputSpillStatsOrBuilder() {
if (inputSpillStatsBuilder_ != null) {
return inputSpillStatsBuilder_.getMessageOrBuilder();
} else {
return inputSpillStats_ == null ?
cz.proto.SpillStats.getDefaultInstance() : inputSpillStats_;
}
}
/**
* .cz.proto.SpillStats input_spill_stats = 7;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SpillStats, cz.proto.SpillStats.Builder, cz.proto.SpillStatsOrBuilder>
getInputSpillStatsFieldBuilder() {
if (inputSpillStatsBuilder_ == null) {
inputSpillStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SpillStats, cz.proto.SpillStats.Builder, cz.proto.SpillStatsOrBuilder>(
getInputSpillStats(),
getParentForChildren(),
isClean());
inputSpillStats_ = null;
}
return inputSpillStatsBuilder_;
}
private cz.proto.SpillStats aggregatedSpillStats_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SpillStats, cz.proto.SpillStats.Builder, cz.proto.SpillStatsOrBuilder> aggregatedSpillStatsBuilder_;
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
* @return Whether the aggregatedSpillStats field is set.
*/
public boolean hasAggregatedSpillStats() {
return aggregatedSpillStatsBuilder_ != null || aggregatedSpillStats_ != null;
}
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
* @return The aggregatedSpillStats.
*/
public cz.proto.SpillStats getAggregatedSpillStats() {
if (aggregatedSpillStatsBuilder_ == null) {
return aggregatedSpillStats_ == null ? cz.proto.SpillStats.getDefaultInstance() : aggregatedSpillStats_;
} else {
return aggregatedSpillStatsBuilder_.getMessage();
}
}
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
*/
public Builder setAggregatedSpillStats(cz.proto.SpillStats value) {
if (aggregatedSpillStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
aggregatedSpillStats_ = value;
onChanged();
} else {
aggregatedSpillStatsBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
*/
public Builder setAggregatedSpillStats(
cz.proto.SpillStats.Builder builderForValue) {
if (aggregatedSpillStatsBuilder_ == null) {
aggregatedSpillStats_ = builderForValue.build();
onChanged();
} else {
aggregatedSpillStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
*/
public Builder mergeAggregatedSpillStats(cz.proto.SpillStats value) {
if (aggregatedSpillStatsBuilder_ == null) {
if (aggregatedSpillStats_ != null) {
aggregatedSpillStats_ =
cz.proto.SpillStats.newBuilder(aggregatedSpillStats_).mergeFrom(value).buildPartial();
} else {
aggregatedSpillStats_ = value;
}
onChanged();
} else {
aggregatedSpillStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
*/
public Builder clearAggregatedSpillStats() {
if (aggregatedSpillStatsBuilder_ == null) {
aggregatedSpillStats_ = null;
onChanged();
} else {
aggregatedSpillStats_ = null;
aggregatedSpillStatsBuilder_ = null;
}
return this;
}
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
*/
public cz.proto.SpillStats.Builder getAggregatedSpillStatsBuilder() {
onChanged();
return getAggregatedSpillStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
*/
public cz.proto.SpillStatsOrBuilder getAggregatedSpillStatsOrBuilder() {
if (aggregatedSpillStatsBuilder_ != null) {
return aggregatedSpillStatsBuilder_.getMessageOrBuilder();
} else {
return aggregatedSpillStats_ == null ?
cz.proto.SpillStats.getDefaultInstance() : aggregatedSpillStats_;
}
}
/**
* .cz.proto.SpillStats aggregated_spill_stats = 8;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SpillStats, cz.proto.SpillStats.Builder, cz.proto.SpillStatsOrBuilder>
getAggregatedSpillStatsFieldBuilder() {
if (aggregatedSpillStatsBuilder_ == null) {
aggregatedSpillStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.SpillStats, cz.proto.SpillStats.Builder, cz.proto.SpillStatsOrBuilder>(
getAggregatedSpillStats(),
getParentForChildren(),
isClean());
aggregatedSpillStats_ = null;
}
return aggregatedSpillStatsBuilder_;
}
@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.HashAggregateStats)
}
// @@protoc_insertion_point(class_scope:cz.proto.HashAggregateStats)
private static final cz.proto.HashAggregateStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.HashAggregateStats();
}
public static cz.proto.HashAggregateStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public HashAggregateStats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new HashAggregateStats(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.HashAggregateStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy