cz.proto.TableScanStats 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.TableScanStats}
*/
public final class TableScanStats extends
com.google.protobuf.GeneratedMessageV3 implements
// @@protoc_insertion_point(message_implements:cz.proto.TableScanStats)
TableScanStatsOrBuilder {
private static final long serialVersionUID = 0L;
// Use TableScanStats.newBuilder() to construct.
private TableScanStats(com.google.protobuf.GeneratedMessageV3.Builder> builder) {
super(builder);
}
private TableScanStats() {
}
@java.lang.Override
@SuppressWarnings({"unused"})
protected java.lang.Object newInstance(
UnusedPrivateParameter unused) {
return new TableScanStats();
}
@java.lang.Override
public final com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TableScanStats(
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.DataInputStats.Builder subBuilder = null;
if (inputStats_ != null) {
subBuilder = inputStats_.toBuilder();
}
inputStats_ = input.readMessage(cz.proto.DataInputStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(inputStats_);
inputStats_ = subBuilder.buildPartial();
}
break;
}
case 18: {
cz.proto.FilePruningStats.Builder subBuilder = null;
if (pruningStats_ != null) {
subBuilder = pruningStats_.toBuilder();
}
pruningStats_ = input.readMessage(cz.proto.FilePruningStats.parser(), extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(pruningStats_);
pruningStats_ = 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_TableScanStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_TableScanStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.TableScanStats.class, cz.proto.TableScanStats.Builder.class);
}
public static final int INPUT_STATS_FIELD_NUMBER = 1;
private cz.proto.DataInputStats inputStats_;
/**
* .cz.proto.DataInputStats input_stats = 1;
* @return Whether the inputStats field is set.
*/
@java.lang.Override
public boolean hasInputStats() {
return inputStats_ != null;
}
/**
* .cz.proto.DataInputStats input_stats = 1;
* @return The inputStats.
*/
@java.lang.Override
public cz.proto.DataInputStats getInputStats() {
return inputStats_ == null ? cz.proto.DataInputStats.getDefaultInstance() : inputStats_;
}
/**
* .cz.proto.DataInputStats input_stats = 1;
*/
@java.lang.Override
public cz.proto.DataInputStatsOrBuilder getInputStatsOrBuilder() {
return getInputStats();
}
public static final int PRUNING_STATS_FIELD_NUMBER = 2;
private cz.proto.FilePruningStats pruningStats_;
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
* @return Whether the pruningStats field is set.
*/
@java.lang.Override
public boolean hasPruningStats() {
return pruningStats_ != null;
}
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
* @return The pruningStats.
*/
@java.lang.Override
public cz.proto.FilePruningStats getPruningStats() {
return pruningStats_ == null ? cz.proto.FilePruningStats.getDefaultInstance() : pruningStats_;
}
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
*/
@java.lang.Override
public cz.proto.FilePruningStatsOrBuilder getPruningStatsOrBuilder() {
return getPruningStats();
}
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 (inputStats_ != null) {
output.writeMessage(1, getInputStats());
}
if (pruningStats_ != null) {
output.writeMessage(2, getPruningStats());
}
unknownFields.writeTo(output);
}
@java.lang.Override
public int getSerializedSize() {
int size = memoizedSize;
if (size != -1) return size;
size = 0;
if (inputStats_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(1, getInputStats());
}
if (pruningStats_ != null) {
size += com.google.protobuf.CodedOutputStream
.computeMessageSize(2, getPruningStats());
}
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.TableScanStats)) {
return super.equals(obj);
}
cz.proto.TableScanStats other = (cz.proto.TableScanStats) obj;
if (hasInputStats() != other.hasInputStats()) return false;
if (hasInputStats()) {
if (!getInputStats()
.equals(other.getInputStats())) return false;
}
if (hasPruningStats() != other.hasPruningStats()) return false;
if (hasPruningStats()) {
if (!getPruningStats()
.equals(other.getPruningStats())) 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 (hasInputStats()) {
hash = (37 * hash) + INPUT_STATS_FIELD_NUMBER;
hash = (53 * hash) + getInputStats().hashCode();
}
if (hasPruningStats()) {
hash = (37 * hash) + PRUNING_STATS_FIELD_NUMBER;
hash = (53 * hash) + getPruningStats().hashCode();
}
hash = (29 * hash) + unknownFields.hashCode();
memoizedHashCode = hash;
return hash;
}
public static cz.proto.TableScanStats parseFrom(
java.nio.ByteBuffer data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.TableScanStats parseFrom(
java.nio.ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.TableScanStats parseFrom(
com.google.protobuf.ByteString data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.TableScanStats 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.TableScanStats parseFrom(byte[] data)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static cz.proto.TableScanStats parseFrom(
byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static cz.proto.TableScanStats parseFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.TableScanStats 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.TableScanStats parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseDelimitedWithIOException(PARSER, input);
}
public static cz.proto.TableScanStats 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.TableScanStats parseFrom(
com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return com.google.protobuf.GeneratedMessageV3
.parseWithIOException(PARSER, input);
}
public static cz.proto.TableScanStats 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.TableScanStats 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.TableScanStats}
*/
public static final class Builder extends
com.google.protobuf.GeneratedMessageV3.Builder implements
// @@protoc_insertion_point(builder_implements:cz.proto.TableScanStats)
cz.proto.TableScanStatsOrBuilder {
public static final com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return cz.proto.OperatorProto.internal_static_cz_proto_TableScanStats_descriptor;
}
@java.lang.Override
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable() {
return cz.proto.OperatorProto.internal_static_cz_proto_TableScanStats_fieldAccessorTable
.ensureFieldAccessorsInitialized(
cz.proto.TableScanStats.class, cz.proto.TableScanStats.Builder.class);
}
// Construct using cz.proto.TableScanStats.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 (inputStatsBuilder_ == null) {
inputStats_ = null;
} else {
inputStats_ = null;
inputStatsBuilder_ = null;
}
if (pruningStatsBuilder_ == null) {
pruningStats_ = null;
} else {
pruningStats_ = null;
pruningStatsBuilder_ = null;
}
return this;
}
@java.lang.Override
public com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return cz.proto.OperatorProto.internal_static_cz_proto_TableScanStats_descriptor;
}
@java.lang.Override
public cz.proto.TableScanStats getDefaultInstanceForType() {
return cz.proto.TableScanStats.getDefaultInstance();
}
@java.lang.Override
public cz.proto.TableScanStats build() {
cz.proto.TableScanStats result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
@java.lang.Override
public cz.proto.TableScanStats buildPartial() {
cz.proto.TableScanStats result = new cz.proto.TableScanStats(this);
if (inputStatsBuilder_ == null) {
result.inputStats_ = inputStats_;
} else {
result.inputStats_ = inputStatsBuilder_.build();
}
if (pruningStatsBuilder_ == null) {
result.pruningStats_ = pruningStats_;
} else {
result.pruningStats_ = pruningStatsBuilder_.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.TableScanStats) {
return mergeFrom((cz.proto.TableScanStats)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(cz.proto.TableScanStats other) {
if (other == cz.proto.TableScanStats.getDefaultInstance()) return this;
if (other.hasInputStats()) {
mergeInputStats(other.getInputStats());
}
if (other.hasPruningStats()) {
mergePruningStats(other.getPruningStats());
}
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.TableScanStats parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (cz.proto.TableScanStats) e.getUnfinishedMessage();
throw e.unwrapIOException();
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private cz.proto.DataInputStats inputStats_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DataInputStats, cz.proto.DataInputStats.Builder, cz.proto.DataInputStatsOrBuilder> inputStatsBuilder_;
/**
* .cz.proto.DataInputStats input_stats = 1;
* @return Whether the inputStats field is set.
*/
public boolean hasInputStats() {
return inputStatsBuilder_ != null || inputStats_ != null;
}
/**
* .cz.proto.DataInputStats input_stats = 1;
* @return The inputStats.
*/
public cz.proto.DataInputStats getInputStats() {
if (inputStatsBuilder_ == null) {
return inputStats_ == null ? cz.proto.DataInputStats.getDefaultInstance() : inputStats_;
} else {
return inputStatsBuilder_.getMessage();
}
}
/**
* .cz.proto.DataInputStats input_stats = 1;
*/
public Builder setInputStats(cz.proto.DataInputStats value) {
if (inputStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
inputStats_ = value;
onChanged();
} else {
inputStatsBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.DataInputStats input_stats = 1;
*/
public Builder setInputStats(
cz.proto.DataInputStats.Builder builderForValue) {
if (inputStatsBuilder_ == null) {
inputStats_ = builderForValue.build();
onChanged();
} else {
inputStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.DataInputStats input_stats = 1;
*/
public Builder mergeInputStats(cz.proto.DataInputStats value) {
if (inputStatsBuilder_ == null) {
if (inputStats_ != null) {
inputStats_ =
cz.proto.DataInputStats.newBuilder(inputStats_).mergeFrom(value).buildPartial();
} else {
inputStats_ = value;
}
onChanged();
} else {
inputStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.DataInputStats input_stats = 1;
*/
public Builder clearInputStats() {
if (inputStatsBuilder_ == null) {
inputStats_ = null;
onChanged();
} else {
inputStats_ = null;
inputStatsBuilder_ = null;
}
return this;
}
/**
* .cz.proto.DataInputStats input_stats = 1;
*/
public cz.proto.DataInputStats.Builder getInputStatsBuilder() {
onChanged();
return getInputStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.DataInputStats input_stats = 1;
*/
public cz.proto.DataInputStatsOrBuilder getInputStatsOrBuilder() {
if (inputStatsBuilder_ != null) {
return inputStatsBuilder_.getMessageOrBuilder();
} else {
return inputStats_ == null ?
cz.proto.DataInputStats.getDefaultInstance() : inputStats_;
}
}
/**
* .cz.proto.DataInputStats input_stats = 1;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DataInputStats, cz.proto.DataInputStats.Builder, cz.proto.DataInputStatsOrBuilder>
getInputStatsFieldBuilder() {
if (inputStatsBuilder_ == null) {
inputStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.DataInputStats, cz.proto.DataInputStats.Builder, cz.proto.DataInputStatsOrBuilder>(
getInputStats(),
getParentForChildren(),
isClean());
inputStats_ = null;
}
return inputStatsBuilder_;
}
private cz.proto.FilePruningStats pruningStats_;
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FilePruningStats, cz.proto.FilePruningStats.Builder, cz.proto.FilePruningStatsOrBuilder> pruningStatsBuilder_;
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
* @return Whether the pruningStats field is set.
*/
public boolean hasPruningStats() {
return pruningStatsBuilder_ != null || pruningStats_ != null;
}
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
* @return The pruningStats.
*/
public cz.proto.FilePruningStats getPruningStats() {
if (pruningStatsBuilder_ == null) {
return pruningStats_ == null ? cz.proto.FilePruningStats.getDefaultInstance() : pruningStats_;
} else {
return pruningStatsBuilder_.getMessage();
}
}
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
*/
public Builder setPruningStats(cz.proto.FilePruningStats value) {
if (pruningStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
pruningStats_ = value;
onChanged();
} else {
pruningStatsBuilder_.setMessage(value);
}
return this;
}
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
*/
public Builder setPruningStats(
cz.proto.FilePruningStats.Builder builderForValue) {
if (pruningStatsBuilder_ == null) {
pruningStats_ = builderForValue.build();
onChanged();
} else {
pruningStatsBuilder_.setMessage(builderForValue.build());
}
return this;
}
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
*/
public Builder mergePruningStats(cz.proto.FilePruningStats value) {
if (pruningStatsBuilder_ == null) {
if (pruningStats_ != null) {
pruningStats_ =
cz.proto.FilePruningStats.newBuilder(pruningStats_).mergeFrom(value).buildPartial();
} else {
pruningStats_ = value;
}
onChanged();
} else {
pruningStatsBuilder_.mergeFrom(value);
}
return this;
}
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
*/
public Builder clearPruningStats() {
if (pruningStatsBuilder_ == null) {
pruningStats_ = null;
onChanged();
} else {
pruningStats_ = null;
pruningStatsBuilder_ = null;
}
return this;
}
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
*/
public cz.proto.FilePruningStats.Builder getPruningStatsBuilder() {
onChanged();
return getPruningStatsFieldBuilder().getBuilder();
}
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
*/
public cz.proto.FilePruningStatsOrBuilder getPruningStatsOrBuilder() {
if (pruningStatsBuilder_ != null) {
return pruningStatsBuilder_.getMessageOrBuilder();
} else {
return pruningStats_ == null ?
cz.proto.FilePruningStats.getDefaultInstance() : pruningStats_;
}
}
/**
* .cz.proto.FilePruningStats pruning_stats = 2;
*/
private com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FilePruningStats, cz.proto.FilePruningStats.Builder, cz.proto.FilePruningStatsOrBuilder>
getPruningStatsFieldBuilder() {
if (pruningStatsBuilder_ == null) {
pruningStatsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
cz.proto.FilePruningStats, cz.proto.FilePruningStats.Builder, cz.proto.FilePruningStatsOrBuilder>(
getPruningStats(),
getParentForChildren(),
isClean());
pruningStats_ = null;
}
return pruningStatsBuilder_;
}
@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.TableScanStats)
}
// @@protoc_insertion_point(class_scope:cz.proto.TableScanStats)
private static final cz.proto.TableScanStats DEFAULT_INSTANCE;
static {
DEFAULT_INSTANCE = new cz.proto.TableScanStats();
}
public static cz.proto.TableScanStats getDefaultInstance() {
return DEFAULT_INSTANCE;
}
private static final com.google.protobuf.Parser
PARSER = new com.google.protobuf.AbstractParser() {
@java.lang.Override
public TableScanStats parsePartialFrom(
com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws com.google.protobuf.InvalidProtocolBufferException {
return new TableScanStats(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.TableScanStats getDefaultInstanceForType() {
return DEFAULT_INSTANCE;
}
}
© 2015 - 2024 Weber Informatics LLC | Privacy Policy