cz.proto.FieldsStats 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.FieldsStats}
*/
public final class FieldsStats extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.FieldsStats)
FieldsStatsOrBuilder {
private static final long serialVersionUID = 0L;
// Use FieldsStats.newBuilder() to construct.
private FieldsStats(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private FieldsStats() {
fieldStats_ = java.util.Collections.emptyList();
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new FieldsStats();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private FieldsStats(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
this();
if (extensionRegistry == null) {
throw new java.lang.NullPointerException();
}
int mutable_bitField0_ = 0;
com.google.protobuf.UnknownFieldSet.Builder unknownFields =
com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
case 10: {
if (!((mutable_bitField0_ & 0x00000001) != 0)) {
fieldStats_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
fieldStats_.add(
input.readMessage(cz.proto.FieldStats.parser(), extensionRegistry));
break;
}
default: {
if (!parseUnknownField(
input, unknownFields, extensionRegistry, tag)) {
done = true;
}
break;
}
}
}
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new com.google.protobuf.InvalidProtocolBufferException(
e).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) != 0)) {
fieldStats_ = java.util.Collections.unmodifiableList(fieldStats_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.Statistics.internal_static_cz_proto_FieldsStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.Statistics.internal_static_cz_proto_FieldsStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.FieldsStats.class, cz.proto.FieldsStats.Builder.class);
}
public static final int FIELD_STATS_FIELD_NUMBER = 1;
private java.util.List fieldStats_;
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
@java.lang.Override
public java.util.List getFieldStatsList() {
return fieldStats_;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
@java.lang.Override
public java.util.List extends cz.proto.FieldStatsOrBuilder>
getFieldStatsOrBuilderList() {
return fieldStats_;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
@java.lang.Override
public int getFieldStatsCount() {
return fieldStats_.size();
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
@java.lang.Override
public cz.proto.FieldStats getFieldStats(int index) {
return fieldStats_.get(index);
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
@java.lang.Override
public cz.proto.FieldStatsOrBuilder getFieldStatsOrBuilder(
int index) {
return fieldStats_.get(index);
}
private byte memoizedIsInitialized = -1;
@java.lang.Override
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized == 1) return true;
if (isInitialized == 0) return false;
memoizedIsInitialized = 1;
return true;
}
@java.lang.Override
public void writeTo(com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
for (int i = 0; i < fieldStats_.size(); i++) {
output.writeMessage(1, fieldStats_.get(i));
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < fieldStats_.size(); i++) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, fieldStats_.get(i));
}
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.FieldsStats)) {
return super.equals(obj);
}
cz.proto.FieldsStats other = (cz.proto.FieldsStats) obj;
if (!getFieldStatsList()
.equals(other.getFieldStatsList())) 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 (getFieldStatsCount() > 0) {
hash = (37 * hash) + FIELD_STATS_FIELD_NUMBER;
hash = (53 * hash) + getFieldStatsList().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.FieldsStats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FieldsStats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.FieldsStats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FieldsStats 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.FieldsStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.FieldsStats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.FieldsStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.FieldsStats 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.FieldsStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.FieldsStats 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.FieldsStats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.FieldsStats 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.FieldsStats 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.FieldsStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.FieldsStats)
cz.proto.FieldsStatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.Statistics.internal_static_cz_proto_FieldsStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.Statistics.internal_static_cz_proto_FieldsStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.FieldsStats.class, cz.proto.FieldsStats.Builder.class);
}
// Construct using cz.proto.FieldsStats.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (com.google.protobuf.GeneratedMessageV3
.alwaysUseFieldBuilders) {
getFieldStatsFieldBuilder();
}
}
@java.lang.Override
public Builder clear() {
super.clear();
if (fieldStatsBuilder_ == null) {
fieldStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
fieldStatsBuilder_.clear();
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.Statistics.internal_static_cz_proto_FieldsStats_descriptor;
}
@java.lang.Override
public cz.proto.FieldsStats getDefaultInstanceForType() {
return cz.proto.FieldsStats.getDefaultInstance();
}
@java.lang.Override
public cz.proto.FieldsStats build() {
cz.proto.FieldsStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.FieldsStats buildPartial() {
cz.proto.FieldsStats result = new cz.proto.FieldsStats(this);
int from_bitField0_ = bitField0_;
if (fieldStatsBuilder_ == null) {
if (((bitField0_ & 0x00000001) != 0)) {
fieldStats_ = java.util.Collections.unmodifiableList(fieldStats_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.fieldStats_ = fieldStats_;
} else {
result.fieldStats_ = fieldStatsBuilder_.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.FieldsStats) {
return mergeFrom((cz.proto.FieldsStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.FieldsStats other) {
if (other == cz.proto.FieldsStats.getDefaultInstance()) return this;
if (fieldStatsBuilder_ == null) {
if (!other.fieldStats_.isEmpty()) {
if (fieldStats_.isEmpty()) {
fieldStats_ = other.fieldStats_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureFieldStatsIsMutable();
fieldStats_.addAll(other.fieldStats_);
}
onChanged();
}
} else {
if (!other.fieldStats_.isEmpty()) {
if (fieldStatsBuilder_.isEmpty()) {
fieldStatsBuilder_.dispose();
fieldStatsBuilder_ = null;
fieldStats_ = other.fieldStats_;
bitField0_ = (bitField0_ & ~0x00000001);
fieldStatsBuilder_ =
com.google.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ?
getFieldStatsFieldBuilder() : null;
} else {
fieldStatsBuilder_.addAllMessages(other.fieldStats_);
}
}
}
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.FieldsStats parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.FieldsStats) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
private java.util.List fieldStats_ =
java.util.Collections.emptyList();
private void ensureFieldStatsIsMutable() {
if (!((bitField0_ & 0x00000001) != 0)) {
fieldStats_ = new java.util.ArrayList(fieldStats_);
bitField0_ |= 0x00000001;
}
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FieldStats, cz.proto.FieldStats.Builder, cz.proto.FieldStatsOrBuilder> fieldStatsBuilder_;
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public java.util.List getFieldStatsList() {
if (fieldStatsBuilder_ == null) {
return java.util.Collections.unmodifiableList(fieldStats_);
} else {
return fieldStatsBuilder_.getMessageList();
}
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public int getFieldStatsCount() {
if (fieldStatsBuilder_ == null) {
return fieldStats_.size();
} else {
return fieldStatsBuilder_.getCount();
}
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public cz.proto.FieldStats getFieldStats(int index) {
if (fieldStatsBuilder_ == null) {
return fieldStats_.get(index);
} else {
return fieldStatsBuilder_.getMessage(index);
}
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public Builder setFieldStats(
int index, cz.proto.FieldStats value) {
if (fieldStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldStatsIsMutable();
fieldStats_.set(index, value);
onChanged();
} else {
fieldStatsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public Builder setFieldStats(
int index, cz.proto.FieldStats.Builder builderForValue) {
if (fieldStatsBuilder_ == null) {
ensureFieldStatsIsMutable();
fieldStats_.set(index, builderForValue.build());
onChanged();
} else {
fieldStatsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public Builder addFieldStats(cz.proto.FieldStats value) {
if (fieldStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldStatsIsMutable();
fieldStats_.add(value);
onChanged();
} else {
fieldStatsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public Builder addFieldStats(
int index, cz.proto.FieldStats value) {
if (fieldStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldStatsIsMutable();
fieldStats_.add(index, value);
onChanged();
} else {
fieldStatsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public Builder addFieldStats(
cz.proto.FieldStats.Builder builderForValue) {
if (fieldStatsBuilder_ == null) {
ensureFieldStatsIsMutable();
fieldStats_.add(builderForValue.build());
onChanged();
} else {
fieldStatsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public Builder addFieldStats(
int index, cz.proto.FieldStats.Builder builderForValue) {
if (fieldStatsBuilder_ == null) {
ensureFieldStatsIsMutable();
fieldStats_.add(index, builderForValue.build());
onChanged();
} else {
fieldStatsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public Builder addAllFieldStats(
java.lang.Iterable extends cz.proto.FieldStats> values) {
if (fieldStatsBuilder_ == null) {
ensureFieldStatsIsMutable();
com.google.protobuf.AbstractMessageLite.Builder.addAll(
values, fieldStats_);
onChanged();
} else {
fieldStatsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public Builder clearFieldStats() {
if (fieldStatsBuilder_ == null) {
fieldStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
fieldStatsBuilder_.clear();
}
return this;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public Builder removeFieldStats(int index) {
if (fieldStatsBuilder_ == null) {
ensureFieldStatsIsMutable();
fieldStats_.remove(index);
onChanged();
} else {
fieldStatsBuilder_.remove(index);
}
return this;
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public cz.proto.FieldStats.Builder getFieldStatsBuilder(
int index) {
return getFieldStatsFieldBuilder().getBuilder(index);
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public cz.proto.FieldStatsOrBuilder getFieldStatsOrBuilder(
int index) {
if (fieldStatsBuilder_ == null) {
return fieldStats_.get(index); } else {
return fieldStatsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public java.util.List extends cz.proto.FieldStatsOrBuilder>
getFieldStatsOrBuilderList() {
if (fieldStatsBuilder_ != null) {
return fieldStatsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(fieldStats_);
}
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public cz.proto.FieldStats.Builder addFieldStatsBuilder() {
return getFieldStatsFieldBuilder().addBuilder(
cz.proto.FieldStats.getDefaultInstance());
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public cz.proto.FieldStats.Builder addFieldStatsBuilder(
int index) {
return getFieldStatsFieldBuilder().addBuilder(
index, cz.proto.FieldStats.getDefaultInstance());
}
/**
* repeated .cz.proto.FieldStats field_stats = 1;
*/
public java.util.List
getFieldStatsBuilderList() {
return getFieldStatsFieldBuilder().getBuilderList();
}
private com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FieldStats, cz.proto.FieldStats.Builder, cz.proto.FieldStatsOrBuilder>
getFieldStatsFieldBuilder() {
if (fieldStatsBuilder_ == null) {
fieldStatsBuilder_ = new com.google.protobuf.RepeatedFieldBuilderV3<
cz.proto.FieldStats, cz.proto.FieldStats.Builder, cz.proto.FieldStatsOrBuilder>(
fieldStats_,
((bitField0_ & 0x00000001) != 0),
getParentForChildren(),
isClean());
fieldStats_ = null;
}
return fieldStatsBuilder_;
}
@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.FieldsStats)
}
// @@protoc_insertion_point(class_scope:cz.proto.FieldsStats)
private static final cz.proto.FieldsStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.FieldsStats();
}
public static cz.proto.FieldsStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public FieldsStats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new FieldsStats(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.FieldsStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy