cz.proto.StatsData 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: statistics.proto
package cz.proto;
/**
* Protobuf type {@code cz.proto.StatsData}
*/
public final class StatsData extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.StatsData)
StatsDataOrBuilder {
private static final long serialVersionUID = 0L;
// Use StatsData.newBuilder() to construct.
private StatsData(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private StatsData() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new StatsData();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StatsData(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 8: {
snapshotId_ = input.readInt64();
break;
}
case 16: {
bitField0_ |= 0x00000001;
sizeInBytes_ = input.readInt64();
break;
}
case 24: {
bitField0_ |= 0x00000002;
recordCount_ = input.readInt64();
break;
}
case 42: {
cz.proto.FieldsStats.Builder subBuilder = null;
if (fieldsStats_ != null) {
subBuilder = fieldsStats_.toBuilder();
}
fieldsStats_ = input.readMessage(cz.proto.FieldsStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(fieldsStats_);
fieldsStats_ = subBuilder.buildPartial();
}
break;
}
case 98: {
cz.proto.FieldBounds.Builder subBuilder = null;
if (sortKeyLowerBounds_ != null) {
subBuilder = sortKeyLowerBounds_.toBuilder();
}
sortKeyLowerBounds_ = input.readMessage(cz.proto.FieldBounds.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sortKeyLowerBounds_);
sortKeyLowerBounds_ = subBuilder.buildPartial();
}
break;
}
case 106: {
cz.proto.FieldBounds.Builder subBuilder = null;
if (sortKeyUpperBounds_ != null) {
subBuilder = sortKeyUpperBounds_.toBuilder();
}
sortKeyUpperBounds_ = input.readMessage(cz.proto.FieldBounds.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(sortKeyUpperBounds_);
sortKeyUpperBounds_ = subBuilder.buildPartial();
}
break;
}
case 112: {
bitField0_ |= 0x00000008;
deltaRowCountChange_ = input.readInt64();
break;
}
case 122: {
cz.proto.DeltaUpdatedInfo.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) != 0)) {
subBuilder = updatedInfo_.toBuilder();
}
updatedInfo_ = input.readMessage(cz.proto.DeltaUpdatedInfo.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(updatedInfo_);
updatedInfo_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 128: {
bitField0_ |= 0x00000004;
estimatedRecordCount_ = input.readInt64();
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.Statistics.internal_static_cz_proto_StatsData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.Statistics.internal_static_cz_proto_StatsData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StatsData.class, cz.proto.StatsData.Builder.class);
}
private int bitField0_;
public static final int SNAPSHOT_ID_FIELD_NUMBER = 1;
private long snapshotId_;
/**
* int64 snapshot_id = 1;
* @return The snapshotId.
*/
@java.lang.Override
public long getSnapshotId() {
return snapshotId_;
}
public static final int SIZE_IN_BYTES_FIELD_NUMBER = 2;
private long sizeInBytes_;
/**
* optional int64 size_in_bytes = 2;
* @return Whether the sizeInBytes field is set.
*/
@java.lang.Override
public boolean hasSizeInBytes() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 size_in_bytes = 2;
* @return The sizeInBytes.
*/
@java.lang.Override
public long getSizeInBytes() {
return sizeInBytes_;
}
public static final int RECORD_COUNT_FIELD_NUMBER = 3;
private long recordCount_;
/**
* optional int64 record_count = 3;
* @return Whether the recordCount field is set.
*/
@java.lang.Override
public boolean hasRecordCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 record_count = 3;
* @return The recordCount.
*/
@java.lang.Override
public long getRecordCount() {
return recordCount_;
}
public static final int ESTIMATED_RECORD_COUNT_FIELD_NUMBER = 16;
private long estimatedRecordCount_;
/**
*
* Estimated number of records that exist in the file/table.
*
*
* optional int64 estimated_record_count = 16;
* @return Whether the estimatedRecordCount field is set.
*/
@java.lang.Override
public boolean hasEstimatedRecordCount() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Estimated number of records that exist in the file/table.
*
*
* optional int64 estimated_record_count = 16;
* @return The estimatedRecordCount.
*/
@java.lang.Override
public long getEstimatedRecordCount() {
return estimatedRecordCount_;
}
public static final int DELTA_ROW_COUNT_CHANGE_FIELD_NUMBER = 14;
private long deltaRowCountChange_;
/**
*
* Number of records that have been added or deleted altogether, depending on its sign.
* It is computed by the operation type of delta file:
* - REINSERT: +1
* - DELETE: -1
* - UPDATE: 0
*
*
* optional int64 delta_row_count_change = 14;
* @return Whether the deltaRowCountChange field is set.
*/
@java.lang.Override
public boolean hasDeltaRowCountChange() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Number of records that have been added or deleted altogether, depending on its sign.
* It is computed by the operation type of delta file:
* - REINSERT: +1
* - DELETE: -1
* - UPDATE: 0
*
*
* optional int64 delta_row_count_change = 14;
* @return The deltaRowCountChange.
*/
@java.lang.Override
public long getDeltaRowCountChange() {
return deltaRowCountChange_;
}
public static final int UPDATED_INFO_FIELD_NUMBER = 15;
private cz.proto.DeltaUpdatedInfo updatedInfo_;
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
* @return Whether the updatedInfo field is set.
*/
@java.lang.Override
public boolean hasUpdatedInfo() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
* @return The updatedInfo.
*/
@java.lang.Override
public cz.proto.DeltaUpdatedInfo getUpdatedInfo() {
return updatedInfo_ == null ? cz.proto.DeltaUpdatedInfo.getDefaultInstance() : updatedInfo_;
}
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
*/
@java.lang.Override
public cz.proto.DeltaUpdatedInfoOrBuilder getUpdatedInfoOrBuilder() {
return updatedInfo_ == null ? cz.proto.DeltaUpdatedInfo.getDefaultInstance() : updatedInfo_;
}
public static final int FIELDS_STATS_FIELD_NUMBER = 5;
private cz.proto.FieldsStats fieldsStats_;
/**
* .cz.proto.FieldsStats fields_stats = 5;
* @return Whether the fieldsStats field is set.
*/
@java.lang.Override
public boolean hasFieldsStats() {
return fieldsStats_ != null;
}
/**
* .cz.proto.FieldsStats fields_stats = 5;
* @return The fieldsStats.
*/
@java.lang.Override
public cz.proto.FieldsStats getFieldsStats() {
return fieldsStats_ == null ? cz.proto.FieldsStats.getDefaultInstance() : fieldsStats_;
}
/**
* .cz.proto.FieldsStats fields_stats = 5;
*/
@java.lang.Override
public cz.proto.FieldsStatsOrBuilder getFieldsStatsOrBuilder() {
return getFieldsStats();
}
public static final int SORT_KEY_LOWER_BOUNDS_FIELD_NUMBER = 12;
private cz.proto.FieldBounds sortKeyLowerBounds_;
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
* @return Whether the sortKeyLowerBounds field is set.
*/
@java.lang.Override
public boolean hasSortKeyLowerBounds() {
return sortKeyLowerBounds_ != null;
}
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
* @return The sortKeyLowerBounds.
*/
@java.lang.Override
public cz.proto.FieldBounds getSortKeyLowerBounds() {
return sortKeyLowerBounds_ == null ? cz.proto.FieldBounds.getDefaultInstance() : sortKeyLowerBounds_;
}
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
*/
@java.lang.Override
public cz.proto.FieldBoundsOrBuilder getSortKeyLowerBoundsOrBuilder() {
return getSortKeyLowerBounds();
}
public static final int SORT_KEY_UPPER_BOUNDS_FIELD_NUMBER = 13;
private cz.proto.FieldBounds sortKeyUpperBounds_;
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
* @return Whether the sortKeyUpperBounds field is set.
*/
@java.lang.Override
public boolean hasSortKeyUpperBounds() {
return sortKeyUpperBounds_ != null;
}
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
* @return The sortKeyUpperBounds.
*/
@java.lang.Override
public cz.proto.FieldBounds getSortKeyUpperBounds() {
return sortKeyUpperBounds_ == null ? cz.proto.FieldBounds.getDefaultInstance() : sortKeyUpperBounds_;
}
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
*/
@java.lang.Override
public cz.proto.FieldBoundsOrBuilder getSortKeyUpperBoundsOrBuilder() {
return getSortKeyUpperBounds();
}
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 (snapshotId_ != 0L) {
output.writeInt64(1, snapshotId_);
}
if (((bitField0_ & 0x00000001) != 0)) {
output.writeInt64(2, sizeInBytes_);
}
if (((bitField0_ & 0x00000002) != 0)) {
output.writeInt64(3, recordCount_);
}
if (fieldsStats_ != null) {
output.writeMessage(5, getFieldsStats());
}
if (sortKeyLowerBounds_ != null) {
output.writeMessage(12, getSortKeyLowerBounds());
}
if (sortKeyUpperBounds_ != null) {
output.writeMessage(13, getSortKeyUpperBounds());
}
if (((bitField0_ & 0x00000008) != 0)) {
output.writeInt64(14, deltaRowCountChange_);
}
if (((bitField0_ & 0x00000010) != 0)) {
output.writeMessage(15, getUpdatedInfo());
}
if (((bitField0_ & 0x00000004) != 0)) {
output.writeInt64(16, estimatedRecordCount_);
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (snapshotId_ != 0L) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(1, snapshotId_);
}
if (((bitField0_ & 0x00000001) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(2, sizeInBytes_);
}
if (((bitField0_ & 0x00000002) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(3, recordCount_);
}
if (fieldsStats_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(5, getFieldsStats());
}
if (sortKeyLowerBounds_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(12, getSortKeyLowerBounds());
}
if (sortKeyUpperBounds_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(13, getSortKeyUpperBounds());
}
if (((bitField0_ & 0x00000008) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(14, deltaRowCountChange_);
}
if (((bitField0_ & 0x00000010) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(15, getUpdatedInfo());
}
if (((bitField0_ & 0x00000004) != 0)) {
size += com.google.protobuf.CodedOutputStream
.computeInt64Size(16, estimatedRecordCount_);
}
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.StatsData)) {
return super.equals(obj);
}
cz.proto.StatsData other = (cz.proto.StatsData) obj;
if (getSnapshotId()
!= other.getSnapshotId()) return false;
if (hasSizeInBytes() != other.hasSizeInBytes()) return false;
if (hasSizeInBytes()) {
if (getSizeInBytes()
!= other.getSizeInBytes()) return false;
}
if (hasRecordCount() != other.hasRecordCount()) return false;
if (hasRecordCount()) {
if (getRecordCount()
!= other.getRecordCount()) return false;
}
if (hasEstimatedRecordCount() != other.hasEstimatedRecordCount()) return false;
if (hasEstimatedRecordCount()) {
if (getEstimatedRecordCount()
!= other.getEstimatedRecordCount()) return false;
}
if (hasDeltaRowCountChange() != other.hasDeltaRowCountChange()) return false;
if (hasDeltaRowCountChange()) {
if (getDeltaRowCountChange()
!= other.getDeltaRowCountChange()) return false;
}
if (hasUpdatedInfo() != other.hasUpdatedInfo()) return false;
if (hasUpdatedInfo()) {
if (!getUpdatedInfo()
.equals(other.getUpdatedInfo())) return false;
}
if (hasFieldsStats() != other.hasFieldsStats()) return false;
if (hasFieldsStats()) {
if (!getFieldsStats()
.equals(other.getFieldsStats())) return false;
}
if (hasSortKeyLowerBounds() != other.hasSortKeyLowerBounds()) return false;
if (hasSortKeyLowerBounds()) {
if (!getSortKeyLowerBounds()
.equals(other.getSortKeyLowerBounds())) return false;
}
if (hasSortKeyUpperBounds() != other.hasSortKeyUpperBounds()) return false;
if (hasSortKeyUpperBounds()) {
if (!getSortKeyUpperBounds()
.equals(other.getSortKeyUpperBounds())) 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) + SNAPSHOT_ID_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSnapshotId());
if (hasSizeInBytes()) {
hash = (37 * hash) + SIZE_IN_BYTES_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getSizeInBytes());
}
if (hasRecordCount()) {
hash = (37 * hash) + RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getRecordCount());
}
if (hasEstimatedRecordCount()) {
hash = (37 * hash) + ESTIMATED_RECORD_COUNT_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getEstimatedRecordCount());
}
if (hasDeltaRowCountChange()) {
hash = (37 * hash) + DELTA_ROW_COUNT_CHANGE_FIELD_NUMBER;
hash = (53 * hash) + com.google.protobuf.Internal.hashLong(
getDeltaRowCountChange());
}
if (hasUpdatedInfo()) {
hash = (37 * hash) + UPDATED_INFO_FIELD_NUMBER;
hash = (53 * hash) + getUpdatedInfo().hashCode();
}
if (hasFieldsStats()) {
hash = (37 * hash) + FIELDS_STATS_FIELD_NUMBER;
hash = (53 * hash) + getFieldsStats().hashCode();
}
if (hasSortKeyLowerBounds()) {
hash = (37 * hash) + SORT_KEY_LOWER_BOUNDS_FIELD_NUMBER;
hash = (53 * hash) + getSortKeyLowerBounds().hashCode();
}
if (hasSortKeyUpperBounds()) {
hash = (37 * hash) + SORT_KEY_UPPER_BOUNDS_FIELD_NUMBER;
hash = (53 * hash) + getSortKeyUpperBounds().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.StatsData parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StatsData parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StatsData parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StatsData 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.StatsData parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.StatsData parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.StatsData parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StatsData 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.StatsData parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.StatsData 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.StatsData parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.StatsData 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.StatsData 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.StatsData}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.StatsData)
cz.proto.StatsDataOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.Statistics.internal_static_cz_proto_StatsData_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.Statistics.internal_static_cz_proto_StatsData_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.StatsData.class, cz.proto.StatsData.Builder.class);
}
// Construct using cz.proto.StatsData.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getUpdatedInfoFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
snapshotId_ = 0L;
sizeInBytes_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
recordCount_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
estimatedRecordCount_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
deltaRowCountChange_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
if (updatedInfoBuilder_ == null) {
updatedInfo_ = null;
} else {
updatedInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (fieldsStatsBuilder_ == null) {
fieldsStats_ = null;
} else {
fieldsStats_ = null;
fieldsStatsBuilder_ = null;
}
if (sortKeyLowerBoundsBuilder_ == null) {
sortKeyLowerBounds_ = null;
} else {
sortKeyLowerBounds_ = null;
sortKeyLowerBoundsBuilder_ = null;
}
if (sortKeyUpperBoundsBuilder_ == null) {
sortKeyUpperBounds_ = null;
} else {
sortKeyUpperBounds_ = null;
sortKeyUpperBoundsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.Statistics.internal_static_cz_proto_StatsData_descriptor;
}
@java.lang.Override
public cz.proto.StatsData getDefaultInstanceForType() {
return cz.proto.StatsData.getDefaultInstance();
}
@java.lang.Override
public cz.proto.StatsData build() {
cz.proto.StatsData result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.StatsData buildPartial() {
cz.proto.StatsData result = new cz.proto.StatsData(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
result.snapshotId_ = snapshotId_;
if (((from_bitField0_ & 0x00000001) != 0)) {
result.sizeInBytes_ = sizeInBytes_;
to_bitField0_ |= 0x00000001;
}
if (((from_bitField0_ & 0x00000002) != 0)) {
result.recordCount_ = recordCount_;
to_bitField0_ |= 0x00000002;
}
if (((from_bitField0_ & 0x00000004) != 0)) {
result.estimatedRecordCount_ = estimatedRecordCount_;
to_bitField0_ |= 0x00000004;
}
if (((from_bitField0_ & 0x00000008) != 0)) {
result.deltaRowCountChange_ = deltaRowCountChange_;
to_bitField0_ |= 0x00000008;
}
if (((from_bitField0_ & 0x00000010) != 0)) {
if (updatedInfoBuilder_ == null) {
result.updatedInfo_ = updatedInfo_;
} else {
result.updatedInfo_ = updatedInfoBuilder_.build();
}
to_bitField0_ |= 0x00000010;
}
if (fieldsStatsBuilder_ == null) {
result.fieldsStats_ = fieldsStats_;
} else {
result.fieldsStats_ = fieldsStatsBuilder_.build();
}
if (sortKeyLowerBoundsBuilder_ == null) {
result.sortKeyLowerBounds_ = sortKeyLowerBounds_;
} else {
result.sortKeyLowerBounds_ = sortKeyLowerBoundsBuilder_.build();
}
if (sortKeyUpperBoundsBuilder_ == null) {
result.sortKeyUpperBounds_ = sortKeyUpperBounds_;
} else {
result.sortKeyUpperBounds_ = sortKeyUpperBoundsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
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.StatsData) {
return mergeFrom((cz.proto.StatsData)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.StatsData other) {
if (other == cz.proto.StatsData.getDefaultInstance()) return this;
if (other.getSnapshotId() != 0L) {
setSnapshotId(other.getSnapshotId());
}
if (other.hasSizeInBytes()) {
setSizeInBytes(other.getSizeInBytes());
}
if (other.hasRecordCount()) {
setRecordCount(other.getRecordCount());
}
if (other.hasEstimatedRecordCount()) {
setEstimatedRecordCount(other.getEstimatedRecordCount());
}
if (other.hasDeltaRowCountChange()) {
setDeltaRowCountChange(other.getDeltaRowCountChange());
}
if (other.hasUpdatedInfo()) {
mergeUpdatedInfo(other.getUpdatedInfo());
}
if (other.hasFieldsStats()) {
mergeFieldsStats(other.getFieldsStats());
}
if (other.hasSortKeyLowerBounds()) {
mergeSortKeyLowerBounds(other.getSortKeyLowerBounds());
}
if (other.hasSortKeyUpperBounds()) {
mergeSortKeyUpperBounds(other.getSortKeyUpperBounds());
}
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.StatsData parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.StatsData) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private long snapshotId_ ;
/**
* int64 snapshot_id = 1;
* @return The snapshotId.
*/
@java.lang.Override
public long getSnapshotId() {
return snapshotId_;
}
/**
* int64 snapshot_id = 1;
* @param value The snapshotId to set.
* @return This builder for chaining.
*/
public Builder setSnapshotId(long value) {
snapshotId_ = value;
onChanged();
return this;
}
/**
* int64 snapshot_id = 1;
* @return This builder for chaining.
*/
public Builder clearSnapshotId() {
snapshotId_ = 0L;
onChanged();
return this;
}
private long sizeInBytes_ ;
/**
* optional int64 size_in_bytes = 2;
* @return Whether the sizeInBytes field is set.
*/
@java.lang.Override
public boolean hasSizeInBytes() {
return ((bitField0_ & 0x00000001) != 0);
}
/**
* optional int64 size_in_bytes = 2;
* @return The sizeInBytes.
*/
@java.lang.Override
public long getSizeInBytes() {
return sizeInBytes_;
}
/**
* optional int64 size_in_bytes = 2;
* @param value The sizeInBytes to set.
* @return This builder for chaining.
*/
public Builder setSizeInBytes(long value) {
bitField0_ |= 0x00000001;
sizeInBytes_ = value;
onChanged();
return this;
}
/**
* optional int64 size_in_bytes = 2;
* @return This builder for chaining.
*/
public Builder clearSizeInBytes() {
bitField0_ = (bitField0_ & ~0x00000001);
sizeInBytes_ = 0L;
onChanged();
return this;
}
private long recordCount_ ;
/**
* optional int64 record_count = 3;
* @return Whether the recordCount field is set.
*/
@java.lang.Override
public boolean hasRecordCount() {
return ((bitField0_ & 0x00000002) != 0);
}
/**
* optional int64 record_count = 3;
* @return The recordCount.
*/
@java.lang.Override
public long getRecordCount() {
return recordCount_;
}
/**
* optional int64 record_count = 3;
* @param value The recordCount to set.
* @return This builder for chaining.
*/
public Builder setRecordCount(long value) {
bitField0_ |= 0x00000002;
recordCount_ = value;
onChanged();
return this;
}
/**
* optional int64 record_count = 3;
* @return This builder for chaining.
*/
public Builder clearRecordCount() {
bitField0_ = (bitField0_ & ~0x00000002);
recordCount_ = 0L;
onChanged();
return this;
}
private long estimatedRecordCount_ ;
/**
*
* Estimated number of records that exist in the file/table.
*
*
* optional int64 estimated_record_count = 16;
* @return Whether the estimatedRecordCount field is set.
*/
@java.lang.Override
public boolean hasEstimatedRecordCount() {
return ((bitField0_ & 0x00000004) != 0);
}
/**
*
* Estimated number of records that exist in the file/table.
*
*
* optional int64 estimated_record_count = 16;
* @return The estimatedRecordCount.
*/
@java.lang.Override
public long getEstimatedRecordCount() {
return estimatedRecordCount_;
}
/**
*
* Estimated number of records that exist in the file/table.
*
*
* optional int64 estimated_record_count = 16;
* @param value The estimatedRecordCount to set.
* @return This builder for chaining.
*/
public Builder setEstimatedRecordCount(long value) {
bitField0_ |= 0x00000004;
estimatedRecordCount_ = value;
onChanged();
return this;
}
/**
*
* Estimated number of records that exist in the file/table.
*
*
* optional int64 estimated_record_count = 16;
* @return This builder for chaining.
*/
public Builder clearEstimatedRecordCount() {
bitField0_ = (bitField0_ & ~0x00000004);
estimatedRecordCount_ = 0L;
onChanged();
return this;
}
private long deltaRowCountChange_ ;
/**
*
* Number of records that have been added or deleted altogether, depending on its sign.
* It is computed by the operation type of delta file:
* - REINSERT: +1
* - DELETE: -1
* - UPDATE: 0
*
*
* optional int64 delta_row_count_change = 14;
* @return Whether the deltaRowCountChange field is set.
*/
@java.lang.Override
public boolean hasDeltaRowCountChange() {
return ((bitField0_ & 0x00000008) != 0);
}
/**
*
* Number of records that have been added or deleted altogether, depending on its sign.
* It is computed by the operation type of delta file:
* - REINSERT: +1
* - DELETE: -1
* - UPDATE: 0
*
*
* optional int64 delta_row_count_change = 14;
* @return The deltaRowCountChange.
*/
@java.lang.Override
public long getDeltaRowCountChange() {
return deltaRowCountChange_;
}
/**
*
* Number of records that have been added or deleted altogether, depending on its sign.
* It is computed by the operation type of delta file:
* - REINSERT: +1
* - DELETE: -1
* - UPDATE: 0
*
*
* optional int64 delta_row_count_change = 14;
* @param value The deltaRowCountChange to set.
* @return This builder for chaining.
*/
public Builder setDeltaRowCountChange(long value) {
bitField0_ |= 0x00000008;
deltaRowCountChange_ = value;
onChanged();
return this;
}
/**
*
* Number of records that have been added or deleted altogether, depending on its sign.
* It is computed by the operation type of delta file:
* - REINSERT: +1
* - DELETE: -1
* - UPDATE: 0
*
*
* optional int64 delta_row_count_change = 14;
* @return This builder for chaining.
*/
public Builder clearDeltaRowCountChange() {
bitField0_ = (bitField0_ & ~0x00000008);
deltaRowCountChange_ = 0L;
onChanged();
return this;
}
private cz.proto.DeltaUpdatedInfo updatedInfo_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DeltaUpdatedInfo, cz.proto.DeltaUpdatedInfo.Builder, cz.proto.DeltaUpdatedInfoOrBuilder> updatedInfoBuilder_;
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
* @return Whether the updatedInfo field is set.
*/
public boolean hasUpdatedInfo() {
return ((bitField0_ & 0x00000010) != 0);
}
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
* @return The updatedInfo.
*/
public cz.proto.DeltaUpdatedInfo getUpdatedInfo() {
if (updatedInfoBuilder_ == null) {
return updatedInfo_ == null ? cz.proto.DeltaUpdatedInfo.getDefaultInstance() : updatedInfo_;
} else {
return updatedInfoBuilder_.getMessage();
}
}
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
*/
public Builder setUpdatedInfo(cz.proto.DeltaUpdatedInfo value) {
if (updatedInfoBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
updatedInfo_ = value;
onChanged();
} else {
updatedInfoBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
*/
public Builder setUpdatedInfo(
cz.proto.DeltaUpdatedInfo.Builder builderForValue) {
if (updatedInfoBuilder_ == null) {
updatedInfo_ = builderForValue.build();
onChanged();
} else {
updatedInfoBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
*/
public Builder mergeUpdatedInfo(cz.proto.DeltaUpdatedInfo value) {
if (updatedInfoBuilder_ == null) {
if (((bitField0_ & 0x00000010) != 0) &&
updatedInfo_ != null &&
updatedInfo_ != cz.proto.DeltaUpdatedInfo.getDefaultInstance()) {
updatedInfo_ =
cz.proto.DeltaUpdatedInfo.newBuilder(updatedInfo_).mergeFrom(value).buildPartial();
} else {
updatedInfo_ = value;
}
onChanged();
} else {
updatedInfoBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
*/
public Builder clearUpdatedInfo() {
if (updatedInfoBuilder_ == null) {
updatedInfo_ = null;
onChanged();
} else {
updatedInfoBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
*/
public cz.proto.DeltaUpdatedInfo.Builder getUpdatedInfoBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getUpdatedInfoFieldBuilder().getBuilder();
}
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
*/
public cz.proto.DeltaUpdatedInfoOrBuilder getUpdatedInfoOrBuilder() {
if (updatedInfoBuilder_ != null) {
return updatedInfoBuilder_.getMessageOrBuilder();
} else {
return updatedInfo_ == null ?
cz.proto.DeltaUpdatedInfo.getDefaultInstance() : updatedInfo_;
}
}
/**
*
* If the file is a delta file, it may contain the following information.
* If the file not contains updated_info, even it's a Delta file, we cannot
* know which columns are updated, so we cannot use the update stats.
* Once updated_info exists, it must contain all the updated columns.
*
*
* optional .cz.proto.DeltaUpdatedInfo updated_info = 15;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DeltaUpdatedInfo, cz.proto.DeltaUpdatedInfo.Builder, cz.proto.DeltaUpdatedInfoOrBuilder>
getUpdatedInfoFieldBuilder() {
if (updatedInfoBuilder_ == null) {
updatedInfoBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DeltaUpdatedInfo, cz.proto.DeltaUpdatedInfo.Builder, cz.proto.DeltaUpdatedInfoOrBuilder>(
getUpdatedInfo(),
getParentForChildren(),
isClean());
updatedInfo_ = null;
}
return updatedInfoBuilder_;
}
private cz.proto.FieldsStats fieldsStats_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldsStats, cz.proto.FieldsStats.Builder, cz.proto.FieldsStatsOrBuilder> fieldsStatsBuilder_;
/**
* .cz.proto.FieldsStats fields_stats = 5;
* @return Whether the fieldsStats field is set.
*/
public boolean hasFieldsStats() {
return fieldsStatsBuilder_ != null || fieldsStats_ != null;
}
/**
* .cz.proto.FieldsStats fields_stats = 5;
* @return The fieldsStats.
*/
public cz.proto.FieldsStats getFieldsStats() {
if (fieldsStatsBuilder_ == null) {
return fieldsStats_ == null ? cz.proto.FieldsStats.getDefaultInstance() : fieldsStats_;
} else {
return fieldsStatsBuilder_.getMessage();
}
}
/**
* .cz.proto.FieldsStats fields_stats = 5;
*/
public Builder setFieldsStats(cz.proto.FieldsStats value) {
if (fieldsStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
fieldsStats_ = value;
onChanged();
} else {
fieldsStatsBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.FieldsStats fields_stats = 5;
*/
public Builder setFieldsStats(
cz.proto.FieldsStats.Builder builderForValue) {
if (fieldsStatsBuilder_ == null) {
fieldsStats_ = builderForValue.build();
onChanged();
} else {
fieldsStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.FieldsStats fields_stats = 5;
*/
public Builder mergeFieldsStats(cz.proto.FieldsStats value) {
if (fieldsStatsBuilder_ == null) {
if (fieldsStats_ != null) {
fieldsStats_ =
cz.proto.FieldsStats.newBuilder(fieldsStats_).mergeFrom(value).buildPartial();
} else {
fieldsStats_ = value;
}
onChanged();
} else {
fieldsStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.FieldsStats fields_stats = 5;
*/
public Builder clearFieldsStats() {
if (fieldsStatsBuilder_ == null) {
fieldsStats_ = null;
onChanged();
} else {
fieldsStats_ = null;
fieldsStatsBuilder_ = null;
}
return this;
}
/**
* .cz.proto.FieldsStats fields_stats = 5;
*/
public cz.proto.FieldsStats.Builder getFieldsStatsBuilder() {
onChanged();
return getFieldsStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.FieldsStats fields_stats = 5;
*/
public cz.proto.FieldsStatsOrBuilder getFieldsStatsOrBuilder() {
if (fieldsStatsBuilder_ != null) {
return fieldsStatsBuilder_.getMessageOrBuilder();
} else {
return fieldsStats_ == null ?
cz.proto.FieldsStats.getDefaultInstance() : fieldsStats_;
}
}
/**
* .cz.proto.FieldsStats fields_stats = 5;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldsStats, cz.proto.FieldsStats.Builder, cz.proto.FieldsStatsOrBuilder>
getFieldsStatsFieldBuilder() {
if (fieldsStatsBuilder_ == null) {
fieldsStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldsStats, cz.proto.FieldsStats.Builder, cz.proto.FieldsStatsOrBuilder>(
getFieldsStats(),
getParentForChildren(),
isClean());
fieldsStats_ = null;
}
return fieldsStatsBuilder_;
}
private cz.proto.FieldBounds sortKeyLowerBounds_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldBounds, cz.proto.FieldBounds.Builder, cz.proto.FieldBoundsOrBuilder> sortKeyLowerBoundsBuilder_;
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
* @return Whether the sortKeyLowerBounds field is set.
*/
public boolean hasSortKeyLowerBounds() {
return sortKeyLowerBoundsBuilder_ != null || sortKeyLowerBounds_ != null;
}
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
* @return The sortKeyLowerBounds.
*/
public cz.proto.FieldBounds getSortKeyLowerBounds() {
if (sortKeyLowerBoundsBuilder_ == null) {
return sortKeyLowerBounds_ == null ? cz.proto.FieldBounds.getDefaultInstance() : sortKeyLowerBounds_;
} else {
return sortKeyLowerBoundsBuilder_.getMessage();
}
}
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
*/
public Builder setSortKeyLowerBounds(cz.proto.FieldBounds value) {
if (sortKeyLowerBoundsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sortKeyLowerBounds_ = value;
onChanged();
} else {
sortKeyLowerBoundsBuilder_.setMessage(value);
}
return this;
}
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
*/
public Builder setSortKeyLowerBounds(
cz.proto.FieldBounds.Builder builderForValue) {
if (sortKeyLowerBoundsBuilder_ == null) {
sortKeyLowerBounds_ = builderForValue.build();
onChanged();
} else {
sortKeyLowerBoundsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
*/
public Builder mergeSortKeyLowerBounds(cz.proto.FieldBounds value) {
if (sortKeyLowerBoundsBuilder_ == null) {
if (sortKeyLowerBounds_ != null) {
sortKeyLowerBounds_ =
cz.proto.FieldBounds.newBuilder(sortKeyLowerBounds_).mergeFrom(value).buildPartial();
} else {
sortKeyLowerBounds_ = value;
}
onChanged();
} else {
sortKeyLowerBoundsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
*/
public Builder clearSortKeyLowerBounds() {
if (sortKeyLowerBoundsBuilder_ == null) {
sortKeyLowerBounds_ = null;
onChanged();
} else {
sortKeyLowerBounds_ = null;
sortKeyLowerBoundsBuilder_ = null;
}
return this;
}
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
*/
public cz.proto.FieldBounds.Builder getSortKeyLowerBoundsBuilder() {
onChanged();
return getSortKeyLowerBoundsFieldBuilder().getBuilder();
}
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
*/
public cz.proto.FieldBoundsOrBuilder getSortKeyLowerBoundsOrBuilder() {
if (sortKeyLowerBoundsBuilder_ != null) {
return sortKeyLowerBoundsBuilder_.getMessageOrBuilder();
} else {
return sortKeyLowerBounds_ == null ?
cz.proto.FieldBounds.getDefaultInstance() : sortKeyLowerBounds_;
}
}
/**
*
* file level sort key lower bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_lower_bounds = 12;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldBounds, cz.proto.FieldBounds.Builder, cz.proto.FieldBoundsOrBuilder>
getSortKeyLowerBoundsFieldBuilder() {
if (sortKeyLowerBoundsBuilder_ == null) {
sortKeyLowerBoundsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldBounds, cz.proto.FieldBounds.Builder, cz.proto.FieldBoundsOrBuilder>(
getSortKeyLowerBounds(),
getParentForChildren(),
isClean());
sortKeyLowerBounds_ = null;
}
return sortKeyLowerBoundsBuilder_;
}
private cz.proto.FieldBounds sortKeyUpperBounds_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldBounds, cz.proto.FieldBounds.Builder, cz.proto.FieldBoundsOrBuilder> sortKeyUpperBoundsBuilder_;
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
* @return Whether the sortKeyUpperBounds field is set.
*/
public boolean hasSortKeyUpperBounds() {
return sortKeyUpperBoundsBuilder_ != null || sortKeyUpperBounds_ != null;
}
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
* @return The sortKeyUpperBounds.
*/
public cz.proto.FieldBounds getSortKeyUpperBounds() {
if (sortKeyUpperBoundsBuilder_ == null) {
return sortKeyUpperBounds_ == null ? cz.proto.FieldBounds.getDefaultInstance() : sortKeyUpperBounds_;
} else {
return sortKeyUpperBoundsBuilder_.getMessage();
}
}
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
*/
public Builder setSortKeyUpperBounds(cz.proto.FieldBounds value) {
if (sortKeyUpperBoundsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
sortKeyUpperBounds_ = value;
onChanged();
} else {
sortKeyUpperBoundsBuilder_.setMessage(value);
}
return this;
}
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
*/
public Builder setSortKeyUpperBounds(
cz.proto.FieldBounds.Builder builderForValue) {
if (sortKeyUpperBoundsBuilder_ == null) {
sortKeyUpperBounds_ = builderForValue.build();
onChanged();
} else {
sortKeyUpperBoundsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
*/
public Builder mergeSortKeyUpperBounds(cz.proto.FieldBounds value) {
if (sortKeyUpperBoundsBuilder_ == null) {
if (sortKeyUpperBounds_ != null) {
sortKeyUpperBounds_ =
cz.proto.FieldBounds.newBuilder(sortKeyUpperBounds_).mergeFrom(value).buildPartial();
} else {
sortKeyUpperBounds_ = value;
}
onChanged();
} else {
sortKeyUpperBoundsBuilder_.mergeFrom(value);
}
return this;
}
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
*/
public Builder clearSortKeyUpperBounds() {
if (sortKeyUpperBoundsBuilder_ == null) {
sortKeyUpperBounds_ = null;
onChanged();
} else {
sortKeyUpperBounds_ = null;
sortKeyUpperBoundsBuilder_ = null;
}
return this;
}
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
*/
public cz.proto.FieldBounds.Builder getSortKeyUpperBoundsBuilder() {
onChanged();
return getSortKeyUpperBoundsFieldBuilder().getBuilder();
}
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
*/
public cz.proto.FieldBoundsOrBuilder getSortKeyUpperBoundsOrBuilder() {
if (sortKeyUpperBoundsBuilder_ != null) {
return sortKeyUpperBoundsBuilder_.getMessageOrBuilder();
} else {
return sortKeyUpperBounds_ == null ?
cz.proto.FieldBounds.getDefaultInstance() : sortKeyUpperBounds_;
}
}
/**
*
* file level sort key upper bound, field id -> value
*
*
* .cz.proto.FieldBounds sort_key_upper_bounds = 13;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldBounds, cz.proto.FieldBounds.Builder, cz.proto.FieldBoundsOrBuilder>
getSortKeyUpperBoundsFieldBuilder() {
if (sortKeyUpperBoundsBuilder_ == null) {
sortKeyUpperBoundsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FieldBounds, cz.proto.FieldBounds.Builder, cz.proto.FieldBoundsOrBuilder>(
getSortKeyUpperBounds(),
getParentForChildren(),
isClean());
sortKeyUpperBounds_ = null;
}
return sortKeyUpperBoundsBuilder_;
}
@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.StatsData)
}
// @@protoc_insertion_point(class_scope:cz.proto.StatsData)
private static final cz.proto.StatsData DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.StatsData();
}
public static cz.proto.StatsData getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public StatsData parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new StatsData(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.StatsData getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy