org.apache.orc.OrcProto Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of hive-apache Show documentation
Show all versions of hive-apache Show documentation
Shaded version of Apache Hive for Trino
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: orc_proto.proto
package org.apache.orc;
public final class OrcProto {
private OrcProto() {}
public static void registerAllExtensions(
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistry registry) {
}
/**
* Protobuf enum {@code orc.proto.CompressionKind}
*/
public enum CompressionKind
implements io.trino.hive.$internal.com.google.protobuf.ProtocolMessageEnum {
/**
* NONE = 0;
*/
NONE(0, 0),
/**
* ZLIB = 1;
*/
ZLIB(1, 1),
/**
* SNAPPY = 2;
*/
SNAPPY(2, 2),
/**
* LZO = 3;
*/
LZO(3, 3),
/**
* LZ4 = 4;
*/
LZ4(4, 4),
/**
* ZSTD = 5;
*/
ZSTD(5, 5),
;
/**
* NONE = 0;
*/
public static final int NONE_VALUE = 0;
/**
* ZLIB = 1;
*/
public static final int ZLIB_VALUE = 1;
/**
* SNAPPY = 2;
*/
public static final int SNAPPY_VALUE = 2;
/**
* LZO = 3;
*/
public static final int LZO_VALUE = 3;
/**
* LZ4 = 4;
*/
public static final int LZ4_VALUE = 4;
/**
* ZSTD = 5;
*/
public static final int ZSTD_VALUE = 5;
public final int getNumber() { return value; }
public static CompressionKind valueOf(int value) {
switch (value) {
case 0: return NONE;
case 1: return ZLIB;
case 2: return SNAPPY;
case 3: return LZO;
case 4: return LZ4;
case 5: return ZSTD;
default: return null;
}
}
public static io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap() {
public CompressionKind findValueByNumber(int number) {
return CompressionKind.valueOf(number);
}
};
public final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.orc.OrcProto.getDescriptor().getEnumTypes().get(0);
}
private static final CompressionKind[] VALUES = values();
public static CompressionKind valueOf(
io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private CompressionKind(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:orc.proto.CompressionKind)
}
public interface IntegerStatisticsOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional sint64 minimum = 1;
/**
* optional sint64 minimum = 1;
*/
boolean hasMinimum();
/**
* optional sint64 minimum = 1;
*/
long getMinimum();
// optional sint64 maximum = 2;
/**
* optional sint64 maximum = 2;
*/
boolean hasMaximum();
/**
* optional sint64 maximum = 2;
*/
long getMaximum();
// optional sint64 sum = 3;
/**
* optional sint64 sum = 3;
*/
boolean hasSum();
/**
* optional sint64 sum = 3;
*/
long getSum();
}
/**
* Protobuf type {@code orc.proto.IntegerStatistics}
*/
public static final class IntegerStatistics extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements IntegerStatisticsOrBuilder {
// Use IntegerStatistics.newBuilder() to construct.
private IntegerStatistics(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private IntegerStatistics(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final IntegerStatistics defaultInstance;
public static IntegerStatistics getDefaultInstance() {
return defaultInstance;
}
public IntegerStatistics getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private IntegerStatistics(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
minimum_ = input.readSInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
maximum_ = input.readSInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
sum_ = input.readSInt64();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.IntegerStatistics.class, org.apache.orc.OrcProto.IntegerStatistics.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public IntegerStatistics parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new IntegerStatistics(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional sint64 minimum = 1;
public static final int MINIMUM_FIELD_NUMBER = 1;
private long minimum_;
/**
* optional sint64 minimum = 1;
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional sint64 minimum = 1;
*/
public long getMinimum() {
return minimum_;
}
// optional sint64 maximum = 2;
public static final int MAXIMUM_FIELD_NUMBER = 2;
private long maximum_;
/**
* optional sint64 maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional sint64 maximum = 2;
*/
public long getMaximum() {
return maximum_;
}
// optional sint64 sum = 3;
public static final int SUM_FIELD_NUMBER = 3;
private long sum_;
/**
* optional sint64 sum = 3;
*/
public boolean hasSum() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional sint64 sum = 3;
*/
public long getSum() {
return sum_;
}
private void initFields() {
minimum_ = 0L;
maximum_ = 0L;
sum_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeSInt64(1, minimum_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeSInt64(2, maximum_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeSInt64(3, sum_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt64Size(1, minimum_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt64Size(2, maximum_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt64Size(3, sum_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.IntegerStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.IntegerStatistics parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.IntegerStatistics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.IntegerStatistics}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.IntegerStatisticsOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.IntegerStatistics.class, org.apache.orc.OrcProto.IntegerStatistics.Builder.class);
}
// Construct using org.apache.orc.OrcProto.IntegerStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
minimum_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
maximum_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
sum_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_descriptor;
}
public org.apache.orc.OrcProto.IntegerStatistics getDefaultInstanceForType() {
return org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance();
}
public org.apache.orc.OrcProto.IntegerStatistics build() {
org.apache.orc.OrcProto.IntegerStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.IntegerStatistics buildPartial() {
org.apache.orc.OrcProto.IntegerStatistics result = new org.apache.orc.OrcProto.IntegerStatistics(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.minimum_ = minimum_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.maximum_ = maximum_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.sum_ = sum_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.IntegerStatistics) {
return mergeFrom((org.apache.orc.OrcProto.IntegerStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.IntegerStatistics other) {
if (other == org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance()) return this;
if (other.hasMinimum()) {
setMinimum(other.getMinimum());
}
if (other.hasMaximum()) {
setMaximum(other.getMaximum());
}
if (other.hasSum()) {
setSum(other.getSum());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.IntegerStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.IntegerStatistics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional sint64 minimum = 1;
private long minimum_ ;
/**
* optional sint64 minimum = 1;
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional sint64 minimum = 1;
*/
public long getMinimum() {
return minimum_;
}
/**
* optional sint64 minimum = 1;
*/
public Builder setMinimum(long value) {
bitField0_ |= 0x00000001;
minimum_ = value;
onChanged();
return this;
}
/**
* optional sint64 minimum = 1;
*/
public Builder clearMinimum() {
bitField0_ = (bitField0_ & ~0x00000001);
minimum_ = 0L;
onChanged();
return this;
}
// optional sint64 maximum = 2;
private long maximum_ ;
/**
* optional sint64 maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional sint64 maximum = 2;
*/
public long getMaximum() {
return maximum_;
}
/**
* optional sint64 maximum = 2;
*/
public Builder setMaximum(long value) {
bitField0_ |= 0x00000002;
maximum_ = value;
onChanged();
return this;
}
/**
* optional sint64 maximum = 2;
*/
public Builder clearMaximum() {
bitField0_ = (bitField0_ & ~0x00000002);
maximum_ = 0L;
onChanged();
return this;
}
// optional sint64 sum = 3;
private long sum_ ;
/**
* optional sint64 sum = 3;
*/
public boolean hasSum() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional sint64 sum = 3;
*/
public long getSum() {
return sum_;
}
/**
* optional sint64 sum = 3;
*/
public Builder setSum(long value) {
bitField0_ |= 0x00000004;
sum_ = value;
onChanged();
return this;
}
/**
* optional sint64 sum = 3;
*/
public Builder clearSum() {
bitField0_ = (bitField0_ & ~0x00000004);
sum_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.IntegerStatistics)
}
static {
defaultInstance = new IntegerStatistics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.IntegerStatistics)
}
public interface DoubleStatisticsOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional double minimum = 1;
/**
* optional double minimum = 1;
*/
boolean hasMinimum();
/**
* optional double minimum = 1;
*/
double getMinimum();
// optional double maximum = 2;
/**
* optional double maximum = 2;
*/
boolean hasMaximum();
/**
* optional double maximum = 2;
*/
double getMaximum();
// optional double sum = 3;
/**
* optional double sum = 3;
*/
boolean hasSum();
/**
* optional double sum = 3;
*/
double getSum();
}
/**
* Protobuf type {@code orc.proto.DoubleStatistics}
*/
public static final class DoubleStatistics extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements DoubleStatisticsOrBuilder {
// Use DoubleStatistics.newBuilder() to construct.
private DoubleStatistics(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private DoubleStatistics(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final DoubleStatistics defaultInstance;
public static DoubleStatistics getDefaultInstance() {
return defaultInstance;
}
public DoubleStatistics getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DoubleStatistics(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 9: {
bitField0_ |= 0x00000001;
minimum_ = input.readDouble();
break;
}
case 17: {
bitField0_ |= 0x00000002;
maximum_ = input.readDouble();
break;
}
case 25: {
bitField0_ |= 0x00000004;
sum_ = input.readDouble();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.DoubleStatistics.class, org.apache.orc.OrcProto.DoubleStatistics.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public DoubleStatistics parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new DoubleStatistics(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional double minimum = 1;
public static final int MINIMUM_FIELD_NUMBER = 1;
private double minimum_;
/**
* optional double minimum = 1;
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional double minimum = 1;
*/
public double getMinimum() {
return minimum_;
}
// optional double maximum = 2;
public static final int MAXIMUM_FIELD_NUMBER = 2;
private double maximum_;
/**
* optional double maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional double maximum = 2;
*/
public double getMaximum() {
return maximum_;
}
// optional double sum = 3;
public static final int SUM_FIELD_NUMBER = 3;
private double sum_;
/**
* optional double sum = 3;
*/
public boolean hasSum() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional double sum = 3;
*/
public double getSum() {
return sum_;
}
private void initFields() {
minimum_ = 0D;
maximum_ = 0D;
sum_ = 0D;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeDouble(1, minimum_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeDouble(2, maximum_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeDouble(3, sum_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeDoubleSize(1, minimum_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeDoubleSize(2, maximum_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeDoubleSize(3, sum_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.DoubleStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.DoubleStatistics parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.DoubleStatistics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.DoubleStatistics}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.DoubleStatisticsOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.DoubleStatistics.class, org.apache.orc.OrcProto.DoubleStatistics.Builder.class);
}
// Construct using org.apache.orc.OrcProto.DoubleStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
minimum_ = 0D;
bitField0_ = (bitField0_ & ~0x00000001);
maximum_ = 0D;
bitField0_ = (bitField0_ & ~0x00000002);
sum_ = 0D;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_descriptor;
}
public org.apache.orc.OrcProto.DoubleStatistics getDefaultInstanceForType() {
return org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance();
}
public org.apache.orc.OrcProto.DoubleStatistics build() {
org.apache.orc.OrcProto.DoubleStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.DoubleStatistics buildPartial() {
org.apache.orc.OrcProto.DoubleStatistics result = new org.apache.orc.OrcProto.DoubleStatistics(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.minimum_ = minimum_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.maximum_ = maximum_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.sum_ = sum_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.DoubleStatistics) {
return mergeFrom((org.apache.orc.OrcProto.DoubleStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.DoubleStatistics other) {
if (other == org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance()) return this;
if (other.hasMinimum()) {
setMinimum(other.getMinimum());
}
if (other.hasMaximum()) {
setMaximum(other.getMaximum());
}
if (other.hasSum()) {
setSum(other.getSum());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.DoubleStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.DoubleStatistics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional double minimum = 1;
private double minimum_ ;
/**
* optional double minimum = 1;
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional double minimum = 1;
*/
public double getMinimum() {
return minimum_;
}
/**
* optional double minimum = 1;
*/
public Builder setMinimum(double value) {
bitField0_ |= 0x00000001;
minimum_ = value;
onChanged();
return this;
}
/**
* optional double minimum = 1;
*/
public Builder clearMinimum() {
bitField0_ = (bitField0_ & ~0x00000001);
minimum_ = 0D;
onChanged();
return this;
}
// optional double maximum = 2;
private double maximum_ ;
/**
* optional double maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional double maximum = 2;
*/
public double getMaximum() {
return maximum_;
}
/**
* optional double maximum = 2;
*/
public Builder setMaximum(double value) {
bitField0_ |= 0x00000002;
maximum_ = value;
onChanged();
return this;
}
/**
* optional double maximum = 2;
*/
public Builder clearMaximum() {
bitField0_ = (bitField0_ & ~0x00000002);
maximum_ = 0D;
onChanged();
return this;
}
// optional double sum = 3;
private double sum_ ;
/**
* optional double sum = 3;
*/
public boolean hasSum() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional double sum = 3;
*/
public double getSum() {
return sum_;
}
/**
* optional double sum = 3;
*/
public Builder setSum(double value) {
bitField0_ |= 0x00000004;
sum_ = value;
onChanged();
return this;
}
/**
* optional double sum = 3;
*/
public Builder clearSum() {
bitField0_ = (bitField0_ & ~0x00000004);
sum_ = 0D;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.DoubleStatistics)
}
static {
defaultInstance = new DoubleStatistics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.DoubleStatistics)
}
public interface StringStatisticsOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional string minimum = 1;
/**
* optional string minimum = 1;
*/
boolean hasMinimum();
/**
* optional string minimum = 1;
*/
java.lang.String getMinimum();
/**
* optional string minimum = 1;
*/
io.trino.hive.$internal.com.google.protobuf.ByteString
getMinimumBytes();
// optional string maximum = 2;
/**
* optional string maximum = 2;
*/
boolean hasMaximum();
/**
* optional string maximum = 2;
*/
java.lang.String getMaximum();
/**
* optional string maximum = 2;
*/
io.trino.hive.$internal.com.google.protobuf.ByteString
getMaximumBytes();
// optional sint64 sum = 3;
/**
* optional sint64 sum = 3;
*
*
* sum will store the total length of all strings in a stripe
*
*/
boolean hasSum();
/**
* optional sint64 sum = 3;
*
*
* sum will store the total length of all strings in a stripe
*
*/
long getSum();
}
/**
* Protobuf type {@code orc.proto.StringStatistics}
*/
public static final class StringStatistics extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements StringStatisticsOrBuilder {
// Use StringStatistics.newBuilder() to construct.
private StringStatistics(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private StringStatistics(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final StringStatistics defaultInstance;
public static StringStatistics getDefaultInstance() {
return defaultInstance;
}
public StringStatistics getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StringStatistics(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
minimum_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
maximum_ = input.readBytes();
break;
}
case 24: {
bitField0_ |= 0x00000004;
sum_ = input.readSInt64();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.StringStatistics.class, org.apache.orc.OrcProto.StringStatistics.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public StringStatistics parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new StringStatistics(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string minimum = 1;
public static final int MINIMUM_FIELD_NUMBER = 1;
private java.lang.Object minimum_;
/**
* optional string minimum = 1;
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string minimum = 1;
*/
public java.lang.String getMinimum() {
java.lang.Object ref = minimum_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.trino.hive.$internal.com.google.protobuf.ByteString bs =
(io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
minimum_ = s;
}
return s;
}
}
/**
* optional string minimum = 1;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getMinimumBytes() {
java.lang.Object ref = minimum_;
if (ref instanceof java.lang.String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
minimum_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional string maximum = 2;
public static final int MAXIMUM_FIELD_NUMBER = 2;
private java.lang.Object maximum_;
/**
* optional string maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string maximum = 2;
*/
public java.lang.String getMaximum() {
java.lang.Object ref = maximum_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.trino.hive.$internal.com.google.protobuf.ByteString bs =
(io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
maximum_ = s;
}
return s;
}
}
/**
* optional string maximum = 2;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getMaximumBytes() {
java.lang.Object ref = maximum_;
if (ref instanceof java.lang.String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
maximum_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional sint64 sum = 3;
public static final int SUM_FIELD_NUMBER = 3;
private long sum_;
/**
* optional sint64 sum = 3;
*
*
* sum will store the total length of all strings in a stripe
*
*/
public boolean hasSum() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional sint64 sum = 3;
*
*
* sum will store the total length of all strings in a stripe
*
*/
public long getSum() {
return sum_;
}
private void initFields() {
minimum_ = "";
maximum_ = "";
sum_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getMinimumBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getMaximumBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeSInt64(3, sum_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getMinimumBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getMaximumBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt64Size(3, sum_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.StringStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.StringStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.StringStatistics parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.StringStatistics parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.StringStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.StringStatistics parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.StringStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.StringStatistics parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.StringStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.StringStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.StringStatistics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.StringStatistics}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.StringStatisticsOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.StringStatistics.class, org.apache.orc.OrcProto.StringStatistics.Builder.class);
}
// Construct using org.apache.orc.OrcProto.StringStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
minimum_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
maximum_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
sum_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_descriptor;
}
public org.apache.orc.OrcProto.StringStatistics getDefaultInstanceForType() {
return org.apache.orc.OrcProto.StringStatistics.getDefaultInstance();
}
public org.apache.orc.OrcProto.StringStatistics build() {
org.apache.orc.OrcProto.StringStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.StringStatistics buildPartial() {
org.apache.orc.OrcProto.StringStatistics result = new org.apache.orc.OrcProto.StringStatistics(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.minimum_ = minimum_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.maximum_ = maximum_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.sum_ = sum_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.StringStatistics) {
return mergeFrom((org.apache.orc.OrcProto.StringStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.StringStatistics other) {
if (other == org.apache.orc.OrcProto.StringStatistics.getDefaultInstance()) return this;
if (other.hasMinimum()) {
bitField0_ |= 0x00000001;
minimum_ = other.minimum_;
onChanged();
}
if (other.hasMaximum()) {
bitField0_ |= 0x00000002;
maximum_ = other.maximum_;
onChanged();
}
if (other.hasSum()) {
setSum(other.getSum());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.StringStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.StringStatistics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string minimum = 1;
private java.lang.Object minimum_ = "";
/**
* optional string minimum = 1;
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string minimum = 1;
*/
public java.lang.String getMinimum() {
java.lang.Object ref = minimum_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.trino.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
minimum_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string minimum = 1;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getMinimumBytes() {
java.lang.Object ref = minimum_;
if (ref instanceof String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
minimum_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string minimum = 1;
*/
public Builder setMinimum(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
minimum_ = value;
onChanged();
return this;
}
/**
* optional string minimum = 1;
*/
public Builder clearMinimum() {
bitField0_ = (bitField0_ & ~0x00000001);
minimum_ = getDefaultInstance().getMinimum();
onChanged();
return this;
}
/**
* optional string minimum = 1;
*/
public Builder setMinimumBytes(
io.trino.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
minimum_ = value;
onChanged();
return this;
}
// optional string maximum = 2;
private java.lang.Object maximum_ = "";
/**
* optional string maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string maximum = 2;
*/
public java.lang.String getMaximum() {
java.lang.Object ref = maximum_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.trino.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
maximum_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string maximum = 2;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getMaximumBytes() {
java.lang.Object ref = maximum_;
if (ref instanceof String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
maximum_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string maximum = 2;
*/
public Builder setMaximum(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
maximum_ = value;
onChanged();
return this;
}
/**
* optional string maximum = 2;
*/
public Builder clearMaximum() {
bitField0_ = (bitField0_ & ~0x00000002);
maximum_ = getDefaultInstance().getMaximum();
onChanged();
return this;
}
/**
* optional string maximum = 2;
*/
public Builder setMaximumBytes(
io.trino.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
maximum_ = value;
onChanged();
return this;
}
// optional sint64 sum = 3;
private long sum_ ;
/**
* optional sint64 sum = 3;
*
*
* sum will store the total length of all strings in a stripe
*
*/
public boolean hasSum() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional sint64 sum = 3;
*
*
* sum will store the total length of all strings in a stripe
*
*/
public long getSum() {
return sum_;
}
/**
* optional sint64 sum = 3;
*
*
* sum will store the total length of all strings in a stripe
*
*/
public Builder setSum(long value) {
bitField0_ |= 0x00000004;
sum_ = value;
onChanged();
return this;
}
/**
* optional sint64 sum = 3;
*
*
* sum will store the total length of all strings in a stripe
*
*/
public Builder clearSum() {
bitField0_ = (bitField0_ & ~0x00000004);
sum_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.StringStatistics)
}
static {
defaultInstance = new StringStatistics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.StringStatistics)
}
public interface BucketStatisticsOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// repeated uint64 count = 1 [packed = true];
/**
* repeated uint64 count = 1 [packed = true];
*/
java.util.List getCountList();
/**
* repeated uint64 count = 1 [packed = true];
*/
int getCountCount();
/**
* repeated uint64 count = 1 [packed = true];
*/
long getCount(int index);
}
/**
* Protobuf type {@code orc.proto.BucketStatistics}
*/
public static final class BucketStatistics extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements BucketStatisticsOrBuilder {
// Use BucketStatistics.newBuilder() to construct.
private BucketStatistics(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BucketStatistics(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BucketStatistics defaultInstance;
public static BucketStatistics getDefaultInstance() {
return defaultInstance;
}
public BucketStatistics getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BucketStatistics(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
count_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
count_.add(input.readUInt64());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
count_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
count_.add(input.readUInt64());
}
input.popLimit(limit);
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
count_ = java.util.Collections.unmodifiableList(count_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BucketStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BucketStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.BucketStatistics.class, org.apache.orc.OrcProto.BucketStatistics.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public BucketStatistics parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new BucketStatistics(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated uint64 count = 1 [packed = true];
public static final int COUNT_FIELD_NUMBER = 1;
private java.util.List count_;
/**
* repeated uint64 count = 1 [packed = true];
*/
public java.util.List
getCountList() {
return count_;
}
/**
* repeated uint64 count = 1 [packed = true];
*/
public int getCountCount() {
return count_.size();
}
/**
* repeated uint64 count = 1 [packed = true];
*/
public long getCount(int index) {
return count_.get(index);
}
private int countMemoizedSerializedSize = -1;
private void initFields() {
count_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getCountList().size() > 0) {
output.writeRawVarint32(10);
output.writeRawVarint32(countMemoizedSerializedSize);
}
for (int i = 0; i < count_.size(); i++) {
output.writeUInt64NoTag(count_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < count_.size(); i++) {
dataSize += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt64SizeNoTag(count_.get(i));
}
size += dataSize;
if (!getCountList().isEmpty()) {
size += 1;
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
countMemoizedSerializedSize = dataSize;
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.BucketStatistics parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.BucketStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.BucketStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.BucketStatistics parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.BucketStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.BucketStatistics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.BucketStatistics}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.BucketStatisticsOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BucketStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BucketStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.BucketStatistics.class, org.apache.orc.OrcProto.BucketStatistics.Builder.class);
}
// Construct using org.apache.orc.OrcProto.BucketStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
count_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BucketStatistics_descriptor;
}
public org.apache.orc.OrcProto.BucketStatistics getDefaultInstanceForType() {
return org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance();
}
public org.apache.orc.OrcProto.BucketStatistics build() {
org.apache.orc.OrcProto.BucketStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.BucketStatistics buildPartial() {
org.apache.orc.OrcProto.BucketStatistics result = new org.apache.orc.OrcProto.BucketStatistics(this);
int from_bitField0_ = bitField0_;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
count_ = java.util.Collections.unmodifiableList(count_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.count_ = count_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.BucketStatistics) {
return mergeFrom((org.apache.orc.OrcProto.BucketStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.BucketStatistics other) {
if (other == org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance()) return this;
if (!other.count_.isEmpty()) {
if (count_.isEmpty()) {
count_ = other.count_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureCountIsMutable();
count_.addAll(other.count_);
}
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.BucketStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.BucketStatistics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated uint64 count = 1 [packed = true];
private java.util.List count_ = java.util.Collections.emptyList();
private void ensureCountIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
count_ = new java.util.ArrayList(count_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated uint64 count = 1 [packed = true];
*/
public java.util.List
getCountList() {
return java.util.Collections.unmodifiableList(count_);
}
/**
* repeated uint64 count = 1 [packed = true];
*/
public int getCountCount() {
return count_.size();
}
/**
* repeated uint64 count = 1 [packed = true];
*/
public long getCount(int index) {
return count_.get(index);
}
/**
* repeated uint64 count = 1 [packed = true];
*/
public Builder setCount(
int index, long value) {
ensureCountIsMutable();
count_.set(index, value);
onChanged();
return this;
}
/**
* repeated uint64 count = 1 [packed = true];
*/
public Builder addCount(long value) {
ensureCountIsMutable();
count_.add(value);
onChanged();
return this;
}
/**
* repeated uint64 count = 1 [packed = true];
*/
public Builder addAllCount(
java.lang.Iterable extends java.lang.Long> values) {
ensureCountIsMutable();
super.addAll(values, count_);
onChanged();
return this;
}
/**
* repeated uint64 count = 1 [packed = true];
*/
public Builder clearCount() {
count_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.BucketStatistics)
}
static {
defaultInstance = new BucketStatistics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.BucketStatistics)
}
public interface DecimalStatisticsOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional string minimum = 1;
/**
* optional string minimum = 1;
*/
boolean hasMinimum();
/**
* optional string minimum = 1;
*/
java.lang.String getMinimum();
/**
* optional string minimum = 1;
*/
io.trino.hive.$internal.com.google.protobuf.ByteString
getMinimumBytes();
// optional string maximum = 2;
/**
* optional string maximum = 2;
*/
boolean hasMaximum();
/**
* optional string maximum = 2;
*/
java.lang.String getMaximum();
/**
* optional string maximum = 2;
*/
io.trino.hive.$internal.com.google.protobuf.ByteString
getMaximumBytes();
// optional string sum = 3;
/**
* optional string sum = 3;
*/
boolean hasSum();
/**
* optional string sum = 3;
*/
java.lang.String getSum();
/**
* optional string sum = 3;
*/
io.trino.hive.$internal.com.google.protobuf.ByteString
getSumBytes();
}
/**
* Protobuf type {@code orc.proto.DecimalStatistics}
*/
public static final class DecimalStatistics extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements DecimalStatisticsOrBuilder {
// Use DecimalStatistics.newBuilder() to construct.
private DecimalStatistics(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private DecimalStatistics(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final DecimalStatistics defaultInstance;
public static DecimalStatistics getDefaultInstance() {
return defaultInstance;
}
public DecimalStatistics getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DecimalStatistics(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
minimum_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
maximum_ = input.readBytes();
break;
}
case 26: {
bitField0_ |= 0x00000004;
sum_ = input.readBytes();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.DecimalStatistics.class, org.apache.orc.OrcProto.DecimalStatistics.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public DecimalStatistics parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new DecimalStatistics(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string minimum = 1;
public static final int MINIMUM_FIELD_NUMBER = 1;
private java.lang.Object minimum_;
/**
* optional string minimum = 1;
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string minimum = 1;
*/
public java.lang.String getMinimum() {
java.lang.Object ref = minimum_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.trino.hive.$internal.com.google.protobuf.ByteString bs =
(io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
minimum_ = s;
}
return s;
}
}
/**
* optional string minimum = 1;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getMinimumBytes() {
java.lang.Object ref = minimum_;
if (ref instanceof java.lang.String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
minimum_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional string maximum = 2;
public static final int MAXIMUM_FIELD_NUMBER = 2;
private java.lang.Object maximum_;
/**
* optional string maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string maximum = 2;
*/
public java.lang.String getMaximum() {
java.lang.Object ref = maximum_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.trino.hive.$internal.com.google.protobuf.ByteString bs =
(io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
maximum_ = s;
}
return s;
}
}
/**
* optional string maximum = 2;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getMaximumBytes() {
java.lang.Object ref = maximum_;
if (ref instanceof java.lang.String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
maximum_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional string sum = 3;
public static final int SUM_FIELD_NUMBER = 3;
private java.lang.Object sum_;
/**
* optional string sum = 3;
*/
public boolean hasSum() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string sum = 3;
*/
public java.lang.String getSum() {
java.lang.Object ref = sum_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.trino.hive.$internal.com.google.protobuf.ByteString bs =
(io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
sum_ = s;
}
return s;
}
}
/**
* optional string sum = 3;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getSumBytes() {
java.lang.Object ref = sum_;
if (ref instanceof java.lang.String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sum_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
minimum_ = "";
maximum_ = "";
sum_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getMinimumBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, getMaximumBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeBytes(3, getSumBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getMinimumBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(2, getMaximumBytes());
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getSumBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.DecimalStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.DecimalStatistics parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.DecimalStatistics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.DecimalStatistics}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.DecimalStatisticsOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.DecimalStatistics.class, org.apache.orc.OrcProto.DecimalStatistics.Builder.class);
}
// Construct using org.apache.orc.OrcProto.DecimalStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
minimum_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
maximum_ = "";
bitField0_ = (bitField0_ & ~0x00000002);
sum_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_descriptor;
}
public org.apache.orc.OrcProto.DecimalStatistics getDefaultInstanceForType() {
return org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance();
}
public org.apache.orc.OrcProto.DecimalStatistics build() {
org.apache.orc.OrcProto.DecimalStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.DecimalStatistics buildPartial() {
org.apache.orc.OrcProto.DecimalStatistics result = new org.apache.orc.OrcProto.DecimalStatistics(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.minimum_ = minimum_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.maximum_ = maximum_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.sum_ = sum_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.DecimalStatistics) {
return mergeFrom((org.apache.orc.OrcProto.DecimalStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.DecimalStatistics other) {
if (other == org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance()) return this;
if (other.hasMinimum()) {
bitField0_ |= 0x00000001;
minimum_ = other.minimum_;
onChanged();
}
if (other.hasMaximum()) {
bitField0_ |= 0x00000002;
maximum_ = other.maximum_;
onChanged();
}
if (other.hasSum()) {
bitField0_ |= 0x00000004;
sum_ = other.sum_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.DecimalStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.DecimalStatistics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string minimum = 1;
private java.lang.Object minimum_ = "";
/**
* optional string minimum = 1;
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string minimum = 1;
*/
public java.lang.String getMinimum() {
java.lang.Object ref = minimum_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.trino.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
minimum_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string minimum = 1;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getMinimumBytes() {
java.lang.Object ref = minimum_;
if (ref instanceof String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
minimum_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string minimum = 1;
*/
public Builder setMinimum(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
minimum_ = value;
onChanged();
return this;
}
/**
* optional string minimum = 1;
*/
public Builder clearMinimum() {
bitField0_ = (bitField0_ & ~0x00000001);
minimum_ = getDefaultInstance().getMinimum();
onChanged();
return this;
}
/**
* optional string minimum = 1;
*/
public Builder setMinimumBytes(
io.trino.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
minimum_ = value;
onChanged();
return this;
}
// optional string maximum = 2;
private java.lang.Object maximum_ = "";
/**
* optional string maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional string maximum = 2;
*/
public java.lang.String getMaximum() {
java.lang.Object ref = maximum_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.trino.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
maximum_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string maximum = 2;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getMaximumBytes() {
java.lang.Object ref = maximum_;
if (ref instanceof String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
maximum_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string maximum = 2;
*/
public Builder setMaximum(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
maximum_ = value;
onChanged();
return this;
}
/**
* optional string maximum = 2;
*/
public Builder clearMaximum() {
bitField0_ = (bitField0_ & ~0x00000002);
maximum_ = getDefaultInstance().getMaximum();
onChanged();
return this;
}
/**
* optional string maximum = 2;
*/
public Builder setMaximumBytes(
io.trino.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
maximum_ = value;
onChanged();
return this;
}
// optional string sum = 3;
private java.lang.Object sum_ = "";
/**
* optional string sum = 3;
*/
public boolean hasSum() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string sum = 3;
*/
public java.lang.String getSum() {
java.lang.Object ref = sum_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.trino.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
sum_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string sum = 3;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getSumBytes() {
java.lang.Object ref = sum_;
if (ref instanceof String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
sum_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string sum = 3;
*/
public Builder setSum(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
sum_ = value;
onChanged();
return this;
}
/**
* optional string sum = 3;
*/
public Builder clearSum() {
bitField0_ = (bitField0_ & ~0x00000004);
sum_ = getDefaultInstance().getSum();
onChanged();
return this;
}
/**
* optional string sum = 3;
*/
public Builder setSumBytes(
io.trino.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
sum_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.DecimalStatistics)
}
static {
defaultInstance = new DecimalStatistics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.DecimalStatistics)
}
public interface DateStatisticsOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional sint32 minimum = 1;
/**
* optional sint32 minimum = 1;
*
*
* min,max values saved as days since epoch
*
*/
boolean hasMinimum();
/**
* optional sint32 minimum = 1;
*
*
* min,max values saved as days since epoch
*
*/
int getMinimum();
// optional sint32 maximum = 2;
/**
* optional sint32 maximum = 2;
*/
boolean hasMaximum();
/**
* optional sint32 maximum = 2;
*/
int getMaximum();
}
/**
* Protobuf type {@code orc.proto.DateStatistics}
*/
public static final class DateStatistics extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements DateStatisticsOrBuilder {
// Use DateStatistics.newBuilder() to construct.
private DateStatistics(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private DateStatistics(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final DateStatistics defaultInstance;
public static DateStatistics getDefaultInstance() {
return defaultInstance;
}
public DateStatistics getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private DateStatistics(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
minimum_ = input.readSInt32();
break;
}
case 16: {
bitField0_ |= 0x00000002;
maximum_ = input.readSInt32();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.DateStatistics.class, org.apache.orc.OrcProto.DateStatistics.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public DateStatistics parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new DateStatistics(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional sint32 minimum = 1;
public static final int MINIMUM_FIELD_NUMBER = 1;
private int minimum_;
/**
* optional sint32 minimum = 1;
*
*
* min,max values saved as days since epoch
*
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional sint32 minimum = 1;
*
*
* min,max values saved as days since epoch
*
*/
public int getMinimum() {
return minimum_;
}
// optional sint32 maximum = 2;
public static final int MAXIMUM_FIELD_NUMBER = 2;
private int maximum_;
/**
* optional sint32 maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional sint32 maximum = 2;
*/
public int getMaximum() {
return maximum_;
}
private void initFields() {
minimum_ = 0;
maximum_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeSInt32(1, minimum_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeSInt32(2, maximum_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt32Size(1, minimum_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt32Size(2, maximum_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.DateStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.DateStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.DateStatistics parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.DateStatistics parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.DateStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.DateStatistics parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.DateStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.DateStatistics parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.DateStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.DateStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.DateStatistics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.DateStatistics}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.DateStatisticsOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.DateStatistics.class, org.apache.orc.OrcProto.DateStatistics.Builder.class);
}
// Construct using org.apache.orc.OrcProto.DateStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
minimum_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
maximum_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_descriptor;
}
public org.apache.orc.OrcProto.DateStatistics getDefaultInstanceForType() {
return org.apache.orc.OrcProto.DateStatistics.getDefaultInstance();
}
public org.apache.orc.OrcProto.DateStatistics build() {
org.apache.orc.OrcProto.DateStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.DateStatistics buildPartial() {
org.apache.orc.OrcProto.DateStatistics result = new org.apache.orc.OrcProto.DateStatistics(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.minimum_ = minimum_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.maximum_ = maximum_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.DateStatistics) {
return mergeFrom((org.apache.orc.OrcProto.DateStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.DateStatistics other) {
if (other == org.apache.orc.OrcProto.DateStatistics.getDefaultInstance()) return this;
if (other.hasMinimum()) {
setMinimum(other.getMinimum());
}
if (other.hasMaximum()) {
setMaximum(other.getMaximum());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.DateStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.DateStatistics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional sint32 minimum = 1;
private int minimum_ ;
/**
* optional sint32 minimum = 1;
*
*
* min,max values saved as days since epoch
*
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional sint32 minimum = 1;
*
*
* min,max values saved as days since epoch
*
*/
public int getMinimum() {
return minimum_;
}
/**
* optional sint32 minimum = 1;
*
*
* min,max values saved as days since epoch
*
*/
public Builder setMinimum(int value) {
bitField0_ |= 0x00000001;
minimum_ = value;
onChanged();
return this;
}
/**
* optional sint32 minimum = 1;
*
*
* min,max values saved as days since epoch
*
*/
public Builder clearMinimum() {
bitField0_ = (bitField0_ & ~0x00000001);
minimum_ = 0;
onChanged();
return this;
}
// optional sint32 maximum = 2;
private int maximum_ ;
/**
* optional sint32 maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional sint32 maximum = 2;
*/
public int getMaximum() {
return maximum_;
}
/**
* optional sint32 maximum = 2;
*/
public Builder setMaximum(int value) {
bitField0_ |= 0x00000002;
maximum_ = value;
onChanged();
return this;
}
/**
* optional sint32 maximum = 2;
*/
public Builder clearMaximum() {
bitField0_ = (bitField0_ & ~0x00000002);
maximum_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.DateStatistics)
}
static {
defaultInstance = new DateStatistics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.DateStatistics)
}
public interface TimestampStatisticsOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional sint64 minimum = 1;
/**
* optional sint64 minimum = 1;
*
*
* min,max values saved as milliseconds since epoch
*
*/
boolean hasMinimum();
/**
* optional sint64 minimum = 1;
*
*
* min,max values saved as milliseconds since epoch
*
*/
long getMinimum();
// optional sint64 maximum = 2;
/**
* optional sint64 maximum = 2;
*/
boolean hasMaximum();
/**
* optional sint64 maximum = 2;
*/
long getMaximum();
// optional sint64 minimumUtc = 3;
/**
* optional sint64 minimumUtc = 3;
*/
boolean hasMinimumUtc();
/**
* optional sint64 minimumUtc = 3;
*/
long getMinimumUtc();
// optional sint64 maximumUtc = 4;
/**
* optional sint64 maximumUtc = 4;
*/
boolean hasMaximumUtc();
/**
* optional sint64 maximumUtc = 4;
*/
long getMaximumUtc();
}
/**
* Protobuf type {@code orc.proto.TimestampStatistics}
*/
public static final class TimestampStatistics extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements TimestampStatisticsOrBuilder {
// Use TimestampStatistics.newBuilder() to construct.
private TimestampStatistics(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private TimestampStatistics(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final TimestampStatistics defaultInstance;
public static TimestampStatistics getDefaultInstance() {
return defaultInstance;
}
public TimestampStatistics getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private TimestampStatistics(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
minimum_ = input.readSInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
maximum_ = input.readSInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
minimumUtc_ = input.readSInt64();
break;
}
case 32: {
bitField0_ |= 0x00000008;
maximumUtc_ = input.readSInt64();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.TimestampStatistics.class, org.apache.orc.OrcProto.TimestampStatistics.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public TimestampStatistics parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new TimestampStatistics(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional sint64 minimum = 1;
public static final int MINIMUM_FIELD_NUMBER = 1;
private long minimum_;
/**
* optional sint64 minimum = 1;
*
*
* min,max values saved as milliseconds since epoch
*
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional sint64 minimum = 1;
*
*
* min,max values saved as milliseconds since epoch
*
*/
public long getMinimum() {
return minimum_;
}
// optional sint64 maximum = 2;
public static final int MAXIMUM_FIELD_NUMBER = 2;
private long maximum_;
/**
* optional sint64 maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional sint64 maximum = 2;
*/
public long getMaximum() {
return maximum_;
}
// optional sint64 minimumUtc = 3;
public static final int MINIMUMUTC_FIELD_NUMBER = 3;
private long minimumUtc_;
/**
* optional sint64 minimumUtc = 3;
*/
public boolean hasMinimumUtc() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional sint64 minimumUtc = 3;
*/
public long getMinimumUtc() {
return minimumUtc_;
}
// optional sint64 maximumUtc = 4;
public static final int MAXIMUMUTC_FIELD_NUMBER = 4;
private long maximumUtc_;
/**
* optional sint64 maximumUtc = 4;
*/
public boolean hasMaximumUtc() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional sint64 maximumUtc = 4;
*/
public long getMaximumUtc() {
return maximumUtc_;
}
private void initFields() {
minimum_ = 0L;
maximum_ = 0L;
minimumUtc_ = 0L;
maximumUtc_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeSInt64(1, minimum_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeSInt64(2, maximum_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeSInt64(3, minimumUtc_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeSInt64(4, maximumUtc_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt64Size(1, minimum_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt64Size(2, maximum_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt64Size(3, minimumUtc_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt64Size(4, maximumUtc_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.TimestampStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.TimestampStatistics parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.TimestampStatistics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.TimestampStatistics}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.TimestampStatisticsOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.TimestampStatistics.class, org.apache.orc.OrcProto.TimestampStatistics.Builder.class);
}
// Construct using org.apache.orc.OrcProto.TimestampStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
minimum_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
maximum_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
minimumUtc_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
maximumUtc_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_descriptor;
}
public org.apache.orc.OrcProto.TimestampStatistics getDefaultInstanceForType() {
return org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance();
}
public org.apache.orc.OrcProto.TimestampStatistics build() {
org.apache.orc.OrcProto.TimestampStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.TimestampStatistics buildPartial() {
org.apache.orc.OrcProto.TimestampStatistics result = new org.apache.orc.OrcProto.TimestampStatistics(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.minimum_ = minimum_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.maximum_ = maximum_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.minimumUtc_ = minimumUtc_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.maximumUtc_ = maximumUtc_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.TimestampStatistics) {
return mergeFrom((org.apache.orc.OrcProto.TimestampStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.TimestampStatistics other) {
if (other == org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance()) return this;
if (other.hasMinimum()) {
setMinimum(other.getMinimum());
}
if (other.hasMaximum()) {
setMaximum(other.getMaximum());
}
if (other.hasMinimumUtc()) {
setMinimumUtc(other.getMinimumUtc());
}
if (other.hasMaximumUtc()) {
setMaximumUtc(other.getMaximumUtc());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.TimestampStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.TimestampStatistics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional sint64 minimum = 1;
private long minimum_ ;
/**
* optional sint64 minimum = 1;
*
*
* min,max values saved as milliseconds since epoch
*
*/
public boolean hasMinimum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional sint64 minimum = 1;
*
*
* min,max values saved as milliseconds since epoch
*
*/
public long getMinimum() {
return minimum_;
}
/**
* optional sint64 minimum = 1;
*
*
* min,max values saved as milliseconds since epoch
*
*/
public Builder setMinimum(long value) {
bitField0_ |= 0x00000001;
minimum_ = value;
onChanged();
return this;
}
/**
* optional sint64 minimum = 1;
*
*
* min,max values saved as milliseconds since epoch
*
*/
public Builder clearMinimum() {
bitField0_ = (bitField0_ & ~0x00000001);
minimum_ = 0L;
onChanged();
return this;
}
// optional sint64 maximum = 2;
private long maximum_ ;
/**
* optional sint64 maximum = 2;
*/
public boolean hasMaximum() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional sint64 maximum = 2;
*/
public long getMaximum() {
return maximum_;
}
/**
* optional sint64 maximum = 2;
*/
public Builder setMaximum(long value) {
bitField0_ |= 0x00000002;
maximum_ = value;
onChanged();
return this;
}
/**
* optional sint64 maximum = 2;
*/
public Builder clearMaximum() {
bitField0_ = (bitField0_ & ~0x00000002);
maximum_ = 0L;
onChanged();
return this;
}
// optional sint64 minimumUtc = 3;
private long minimumUtc_ ;
/**
* optional sint64 minimumUtc = 3;
*/
public boolean hasMinimumUtc() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional sint64 minimumUtc = 3;
*/
public long getMinimumUtc() {
return minimumUtc_;
}
/**
* optional sint64 minimumUtc = 3;
*/
public Builder setMinimumUtc(long value) {
bitField0_ |= 0x00000004;
minimumUtc_ = value;
onChanged();
return this;
}
/**
* optional sint64 minimumUtc = 3;
*/
public Builder clearMinimumUtc() {
bitField0_ = (bitField0_ & ~0x00000004);
minimumUtc_ = 0L;
onChanged();
return this;
}
// optional sint64 maximumUtc = 4;
private long maximumUtc_ ;
/**
* optional sint64 maximumUtc = 4;
*/
public boolean hasMaximumUtc() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional sint64 maximumUtc = 4;
*/
public long getMaximumUtc() {
return maximumUtc_;
}
/**
* optional sint64 maximumUtc = 4;
*/
public Builder setMaximumUtc(long value) {
bitField0_ |= 0x00000008;
maximumUtc_ = value;
onChanged();
return this;
}
/**
* optional sint64 maximumUtc = 4;
*/
public Builder clearMaximumUtc() {
bitField0_ = (bitField0_ & ~0x00000008);
maximumUtc_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.TimestampStatistics)
}
static {
defaultInstance = new TimestampStatistics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.TimestampStatistics)
}
public interface BinaryStatisticsOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional sint64 sum = 1;
/**
* optional sint64 sum = 1;
*
*
* sum will store the total binary blob length in a stripe
*
*/
boolean hasSum();
/**
* optional sint64 sum = 1;
*
*
* sum will store the total binary blob length in a stripe
*
*/
long getSum();
}
/**
* Protobuf type {@code orc.proto.BinaryStatistics}
*/
public static final class BinaryStatistics extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements BinaryStatisticsOrBuilder {
// Use BinaryStatistics.newBuilder() to construct.
private BinaryStatistics(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BinaryStatistics(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BinaryStatistics defaultInstance;
public static BinaryStatistics getDefaultInstance() {
return defaultInstance;
}
public BinaryStatistics getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BinaryStatistics(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
sum_ = input.readSInt64();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.BinaryStatistics.class, org.apache.orc.OrcProto.BinaryStatistics.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public BinaryStatistics parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new BinaryStatistics(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional sint64 sum = 1;
public static final int SUM_FIELD_NUMBER = 1;
private long sum_;
/**
* optional sint64 sum = 1;
*
*
* sum will store the total binary blob length in a stripe
*
*/
public boolean hasSum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional sint64 sum = 1;
*
*
* sum will store the total binary blob length in a stripe
*
*/
public long getSum() {
return sum_;
}
private void initFields() {
sum_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeSInt64(1, sum_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeSInt64Size(1, sum_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.BinaryStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.BinaryStatistics parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.BinaryStatistics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.BinaryStatistics}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.BinaryStatisticsOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.BinaryStatistics.class, org.apache.orc.OrcProto.BinaryStatistics.Builder.class);
}
// Construct using org.apache.orc.OrcProto.BinaryStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
sum_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_descriptor;
}
public org.apache.orc.OrcProto.BinaryStatistics getDefaultInstanceForType() {
return org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance();
}
public org.apache.orc.OrcProto.BinaryStatistics build() {
org.apache.orc.OrcProto.BinaryStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.BinaryStatistics buildPartial() {
org.apache.orc.OrcProto.BinaryStatistics result = new org.apache.orc.OrcProto.BinaryStatistics(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.sum_ = sum_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.BinaryStatistics) {
return mergeFrom((org.apache.orc.OrcProto.BinaryStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.BinaryStatistics other) {
if (other == org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance()) return this;
if (other.hasSum()) {
setSum(other.getSum());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.BinaryStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.BinaryStatistics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional sint64 sum = 1;
private long sum_ ;
/**
* optional sint64 sum = 1;
*
*
* sum will store the total binary blob length in a stripe
*
*/
public boolean hasSum() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional sint64 sum = 1;
*
*
* sum will store the total binary blob length in a stripe
*
*/
public long getSum() {
return sum_;
}
/**
* optional sint64 sum = 1;
*
*
* sum will store the total binary blob length in a stripe
*
*/
public Builder setSum(long value) {
bitField0_ |= 0x00000001;
sum_ = value;
onChanged();
return this;
}
/**
* optional sint64 sum = 1;
*
*
* sum will store the total binary blob length in a stripe
*
*/
public Builder clearSum() {
bitField0_ = (bitField0_ & ~0x00000001);
sum_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.BinaryStatistics)
}
static {
defaultInstance = new BinaryStatistics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.BinaryStatistics)
}
public interface ColumnStatisticsOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional uint64 numberOfValues = 1;
/**
* optional uint64 numberOfValues = 1;
*/
boolean hasNumberOfValues();
/**
* optional uint64 numberOfValues = 1;
*/
long getNumberOfValues();
// optional .orc.proto.IntegerStatistics intStatistics = 2;
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
boolean hasIntStatistics();
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
org.apache.orc.OrcProto.IntegerStatistics getIntStatistics();
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
org.apache.orc.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder();
// optional .orc.proto.DoubleStatistics doubleStatistics = 3;
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
boolean hasDoubleStatistics();
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
org.apache.orc.OrcProto.DoubleStatistics getDoubleStatistics();
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
org.apache.orc.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder();
// optional .orc.proto.StringStatistics stringStatistics = 4;
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
boolean hasStringStatistics();
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
org.apache.orc.OrcProto.StringStatistics getStringStatistics();
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
org.apache.orc.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder();
// optional .orc.proto.BucketStatistics bucketStatistics = 5;
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
boolean hasBucketStatistics();
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
org.apache.orc.OrcProto.BucketStatistics getBucketStatistics();
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
org.apache.orc.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder();
// optional .orc.proto.DecimalStatistics decimalStatistics = 6;
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
boolean hasDecimalStatistics();
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
org.apache.orc.OrcProto.DecimalStatistics getDecimalStatistics();
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
org.apache.orc.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder();
// optional .orc.proto.DateStatistics dateStatistics = 7;
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
boolean hasDateStatistics();
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
org.apache.orc.OrcProto.DateStatistics getDateStatistics();
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
org.apache.orc.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder();
// optional .orc.proto.BinaryStatistics binaryStatistics = 8;
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
boolean hasBinaryStatistics();
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
org.apache.orc.OrcProto.BinaryStatistics getBinaryStatistics();
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
org.apache.orc.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder();
// optional .orc.proto.TimestampStatistics timestampStatistics = 9;
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
boolean hasTimestampStatistics();
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
org.apache.orc.OrcProto.TimestampStatistics getTimestampStatistics();
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
org.apache.orc.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder();
// optional bool hasNull = 10;
/**
* optional bool hasNull = 10;
*/
boolean hasHasNull();
/**
* optional bool hasNull = 10;
*/
boolean getHasNull();
// optional uint64 bytesOnDisk = 11;
/**
* optional uint64 bytesOnDisk = 11;
*/
boolean hasBytesOnDisk();
/**
* optional uint64 bytesOnDisk = 11;
*/
long getBytesOnDisk();
}
/**
* Protobuf type {@code orc.proto.ColumnStatistics}
*/
public static final class ColumnStatistics extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements ColumnStatisticsOrBuilder {
// Use ColumnStatistics.newBuilder() to construct.
private ColumnStatistics(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ColumnStatistics(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ColumnStatistics defaultInstance;
public static ColumnStatistics getDefaultInstance() {
return defaultInstance;
}
public ColumnStatistics getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ColumnStatistics(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
numberOfValues_ = input.readUInt64();
break;
}
case 18: {
org.apache.orc.OrcProto.IntegerStatistics.Builder subBuilder = null;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subBuilder = intStatistics_.toBuilder();
}
intStatistics_ = input.readMessage(org.apache.orc.OrcProto.IntegerStatistics.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(intStatistics_);
intStatistics_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000002;
break;
}
case 26: {
org.apache.orc.OrcProto.DoubleStatistics.Builder subBuilder = null;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
subBuilder = doubleStatistics_.toBuilder();
}
doubleStatistics_ = input.readMessage(org.apache.orc.OrcProto.DoubleStatistics.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(doubleStatistics_);
doubleStatistics_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000004;
break;
}
case 34: {
org.apache.orc.OrcProto.StringStatistics.Builder subBuilder = null;
if (((bitField0_ & 0x00000008) == 0x00000008)) {
subBuilder = stringStatistics_.toBuilder();
}
stringStatistics_ = input.readMessage(org.apache.orc.OrcProto.StringStatistics.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(stringStatistics_);
stringStatistics_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000008;
break;
}
case 42: {
org.apache.orc.OrcProto.BucketStatistics.Builder subBuilder = null;
if (((bitField0_ & 0x00000010) == 0x00000010)) {
subBuilder = bucketStatistics_.toBuilder();
}
bucketStatistics_ = input.readMessage(org.apache.orc.OrcProto.BucketStatistics.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(bucketStatistics_);
bucketStatistics_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000010;
break;
}
case 50: {
org.apache.orc.OrcProto.DecimalStatistics.Builder subBuilder = null;
if (((bitField0_ & 0x00000020) == 0x00000020)) {
subBuilder = decimalStatistics_.toBuilder();
}
decimalStatistics_ = input.readMessage(org.apache.orc.OrcProto.DecimalStatistics.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(decimalStatistics_);
decimalStatistics_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000020;
break;
}
case 58: {
org.apache.orc.OrcProto.DateStatistics.Builder subBuilder = null;
if (((bitField0_ & 0x00000040) == 0x00000040)) {
subBuilder = dateStatistics_.toBuilder();
}
dateStatistics_ = input.readMessage(org.apache.orc.OrcProto.DateStatistics.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(dateStatistics_);
dateStatistics_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000040;
break;
}
case 66: {
org.apache.orc.OrcProto.BinaryStatistics.Builder subBuilder = null;
if (((bitField0_ & 0x00000080) == 0x00000080)) {
subBuilder = binaryStatistics_.toBuilder();
}
binaryStatistics_ = input.readMessage(org.apache.orc.OrcProto.BinaryStatistics.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(binaryStatistics_);
binaryStatistics_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000080;
break;
}
case 74: {
org.apache.orc.OrcProto.TimestampStatistics.Builder subBuilder = null;
if (((bitField0_ & 0x00000100) == 0x00000100)) {
subBuilder = timestampStatistics_.toBuilder();
}
timestampStatistics_ = input.readMessage(org.apache.orc.OrcProto.TimestampStatistics.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(timestampStatistics_);
timestampStatistics_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000100;
break;
}
case 80: {
bitField0_ |= 0x00000200;
hasNull_ = input.readBool();
break;
}
case 88: {
bitField0_ |= 0x00000400;
bytesOnDisk_ = input.readUInt64();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.ColumnStatistics.class, org.apache.orc.OrcProto.ColumnStatistics.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public ColumnStatistics parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new ColumnStatistics(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional uint64 numberOfValues = 1;
public static final int NUMBEROFVALUES_FIELD_NUMBER = 1;
private long numberOfValues_;
/**
* optional uint64 numberOfValues = 1;
*/
public boolean hasNumberOfValues() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 numberOfValues = 1;
*/
public long getNumberOfValues() {
return numberOfValues_;
}
// optional .orc.proto.IntegerStatistics intStatistics = 2;
public static final int INTSTATISTICS_FIELD_NUMBER = 2;
private org.apache.orc.OrcProto.IntegerStatistics intStatistics_;
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public boolean hasIntStatistics() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public org.apache.orc.OrcProto.IntegerStatistics getIntStatistics() {
return intStatistics_;
}
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public org.apache.orc.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder() {
return intStatistics_;
}
// optional .orc.proto.DoubleStatistics doubleStatistics = 3;
public static final int DOUBLESTATISTICS_FIELD_NUMBER = 3;
private org.apache.orc.OrcProto.DoubleStatistics doubleStatistics_;
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public boolean hasDoubleStatistics() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public org.apache.orc.OrcProto.DoubleStatistics getDoubleStatistics() {
return doubleStatistics_;
}
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public org.apache.orc.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder() {
return doubleStatistics_;
}
// optional .orc.proto.StringStatistics stringStatistics = 4;
public static final int STRINGSTATISTICS_FIELD_NUMBER = 4;
private org.apache.orc.OrcProto.StringStatistics stringStatistics_;
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public boolean hasStringStatistics() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public org.apache.orc.OrcProto.StringStatistics getStringStatistics() {
return stringStatistics_;
}
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public org.apache.orc.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder() {
return stringStatistics_;
}
// optional .orc.proto.BucketStatistics bucketStatistics = 5;
public static final int BUCKETSTATISTICS_FIELD_NUMBER = 5;
private org.apache.orc.OrcProto.BucketStatistics bucketStatistics_;
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public boolean hasBucketStatistics() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public org.apache.orc.OrcProto.BucketStatistics getBucketStatistics() {
return bucketStatistics_;
}
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public org.apache.orc.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder() {
return bucketStatistics_;
}
// optional .orc.proto.DecimalStatistics decimalStatistics = 6;
public static final int DECIMALSTATISTICS_FIELD_NUMBER = 6;
private org.apache.orc.OrcProto.DecimalStatistics decimalStatistics_;
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public boolean hasDecimalStatistics() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public org.apache.orc.OrcProto.DecimalStatistics getDecimalStatistics() {
return decimalStatistics_;
}
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public org.apache.orc.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder() {
return decimalStatistics_;
}
// optional .orc.proto.DateStatistics dateStatistics = 7;
public static final int DATESTATISTICS_FIELD_NUMBER = 7;
private org.apache.orc.OrcProto.DateStatistics dateStatistics_;
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public boolean hasDateStatistics() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public org.apache.orc.OrcProto.DateStatistics getDateStatistics() {
return dateStatistics_;
}
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public org.apache.orc.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder() {
return dateStatistics_;
}
// optional .orc.proto.BinaryStatistics binaryStatistics = 8;
public static final int BINARYSTATISTICS_FIELD_NUMBER = 8;
private org.apache.orc.OrcProto.BinaryStatistics binaryStatistics_;
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public boolean hasBinaryStatistics() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public org.apache.orc.OrcProto.BinaryStatistics getBinaryStatistics() {
return binaryStatistics_;
}
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public org.apache.orc.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder() {
return binaryStatistics_;
}
// optional .orc.proto.TimestampStatistics timestampStatistics = 9;
public static final int TIMESTAMPSTATISTICS_FIELD_NUMBER = 9;
private org.apache.orc.OrcProto.TimestampStatistics timestampStatistics_;
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public boolean hasTimestampStatistics() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public org.apache.orc.OrcProto.TimestampStatistics getTimestampStatistics() {
return timestampStatistics_;
}
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public org.apache.orc.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder() {
return timestampStatistics_;
}
// optional bool hasNull = 10;
public static final int HASNULL_FIELD_NUMBER = 10;
private boolean hasNull_;
/**
* optional bool hasNull = 10;
*/
public boolean hasHasNull() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional bool hasNull = 10;
*/
public boolean getHasNull() {
return hasNull_;
}
// optional uint64 bytesOnDisk = 11;
public static final int BYTESONDISK_FIELD_NUMBER = 11;
private long bytesOnDisk_;
/**
* optional uint64 bytesOnDisk = 11;
*/
public boolean hasBytesOnDisk() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional uint64 bytesOnDisk = 11;
*/
public long getBytesOnDisk() {
return bytesOnDisk_;
}
private void initFields() {
numberOfValues_ = 0L;
intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance();
doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance();
stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance();
bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance();
decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance();
dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance();
binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance();
timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance();
hasNull_ = false;
bytesOnDisk_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt64(1, numberOfValues_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeMessage(2, intStatistics_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeMessage(3, doubleStatistics_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeMessage(4, stringStatistics_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeMessage(5, bucketStatistics_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
output.writeMessage(6, decimalStatistics_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
output.writeMessage(7, dateStatistics_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
output.writeMessage(8, binaryStatistics_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
output.writeMessage(9, timestampStatistics_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
output.writeBool(10, hasNull_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
output.writeUInt64(11, bytesOnDisk_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, numberOfValues_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, intStatistics_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(3, doubleStatistics_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(4, stringStatistics_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(5, bucketStatistics_);
}
if (((bitField0_ & 0x00000020) == 0x00000020)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(6, decimalStatistics_);
}
if (((bitField0_ & 0x00000040) == 0x00000040)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(7, dateStatistics_);
}
if (((bitField0_ & 0x00000080) == 0x00000080)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(8, binaryStatistics_);
}
if (((bitField0_ & 0x00000100) == 0x00000100)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(9, timestampStatistics_);
}
if (((bitField0_ & 0x00000200) == 0x00000200)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBoolSize(10, hasNull_);
}
if (((bitField0_ & 0x00000400) == 0x00000400)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt64Size(11, bytesOnDisk_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.ColumnStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.ColumnStatistics parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.ColumnStatistics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.ColumnStatistics}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.ColumnStatisticsOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.ColumnStatistics.class, org.apache.orc.OrcProto.ColumnStatistics.Builder.class);
}
// Construct using org.apache.orc.OrcProto.ColumnStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getIntStatisticsFieldBuilder();
getDoubleStatisticsFieldBuilder();
getStringStatisticsFieldBuilder();
getBucketStatisticsFieldBuilder();
getDecimalStatisticsFieldBuilder();
getDateStatisticsFieldBuilder();
getBinaryStatisticsFieldBuilder();
getTimestampStatisticsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
numberOfValues_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
if (intStatisticsBuilder_ == null) {
intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance();
} else {
intStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
if (doubleStatisticsBuilder_ == null) {
doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance();
} else {
doubleStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
if (stringStatisticsBuilder_ == null) {
stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance();
} else {
stringStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
if (bucketStatisticsBuilder_ == null) {
bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance();
} else {
bucketStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
if (decimalStatisticsBuilder_ == null) {
decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance();
} else {
decimalStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
if (dateStatisticsBuilder_ == null) {
dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance();
} else {
dateStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
if (binaryStatisticsBuilder_ == null) {
binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance();
} else {
binaryStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
if (timestampStatisticsBuilder_ == null) {
timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance();
} else {
timestampStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
hasNull_ = false;
bitField0_ = (bitField0_ & ~0x00000200);
bytesOnDisk_ = 0L;
bitField0_ = (bitField0_ & ~0x00000400);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_descriptor;
}
public org.apache.orc.OrcProto.ColumnStatistics getDefaultInstanceForType() {
return org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance();
}
public org.apache.orc.OrcProto.ColumnStatistics build() {
org.apache.orc.OrcProto.ColumnStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.ColumnStatistics buildPartial() {
org.apache.orc.OrcProto.ColumnStatistics result = new org.apache.orc.OrcProto.ColumnStatistics(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.numberOfValues_ = numberOfValues_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
if (intStatisticsBuilder_ == null) {
result.intStatistics_ = intStatistics_;
} else {
result.intStatistics_ = intStatisticsBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
if (doubleStatisticsBuilder_ == null) {
result.doubleStatistics_ = doubleStatistics_;
} else {
result.doubleStatistics_ = doubleStatisticsBuilder_.build();
}
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
if (stringStatisticsBuilder_ == null) {
result.stringStatistics_ = stringStatistics_;
} else {
result.stringStatistics_ = stringStatisticsBuilder_.build();
}
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
if (bucketStatisticsBuilder_ == null) {
result.bucketStatistics_ = bucketStatistics_;
} else {
result.bucketStatistics_ = bucketStatisticsBuilder_.build();
}
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000020;
}
if (decimalStatisticsBuilder_ == null) {
result.decimalStatistics_ = decimalStatistics_;
} else {
result.decimalStatistics_ = decimalStatisticsBuilder_.build();
}
if (((from_bitField0_ & 0x00000040) == 0x00000040)) {
to_bitField0_ |= 0x00000040;
}
if (dateStatisticsBuilder_ == null) {
result.dateStatistics_ = dateStatistics_;
} else {
result.dateStatistics_ = dateStatisticsBuilder_.build();
}
if (((from_bitField0_ & 0x00000080) == 0x00000080)) {
to_bitField0_ |= 0x00000080;
}
if (binaryStatisticsBuilder_ == null) {
result.binaryStatistics_ = binaryStatistics_;
} else {
result.binaryStatistics_ = binaryStatisticsBuilder_.build();
}
if (((from_bitField0_ & 0x00000100) == 0x00000100)) {
to_bitField0_ |= 0x00000100;
}
if (timestampStatisticsBuilder_ == null) {
result.timestampStatistics_ = timestampStatistics_;
} else {
result.timestampStatistics_ = timestampStatisticsBuilder_.build();
}
if (((from_bitField0_ & 0x00000200) == 0x00000200)) {
to_bitField0_ |= 0x00000200;
}
result.hasNull_ = hasNull_;
if (((from_bitField0_ & 0x00000400) == 0x00000400)) {
to_bitField0_ |= 0x00000400;
}
result.bytesOnDisk_ = bytesOnDisk_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.ColumnStatistics) {
return mergeFrom((org.apache.orc.OrcProto.ColumnStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.ColumnStatistics other) {
if (other == org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance()) return this;
if (other.hasNumberOfValues()) {
setNumberOfValues(other.getNumberOfValues());
}
if (other.hasIntStatistics()) {
mergeIntStatistics(other.getIntStatistics());
}
if (other.hasDoubleStatistics()) {
mergeDoubleStatistics(other.getDoubleStatistics());
}
if (other.hasStringStatistics()) {
mergeStringStatistics(other.getStringStatistics());
}
if (other.hasBucketStatistics()) {
mergeBucketStatistics(other.getBucketStatistics());
}
if (other.hasDecimalStatistics()) {
mergeDecimalStatistics(other.getDecimalStatistics());
}
if (other.hasDateStatistics()) {
mergeDateStatistics(other.getDateStatistics());
}
if (other.hasBinaryStatistics()) {
mergeBinaryStatistics(other.getBinaryStatistics());
}
if (other.hasTimestampStatistics()) {
mergeTimestampStatistics(other.getTimestampStatistics());
}
if (other.hasHasNull()) {
setHasNull(other.getHasNull());
}
if (other.hasBytesOnDisk()) {
setBytesOnDisk(other.getBytesOnDisk());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.ColumnStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.ColumnStatistics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint64 numberOfValues = 1;
private long numberOfValues_ ;
/**
* optional uint64 numberOfValues = 1;
*/
public boolean hasNumberOfValues() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 numberOfValues = 1;
*/
public long getNumberOfValues() {
return numberOfValues_;
}
/**
* optional uint64 numberOfValues = 1;
*/
public Builder setNumberOfValues(long value) {
bitField0_ |= 0x00000001;
numberOfValues_ = value;
onChanged();
return this;
}
/**
* optional uint64 numberOfValues = 1;
*/
public Builder clearNumberOfValues() {
bitField0_ = (bitField0_ & ~0x00000001);
numberOfValues_ = 0L;
onChanged();
return this;
}
// optional .orc.proto.IntegerStatistics intStatistics = 2;
private org.apache.orc.OrcProto.IntegerStatistics intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance();
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.IntegerStatistics, org.apache.orc.OrcProto.IntegerStatistics.Builder, org.apache.orc.OrcProto.IntegerStatisticsOrBuilder> intStatisticsBuilder_;
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public boolean hasIntStatistics() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public org.apache.orc.OrcProto.IntegerStatistics getIntStatistics() {
if (intStatisticsBuilder_ == null) {
return intStatistics_;
} else {
return intStatisticsBuilder_.getMessage();
}
}
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public Builder setIntStatistics(org.apache.orc.OrcProto.IntegerStatistics value) {
if (intStatisticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
intStatistics_ = value;
onChanged();
} else {
intStatisticsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public Builder setIntStatistics(
org.apache.orc.OrcProto.IntegerStatistics.Builder builderForValue) {
if (intStatisticsBuilder_ == null) {
intStatistics_ = builderForValue.build();
onChanged();
} else {
intStatisticsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public Builder mergeIntStatistics(org.apache.orc.OrcProto.IntegerStatistics value) {
if (intStatisticsBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
intStatistics_ != org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance()) {
intStatistics_ =
org.apache.orc.OrcProto.IntegerStatistics.newBuilder(intStatistics_).mergeFrom(value).buildPartial();
} else {
intStatistics_ = value;
}
onChanged();
} else {
intStatisticsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public Builder clearIntStatistics() {
if (intStatisticsBuilder_ == null) {
intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance();
onChanged();
} else {
intStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public org.apache.orc.OrcProto.IntegerStatistics.Builder getIntStatisticsBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getIntStatisticsFieldBuilder().getBuilder();
}
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
public org.apache.orc.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder() {
if (intStatisticsBuilder_ != null) {
return intStatisticsBuilder_.getMessageOrBuilder();
} else {
return intStatistics_;
}
}
/**
* optional .orc.proto.IntegerStatistics intStatistics = 2;
*/
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.IntegerStatistics, org.apache.orc.OrcProto.IntegerStatistics.Builder, org.apache.orc.OrcProto.IntegerStatisticsOrBuilder>
getIntStatisticsFieldBuilder() {
if (intStatisticsBuilder_ == null) {
intStatisticsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.IntegerStatistics, org.apache.orc.OrcProto.IntegerStatistics.Builder, org.apache.orc.OrcProto.IntegerStatisticsOrBuilder>(
intStatistics_,
getParentForChildren(),
isClean());
intStatistics_ = null;
}
return intStatisticsBuilder_;
}
// optional .orc.proto.DoubleStatistics doubleStatistics = 3;
private org.apache.orc.OrcProto.DoubleStatistics doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance();
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.DoubleStatistics, org.apache.orc.OrcProto.DoubleStatistics.Builder, org.apache.orc.OrcProto.DoubleStatisticsOrBuilder> doubleStatisticsBuilder_;
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public boolean hasDoubleStatistics() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public org.apache.orc.OrcProto.DoubleStatistics getDoubleStatistics() {
if (doubleStatisticsBuilder_ == null) {
return doubleStatistics_;
} else {
return doubleStatisticsBuilder_.getMessage();
}
}
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public Builder setDoubleStatistics(org.apache.orc.OrcProto.DoubleStatistics value) {
if (doubleStatisticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
doubleStatistics_ = value;
onChanged();
} else {
doubleStatisticsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public Builder setDoubleStatistics(
org.apache.orc.OrcProto.DoubleStatistics.Builder builderForValue) {
if (doubleStatisticsBuilder_ == null) {
doubleStatistics_ = builderForValue.build();
onChanged();
} else {
doubleStatisticsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public Builder mergeDoubleStatistics(org.apache.orc.OrcProto.DoubleStatistics value) {
if (doubleStatisticsBuilder_ == null) {
if (((bitField0_ & 0x00000004) == 0x00000004) &&
doubleStatistics_ != org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance()) {
doubleStatistics_ =
org.apache.orc.OrcProto.DoubleStatistics.newBuilder(doubleStatistics_).mergeFrom(value).buildPartial();
} else {
doubleStatistics_ = value;
}
onChanged();
} else {
doubleStatisticsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000004;
return this;
}
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public Builder clearDoubleStatistics() {
if (doubleStatisticsBuilder_ == null) {
doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance();
onChanged();
} else {
doubleStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public org.apache.orc.OrcProto.DoubleStatistics.Builder getDoubleStatisticsBuilder() {
bitField0_ |= 0x00000004;
onChanged();
return getDoubleStatisticsFieldBuilder().getBuilder();
}
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
public org.apache.orc.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder() {
if (doubleStatisticsBuilder_ != null) {
return doubleStatisticsBuilder_.getMessageOrBuilder();
} else {
return doubleStatistics_;
}
}
/**
* optional .orc.proto.DoubleStatistics doubleStatistics = 3;
*/
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.DoubleStatistics, org.apache.orc.OrcProto.DoubleStatistics.Builder, org.apache.orc.OrcProto.DoubleStatisticsOrBuilder>
getDoubleStatisticsFieldBuilder() {
if (doubleStatisticsBuilder_ == null) {
doubleStatisticsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.DoubleStatistics, org.apache.orc.OrcProto.DoubleStatistics.Builder, org.apache.orc.OrcProto.DoubleStatisticsOrBuilder>(
doubleStatistics_,
getParentForChildren(),
isClean());
doubleStatistics_ = null;
}
return doubleStatisticsBuilder_;
}
// optional .orc.proto.StringStatistics stringStatistics = 4;
private org.apache.orc.OrcProto.StringStatistics stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance();
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.StringStatistics, org.apache.orc.OrcProto.StringStatistics.Builder, org.apache.orc.OrcProto.StringStatisticsOrBuilder> stringStatisticsBuilder_;
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public boolean hasStringStatistics() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public org.apache.orc.OrcProto.StringStatistics getStringStatistics() {
if (stringStatisticsBuilder_ == null) {
return stringStatistics_;
} else {
return stringStatisticsBuilder_.getMessage();
}
}
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public Builder setStringStatistics(org.apache.orc.OrcProto.StringStatistics value) {
if (stringStatisticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
stringStatistics_ = value;
onChanged();
} else {
stringStatisticsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public Builder setStringStatistics(
org.apache.orc.OrcProto.StringStatistics.Builder builderForValue) {
if (stringStatisticsBuilder_ == null) {
stringStatistics_ = builderForValue.build();
onChanged();
} else {
stringStatisticsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public Builder mergeStringStatistics(org.apache.orc.OrcProto.StringStatistics value) {
if (stringStatisticsBuilder_ == null) {
if (((bitField0_ & 0x00000008) == 0x00000008) &&
stringStatistics_ != org.apache.orc.OrcProto.StringStatistics.getDefaultInstance()) {
stringStatistics_ =
org.apache.orc.OrcProto.StringStatistics.newBuilder(stringStatistics_).mergeFrom(value).buildPartial();
} else {
stringStatistics_ = value;
}
onChanged();
} else {
stringStatisticsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000008;
return this;
}
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public Builder clearStringStatistics() {
if (stringStatisticsBuilder_ == null) {
stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance();
onChanged();
} else {
stringStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000008);
return this;
}
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public org.apache.orc.OrcProto.StringStatistics.Builder getStringStatisticsBuilder() {
bitField0_ |= 0x00000008;
onChanged();
return getStringStatisticsFieldBuilder().getBuilder();
}
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
public org.apache.orc.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder() {
if (stringStatisticsBuilder_ != null) {
return stringStatisticsBuilder_.getMessageOrBuilder();
} else {
return stringStatistics_;
}
}
/**
* optional .orc.proto.StringStatistics stringStatistics = 4;
*/
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.StringStatistics, org.apache.orc.OrcProto.StringStatistics.Builder, org.apache.orc.OrcProto.StringStatisticsOrBuilder>
getStringStatisticsFieldBuilder() {
if (stringStatisticsBuilder_ == null) {
stringStatisticsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.StringStatistics, org.apache.orc.OrcProto.StringStatistics.Builder, org.apache.orc.OrcProto.StringStatisticsOrBuilder>(
stringStatistics_,
getParentForChildren(),
isClean());
stringStatistics_ = null;
}
return stringStatisticsBuilder_;
}
// optional .orc.proto.BucketStatistics bucketStatistics = 5;
private org.apache.orc.OrcProto.BucketStatistics bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance();
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.BucketStatistics, org.apache.orc.OrcProto.BucketStatistics.Builder, org.apache.orc.OrcProto.BucketStatisticsOrBuilder> bucketStatisticsBuilder_;
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public boolean hasBucketStatistics() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public org.apache.orc.OrcProto.BucketStatistics getBucketStatistics() {
if (bucketStatisticsBuilder_ == null) {
return bucketStatistics_;
} else {
return bucketStatisticsBuilder_.getMessage();
}
}
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public Builder setBucketStatistics(org.apache.orc.OrcProto.BucketStatistics value) {
if (bucketStatisticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
bucketStatistics_ = value;
onChanged();
} else {
bucketStatisticsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public Builder setBucketStatistics(
org.apache.orc.OrcProto.BucketStatistics.Builder builderForValue) {
if (bucketStatisticsBuilder_ == null) {
bucketStatistics_ = builderForValue.build();
onChanged();
} else {
bucketStatisticsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public Builder mergeBucketStatistics(org.apache.orc.OrcProto.BucketStatistics value) {
if (bucketStatisticsBuilder_ == null) {
if (((bitField0_ & 0x00000010) == 0x00000010) &&
bucketStatistics_ != org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance()) {
bucketStatistics_ =
org.apache.orc.OrcProto.BucketStatistics.newBuilder(bucketStatistics_).mergeFrom(value).buildPartial();
} else {
bucketStatistics_ = value;
}
onChanged();
} else {
bucketStatisticsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000010;
return this;
}
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public Builder clearBucketStatistics() {
if (bucketStatisticsBuilder_ == null) {
bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance();
onChanged();
} else {
bucketStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public org.apache.orc.OrcProto.BucketStatistics.Builder getBucketStatisticsBuilder() {
bitField0_ |= 0x00000010;
onChanged();
return getBucketStatisticsFieldBuilder().getBuilder();
}
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
public org.apache.orc.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder() {
if (bucketStatisticsBuilder_ != null) {
return bucketStatisticsBuilder_.getMessageOrBuilder();
} else {
return bucketStatistics_;
}
}
/**
* optional .orc.proto.BucketStatistics bucketStatistics = 5;
*/
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.BucketStatistics, org.apache.orc.OrcProto.BucketStatistics.Builder, org.apache.orc.OrcProto.BucketStatisticsOrBuilder>
getBucketStatisticsFieldBuilder() {
if (bucketStatisticsBuilder_ == null) {
bucketStatisticsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.BucketStatistics, org.apache.orc.OrcProto.BucketStatistics.Builder, org.apache.orc.OrcProto.BucketStatisticsOrBuilder>(
bucketStatistics_,
getParentForChildren(),
isClean());
bucketStatistics_ = null;
}
return bucketStatisticsBuilder_;
}
// optional .orc.proto.DecimalStatistics decimalStatistics = 6;
private org.apache.orc.OrcProto.DecimalStatistics decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance();
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.DecimalStatistics, org.apache.orc.OrcProto.DecimalStatistics.Builder, org.apache.orc.OrcProto.DecimalStatisticsOrBuilder> decimalStatisticsBuilder_;
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public boolean hasDecimalStatistics() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public org.apache.orc.OrcProto.DecimalStatistics getDecimalStatistics() {
if (decimalStatisticsBuilder_ == null) {
return decimalStatistics_;
} else {
return decimalStatisticsBuilder_.getMessage();
}
}
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public Builder setDecimalStatistics(org.apache.orc.OrcProto.DecimalStatistics value) {
if (decimalStatisticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
decimalStatistics_ = value;
onChanged();
} else {
decimalStatisticsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public Builder setDecimalStatistics(
org.apache.orc.OrcProto.DecimalStatistics.Builder builderForValue) {
if (decimalStatisticsBuilder_ == null) {
decimalStatistics_ = builderForValue.build();
onChanged();
} else {
decimalStatisticsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public Builder mergeDecimalStatistics(org.apache.orc.OrcProto.DecimalStatistics value) {
if (decimalStatisticsBuilder_ == null) {
if (((bitField0_ & 0x00000020) == 0x00000020) &&
decimalStatistics_ != org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance()) {
decimalStatistics_ =
org.apache.orc.OrcProto.DecimalStatistics.newBuilder(decimalStatistics_).mergeFrom(value).buildPartial();
} else {
decimalStatistics_ = value;
}
onChanged();
} else {
decimalStatisticsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000020;
return this;
}
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public Builder clearDecimalStatistics() {
if (decimalStatisticsBuilder_ == null) {
decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance();
onChanged();
} else {
decimalStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public org.apache.orc.OrcProto.DecimalStatistics.Builder getDecimalStatisticsBuilder() {
bitField0_ |= 0x00000020;
onChanged();
return getDecimalStatisticsFieldBuilder().getBuilder();
}
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
public org.apache.orc.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder() {
if (decimalStatisticsBuilder_ != null) {
return decimalStatisticsBuilder_.getMessageOrBuilder();
} else {
return decimalStatistics_;
}
}
/**
* optional .orc.proto.DecimalStatistics decimalStatistics = 6;
*/
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.DecimalStatistics, org.apache.orc.OrcProto.DecimalStatistics.Builder, org.apache.orc.OrcProto.DecimalStatisticsOrBuilder>
getDecimalStatisticsFieldBuilder() {
if (decimalStatisticsBuilder_ == null) {
decimalStatisticsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.DecimalStatistics, org.apache.orc.OrcProto.DecimalStatistics.Builder, org.apache.orc.OrcProto.DecimalStatisticsOrBuilder>(
decimalStatistics_,
getParentForChildren(),
isClean());
decimalStatistics_ = null;
}
return decimalStatisticsBuilder_;
}
// optional .orc.proto.DateStatistics dateStatistics = 7;
private org.apache.orc.OrcProto.DateStatistics dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance();
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.DateStatistics, org.apache.orc.OrcProto.DateStatistics.Builder, org.apache.orc.OrcProto.DateStatisticsOrBuilder> dateStatisticsBuilder_;
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public boolean hasDateStatistics() {
return ((bitField0_ & 0x00000040) == 0x00000040);
}
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public org.apache.orc.OrcProto.DateStatistics getDateStatistics() {
if (dateStatisticsBuilder_ == null) {
return dateStatistics_;
} else {
return dateStatisticsBuilder_.getMessage();
}
}
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public Builder setDateStatistics(org.apache.orc.OrcProto.DateStatistics value) {
if (dateStatisticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
dateStatistics_ = value;
onChanged();
} else {
dateStatisticsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public Builder setDateStatistics(
org.apache.orc.OrcProto.DateStatistics.Builder builderForValue) {
if (dateStatisticsBuilder_ == null) {
dateStatistics_ = builderForValue.build();
onChanged();
} else {
dateStatisticsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public Builder mergeDateStatistics(org.apache.orc.OrcProto.DateStatistics value) {
if (dateStatisticsBuilder_ == null) {
if (((bitField0_ & 0x00000040) == 0x00000040) &&
dateStatistics_ != org.apache.orc.OrcProto.DateStatistics.getDefaultInstance()) {
dateStatistics_ =
org.apache.orc.OrcProto.DateStatistics.newBuilder(dateStatistics_).mergeFrom(value).buildPartial();
} else {
dateStatistics_ = value;
}
onChanged();
} else {
dateStatisticsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000040;
return this;
}
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public Builder clearDateStatistics() {
if (dateStatisticsBuilder_ == null) {
dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance();
onChanged();
} else {
dateStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000040);
return this;
}
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public org.apache.orc.OrcProto.DateStatistics.Builder getDateStatisticsBuilder() {
bitField0_ |= 0x00000040;
onChanged();
return getDateStatisticsFieldBuilder().getBuilder();
}
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
public org.apache.orc.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder() {
if (dateStatisticsBuilder_ != null) {
return dateStatisticsBuilder_.getMessageOrBuilder();
} else {
return dateStatistics_;
}
}
/**
* optional .orc.proto.DateStatistics dateStatistics = 7;
*/
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.DateStatistics, org.apache.orc.OrcProto.DateStatistics.Builder, org.apache.orc.OrcProto.DateStatisticsOrBuilder>
getDateStatisticsFieldBuilder() {
if (dateStatisticsBuilder_ == null) {
dateStatisticsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.DateStatistics, org.apache.orc.OrcProto.DateStatistics.Builder, org.apache.orc.OrcProto.DateStatisticsOrBuilder>(
dateStatistics_,
getParentForChildren(),
isClean());
dateStatistics_ = null;
}
return dateStatisticsBuilder_;
}
// optional .orc.proto.BinaryStatistics binaryStatistics = 8;
private org.apache.orc.OrcProto.BinaryStatistics binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance();
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.BinaryStatistics, org.apache.orc.OrcProto.BinaryStatistics.Builder, org.apache.orc.OrcProto.BinaryStatisticsOrBuilder> binaryStatisticsBuilder_;
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public boolean hasBinaryStatistics() {
return ((bitField0_ & 0x00000080) == 0x00000080);
}
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public org.apache.orc.OrcProto.BinaryStatistics getBinaryStatistics() {
if (binaryStatisticsBuilder_ == null) {
return binaryStatistics_;
} else {
return binaryStatisticsBuilder_.getMessage();
}
}
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public Builder setBinaryStatistics(org.apache.orc.OrcProto.BinaryStatistics value) {
if (binaryStatisticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
binaryStatistics_ = value;
onChanged();
} else {
binaryStatisticsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public Builder setBinaryStatistics(
org.apache.orc.OrcProto.BinaryStatistics.Builder builderForValue) {
if (binaryStatisticsBuilder_ == null) {
binaryStatistics_ = builderForValue.build();
onChanged();
} else {
binaryStatisticsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public Builder mergeBinaryStatistics(org.apache.orc.OrcProto.BinaryStatistics value) {
if (binaryStatisticsBuilder_ == null) {
if (((bitField0_ & 0x00000080) == 0x00000080) &&
binaryStatistics_ != org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance()) {
binaryStatistics_ =
org.apache.orc.OrcProto.BinaryStatistics.newBuilder(binaryStatistics_).mergeFrom(value).buildPartial();
} else {
binaryStatistics_ = value;
}
onChanged();
} else {
binaryStatisticsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000080;
return this;
}
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public Builder clearBinaryStatistics() {
if (binaryStatisticsBuilder_ == null) {
binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance();
onChanged();
} else {
binaryStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000080);
return this;
}
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public org.apache.orc.OrcProto.BinaryStatistics.Builder getBinaryStatisticsBuilder() {
bitField0_ |= 0x00000080;
onChanged();
return getBinaryStatisticsFieldBuilder().getBuilder();
}
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
public org.apache.orc.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder() {
if (binaryStatisticsBuilder_ != null) {
return binaryStatisticsBuilder_.getMessageOrBuilder();
} else {
return binaryStatistics_;
}
}
/**
* optional .orc.proto.BinaryStatistics binaryStatistics = 8;
*/
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.BinaryStatistics, org.apache.orc.OrcProto.BinaryStatistics.Builder, org.apache.orc.OrcProto.BinaryStatisticsOrBuilder>
getBinaryStatisticsFieldBuilder() {
if (binaryStatisticsBuilder_ == null) {
binaryStatisticsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.BinaryStatistics, org.apache.orc.OrcProto.BinaryStatistics.Builder, org.apache.orc.OrcProto.BinaryStatisticsOrBuilder>(
binaryStatistics_,
getParentForChildren(),
isClean());
binaryStatistics_ = null;
}
return binaryStatisticsBuilder_;
}
// optional .orc.proto.TimestampStatistics timestampStatistics = 9;
private org.apache.orc.OrcProto.TimestampStatistics timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance();
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.TimestampStatistics, org.apache.orc.OrcProto.TimestampStatistics.Builder, org.apache.orc.OrcProto.TimestampStatisticsOrBuilder> timestampStatisticsBuilder_;
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public boolean hasTimestampStatistics() {
return ((bitField0_ & 0x00000100) == 0x00000100);
}
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public org.apache.orc.OrcProto.TimestampStatistics getTimestampStatistics() {
if (timestampStatisticsBuilder_ == null) {
return timestampStatistics_;
} else {
return timestampStatisticsBuilder_.getMessage();
}
}
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public Builder setTimestampStatistics(org.apache.orc.OrcProto.TimestampStatistics value) {
if (timestampStatisticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
timestampStatistics_ = value;
onChanged();
} else {
timestampStatisticsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public Builder setTimestampStatistics(
org.apache.orc.OrcProto.TimestampStatistics.Builder builderForValue) {
if (timestampStatisticsBuilder_ == null) {
timestampStatistics_ = builderForValue.build();
onChanged();
} else {
timestampStatisticsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public Builder mergeTimestampStatistics(org.apache.orc.OrcProto.TimestampStatistics value) {
if (timestampStatisticsBuilder_ == null) {
if (((bitField0_ & 0x00000100) == 0x00000100) &&
timestampStatistics_ != org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance()) {
timestampStatistics_ =
org.apache.orc.OrcProto.TimestampStatistics.newBuilder(timestampStatistics_).mergeFrom(value).buildPartial();
} else {
timestampStatistics_ = value;
}
onChanged();
} else {
timestampStatisticsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000100;
return this;
}
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public Builder clearTimestampStatistics() {
if (timestampStatisticsBuilder_ == null) {
timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance();
onChanged();
} else {
timestampStatisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000100);
return this;
}
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public org.apache.orc.OrcProto.TimestampStatistics.Builder getTimestampStatisticsBuilder() {
bitField0_ |= 0x00000100;
onChanged();
return getTimestampStatisticsFieldBuilder().getBuilder();
}
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
public org.apache.orc.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder() {
if (timestampStatisticsBuilder_ != null) {
return timestampStatisticsBuilder_.getMessageOrBuilder();
} else {
return timestampStatistics_;
}
}
/**
* optional .orc.proto.TimestampStatistics timestampStatistics = 9;
*/
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.TimestampStatistics, org.apache.orc.OrcProto.TimestampStatistics.Builder, org.apache.orc.OrcProto.TimestampStatisticsOrBuilder>
getTimestampStatisticsFieldBuilder() {
if (timestampStatisticsBuilder_ == null) {
timestampStatisticsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.TimestampStatistics, org.apache.orc.OrcProto.TimestampStatistics.Builder, org.apache.orc.OrcProto.TimestampStatisticsOrBuilder>(
timestampStatistics_,
getParentForChildren(),
isClean());
timestampStatistics_ = null;
}
return timestampStatisticsBuilder_;
}
// optional bool hasNull = 10;
private boolean hasNull_ ;
/**
* optional bool hasNull = 10;
*/
public boolean hasHasNull() {
return ((bitField0_ & 0x00000200) == 0x00000200);
}
/**
* optional bool hasNull = 10;
*/
public boolean getHasNull() {
return hasNull_;
}
/**
* optional bool hasNull = 10;
*/
public Builder setHasNull(boolean value) {
bitField0_ |= 0x00000200;
hasNull_ = value;
onChanged();
return this;
}
/**
* optional bool hasNull = 10;
*/
public Builder clearHasNull() {
bitField0_ = (bitField0_ & ~0x00000200);
hasNull_ = false;
onChanged();
return this;
}
// optional uint64 bytesOnDisk = 11;
private long bytesOnDisk_ ;
/**
* optional uint64 bytesOnDisk = 11;
*/
public boolean hasBytesOnDisk() {
return ((bitField0_ & 0x00000400) == 0x00000400);
}
/**
* optional uint64 bytesOnDisk = 11;
*/
public long getBytesOnDisk() {
return bytesOnDisk_;
}
/**
* optional uint64 bytesOnDisk = 11;
*/
public Builder setBytesOnDisk(long value) {
bitField0_ |= 0x00000400;
bytesOnDisk_ = value;
onChanged();
return this;
}
/**
* optional uint64 bytesOnDisk = 11;
*/
public Builder clearBytesOnDisk() {
bitField0_ = (bitField0_ & ~0x00000400);
bytesOnDisk_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.ColumnStatistics)
}
static {
defaultInstance = new ColumnStatistics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.ColumnStatistics)
}
public interface RowIndexEntryOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// repeated uint64 positions = 1 [packed = true];
/**
* repeated uint64 positions = 1 [packed = true];
*/
java.util.List getPositionsList();
/**
* repeated uint64 positions = 1 [packed = true];
*/
int getPositionsCount();
/**
* repeated uint64 positions = 1 [packed = true];
*/
long getPositions(int index);
// optional .orc.proto.ColumnStatistics statistics = 2;
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
boolean hasStatistics();
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
org.apache.orc.OrcProto.ColumnStatistics getStatistics();
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder();
}
/**
* Protobuf type {@code orc.proto.RowIndexEntry}
*/
public static final class RowIndexEntry extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements RowIndexEntryOrBuilder {
// Use RowIndexEntry.newBuilder() to construct.
private RowIndexEntry(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RowIndexEntry(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RowIndexEntry defaultInstance;
public static RowIndexEntry getDefaultInstance() {
return defaultInstance;
}
public RowIndexEntry getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RowIndexEntry(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
positions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
positions_.add(input.readUInt64());
break;
}
case 10: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) {
positions_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
while (input.getBytesUntilLimit() > 0) {
positions_.add(input.readUInt64());
}
input.popLimit(limit);
break;
}
case 18: {
org.apache.orc.OrcProto.ColumnStatistics.Builder subBuilder = null;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
subBuilder = statistics_.toBuilder();
}
statistics_ = input.readMessage(org.apache.orc.OrcProto.ColumnStatistics.PARSER, extensionRegistry);
if (subBuilder != null) {
subBuilder.mergeFrom(statistics_);
statistics_ = subBuilder.buildPartial();
}
bitField0_ |= 0x00000001;
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
positions_ = java.util.Collections.unmodifiableList(positions_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndexEntry_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndexEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.RowIndexEntry.class, org.apache.orc.OrcProto.RowIndexEntry.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public RowIndexEntry parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new RowIndexEntry(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// repeated uint64 positions = 1 [packed = true];
public static final int POSITIONS_FIELD_NUMBER = 1;
private java.util.List positions_;
/**
* repeated uint64 positions = 1 [packed = true];
*/
public java.util.List
getPositionsList() {
return positions_;
}
/**
* repeated uint64 positions = 1 [packed = true];
*/
public int getPositionsCount() {
return positions_.size();
}
/**
* repeated uint64 positions = 1 [packed = true];
*/
public long getPositions(int index) {
return positions_.get(index);
}
private int positionsMemoizedSerializedSize = -1;
// optional .orc.proto.ColumnStatistics statistics = 2;
public static final int STATISTICS_FIELD_NUMBER = 2;
private org.apache.orc.OrcProto.ColumnStatistics statistics_;
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public boolean hasStatistics() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public org.apache.orc.OrcProto.ColumnStatistics getStatistics() {
return statistics_;
}
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder() {
return statistics_;
}
private void initFields() {
positions_ = java.util.Collections.emptyList();
statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (getPositionsList().size() > 0) {
output.writeRawVarint32(10);
output.writeRawVarint32(positionsMemoizedSerializedSize);
}
for (int i = 0; i < positions_.size(); i++) {
output.writeUInt64NoTag(positions_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeMessage(2, statistics_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
{
int dataSize = 0;
for (int i = 0; i < positions_.size(); i++) {
dataSize += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt64SizeNoTag(positions_.get(i));
}
size += dataSize;
if (!getPositionsList().isEmpty()) {
size += 1;
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
positionsMemoizedSerializedSize = dataSize;
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, statistics_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.RowIndexEntry parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.RowIndexEntry parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.RowIndexEntry prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.RowIndexEntry}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.RowIndexEntryOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndexEntry_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndexEntry_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.RowIndexEntry.class, org.apache.orc.OrcProto.RowIndexEntry.Builder.class);
}
// Construct using org.apache.orc.OrcProto.RowIndexEntry.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getStatisticsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
positions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
if (statisticsBuilder_ == null) {
statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance();
} else {
statisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndexEntry_descriptor;
}
public org.apache.orc.OrcProto.RowIndexEntry getDefaultInstanceForType() {
return org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance();
}
public org.apache.orc.OrcProto.RowIndexEntry build() {
org.apache.orc.OrcProto.RowIndexEntry result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.RowIndexEntry buildPartial() {
org.apache.orc.OrcProto.RowIndexEntry result = new org.apache.orc.OrcProto.RowIndexEntry(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
positions_ = java.util.Collections.unmodifiableList(positions_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.positions_ = positions_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000001;
}
if (statisticsBuilder_ == null) {
result.statistics_ = statistics_;
} else {
result.statistics_ = statisticsBuilder_.build();
}
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.RowIndexEntry) {
return mergeFrom((org.apache.orc.OrcProto.RowIndexEntry)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.RowIndexEntry other) {
if (other == org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance()) return this;
if (!other.positions_.isEmpty()) {
if (positions_.isEmpty()) {
positions_ = other.positions_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensurePositionsIsMutable();
positions_.addAll(other.positions_);
}
onChanged();
}
if (other.hasStatistics()) {
mergeStatistics(other.getStatistics());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.RowIndexEntry parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.RowIndexEntry) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated uint64 positions = 1 [packed = true];
private java.util.List positions_ = java.util.Collections.emptyList();
private void ensurePositionsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
positions_ = new java.util.ArrayList(positions_);
bitField0_ |= 0x00000001;
}
}
/**
* repeated uint64 positions = 1 [packed = true];
*/
public java.util.List
getPositionsList() {
return java.util.Collections.unmodifiableList(positions_);
}
/**
* repeated uint64 positions = 1 [packed = true];
*/
public int getPositionsCount() {
return positions_.size();
}
/**
* repeated uint64 positions = 1 [packed = true];
*/
public long getPositions(int index) {
return positions_.get(index);
}
/**
* repeated uint64 positions = 1 [packed = true];
*/
public Builder setPositions(
int index, long value) {
ensurePositionsIsMutable();
positions_.set(index, value);
onChanged();
return this;
}
/**
* repeated uint64 positions = 1 [packed = true];
*/
public Builder addPositions(long value) {
ensurePositionsIsMutable();
positions_.add(value);
onChanged();
return this;
}
/**
* repeated uint64 positions = 1 [packed = true];
*/
public Builder addAllPositions(
java.lang.Iterable extends java.lang.Long> values) {
ensurePositionsIsMutable();
super.addAll(values, positions_);
onChanged();
return this;
}
/**
* repeated uint64 positions = 1 [packed = true];
*/
public Builder clearPositions() {
positions_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
// optional .orc.proto.ColumnStatistics statistics = 2;
private org.apache.orc.OrcProto.ColumnStatistics statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance();
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder> statisticsBuilder_;
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public boolean hasStatistics() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public org.apache.orc.OrcProto.ColumnStatistics getStatistics() {
if (statisticsBuilder_ == null) {
return statistics_;
} else {
return statisticsBuilder_.getMessage();
}
}
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public Builder setStatistics(org.apache.orc.OrcProto.ColumnStatistics value) {
if (statisticsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
statistics_ = value;
onChanged();
} else {
statisticsBuilder_.setMessage(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public Builder setStatistics(
org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) {
if (statisticsBuilder_ == null) {
statistics_ = builderForValue.build();
onChanged();
} else {
statisticsBuilder_.setMessage(builderForValue.build());
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public Builder mergeStatistics(org.apache.orc.OrcProto.ColumnStatistics value) {
if (statisticsBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002) &&
statistics_ != org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance()) {
statistics_ =
org.apache.orc.OrcProto.ColumnStatistics.newBuilder(statistics_).mergeFrom(value).buildPartial();
} else {
statistics_ = value;
}
onChanged();
} else {
statisticsBuilder_.mergeFrom(value);
}
bitField0_ |= 0x00000002;
return this;
}
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public Builder clearStatistics() {
if (statisticsBuilder_ == null) {
statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance();
onChanged();
} else {
statisticsBuilder_.clear();
}
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public org.apache.orc.OrcProto.ColumnStatistics.Builder getStatisticsBuilder() {
bitField0_ |= 0x00000002;
onChanged();
return getStatisticsFieldBuilder().getBuilder();
}
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder() {
if (statisticsBuilder_ != null) {
return statisticsBuilder_.getMessageOrBuilder();
} else {
return statistics_;
}
}
/**
* optional .orc.proto.ColumnStatistics statistics = 2;
*/
private io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
getStatisticsFieldBuilder() {
if (statisticsBuilder_ == null) {
statisticsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.SingleFieldBuilder<
org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>(
statistics_,
getParentForChildren(),
isClean());
statistics_ = null;
}
return statisticsBuilder_;
}
// @@protoc_insertion_point(builder_scope:orc.proto.RowIndexEntry)
}
static {
defaultInstance = new RowIndexEntry(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.RowIndexEntry)
}
public interface RowIndexOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .orc.proto.RowIndexEntry entry = 1;
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
java.util.List
getEntryList();
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
org.apache.orc.OrcProto.RowIndexEntry getEntry(int index);
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
int getEntryCount();
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
java.util.List extends org.apache.orc.OrcProto.RowIndexEntryOrBuilder>
getEntryOrBuilderList();
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
org.apache.orc.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder(
int index);
}
/**
* Protobuf type {@code orc.proto.RowIndex}
*/
public static final class RowIndex extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements RowIndexOrBuilder {
// Use RowIndex.newBuilder() to construct.
private RowIndex(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private RowIndex(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final RowIndex defaultInstance;
public static RowIndex getDefaultInstance() {
return defaultInstance;
}
public RowIndex getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private RowIndex(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
entry_.add(input.readMessage(org.apache.orc.OrcProto.RowIndexEntry.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = java.util.Collections.unmodifiableList(entry_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndex_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndex_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.RowIndex.class, org.apache.orc.OrcProto.RowIndex.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public RowIndex parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new RowIndex(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .orc.proto.RowIndexEntry entry = 1;
public static final int ENTRY_FIELD_NUMBER = 1;
private java.util.List entry_;
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public java.util.List getEntryList() {
return entry_;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public java.util.List extends org.apache.orc.OrcProto.RowIndexEntryOrBuilder>
getEntryOrBuilderList() {
return entry_;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public int getEntryCount() {
return entry_.size();
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public org.apache.orc.OrcProto.RowIndexEntry getEntry(int index) {
return entry_.get(index);
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public org.apache.orc.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder(
int index) {
return entry_.get(index);
}
private void initFields() {
entry_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < entry_.size(); i++) {
output.writeMessage(1, entry_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < entry_.size(); i++) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, entry_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.RowIndex parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.RowIndex parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.RowIndex parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.RowIndex parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.RowIndex parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.RowIndex parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.RowIndex parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.RowIndex parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.RowIndex parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.RowIndex parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.RowIndex prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.RowIndex}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.RowIndexOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndex_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndex_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.RowIndex.class, org.apache.orc.OrcProto.RowIndex.Builder.class);
}
// Construct using org.apache.orc.OrcProto.RowIndex.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getEntryFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
entryBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndex_descriptor;
}
public org.apache.orc.OrcProto.RowIndex getDefaultInstanceForType() {
return org.apache.orc.OrcProto.RowIndex.getDefaultInstance();
}
public org.apache.orc.OrcProto.RowIndex build() {
org.apache.orc.OrcProto.RowIndex result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.RowIndex buildPartial() {
org.apache.orc.OrcProto.RowIndex result = new org.apache.orc.OrcProto.RowIndex(this);
int from_bitField0_ = bitField0_;
if (entryBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = java.util.Collections.unmodifiableList(entry_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.entry_ = entry_;
} else {
result.entry_ = entryBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.RowIndex) {
return mergeFrom((org.apache.orc.OrcProto.RowIndex)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.RowIndex other) {
if (other == org.apache.orc.OrcProto.RowIndex.getDefaultInstance()) return this;
if (entryBuilder_ == null) {
if (!other.entry_.isEmpty()) {
if (entry_.isEmpty()) {
entry_ = other.entry_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureEntryIsMutable();
entry_.addAll(other.entry_);
}
onChanged();
}
} else {
if (!other.entry_.isEmpty()) {
if (entryBuilder_.isEmpty()) {
entryBuilder_.dispose();
entryBuilder_ = null;
entry_ = other.entry_;
bitField0_ = (bitField0_ & ~0x00000001);
entryBuilder_ =
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getEntryFieldBuilder() : null;
} else {
entryBuilder_.addAllMessages(other.entry_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.RowIndex parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.RowIndex) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .orc.proto.RowIndexEntry entry = 1;
private java.util.List entry_ =
java.util.Collections.emptyList();
private void ensureEntryIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
entry_ = new java.util.ArrayList(entry_);
bitField0_ |= 0x00000001;
}
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.RowIndexEntry, org.apache.orc.OrcProto.RowIndexEntry.Builder, org.apache.orc.OrcProto.RowIndexEntryOrBuilder> entryBuilder_;
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public java.util.List getEntryList() {
if (entryBuilder_ == null) {
return java.util.Collections.unmodifiableList(entry_);
} else {
return entryBuilder_.getMessageList();
}
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public int getEntryCount() {
if (entryBuilder_ == null) {
return entry_.size();
} else {
return entryBuilder_.getCount();
}
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public org.apache.orc.OrcProto.RowIndexEntry getEntry(int index) {
if (entryBuilder_ == null) {
return entry_.get(index);
} else {
return entryBuilder_.getMessage(index);
}
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public Builder setEntry(
int index, org.apache.orc.OrcProto.RowIndexEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.set(index, value);
onChanged();
} else {
entryBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public Builder setEntry(
int index, org.apache.orc.OrcProto.RowIndexEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.set(index, builderForValue.build());
onChanged();
} else {
entryBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public Builder addEntry(org.apache.orc.OrcProto.RowIndexEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.add(value);
onChanged();
} else {
entryBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public Builder addEntry(
int index, org.apache.orc.OrcProto.RowIndexEntry value) {
if (entryBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureEntryIsMutable();
entry_.add(index, value);
onChanged();
} else {
entryBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public Builder addEntry(
org.apache.orc.OrcProto.RowIndexEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(builderForValue.build());
onChanged();
} else {
entryBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public Builder addEntry(
int index, org.apache.orc.OrcProto.RowIndexEntry.Builder builderForValue) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.add(index, builderForValue.build());
onChanged();
} else {
entryBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public Builder addAllEntry(
java.lang.Iterable extends org.apache.orc.OrcProto.RowIndexEntry> values) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
super.addAll(values, entry_);
onChanged();
} else {
entryBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public Builder clearEntry() {
if (entryBuilder_ == null) {
entry_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
entryBuilder_.clear();
}
return this;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public Builder removeEntry(int index) {
if (entryBuilder_ == null) {
ensureEntryIsMutable();
entry_.remove(index);
onChanged();
} else {
entryBuilder_.remove(index);
}
return this;
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public org.apache.orc.OrcProto.RowIndexEntry.Builder getEntryBuilder(
int index) {
return getEntryFieldBuilder().getBuilder(index);
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public org.apache.orc.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder(
int index) {
if (entryBuilder_ == null) {
return entry_.get(index); } else {
return entryBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public java.util.List extends org.apache.orc.OrcProto.RowIndexEntryOrBuilder>
getEntryOrBuilderList() {
if (entryBuilder_ != null) {
return entryBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(entry_);
}
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public org.apache.orc.OrcProto.RowIndexEntry.Builder addEntryBuilder() {
return getEntryFieldBuilder().addBuilder(
org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance());
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public org.apache.orc.OrcProto.RowIndexEntry.Builder addEntryBuilder(
int index) {
return getEntryFieldBuilder().addBuilder(
index, org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance());
}
/**
* repeated .orc.proto.RowIndexEntry entry = 1;
*/
public java.util.List
getEntryBuilderList() {
return getEntryFieldBuilder().getBuilderList();
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.RowIndexEntry, org.apache.orc.OrcProto.RowIndexEntry.Builder, org.apache.orc.OrcProto.RowIndexEntryOrBuilder>
getEntryFieldBuilder() {
if (entryBuilder_ == null) {
entryBuilder_ = new io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.RowIndexEntry, org.apache.orc.OrcProto.RowIndexEntry.Builder, org.apache.orc.OrcProto.RowIndexEntryOrBuilder>(
entry_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
entry_ = null;
}
return entryBuilder_;
}
// @@protoc_insertion_point(builder_scope:orc.proto.RowIndex)
}
static {
defaultInstance = new RowIndex(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.RowIndex)
}
public interface BloomFilterOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional uint32 numHashFunctions = 1;
/**
* optional uint32 numHashFunctions = 1;
*/
boolean hasNumHashFunctions();
/**
* optional uint32 numHashFunctions = 1;
*/
int getNumHashFunctions();
// repeated fixed64 bitset = 2;
/**
* repeated fixed64 bitset = 2;
*/
java.util.List getBitsetList();
/**
* repeated fixed64 bitset = 2;
*/
int getBitsetCount();
/**
* repeated fixed64 bitset = 2;
*/
long getBitset(int index);
// optional bytes utf8bitset = 3;
/**
* optional bytes utf8bitset = 3;
*/
boolean hasUtf8Bitset();
/**
* optional bytes utf8bitset = 3;
*/
io.trino.hive.$internal.com.google.protobuf.ByteString getUtf8Bitset();
}
/**
* Protobuf type {@code orc.proto.BloomFilter}
*/
public static final class BloomFilter extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements BloomFilterOrBuilder {
// Use BloomFilter.newBuilder() to construct.
private BloomFilter(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BloomFilter(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BloomFilter defaultInstance;
public static BloomFilter getDefaultInstance() {
return defaultInstance;
}
public BloomFilter getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BloomFilter(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
numHashFunctions_ = input.readUInt32();
break;
}
case 17: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
bitset_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
bitset_.add(input.readFixed64());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
bitset_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
bitset_.add(input.readFixed64());
}
input.popLimit(limit);
break;
}
case 26: {
bitField0_ |= 0x00000002;
utf8Bitset_ = input.readBytes();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
bitset_ = java.util.Collections.unmodifiableList(bitset_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilter_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.BloomFilter.class, org.apache.orc.OrcProto.BloomFilter.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public BloomFilter parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new BloomFilter(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional uint32 numHashFunctions = 1;
public static final int NUMHASHFUNCTIONS_FIELD_NUMBER = 1;
private int numHashFunctions_;
/**
* optional uint32 numHashFunctions = 1;
*/
public boolean hasNumHashFunctions() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 numHashFunctions = 1;
*/
public int getNumHashFunctions() {
return numHashFunctions_;
}
// repeated fixed64 bitset = 2;
public static final int BITSET_FIELD_NUMBER = 2;
private java.util.List bitset_;
/**
* repeated fixed64 bitset = 2;
*/
public java.util.List
getBitsetList() {
return bitset_;
}
/**
* repeated fixed64 bitset = 2;
*/
public int getBitsetCount() {
return bitset_.size();
}
/**
* repeated fixed64 bitset = 2;
*/
public long getBitset(int index) {
return bitset_.get(index);
}
// optional bytes utf8bitset = 3;
public static final int UTF8BITSET_FIELD_NUMBER = 3;
private io.trino.hive.$internal.com.google.protobuf.ByteString utf8Bitset_;
/**
* optional bytes utf8bitset = 3;
*/
public boolean hasUtf8Bitset() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bytes utf8bitset = 3;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString getUtf8Bitset() {
return utf8Bitset_;
}
private void initFields() {
numHashFunctions_ = 0;
bitset_ = java.util.Collections.emptyList();
utf8Bitset_ = io.trino.hive.$internal.com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt32(1, numHashFunctions_);
}
for (int i = 0; i < bitset_.size(); i++) {
output.writeFixed64(2, bitset_.get(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(3, utf8Bitset_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt32Size(1, numHashFunctions_);
}
{
int dataSize = 0;
dataSize = 8 * getBitsetList().size();
size += dataSize;
size += 1 * getBitsetList().size();
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(3, utf8Bitset_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.BloomFilter parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.BloomFilter parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.BloomFilter parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.BloomFilter parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.BloomFilter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.BloomFilter parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.BloomFilter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.BloomFilter parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.BloomFilter parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.BloomFilter parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.BloomFilter prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.BloomFilter}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.BloomFilterOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilter_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.BloomFilter.class, org.apache.orc.OrcProto.BloomFilter.Builder.class);
}
// Construct using org.apache.orc.OrcProto.BloomFilter.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
numHashFunctions_ = 0;
bitField0_ = (bitField0_ & ~0x00000001);
bitset_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
utf8Bitset_ = io.trino.hive.$internal.com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilter_descriptor;
}
public org.apache.orc.OrcProto.BloomFilter getDefaultInstanceForType() {
return org.apache.orc.OrcProto.BloomFilter.getDefaultInstance();
}
public org.apache.orc.OrcProto.BloomFilter build() {
org.apache.orc.OrcProto.BloomFilter result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.BloomFilter buildPartial() {
org.apache.orc.OrcProto.BloomFilter result = new org.apache.orc.OrcProto.BloomFilter(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.numHashFunctions_ = numHashFunctions_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
bitset_ = java.util.Collections.unmodifiableList(bitset_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.bitset_ = bitset_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000002;
}
result.utf8Bitset_ = utf8Bitset_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.BloomFilter) {
return mergeFrom((org.apache.orc.OrcProto.BloomFilter)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.BloomFilter other) {
if (other == org.apache.orc.OrcProto.BloomFilter.getDefaultInstance()) return this;
if (other.hasNumHashFunctions()) {
setNumHashFunctions(other.getNumHashFunctions());
}
if (!other.bitset_.isEmpty()) {
if (bitset_.isEmpty()) {
bitset_ = other.bitset_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureBitsetIsMutable();
bitset_.addAll(other.bitset_);
}
onChanged();
}
if (other.hasUtf8Bitset()) {
setUtf8Bitset(other.getUtf8Bitset());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.BloomFilter parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.BloomFilter) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint32 numHashFunctions = 1;
private int numHashFunctions_ ;
/**
* optional uint32 numHashFunctions = 1;
*/
public boolean hasNumHashFunctions() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint32 numHashFunctions = 1;
*/
public int getNumHashFunctions() {
return numHashFunctions_;
}
/**
* optional uint32 numHashFunctions = 1;
*/
public Builder setNumHashFunctions(int value) {
bitField0_ |= 0x00000001;
numHashFunctions_ = value;
onChanged();
return this;
}
/**
* optional uint32 numHashFunctions = 1;
*/
public Builder clearNumHashFunctions() {
bitField0_ = (bitField0_ & ~0x00000001);
numHashFunctions_ = 0;
onChanged();
return this;
}
// repeated fixed64 bitset = 2;
private java.util.List bitset_ = java.util.Collections.emptyList();
private void ensureBitsetIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
bitset_ = new java.util.ArrayList(bitset_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated fixed64 bitset = 2;
*/
public java.util.List
getBitsetList() {
return java.util.Collections.unmodifiableList(bitset_);
}
/**
* repeated fixed64 bitset = 2;
*/
public int getBitsetCount() {
return bitset_.size();
}
/**
* repeated fixed64 bitset = 2;
*/
public long getBitset(int index) {
return bitset_.get(index);
}
/**
* repeated fixed64 bitset = 2;
*/
public Builder setBitset(
int index, long value) {
ensureBitsetIsMutable();
bitset_.set(index, value);
onChanged();
return this;
}
/**
* repeated fixed64 bitset = 2;
*/
public Builder addBitset(long value) {
ensureBitsetIsMutable();
bitset_.add(value);
onChanged();
return this;
}
/**
* repeated fixed64 bitset = 2;
*/
public Builder addAllBitset(
java.lang.Iterable extends java.lang.Long> values) {
ensureBitsetIsMutable();
super.addAll(values, bitset_);
onChanged();
return this;
}
/**
* repeated fixed64 bitset = 2;
*/
public Builder clearBitset() {
bitset_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
// optional bytes utf8bitset = 3;
private io.trino.hive.$internal.com.google.protobuf.ByteString utf8Bitset_ = io.trino.hive.$internal.com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes utf8bitset = 3;
*/
public boolean hasUtf8Bitset() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional bytes utf8bitset = 3;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString getUtf8Bitset() {
return utf8Bitset_;
}
/**
* optional bytes utf8bitset = 3;
*/
public Builder setUtf8Bitset(io.trino.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
utf8Bitset_ = value;
onChanged();
return this;
}
/**
* optional bytes utf8bitset = 3;
*/
public Builder clearUtf8Bitset() {
bitField0_ = (bitField0_ & ~0x00000004);
utf8Bitset_ = getDefaultInstance().getUtf8Bitset();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.BloomFilter)
}
static {
defaultInstance = new BloomFilter(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.BloomFilter)
}
public interface BloomFilterIndexOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .orc.proto.BloomFilter bloomFilter = 1;
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
java.util.List
getBloomFilterList();
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
org.apache.orc.OrcProto.BloomFilter getBloomFilter(int index);
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
int getBloomFilterCount();
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
java.util.List extends org.apache.orc.OrcProto.BloomFilterOrBuilder>
getBloomFilterOrBuilderList();
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
org.apache.orc.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder(
int index);
}
/**
* Protobuf type {@code orc.proto.BloomFilterIndex}
*/
public static final class BloomFilterIndex extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements BloomFilterIndexOrBuilder {
// Use BloomFilterIndex.newBuilder() to construct.
private BloomFilterIndex(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private BloomFilterIndex(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final BloomFilterIndex defaultInstance;
public static BloomFilterIndex getDefaultInstance() {
return defaultInstance;
}
public BloomFilterIndex getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private BloomFilterIndex(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
bloomFilter_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
bloomFilter_.add(input.readMessage(org.apache.orc.OrcProto.BloomFilter.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
bloomFilter_ = java.util.Collections.unmodifiableList(bloomFilter_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilterIndex_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilterIndex_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.BloomFilterIndex.class, org.apache.orc.OrcProto.BloomFilterIndex.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public BloomFilterIndex parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new BloomFilterIndex(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .orc.proto.BloomFilter bloomFilter = 1;
public static final int BLOOMFILTER_FIELD_NUMBER = 1;
private java.util.List bloomFilter_;
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public java.util.List getBloomFilterList() {
return bloomFilter_;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public java.util.List extends org.apache.orc.OrcProto.BloomFilterOrBuilder>
getBloomFilterOrBuilderList() {
return bloomFilter_;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public int getBloomFilterCount() {
return bloomFilter_.size();
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public org.apache.orc.OrcProto.BloomFilter getBloomFilter(int index) {
return bloomFilter_.get(index);
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public org.apache.orc.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder(
int index) {
return bloomFilter_.get(index);
}
private void initFields() {
bloomFilter_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < bloomFilter_.size(); i++) {
output.writeMessage(1, bloomFilter_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < bloomFilter_.size(); i++) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, bloomFilter_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.BloomFilterIndex parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.BloomFilterIndex parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.BloomFilterIndex prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.BloomFilterIndex}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.BloomFilterIndexOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilterIndex_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilterIndex_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.BloomFilterIndex.class, org.apache.orc.OrcProto.BloomFilterIndex.Builder.class);
}
// Construct using org.apache.orc.OrcProto.BloomFilterIndex.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getBloomFilterFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (bloomFilterBuilder_ == null) {
bloomFilter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
bloomFilterBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilterIndex_descriptor;
}
public org.apache.orc.OrcProto.BloomFilterIndex getDefaultInstanceForType() {
return org.apache.orc.OrcProto.BloomFilterIndex.getDefaultInstance();
}
public org.apache.orc.OrcProto.BloomFilterIndex build() {
org.apache.orc.OrcProto.BloomFilterIndex result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.BloomFilterIndex buildPartial() {
org.apache.orc.OrcProto.BloomFilterIndex result = new org.apache.orc.OrcProto.BloomFilterIndex(this);
int from_bitField0_ = bitField0_;
if (bloomFilterBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
bloomFilter_ = java.util.Collections.unmodifiableList(bloomFilter_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.bloomFilter_ = bloomFilter_;
} else {
result.bloomFilter_ = bloomFilterBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.BloomFilterIndex) {
return mergeFrom((org.apache.orc.OrcProto.BloomFilterIndex)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.BloomFilterIndex other) {
if (other == org.apache.orc.OrcProto.BloomFilterIndex.getDefaultInstance()) return this;
if (bloomFilterBuilder_ == null) {
if (!other.bloomFilter_.isEmpty()) {
if (bloomFilter_.isEmpty()) {
bloomFilter_ = other.bloomFilter_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureBloomFilterIsMutable();
bloomFilter_.addAll(other.bloomFilter_);
}
onChanged();
}
} else {
if (!other.bloomFilter_.isEmpty()) {
if (bloomFilterBuilder_.isEmpty()) {
bloomFilterBuilder_.dispose();
bloomFilterBuilder_ = null;
bloomFilter_ = other.bloomFilter_;
bitField0_ = (bitField0_ & ~0x00000001);
bloomFilterBuilder_ =
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getBloomFilterFieldBuilder() : null;
} else {
bloomFilterBuilder_.addAllMessages(other.bloomFilter_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.BloomFilterIndex parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.BloomFilterIndex) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .orc.proto.BloomFilter bloomFilter = 1;
private java.util.List bloomFilter_ =
java.util.Collections.emptyList();
private void ensureBloomFilterIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
bloomFilter_ = new java.util.ArrayList(bloomFilter_);
bitField0_ |= 0x00000001;
}
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.BloomFilter, org.apache.orc.OrcProto.BloomFilter.Builder, org.apache.orc.OrcProto.BloomFilterOrBuilder> bloomFilterBuilder_;
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public java.util.List getBloomFilterList() {
if (bloomFilterBuilder_ == null) {
return java.util.Collections.unmodifiableList(bloomFilter_);
} else {
return bloomFilterBuilder_.getMessageList();
}
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public int getBloomFilterCount() {
if (bloomFilterBuilder_ == null) {
return bloomFilter_.size();
} else {
return bloomFilterBuilder_.getCount();
}
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public org.apache.orc.OrcProto.BloomFilter getBloomFilter(int index) {
if (bloomFilterBuilder_ == null) {
return bloomFilter_.get(index);
} else {
return bloomFilterBuilder_.getMessage(index);
}
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public Builder setBloomFilter(
int index, org.apache.orc.OrcProto.BloomFilter value) {
if (bloomFilterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBloomFilterIsMutable();
bloomFilter_.set(index, value);
onChanged();
} else {
bloomFilterBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public Builder setBloomFilter(
int index, org.apache.orc.OrcProto.BloomFilter.Builder builderForValue) {
if (bloomFilterBuilder_ == null) {
ensureBloomFilterIsMutable();
bloomFilter_.set(index, builderForValue.build());
onChanged();
} else {
bloomFilterBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public Builder addBloomFilter(org.apache.orc.OrcProto.BloomFilter value) {
if (bloomFilterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBloomFilterIsMutable();
bloomFilter_.add(value);
onChanged();
} else {
bloomFilterBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public Builder addBloomFilter(
int index, org.apache.orc.OrcProto.BloomFilter value) {
if (bloomFilterBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureBloomFilterIsMutable();
bloomFilter_.add(index, value);
onChanged();
} else {
bloomFilterBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public Builder addBloomFilter(
org.apache.orc.OrcProto.BloomFilter.Builder builderForValue) {
if (bloomFilterBuilder_ == null) {
ensureBloomFilterIsMutable();
bloomFilter_.add(builderForValue.build());
onChanged();
} else {
bloomFilterBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public Builder addBloomFilter(
int index, org.apache.orc.OrcProto.BloomFilter.Builder builderForValue) {
if (bloomFilterBuilder_ == null) {
ensureBloomFilterIsMutable();
bloomFilter_.add(index, builderForValue.build());
onChanged();
} else {
bloomFilterBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public Builder addAllBloomFilter(
java.lang.Iterable extends org.apache.orc.OrcProto.BloomFilter> values) {
if (bloomFilterBuilder_ == null) {
ensureBloomFilterIsMutable();
super.addAll(values, bloomFilter_);
onChanged();
} else {
bloomFilterBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public Builder clearBloomFilter() {
if (bloomFilterBuilder_ == null) {
bloomFilter_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
bloomFilterBuilder_.clear();
}
return this;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public Builder removeBloomFilter(int index) {
if (bloomFilterBuilder_ == null) {
ensureBloomFilterIsMutable();
bloomFilter_.remove(index);
onChanged();
} else {
bloomFilterBuilder_.remove(index);
}
return this;
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public org.apache.orc.OrcProto.BloomFilter.Builder getBloomFilterBuilder(
int index) {
return getBloomFilterFieldBuilder().getBuilder(index);
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public org.apache.orc.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder(
int index) {
if (bloomFilterBuilder_ == null) {
return bloomFilter_.get(index); } else {
return bloomFilterBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public java.util.List extends org.apache.orc.OrcProto.BloomFilterOrBuilder>
getBloomFilterOrBuilderList() {
if (bloomFilterBuilder_ != null) {
return bloomFilterBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(bloomFilter_);
}
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public org.apache.orc.OrcProto.BloomFilter.Builder addBloomFilterBuilder() {
return getBloomFilterFieldBuilder().addBuilder(
org.apache.orc.OrcProto.BloomFilter.getDefaultInstance());
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public org.apache.orc.OrcProto.BloomFilter.Builder addBloomFilterBuilder(
int index) {
return getBloomFilterFieldBuilder().addBuilder(
index, org.apache.orc.OrcProto.BloomFilter.getDefaultInstance());
}
/**
* repeated .orc.proto.BloomFilter bloomFilter = 1;
*/
public java.util.List
getBloomFilterBuilderList() {
return getBloomFilterFieldBuilder().getBuilderList();
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.BloomFilter, org.apache.orc.OrcProto.BloomFilter.Builder, org.apache.orc.OrcProto.BloomFilterOrBuilder>
getBloomFilterFieldBuilder() {
if (bloomFilterBuilder_ == null) {
bloomFilterBuilder_ = new io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.BloomFilter, org.apache.orc.OrcProto.BloomFilter.Builder, org.apache.orc.OrcProto.BloomFilterOrBuilder>(
bloomFilter_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
bloomFilter_ = null;
}
return bloomFilterBuilder_;
}
// @@protoc_insertion_point(builder_scope:orc.proto.BloomFilterIndex)
}
static {
defaultInstance = new BloomFilterIndex(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.BloomFilterIndex)
}
public interface StreamOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional .orc.proto.Stream.Kind kind = 1;
/**
* optional .orc.proto.Stream.Kind kind = 1;
*/
boolean hasKind();
/**
* optional .orc.proto.Stream.Kind kind = 1;
*/
org.apache.orc.OrcProto.Stream.Kind getKind();
// optional uint32 column = 2;
/**
* optional uint32 column = 2;
*/
boolean hasColumn();
/**
* optional uint32 column = 2;
*/
int getColumn();
// optional uint64 length = 3;
/**
* optional uint64 length = 3;
*/
boolean hasLength();
/**
* optional uint64 length = 3;
*/
long getLength();
}
/**
* Protobuf type {@code orc.proto.Stream}
*/
public static final class Stream extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements StreamOrBuilder {
// Use Stream.newBuilder() to construct.
private Stream(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Stream(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Stream defaultInstance;
public static Stream getDefaultInstance() {
return defaultInstance;
}
public Stream getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Stream(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
org.apache.orc.OrcProto.Stream.Kind value = org.apache.orc.OrcProto.Stream.Kind.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
kind_ = value;
}
break;
}
case 16: {
bitField0_ |= 0x00000002;
column_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
length_ = input.readUInt64();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.Stream.class, org.apache.orc.OrcProto.Stream.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public Stream parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new Stream(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code orc.proto.Stream.Kind}
*
*
* if you add new index stream kinds, you need to make sure to update
* StreamName to ensure it is added to the stripe in the right area
*
*/
public enum Kind
implements io.trino.hive.$internal.com.google.protobuf.ProtocolMessageEnum {
/**
* PRESENT = 0;
*/
PRESENT(0, 0),
/**
* DATA = 1;
*/
DATA(1, 1),
/**
* LENGTH = 2;
*/
LENGTH(2, 2),
/**
* DICTIONARY_DATA = 3;
*/
DICTIONARY_DATA(3, 3),
/**
* DICTIONARY_COUNT = 4;
*/
DICTIONARY_COUNT(4, 4),
/**
* SECONDARY = 5;
*/
SECONDARY(5, 5),
/**
* ROW_INDEX = 6;
*/
ROW_INDEX(6, 6),
/**
* BLOOM_FILTER = 7;
*/
BLOOM_FILTER(7, 7),
/**
* BLOOM_FILTER_UTF8 = 8;
*/
BLOOM_FILTER_UTF8(8, 8),
;
/**
* PRESENT = 0;
*/
public static final int PRESENT_VALUE = 0;
/**
* DATA = 1;
*/
public static final int DATA_VALUE = 1;
/**
* LENGTH = 2;
*/
public static final int LENGTH_VALUE = 2;
/**
* DICTIONARY_DATA = 3;
*/
public static final int DICTIONARY_DATA_VALUE = 3;
/**
* DICTIONARY_COUNT = 4;
*/
public static final int DICTIONARY_COUNT_VALUE = 4;
/**
* SECONDARY = 5;
*/
public static final int SECONDARY_VALUE = 5;
/**
* ROW_INDEX = 6;
*/
public static final int ROW_INDEX_VALUE = 6;
/**
* BLOOM_FILTER = 7;
*/
public static final int BLOOM_FILTER_VALUE = 7;
/**
* BLOOM_FILTER_UTF8 = 8;
*/
public static final int BLOOM_FILTER_UTF8_VALUE = 8;
public final int getNumber() { return value; }
public static Kind valueOf(int value) {
switch (value) {
case 0: return PRESENT;
case 1: return DATA;
case 2: return LENGTH;
case 3: return DICTIONARY_DATA;
case 4: return DICTIONARY_COUNT;
case 5: return SECONDARY;
case 6: return ROW_INDEX;
case 7: return BLOOM_FILTER;
case 8: return BLOOM_FILTER_UTF8;
default: return null;
}
}
public static io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap() {
public Kind findValueByNumber(int number) {
return Kind.valueOf(number);
}
};
public final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.orc.OrcProto.Stream.getDescriptor().getEnumTypes().get(0);
}
private static final Kind[] VALUES = values();
public static Kind valueOf(
io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private Kind(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:orc.proto.Stream.Kind)
}
private int bitField0_;
// optional .orc.proto.Stream.Kind kind = 1;
public static final int KIND_FIELD_NUMBER = 1;
private org.apache.orc.OrcProto.Stream.Kind kind_;
/**
* optional .orc.proto.Stream.Kind kind = 1;
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .orc.proto.Stream.Kind kind = 1;
*/
public org.apache.orc.OrcProto.Stream.Kind getKind() {
return kind_;
}
// optional uint32 column = 2;
public static final int COLUMN_FIELD_NUMBER = 2;
private int column_;
/**
* optional uint32 column = 2;
*/
public boolean hasColumn() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 column = 2;
*/
public int getColumn() {
return column_;
}
// optional uint64 length = 3;
public static final int LENGTH_FIELD_NUMBER = 3;
private long length_;
/**
* optional uint64 length = 3;
*/
public boolean hasLength() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 length = 3;
*/
public long getLength() {
return length_;
}
private void initFields() {
kind_ = org.apache.orc.OrcProto.Stream.Kind.PRESENT;
column_ = 0;
length_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, kind_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, column_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt64(3, length_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeEnumSize(1, kind_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, column_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, length_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.Stream parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.Stream parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.Stream parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.Stream parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.Stream parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.Stream parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.Stream parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.Stream parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.Stream parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.Stream parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.Stream prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.Stream}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.StreamOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.Stream.class, org.apache.orc.OrcProto.Stream.Builder.class);
}
// Construct using org.apache.orc.OrcProto.Stream.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
kind_ = org.apache.orc.OrcProto.Stream.Kind.PRESENT;
bitField0_ = (bitField0_ & ~0x00000001);
column_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
length_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_descriptor;
}
public org.apache.orc.OrcProto.Stream getDefaultInstanceForType() {
return org.apache.orc.OrcProto.Stream.getDefaultInstance();
}
public org.apache.orc.OrcProto.Stream build() {
org.apache.orc.OrcProto.Stream result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.Stream buildPartial() {
org.apache.orc.OrcProto.Stream result = new org.apache.orc.OrcProto.Stream(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.kind_ = kind_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.column_ = column_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.length_ = length_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.Stream) {
return mergeFrom((org.apache.orc.OrcProto.Stream)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.Stream other) {
if (other == org.apache.orc.OrcProto.Stream.getDefaultInstance()) return this;
if (other.hasKind()) {
setKind(other.getKind());
}
if (other.hasColumn()) {
setColumn(other.getColumn());
}
if (other.hasLength()) {
setLength(other.getLength());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.Stream parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.Stream) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .orc.proto.Stream.Kind kind = 1;
private org.apache.orc.OrcProto.Stream.Kind kind_ = org.apache.orc.OrcProto.Stream.Kind.PRESENT;
/**
* optional .orc.proto.Stream.Kind kind = 1;
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .orc.proto.Stream.Kind kind = 1;
*/
public org.apache.orc.OrcProto.Stream.Kind getKind() {
return kind_;
}
/**
* optional .orc.proto.Stream.Kind kind = 1;
*/
public Builder setKind(org.apache.orc.OrcProto.Stream.Kind value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
kind_ = value;
onChanged();
return this;
}
/**
* optional .orc.proto.Stream.Kind kind = 1;
*/
public Builder clearKind() {
bitField0_ = (bitField0_ & ~0x00000001);
kind_ = org.apache.orc.OrcProto.Stream.Kind.PRESENT;
onChanged();
return this;
}
// optional uint32 column = 2;
private int column_ ;
/**
* optional uint32 column = 2;
*/
public boolean hasColumn() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 column = 2;
*/
public int getColumn() {
return column_;
}
/**
* optional uint32 column = 2;
*/
public Builder setColumn(int value) {
bitField0_ |= 0x00000002;
column_ = value;
onChanged();
return this;
}
/**
* optional uint32 column = 2;
*/
public Builder clearColumn() {
bitField0_ = (bitField0_ & ~0x00000002);
column_ = 0;
onChanged();
return this;
}
// optional uint64 length = 3;
private long length_ ;
/**
* optional uint64 length = 3;
*/
public boolean hasLength() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 length = 3;
*/
public long getLength() {
return length_;
}
/**
* optional uint64 length = 3;
*/
public Builder setLength(long value) {
bitField0_ |= 0x00000004;
length_ = value;
onChanged();
return this;
}
/**
* optional uint64 length = 3;
*/
public Builder clearLength() {
bitField0_ = (bitField0_ & ~0x00000004);
length_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.Stream)
}
static {
defaultInstance = new Stream(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.Stream)
}
public interface ColumnEncodingOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional .orc.proto.ColumnEncoding.Kind kind = 1;
/**
* optional .orc.proto.ColumnEncoding.Kind kind = 1;
*/
boolean hasKind();
/**
* optional .orc.proto.ColumnEncoding.Kind kind = 1;
*/
org.apache.orc.OrcProto.ColumnEncoding.Kind getKind();
// optional uint32 dictionarySize = 2;
/**
* optional uint32 dictionarySize = 2;
*/
boolean hasDictionarySize();
/**
* optional uint32 dictionarySize = 2;
*/
int getDictionarySize();
// optional uint32 bloomEncoding = 3;
/**
* optional uint32 bloomEncoding = 3;
*
*
* The encoding of the bloom filters for this column:
* 0 or missing = none or original
* 1 = ORC-135 (utc for timestamps)
*
*/
boolean hasBloomEncoding();
/**
* optional uint32 bloomEncoding = 3;
*
*
* The encoding of the bloom filters for this column:
* 0 or missing = none or original
* 1 = ORC-135 (utc for timestamps)
*
*/
int getBloomEncoding();
}
/**
* Protobuf type {@code orc.proto.ColumnEncoding}
*/
public static final class ColumnEncoding extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements ColumnEncodingOrBuilder {
// Use ColumnEncoding.newBuilder() to construct.
private ColumnEncoding(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private ColumnEncoding(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final ColumnEncoding defaultInstance;
public static ColumnEncoding getDefaultInstance() {
return defaultInstance;
}
public ColumnEncoding getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private ColumnEncoding(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
org.apache.orc.OrcProto.ColumnEncoding.Kind value = org.apache.orc.OrcProto.ColumnEncoding.Kind.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
kind_ = value;
}
break;
}
case 16: {
bitField0_ |= 0x00000002;
dictionarySize_ = input.readUInt32();
break;
}
case 24: {
bitField0_ |= 0x00000004;
bloomEncoding_ = input.readUInt32();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.ColumnEncoding.class, org.apache.orc.OrcProto.ColumnEncoding.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public ColumnEncoding parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new ColumnEncoding(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code orc.proto.ColumnEncoding.Kind}
*/
public enum Kind
implements io.trino.hive.$internal.com.google.protobuf.ProtocolMessageEnum {
/**
* DIRECT = 0;
*/
DIRECT(0, 0),
/**
* DICTIONARY = 1;
*/
DICTIONARY(1, 1),
/**
* DIRECT_V2 = 2;
*/
DIRECT_V2(2, 2),
/**
* DICTIONARY_V2 = 3;
*/
DICTIONARY_V2(3, 3),
;
/**
* DIRECT = 0;
*/
public static final int DIRECT_VALUE = 0;
/**
* DICTIONARY = 1;
*/
public static final int DICTIONARY_VALUE = 1;
/**
* DIRECT_V2 = 2;
*/
public static final int DIRECT_V2_VALUE = 2;
/**
* DICTIONARY_V2 = 3;
*/
public static final int DICTIONARY_V2_VALUE = 3;
public final int getNumber() { return value; }
public static Kind valueOf(int value) {
switch (value) {
case 0: return DIRECT;
case 1: return DICTIONARY;
case 2: return DIRECT_V2;
case 3: return DICTIONARY_V2;
default: return null;
}
}
public static io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap() {
public Kind findValueByNumber(int number) {
return Kind.valueOf(number);
}
};
public final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.orc.OrcProto.ColumnEncoding.getDescriptor().getEnumTypes().get(0);
}
private static final Kind[] VALUES = values();
public static Kind valueOf(
io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private Kind(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:orc.proto.ColumnEncoding.Kind)
}
private int bitField0_;
// optional .orc.proto.ColumnEncoding.Kind kind = 1;
public static final int KIND_FIELD_NUMBER = 1;
private org.apache.orc.OrcProto.ColumnEncoding.Kind kind_;
/**
* optional .orc.proto.ColumnEncoding.Kind kind = 1;
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .orc.proto.ColumnEncoding.Kind kind = 1;
*/
public org.apache.orc.OrcProto.ColumnEncoding.Kind getKind() {
return kind_;
}
// optional uint32 dictionarySize = 2;
public static final int DICTIONARYSIZE_FIELD_NUMBER = 2;
private int dictionarySize_;
/**
* optional uint32 dictionarySize = 2;
*/
public boolean hasDictionarySize() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 dictionarySize = 2;
*/
public int getDictionarySize() {
return dictionarySize_;
}
// optional uint32 bloomEncoding = 3;
public static final int BLOOMENCODING_FIELD_NUMBER = 3;
private int bloomEncoding_;
/**
* optional uint32 bloomEncoding = 3;
*
*
* The encoding of the bloom filters for this column:
* 0 or missing = none or original
* 1 = ORC-135 (utc for timestamps)
*
*/
public boolean hasBloomEncoding() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 bloomEncoding = 3;
*
*
* The encoding of the bloom filters for this column:
* 0 or missing = none or original
* 1 = ORC-135 (utc for timestamps)
*
*/
public int getBloomEncoding() {
return bloomEncoding_;
}
private void initFields() {
kind_ = org.apache.orc.OrcProto.ColumnEncoding.Kind.DIRECT;
dictionarySize_ = 0;
bloomEncoding_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, kind_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(2, dictionarySize_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(3, bloomEncoding_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeEnumSize(1, kind_.getNumber());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt32Size(2, dictionarySize_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt32Size(3, bloomEncoding_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.ColumnEncoding parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.ColumnEncoding parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.ColumnEncoding prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.ColumnEncoding}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.ColumnEncodingOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.ColumnEncoding.class, org.apache.orc.OrcProto.ColumnEncoding.Builder.class);
}
// Construct using org.apache.orc.OrcProto.ColumnEncoding.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
kind_ = org.apache.orc.OrcProto.ColumnEncoding.Kind.DIRECT;
bitField0_ = (bitField0_ & ~0x00000001);
dictionarySize_ = 0;
bitField0_ = (bitField0_ & ~0x00000002);
bloomEncoding_ = 0;
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_descriptor;
}
public org.apache.orc.OrcProto.ColumnEncoding getDefaultInstanceForType() {
return org.apache.orc.OrcProto.ColumnEncoding.getDefaultInstance();
}
public org.apache.orc.OrcProto.ColumnEncoding build() {
org.apache.orc.OrcProto.ColumnEncoding result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.ColumnEncoding buildPartial() {
org.apache.orc.OrcProto.ColumnEncoding result = new org.apache.orc.OrcProto.ColumnEncoding(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.kind_ = kind_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.dictionarySize_ = dictionarySize_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.bloomEncoding_ = bloomEncoding_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.ColumnEncoding) {
return mergeFrom((org.apache.orc.OrcProto.ColumnEncoding)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.ColumnEncoding other) {
if (other == org.apache.orc.OrcProto.ColumnEncoding.getDefaultInstance()) return this;
if (other.hasKind()) {
setKind(other.getKind());
}
if (other.hasDictionarySize()) {
setDictionarySize(other.getDictionarySize());
}
if (other.hasBloomEncoding()) {
setBloomEncoding(other.getBloomEncoding());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.ColumnEncoding parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.ColumnEncoding) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .orc.proto.ColumnEncoding.Kind kind = 1;
private org.apache.orc.OrcProto.ColumnEncoding.Kind kind_ = org.apache.orc.OrcProto.ColumnEncoding.Kind.DIRECT;
/**
* optional .orc.proto.ColumnEncoding.Kind kind = 1;
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .orc.proto.ColumnEncoding.Kind kind = 1;
*/
public org.apache.orc.OrcProto.ColumnEncoding.Kind getKind() {
return kind_;
}
/**
* optional .orc.proto.ColumnEncoding.Kind kind = 1;
*/
public Builder setKind(org.apache.orc.OrcProto.ColumnEncoding.Kind value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
kind_ = value;
onChanged();
return this;
}
/**
* optional .orc.proto.ColumnEncoding.Kind kind = 1;
*/
public Builder clearKind() {
bitField0_ = (bitField0_ & ~0x00000001);
kind_ = org.apache.orc.OrcProto.ColumnEncoding.Kind.DIRECT;
onChanged();
return this;
}
// optional uint32 dictionarySize = 2;
private int dictionarySize_ ;
/**
* optional uint32 dictionarySize = 2;
*/
public boolean hasDictionarySize() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 dictionarySize = 2;
*/
public int getDictionarySize() {
return dictionarySize_;
}
/**
* optional uint32 dictionarySize = 2;
*/
public Builder setDictionarySize(int value) {
bitField0_ |= 0x00000002;
dictionarySize_ = value;
onChanged();
return this;
}
/**
* optional uint32 dictionarySize = 2;
*/
public Builder clearDictionarySize() {
bitField0_ = (bitField0_ & ~0x00000002);
dictionarySize_ = 0;
onChanged();
return this;
}
// optional uint32 bloomEncoding = 3;
private int bloomEncoding_ ;
/**
* optional uint32 bloomEncoding = 3;
*
*
* The encoding of the bloom filters for this column:
* 0 or missing = none or original
* 1 = ORC-135 (utc for timestamps)
*
*/
public boolean hasBloomEncoding() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 bloomEncoding = 3;
*
*
* The encoding of the bloom filters for this column:
* 0 or missing = none or original
* 1 = ORC-135 (utc for timestamps)
*
*/
public int getBloomEncoding() {
return bloomEncoding_;
}
/**
* optional uint32 bloomEncoding = 3;
*
*
* The encoding of the bloom filters for this column:
* 0 or missing = none or original
* 1 = ORC-135 (utc for timestamps)
*
*/
public Builder setBloomEncoding(int value) {
bitField0_ |= 0x00000004;
bloomEncoding_ = value;
onChanged();
return this;
}
/**
* optional uint32 bloomEncoding = 3;
*
*
* The encoding of the bloom filters for this column:
* 0 or missing = none or original
* 1 = ORC-135 (utc for timestamps)
*
*/
public Builder clearBloomEncoding() {
bitField0_ = (bitField0_ & ~0x00000004);
bloomEncoding_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.ColumnEncoding)
}
static {
defaultInstance = new ColumnEncoding(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.ColumnEncoding)
}
public interface StripeFooterOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .orc.proto.Stream streams = 1;
/**
* repeated .orc.proto.Stream streams = 1;
*/
java.util.List
getStreamsList();
/**
* repeated .orc.proto.Stream streams = 1;
*/
org.apache.orc.OrcProto.Stream getStreams(int index);
/**
* repeated .orc.proto.Stream streams = 1;
*/
int getStreamsCount();
/**
* repeated .orc.proto.Stream streams = 1;
*/
java.util.List extends org.apache.orc.OrcProto.StreamOrBuilder>
getStreamsOrBuilderList();
/**
* repeated .orc.proto.Stream streams = 1;
*/
org.apache.orc.OrcProto.StreamOrBuilder getStreamsOrBuilder(
int index);
// repeated .orc.proto.ColumnEncoding columns = 2;
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
java.util.List
getColumnsList();
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
org.apache.orc.OrcProto.ColumnEncoding getColumns(int index);
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
int getColumnsCount();
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
java.util.List extends org.apache.orc.OrcProto.ColumnEncodingOrBuilder>
getColumnsOrBuilderList();
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
org.apache.orc.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder(
int index);
// optional string writerTimezone = 3;
/**
* optional string writerTimezone = 3;
*/
boolean hasWriterTimezone();
/**
* optional string writerTimezone = 3;
*/
java.lang.String getWriterTimezone();
/**
* optional string writerTimezone = 3;
*/
io.trino.hive.$internal.com.google.protobuf.ByteString
getWriterTimezoneBytes();
}
/**
* Protobuf type {@code orc.proto.StripeFooter}
*/
public static final class StripeFooter extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements StripeFooterOrBuilder {
// Use StripeFooter.newBuilder() to construct.
private StripeFooter(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private StripeFooter(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final StripeFooter defaultInstance;
public static StripeFooter getDefaultInstance() {
return defaultInstance;
}
public StripeFooter getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StripeFooter(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
streams_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
streams_.add(input.readMessage(org.apache.orc.OrcProto.Stream.PARSER, extensionRegistry));
break;
}
case 18: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
columns_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
columns_.add(input.readMessage(org.apache.orc.OrcProto.ColumnEncoding.PARSER, extensionRegistry));
break;
}
case 26: {
bitField0_ |= 0x00000001;
writerTimezone_ = input.readBytes();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
streams_ = java.util.Collections.unmodifiableList(streams_);
}
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
columns_ = java.util.Collections.unmodifiableList(columns_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeFooter_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeFooter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.StripeFooter.class, org.apache.orc.OrcProto.StripeFooter.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public StripeFooter parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new StripeFooter(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// repeated .orc.proto.Stream streams = 1;
public static final int STREAMS_FIELD_NUMBER = 1;
private java.util.List streams_;
/**
* repeated .orc.proto.Stream streams = 1;
*/
public java.util.List getStreamsList() {
return streams_;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public java.util.List extends org.apache.orc.OrcProto.StreamOrBuilder>
getStreamsOrBuilderList() {
return streams_;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public int getStreamsCount() {
return streams_.size();
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public org.apache.orc.OrcProto.Stream getStreams(int index) {
return streams_.get(index);
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public org.apache.orc.OrcProto.StreamOrBuilder getStreamsOrBuilder(
int index) {
return streams_.get(index);
}
// repeated .orc.proto.ColumnEncoding columns = 2;
public static final int COLUMNS_FIELD_NUMBER = 2;
private java.util.List columns_;
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public java.util.List getColumnsList() {
return columns_;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public java.util.List extends org.apache.orc.OrcProto.ColumnEncodingOrBuilder>
getColumnsOrBuilderList() {
return columns_;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public int getColumnsCount() {
return columns_.size();
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public org.apache.orc.OrcProto.ColumnEncoding getColumns(int index) {
return columns_.get(index);
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public org.apache.orc.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder(
int index) {
return columns_.get(index);
}
// optional string writerTimezone = 3;
public static final int WRITERTIMEZONE_FIELD_NUMBER = 3;
private java.lang.Object writerTimezone_;
/**
* optional string writerTimezone = 3;
*/
public boolean hasWriterTimezone() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string writerTimezone = 3;
*/
public java.lang.String getWriterTimezone() {
java.lang.Object ref = writerTimezone_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.trino.hive.$internal.com.google.protobuf.ByteString bs =
(io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
writerTimezone_ = s;
}
return s;
}
}
/**
* optional string writerTimezone = 3;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getWriterTimezoneBytes() {
java.lang.Object ref = writerTimezone_;
if (ref instanceof java.lang.String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
writerTimezone_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
private void initFields() {
streams_ = java.util.Collections.emptyList();
columns_ = java.util.Collections.emptyList();
writerTimezone_ = "";
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < streams_.size(); i++) {
output.writeMessage(1, streams_.get(i));
}
for (int i = 0; i < columns_.size(); i++) {
output.writeMessage(2, columns_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(3, getWriterTimezoneBytes());
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < streams_.size(); i++) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, streams_.get(i));
}
for (int i = 0; i < columns_.size(); i++) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(2, columns_.get(i));
}
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(3, getWriterTimezoneBytes());
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.StripeFooter parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.StripeFooter parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeFooter parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.StripeFooter parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeFooter parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.StripeFooter parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeFooter parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.StripeFooter parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeFooter parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.StripeFooter parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.StripeFooter prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.StripeFooter}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.StripeFooterOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeFooter_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeFooter_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.StripeFooter.class, org.apache.orc.OrcProto.StripeFooter.Builder.class);
}
// Construct using org.apache.orc.OrcProto.StripeFooter.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getStreamsFieldBuilder();
getColumnsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (streamsBuilder_ == null) {
streams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
streamsBuilder_.clear();
}
if (columnsBuilder_ == null) {
columns_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
} else {
columnsBuilder_.clear();
}
writerTimezone_ = "";
bitField0_ = (bitField0_ & ~0x00000004);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeFooter_descriptor;
}
public org.apache.orc.OrcProto.StripeFooter getDefaultInstanceForType() {
return org.apache.orc.OrcProto.StripeFooter.getDefaultInstance();
}
public org.apache.orc.OrcProto.StripeFooter build() {
org.apache.orc.OrcProto.StripeFooter result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.StripeFooter buildPartial() {
org.apache.orc.OrcProto.StripeFooter result = new org.apache.orc.OrcProto.StripeFooter(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (streamsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
streams_ = java.util.Collections.unmodifiableList(streams_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.streams_ = streams_;
} else {
result.streams_ = streamsBuilder_.build();
}
if (columnsBuilder_ == null) {
if (((bitField0_ & 0x00000002) == 0x00000002)) {
columns_ = java.util.Collections.unmodifiableList(columns_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.columns_ = columns_;
} else {
result.columns_ = columnsBuilder_.build();
}
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000001;
}
result.writerTimezone_ = writerTimezone_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.StripeFooter) {
return mergeFrom((org.apache.orc.OrcProto.StripeFooter)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.StripeFooter other) {
if (other == org.apache.orc.OrcProto.StripeFooter.getDefaultInstance()) return this;
if (streamsBuilder_ == null) {
if (!other.streams_.isEmpty()) {
if (streams_.isEmpty()) {
streams_ = other.streams_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStreamsIsMutable();
streams_.addAll(other.streams_);
}
onChanged();
}
} else {
if (!other.streams_.isEmpty()) {
if (streamsBuilder_.isEmpty()) {
streamsBuilder_.dispose();
streamsBuilder_ = null;
streams_ = other.streams_;
bitField0_ = (bitField0_ & ~0x00000001);
streamsBuilder_ =
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getStreamsFieldBuilder() : null;
} else {
streamsBuilder_.addAllMessages(other.streams_);
}
}
}
if (columnsBuilder_ == null) {
if (!other.columns_.isEmpty()) {
if (columns_.isEmpty()) {
columns_ = other.columns_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureColumnsIsMutable();
columns_.addAll(other.columns_);
}
onChanged();
}
} else {
if (!other.columns_.isEmpty()) {
if (columnsBuilder_.isEmpty()) {
columnsBuilder_.dispose();
columnsBuilder_ = null;
columns_ = other.columns_;
bitField0_ = (bitField0_ & ~0x00000002);
columnsBuilder_ =
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getColumnsFieldBuilder() : null;
} else {
columnsBuilder_.addAllMessages(other.columns_);
}
}
}
if (other.hasWriterTimezone()) {
bitField0_ |= 0x00000004;
writerTimezone_ = other.writerTimezone_;
onChanged();
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.StripeFooter parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.StripeFooter) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .orc.proto.Stream streams = 1;
private java.util.List streams_ =
java.util.Collections.emptyList();
private void ensureStreamsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
streams_ = new java.util.ArrayList(streams_);
bitField0_ |= 0x00000001;
}
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.Stream, org.apache.orc.OrcProto.Stream.Builder, org.apache.orc.OrcProto.StreamOrBuilder> streamsBuilder_;
/**
* repeated .orc.proto.Stream streams = 1;
*/
public java.util.List getStreamsList() {
if (streamsBuilder_ == null) {
return java.util.Collections.unmodifiableList(streams_);
} else {
return streamsBuilder_.getMessageList();
}
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public int getStreamsCount() {
if (streamsBuilder_ == null) {
return streams_.size();
} else {
return streamsBuilder_.getCount();
}
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public org.apache.orc.OrcProto.Stream getStreams(int index) {
if (streamsBuilder_ == null) {
return streams_.get(index);
} else {
return streamsBuilder_.getMessage(index);
}
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public Builder setStreams(
int index, org.apache.orc.OrcProto.Stream value) {
if (streamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamsIsMutable();
streams_.set(index, value);
onChanged();
} else {
streamsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public Builder setStreams(
int index, org.apache.orc.OrcProto.Stream.Builder builderForValue) {
if (streamsBuilder_ == null) {
ensureStreamsIsMutable();
streams_.set(index, builderForValue.build());
onChanged();
} else {
streamsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public Builder addStreams(org.apache.orc.OrcProto.Stream value) {
if (streamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamsIsMutable();
streams_.add(value);
onChanged();
} else {
streamsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public Builder addStreams(
int index, org.apache.orc.OrcProto.Stream value) {
if (streamsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStreamsIsMutable();
streams_.add(index, value);
onChanged();
} else {
streamsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public Builder addStreams(
org.apache.orc.OrcProto.Stream.Builder builderForValue) {
if (streamsBuilder_ == null) {
ensureStreamsIsMutable();
streams_.add(builderForValue.build());
onChanged();
} else {
streamsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public Builder addStreams(
int index, org.apache.orc.OrcProto.Stream.Builder builderForValue) {
if (streamsBuilder_ == null) {
ensureStreamsIsMutable();
streams_.add(index, builderForValue.build());
onChanged();
} else {
streamsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public Builder addAllStreams(
java.lang.Iterable extends org.apache.orc.OrcProto.Stream> values) {
if (streamsBuilder_ == null) {
ensureStreamsIsMutable();
super.addAll(values, streams_);
onChanged();
} else {
streamsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public Builder clearStreams() {
if (streamsBuilder_ == null) {
streams_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
streamsBuilder_.clear();
}
return this;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public Builder removeStreams(int index) {
if (streamsBuilder_ == null) {
ensureStreamsIsMutable();
streams_.remove(index);
onChanged();
} else {
streamsBuilder_.remove(index);
}
return this;
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public org.apache.orc.OrcProto.Stream.Builder getStreamsBuilder(
int index) {
return getStreamsFieldBuilder().getBuilder(index);
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public org.apache.orc.OrcProto.StreamOrBuilder getStreamsOrBuilder(
int index) {
if (streamsBuilder_ == null) {
return streams_.get(index); } else {
return streamsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public java.util.List extends org.apache.orc.OrcProto.StreamOrBuilder>
getStreamsOrBuilderList() {
if (streamsBuilder_ != null) {
return streamsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(streams_);
}
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public org.apache.orc.OrcProto.Stream.Builder addStreamsBuilder() {
return getStreamsFieldBuilder().addBuilder(
org.apache.orc.OrcProto.Stream.getDefaultInstance());
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public org.apache.orc.OrcProto.Stream.Builder addStreamsBuilder(
int index) {
return getStreamsFieldBuilder().addBuilder(
index, org.apache.orc.OrcProto.Stream.getDefaultInstance());
}
/**
* repeated .orc.proto.Stream streams = 1;
*/
public java.util.List
getStreamsBuilderList() {
return getStreamsFieldBuilder().getBuilderList();
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.Stream, org.apache.orc.OrcProto.Stream.Builder, org.apache.orc.OrcProto.StreamOrBuilder>
getStreamsFieldBuilder() {
if (streamsBuilder_ == null) {
streamsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.Stream, org.apache.orc.OrcProto.Stream.Builder, org.apache.orc.OrcProto.StreamOrBuilder>(
streams_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
streams_ = null;
}
return streamsBuilder_;
}
// repeated .orc.proto.ColumnEncoding columns = 2;
private java.util.List columns_ =
java.util.Collections.emptyList();
private void ensureColumnsIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
columns_ = new java.util.ArrayList(columns_);
bitField0_ |= 0x00000002;
}
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.ColumnEncoding, org.apache.orc.OrcProto.ColumnEncoding.Builder, org.apache.orc.OrcProto.ColumnEncodingOrBuilder> columnsBuilder_;
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public java.util.List getColumnsList() {
if (columnsBuilder_ == null) {
return java.util.Collections.unmodifiableList(columns_);
} else {
return columnsBuilder_.getMessageList();
}
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public int getColumnsCount() {
if (columnsBuilder_ == null) {
return columns_.size();
} else {
return columnsBuilder_.getCount();
}
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public org.apache.orc.OrcProto.ColumnEncoding getColumns(int index) {
if (columnsBuilder_ == null) {
return columns_.get(index);
} else {
return columnsBuilder_.getMessage(index);
}
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public Builder setColumns(
int index, org.apache.orc.OrcProto.ColumnEncoding value) {
if (columnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColumnsIsMutable();
columns_.set(index, value);
onChanged();
} else {
columnsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public Builder setColumns(
int index, org.apache.orc.OrcProto.ColumnEncoding.Builder builderForValue) {
if (columnsBuilder_ == null) {
ensureColumnsIsMutable();
columns_.set(index, builderForValue.build());
onChanged();
} else {
columnsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public Builder addColumns(org.apache.orc.OrcProto.ColumnEncoding value) {
if (columnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColumnsIsMutable();
columns_.add(value);
onChanged();
} else {
columnsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public Builder addColumns(
int index, org.apache.orc.OrcProto.ColumnEncoding value) {
if (columnsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColumnsIsMutable();
columns_.add(index, value);
onChanged();
} else {
columnsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public Builder addColumns(
org.apache.orc.OrcProto.ColumnEncoding.Builder builderForValue) {
if (columnsBuilder_ == null) {
ensureColumnsIsMutable();
columns_.add(builderForValue.build());
onChanged();
} else {
columnsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public Builder addColumns(
int index, org.apache.orc.OrcProto.ColumnEncoding.Builder builderForValue) {
if (columnsBuilder_ == null) {
ensureColumnsIsMutable();
columns_.add(index, builderForValue.build());
onChanged();
} else {
columnsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public Builder addAllColumns(
java.lang.Iterable extends org.apache.orc.OrcProto.ColumnEncoding> values) {
if (columnsBuilder_ == null) {
ensureColumnsIsMutable();
super.addAll(values, columns_);
onChanged();
} else {
columnsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public Builder clearColumns() {
if (columnsBuilder_ == null) {
columns_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
} else {
columnsBuilder_.clear();
}
return this;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public Builder removeColumns(int index) {
if (columnsBuilder_ == null) {
ensureColumnsIsMutable();
columns_.remove(index);
onChanged();
} else {
columnsBuilder_.remove(index);
}
return this;
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public org.apache.orc.OrcProto.ColumnEncoding.Builder getColumnsBuilder(
int index) {
return getColumnsFieldBuilder().getBuilder(index);
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public org.apache.orc.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder(
int index) {
if (columnsBuilder_ == null) {
return columns_.get(index); } else {
return columnsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public java.util.List extends org.apache.orc.OrcProto.ColumnEncodingOrBuilder>
getColumnsOrBuilderList() {
if (columnsBuilder_ != null) {
return columnsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(columns_);
}
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public org.apache.orc.OrcProto.ColumnEncoding.Builder addColumnsBuilder() {
return getColumnsFieldBuilder().addBuilder(
org.apache.orc.OrcProto.ColumnEncoding.getDefaultInstance());
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public org.apache.orc.OrcProto.ColumnEncoding.Builder addColumnsBuilder(
int index) {
return getColumnsFieldBuilder().addBuilder(
index, org.apache.orc.OrcProto.ColumnEncoding.getDefaultInstance());
}
/**
* repeated .orc.proto.ColumnEncoding columns = 2;
*/
public java.util.List
getColumnsBuilderList() {
return getColumnsFieldBuilder().getBuilderList();
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.ColumnEncoding, org.apache.orc.OrcProto.ColumnEncoding.Builder, org.apache.orc.OrcProto.ColumnEncodingOrBuilder>
getColumnsFieldBuilder() {
if (columnsBuilder_ == null) {
columnsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.ColumnEncoding, org.apache.orc.OrcProto.ColumnEncoding.Builder, org.apache.orc.OrcProto.ColumnEncodingOrBuilder>(
columns_,
((bitField0_ & 0x00000002) == 0x00000002),
getParentForChildren(),
isClean());
columns_ = null;
}
return columnsBuilder_;
}
// optional string writerTimezone = 3;
private java.lang.Object writerTimezone_ = "";
/**
* optional string writerTimezone = 3;
*/
public boolean hasWriterTimezone() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional string writerTimezone = 3;
*/
public java.lang.String getWriterTimezone() {
java.lang.Object ref = writerTimezone_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.trino.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
writerTimezone_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string writerTimezone = 3;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getWriterTimezoneBytes() {
java.lang.Object ref = writerTimezone_;
if (ref instanceof String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
writerTimezone_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string writerTimezone = 3;
*/
public Builder setWriterTimezone(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
writerTimezone_ = value;
onChanged();
return this;
}
/**
* optional string writerTimezone = 3;
*/
public Builder clearWriterTimezone() {
bitField0_ = (bitField0_ & ~0x00000004);
writerTimezone_ = getDefaultInstance().getWriterTimezone();
onChanged();
return this;
}
/**
* optional string writerTimezone = 3;
*/
public Builder setWriterTimezoneBytes(
io.trino.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000004;
writerTimezone_ = value;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.StripeFooter)
}
static {
defaultInstance = new StripeFooter(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.StripeFooter)
}
public interface TypeOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional .orc.proto.Type.Kind kind = 1;
/**
* optional .orc.proto.Type.Kind kind = 1;
*/
boolean hasKind();
/**
* optional .orc.proto.Type.Kind kind = 1;
*/
org.apache.orc.OrcProto.Type.Kind getKind();
// repeated uint32 subtypes = 2 [packed = true];
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
java.util.List getSubtypesList();
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
int getSubtypesCount();
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
int getSubtypes(int index);
// repeated string fieldNames = 3;
/**
* repeated string fieldNames = 3;
*/
java.util.List
getFieldNamesList();
/**
* repeated string fieldNames = 3;
*/
int getFieldNamesCount();
/**
* repeated string fieldNames = 3;
*/
java.lang.String getFieldNames(int index);
/**
* repeated string fieldNames = 3;
*/
io.trino.hive.$internal.com.google.protobuf.ByteString
getFieldNamesBytes(int index);
// optional uint32 maximumLength = 4;
/**
* optional uint32 maximumLength = 4;
*/
boolean hasMaximumLength();
/**
* optional uint32 maximumLength = 4;
*/
int getMaximumLength();
// optional uint32 precision = 5;
/**
* optional uint32 precision = 5;
*/
boolean hasPrecision();
/**
* optional uint32 precision = 5;
*/
int getPrecision();
// optional uint32 scale = 6;
/**
* optional uint32 scale = 6;
*/
boolean hasScale();
/**
* optional uint32 scale = 6;
*/
int getScale();
}
/**
* Protobuf type {@code orc.proto.Type}
*/
public static final class Type extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements TypeOrBuilder {
// Use Type.newBuilder() to construct.
private Type(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Type(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Type defaultInstance;
public static Type getDefaultInstance() {
return defaultInstance;
}
public Type getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Type(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
int rawValue = input.readEnum();
org.apache.orc.OrcProto.Type.Kind value = org.apache.orc.OrcProto.Type.Kind.valueOf(rawValue);
if (value == null) {
unknownFields.mergeVarintField(1, rawValue);
} else {
bitField0_ |= 0x00000001;
kind_ = value;
}
break;
}
case 16: {
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
subtypes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
subtypes_.add(input.readUInt32());
break;
}
case 18: {
int length = input.readRawVarint32();
int limit = input.pushLimit(length);
if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) {
subtypes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000002;
}
while (input.getBytesUntilLimit() > 0) {
subtypes_.add(input.readUInt32());
}
input.popLimit(limit);
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
fieldNames_ = new io.trino.hive.$internal.com.google.protobuf.LazyStringArrayList();
mutable_bitField0_ |= 0x00000004;
}
fieldNames_.add(input.readBytes());
break;
}
case 32: {
bitField0_ |= 0x00000002;
maximumLength_ = input.readUInt32();
break;
}
case 40: {
bitField0_ |= 0x00000004;
precision_ = input.readUInt32();
break;
}
case 48: {
bitField0_ |= 0x00000008;
scale_ = input.readUInt32();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) {
subtypes_ = java.util.Collections.unmodifiableList(subtypes_);
}
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
fieldNames_ = new io.trino.hive.$internal.com.google.protobuf.UnmodifiableLazyStringList(fieldNames_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Type_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Type_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.Type.class, org.apache.orc.OrcProto.Type.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public Type parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new Type(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
/**
* Protobuf enum {@code orc.proto.Type.Kind}
*/
public enum Kind
implements io.trino.hive.$internal.com.google.protobuf.ProtocolMessageEnum {
/**
* BOOLEAN = 0;
*/
BOOLEAN(0, 0),
/**
* BYTE = 1;
*/
BYTE(1, 1),
/**
* SHORT = 2;
*/
SHORT(2, 2),
/**
* INT = 3;
*/
INT(3, 3),
/**
* LONG = 4;
*/
LONG(4, 4),
/**
* FLOAT = 5;
*/
FLOAT(5, 5),
/**
* DOUBLE = 6;
*/
DOUBLE(6, 6),
/**
* STRING = 7;
*/
STRING(7, 7),
/**
* BINARY = 8;
*/
BINARY(8, 8),
/**
* TIMESTAMP = 9;
*/
TIMESTAMP(9, 9),
/**
* LIST = 10;
*/
LIST(10, 10),
/**
* MAP = 11;
*/
MAP(11, 11),
/**
* STRUCT = 12;
*/
STRUCT(12, 12),
/**
* UNION = 13;
*/
UNION(13, 13),
/**
* DECIMAL = 14;
*/
DECIMAL(14, 14),
/**
* DATE = 15;
*/
DATE(15, 15),
/**
* VARCHAR = 16;
*/
VARCHAR(16, 16),
/**
* CHAR = 17;
*/
CHAR(17, 17),
;
/**
* BOOLEAN = 0;
*/
public static final int BOOLEAN_VALUE = 0;
/**
* BYTE = 1;
*/
public static final int BYTE_VALUE = 1;
/**
* SHORT = 2;
*/
public static final int SHORT_VALUE = 2;
/**
* INT = 3;
*/
public static final int INT_VALUE = 3;
/**
* LONG = 4;
*/
public static final int LONG_VALUE = 4;
/**
* FLOAT = 5;
*/
public static final int FLOAT_VALUE = 5;
/**
* DOUBLE = 6;
*/
public static final int DOUBLE_VALUE = 6;
/**
* STRING = 7;
*/
public static final int STRING_VALUE = 7;
/**
* BINARY = 8;
*/
public static final int BINARY_VALUE = 8;
/**
* TIMESTAMP = 9;
*/
public static final int TIMESTAMP_VALUE = 9;
/**
* LIST = 10;
*/
public static final int LIST_VALUE = 10;
/**
* MAP = 11;
*/
public static final int MAP_VALUE = 11;
/**
* STRUCT = 12;
*/
public static final int STRUCT_VALUE = 12;
/**
* UNION = 13;
*/
public static final int UNION_VALUE = 13;
/**
* DECIMAL = 14;
*/
public static final int DECIMAL_VALUE = 14;
/**
* DATE = 15;
*/
public static final int DATE_VALUE = 15;
/**
* VARCHAR = 16;
*/
public static final int VARCHAR_VALUE = 16;
/**
* CHAR = 17;
*/
public static final int CHAR_VALUE = 17;
public final int getNumber() { return value; }
public static Kind valueOf(int value) {
switch (value) {
case 0: return BOOLEAN;
case 1: return BYTE;
case 2: return SHORT;
case 3: return INT;
case 4: return LONG;
case 5: return FLOAT;
case 6: return DOUBLE;
case 7: return STRING;
case 8: return BINARY;
case 9: return TIMESTAMP;
case 10: return LIST;
case 11: return MAP;
case 12: return STRUCT;
case 13: return UNION;
case 14: return DECIMAL;
case 15: return DATE;
case 16: return VARCHAR;
case 17: return CHAR;
default: return null;
}
}
public static io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap
internalGetValueMap() {
return internalValueMap;
}
private static io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap
internalValueMap =
new io.trino.hive.$internal.com.google.protobuf.Internal.EnumLiteMap() {
public Kind findValueByNumber(int number) {
return Kind.valueOf(number);
}
};
public final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor() {
return getDescriptor().getValues().get(index);
}
public final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType() {
return getDescriptor();
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor() {
return org.apache.orc.OrcProto.Type.getDescriptor().getEnumTypes().get(0);
}
private static final Kind[] VALUES = values();
public static Kind valueOf(
io.trino.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
if (desc.getType() != getDescriptor()) {
throw new java.lang.IllegalArgumentException(
"EnumValueDescriptor is not for this type.");
}
return VALUES[desc.getIndex()];
}
private final int index;
private final int value;
private Kind(int index, int value) {
this.index = index;
this.value = value;
}
// @@protoc_insertion_point(enum_scope:orc.proto.Type.Kind)
}
private int bitField0_;
// optional .orc.proto.Type.Kind kind = 1;
public static final int KIND_FIELD_NUMBER = 1;
private org.apache.orc.OrcProto.Type.Kind kind_;
/**
* optional .orc.proto.Type.Kind kind = 1;
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .orc.proto.Type.Kind kind = 1;
*/
public org.apache.orc.OrcProto.Type.Kind getKind() {
return kind_;
}
// repeated uint32 subtypes = 2 [packed = true];
public static final int SUBTYPES_FIELD_NUMBER = 2;
private java.util.List subtypes_;
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
public java.util.List
getSubtypesList() {
return subtypes_;
}
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
public int getSubtypesCount() {
return subtypes_.size();
}
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
public int getSubtypes(int index) {
return subtypes_.get(index);
}
private int subtypesMemoizedSerializedSize = -1;
// repeated string fieldNames = 3;
public static final int FIELDNAMES_FIELD_NUMBER = 3;
private io.trino.hive.$internal.com.google.protobuf.LazyStringList fieldNames_;
/**
* repeated string fieldNames = 3;
*/
public java.util.List
getFieldNamesList() {
return fieldNames_;
}
/**
* repeated string fieldNames = 3;
*/
public int getFieldNamesCount() {
return fieldNames_.size();
}
/**
* repeated string fieldNames = 3;
*/
public java.lang.String getFieldNames(int index) {
return fieldNames_.get(index);
}
/**
* repeated string fieldNames = 3;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getFieldNamesBytes(int index) {
return fieldNames_.getByteString(index);
}
// optional uint32 maximumLength = 4;
public static final int MAXIMUMLENGTH_FIELD_NUMBER = 4;
private int maximumLength_;
/**
* optional uint32 maximumLength = 4;
*/
public boolean hasMaximumLength() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint32 maximumLength = 4;
*/
public int getMaximumLength() {
return maximumLength_;
}
// optional uint32 precision = 5;
public static final int PRECISION_FIELD_NUMBER = 5;
private int precision_;
/**
* optional uint32 precision = 5;
*/
public boolean hasPrecision() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint32 precision = 5;
*/
public int getPrecision() {
return precision_;
}
// optional uint32 scale = 6;
public static final int SCALE_FIELD_NUMBER = 6;
private int scale_;
/**
* optional uint32 scale = 6;
*/
public boolean hasScale() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 scale = 6;
*/
public int getScale() {
return scale_;
}
private void initFields() {
kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN;
subtypes_ = java.util.Collections.emptyList();
fieldNames_ = io.trino.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
maximumLength_ = 0;
precision_ = 0;
scale_ = 0;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeEnum(1, kind_.getNumber());
}
if (getSubtypesList().size() > 0) {
output.writeRawVarint32(18);
output.writeRawVarint32(subtypesMemoizedSerializedSize);
}
for (int i = 0; i < subtypes_.size(); i++) {
output.writeUInt32NoTag(subtypes_.get(i));
}
for (int i = 0; i < fieldNames_.size(); i++) {
output.writeBytes(3, fieldNames_.getByteString(i));
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt32(4, maximumLength_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt32(5, precision_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt32(6, scale_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeEnumSize(1, kind_.getNumber());
}
{
int dataSize = 0;
for (int i = 0; i < subtypes_.size(); i++) {
dataSize += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt32SizeNoTag(subtypes_.get(i));
}
size += dataSize;
if (!getSubtypesList().isEmpty()) {
size += 1;
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeInt32SizeNoTag(dataSize);
}
subtypesMemoizedSerializedSize = dataSize;
}
{
int dataSize = 0;
for (int i = 0; i < fieldNames_.size(); i++) {
dataSize += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSizeNoTag(fieldNames_.getByteString(i));
}
size += dataSize;
size += 1 * getFieldNamesList().size();
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt32Size(4, maximumLength_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt32Size(5, precision_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt32Size(6, scale_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.Type parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.Type parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.Type parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.Type parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.Type parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.Type parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.Type parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.Type parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.Type parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.Type parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.Type prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.Type}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.TypeOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Type_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Type_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.Type.class, org.apache.orc.OrcProto.Type.Builder.class);
}
// Construct using org.apache.orc.OrcProto.Type.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN;
bitField0_ = (bitField0_ & ~0x00000001);
subtypes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
fieldNames_ = io.trino.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
maximumLength_ = 0;
bitField0_ = (bitField0_ & ~0x00000008);
precision_ = 0;
bitField0_ = (bitField0_ & ~0x00000010);
scale_ = 0;
bitField0_ = (bitField0_ & ~0x00000020);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Type_descriptor;
}
public org.apache.orc.OrcProto.Type getDefaultInstanceForType() {
return org.apache.orc.OrcProto.Type.getDefaultInstance();
}
public org.apache.orc.OrcProto.Type build() {
org.apache.orc.OrcProto.Type result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.Type buildPartial() {
org.apache.orc.OrcProto.Type result = new org.apache.orc.OrcProto.Type(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.kind_ = kind_;
if (((bitField0_ & 0x00000002) == 0x00000002)) {
subtypes_ = java.util.Collections.unmodifiableList(subtypes_);
bitField0_ = (bitField0_ & ~0x00000002);
}
result.subtypes_ = subtypes_;
if (((bitField0_ & 0x00000004) == 0x00000004)) {
fieldNames_ = new io.trino.hive.$internal.com.google.protobuf.UnmodifiableLazyStringList(
fieldNames_);
bitField0_ = (bitField0_ & ~0x00000004);
}
result.fieldNames_ = fieldNames_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000002;
}
result.maximumLength_ = maximumLength_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000004;
}
result.precision_ = precision_;
if (((from_bitField0_ & 0x00000020) == 0x00000020)) {
to_bitField0_ |= 0x00000008;
}
result.scale_ = scale_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.Type) {
return mergeFrom((org.apache.orc.OrcProto.Type)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.Type other) {
if (other == org.apache.orc.OrcProto.Type.getDefaultInstance()) return this;
if (other.hasKind()) {
setKind(other.getKind());
}
if (!other.subtypes_.isEmpty()) {
if (subtypes_.isEmpty()) {
subtypes_ = other.subtypes_;
bitField0_ = (bitField0_ & ~0x00000002);
} else {
ensureSubtypesIsMutable();
subtypes_.addAll(other.subtypes_);
}
onChanged();
}
if (!other.fieldNames_.isEmpty()) {
if (fieldNames_.isEmpty()) {
fieldNames_ = other.fieldNames_;
bitField0_ = (bitField0_ & ~0x00000004);
} else {
ensureFieldNamesIsMutable();
fieldNames_.addAll(other.fieldNames_);
}
onChanged();
}
if (other.hasMaximumLength()) {
setMaximumLength(other.getMaximumLength());
}
if (other.hasPrecision()) {
setPrecision(other.getPrecision());
}
if (other.hasScale()) {
setScale(other.getScale());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.Type parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.Type) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional .orc.proto.Type.Kind kind = 1;
private org.apache.orc.OrcProto.Type.Kind kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN;
/**
* optional .orc.proto.Type.Kind kind = 1;
*/
public boolean hasKind() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional .orc.proto.Type.Kind kind = 1;
*/
public org.apache.orc.OrcProto.Type.Kind getKind() {
return kind_;
}
/**
* optional .orc.proto.Type.Kind kind = 1;
*/
public Builder setKind(org.apache.orc.OrcProto.Type.Kind value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
kind_ = value;
onChanged();
return this;
}
/**
* optional .orc.proto.Type.Kind kind = 1;
*/
public Builder clearKind() {
bitField0_ = (bitField0_ & ~0x00000001);
kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN;
onChanged();
return this;
}
// repeated uint32 subtypes = 2 [packed = true];
private java.util.List subtypes_ = java.util.Collections.emptyList();
private void ensureSubtypesIsMutable() {
if (!((bitField0_ & 0x00000002) == 0x00000002)) {
subtypes_ = new java.util.ArrayList(subtypes_);
bitField0_ |= 0x00000002;
}
}
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
public java.util.List
getSubtypesList() {
return java.util.Collections.unmodifiableList(subtypes_);
}
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
public int getSubtypesCount() {
return subtypes_.size();
}
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
public int getSubtypes(int index) {
return subtypes_.get(index);
}
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
public Builder setSubtypes(
int index, int value) {
ensureSubtypesIsMutable();
subtypes_.set(index, value);
onChanged();
return this;
}
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
public Builder addSubtypes(int value) {
ensureSubtypesIsMutable();
subtypes_.add(value);
onChanged();
return this;
}
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
public Builder addAllSubtypes(
java.lang.Iterable extends java.lang.Integer> values) {
ensureSubtypesIsMutable();
super.addAll(values, subtypes_);
onChanged();
return this;
}
/**
* repeated uint32 subtypes = 2 [packed = true];
*/
public Builder clearSubtypes() {
subtypes_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000002);
onChanged();
return this;
}
// repeated string fieldNames = 3;
private io.trino.hive.$internal.com.google.protobuf.LazyStringList fieldNames_ = io.trino.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
private void ensureFieldNamesIsMutable() {
if (!((bitField0_ & 0x00000004) == 0x00000004)) {
fieldNames_ = new io.trino.hive.$internal.com.google.protobuf.LazyStringArrayList(fieldNames_);
bitField0_ |= 0x00000004;
}
}
/**
* repeated string fieldNames = 3;
*/
public java.util.List
getFieldNamesList() {
return java.util.Collections.unmodifiableList(fieldNames_);
}
/**
* repeated string fieldNames = 3;
*/
public int getFieldNamesCount() {
return fieldNames_.size();
}
/**
* repeated string fieldNames = 3;
*/
public java.lang.String getFieldNames(int index) {
return fieldNames_.get(index);
}
/**
* repeated string fieldNames = 3;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getFieldNamesBytes(int index) {
return fieldNames_.getByteString(index);
}
/**
* repeated string fieldNames = 3;
*/
public Builder setFieldNames(
int index, java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldNamesIsMutable();
fieldNames_.set(index, value);
onChanged();
return this;
}
/**
* repeated string fieldNames = 3;
*/
public Builder addFieldNames(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldNamesIsMutable();
fieldNames_.add(value);
onChanged();
return this;
}
/**
* repeated string fieldNames = 3;
*/
public Builder addAllFieldNames(
java.lang.Iterable values) {
ensureFieldNamesIsMutable();
super.addAll(values, fieldNames_);
onChanged();
return this;
}
/**
* repeated string fieldNames = 3;
*/
public Builder clearFieldNames() {
fieldNames_ = io.trino.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY;
bitField0_ = (bitField0_ & ~0x00000004);
onChanged();
return this;
}
/**
* repeated string fieldNames = 3;
*/
public Builder addFieldNamesBytes(
io.trino.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
ensureFieldNamesIsMutable();
fieldNames_.add(value);
onChanged();
return this;
}
// optional uint32 maximumLength = 4;
private int maximumLength_ ;
/**
* optional uint32 maximumLength = 4;
*/
public boolean hasMaximumLength() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint32 maximumLength = 4;
*/
public int getMaximumLength() {
return maximumLength_;
}
/**
* optional uint32 maximumLength = 4;
*/
public Builder setMaximumLength(int value) {
bitField0_ |= 0x00000008;
maximumLength_ = value;
onChanged();
return this;
}
/**
* optional uint32 maximumLength = 4;
*/
public Builder clearMaximumLength() {
bitField0_ = (bitField0_ & ~0x00000008);
maximumLength_ = 0;
onChanged();
return this;
}
// optional uint32 precision = 5;
private int precision_ ;
/**
* optional uint32 precision = 5;
*/
public boolean hasPrecision() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint32 precision = 5;
*/
public int getPrecision() {
return precision_;
}
/**
* optional uint32 precision = 5;
*/
public Builder setPrecision(int value) {
bitField0_ |= 0x00000010;
precision_ = value;
onChanged();
return this;
}
/**
* optional uint32 precision = 5;
*/
public Builder clearPrecision() {
bitField0_ = (bitField0_ & ~0x00000010);
precision_ = 0;
onChanged();
return this;
}
// optional uint32 scale = 6;
private int scale_ ;
/**
* optional uint32 scale = 6;
*/
public boolean hasScale() {
return ((bitField0_ & 0x00000020) == 0x00000020);
}
/**
* optional uint32 scale = 6;
*/
public int getScale() {
return scale_;
}
/**
* optional uint32 scale = 6;
*/
public Builder setScale(int value) {
bitField0_ |= 0x00000020;
scale_ = value;
onChanged();
return this;
}
/**
* optional uint32 scale = 6;
*/
public Builder clearScale() {
bitField0_ = (bitField0_ & ~0x00000020);
scale_ = 0;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.Type)
}
static {
defaultInstance = new Type(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.Type)
}
public interface StripeInformationOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional uint64 offset = 1;
/**
* optional uint64 offset = 1;
*/
boolean hasOffset();
/**
* optional uint64 offset = 1;
*/
long getOffset();
// optional uint64 indexLength = 2;
/**
* optional uint64 indexLength = 2;
*/
boolean hasIndexLength();
/**
* optional uint64 indexLength = 2;
*/
long getIndexLength();
// optional uint64 dataLength = 3;
/**
* optional uint64 dataLength = 3;
*/
boolean hasDataLength();
/**
* optional uint64 dataLength = 3;
*/
long getDataLength();
// optional uint64 footerLength = 4;
/**
* optional uint64 footerLength = 4;
*/
boolean hasFooterLength();
/**
* optional uint64 footerLength = 4;
*/
long getFooterLength();
// optional uint64 numberOfRows = 5;
/**
* optional uint64 numberOfRows = 5;
*/
boolean hasNumberOfRows();
/**
* optional uint64 numberOfRows = 5;
*/
long getNumberOfRows();
}
/**
* Protobuf type {@code orc.proto.StripeInformation}
*/
public static final class StripeInformation extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements StripeInformationOrBuilder {
// Use StripeInformation.newBuilder() to construct.
private StripeInformation(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private StripeInformation(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final StripeInformation defaultInstance;
public static StripeInformation getDefaultInstance() {
return defaultInstance;
}
public StripeInformation getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StripeInformation(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
offset_ = input.readUInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
indexLength_ = input.readUInt64();
break;
}
case 24: {
bitField0_ |= 0x00000004;
dataLength_ = input.readUInt64();
break;
}
case 32: {
bitField0_ |= 0x00000008;
footerLength_ = input.readUInt64();
break;
}
case 40: {
bitField0_ |= 0x00000010;
numberOfRows_ = input.readUInt64();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.StripeInformation.class, org.apache.orc.OrcProto.StripeInformation.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public StripeInformation parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new StripeInformation(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional uint64 offset = 1;
public static final int OFFSET_FIELD_NUMBER = 1;
private long offset_;
/**
* optional uint64 offset = 1;
*/
public boolean hasOffset() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 offset = 1;
*/
public long getOffset() {
return offset_;
}
// optional uint64 indexLength = 2;
public static final int INDEXLENGTH_FIELD_NUMBER = 2;
private long indexLength_;
/**
* optional uint64 indexLength = 2;
*/
public boolean hasIndexLength() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 indexLength = 2;
*/
public long getIndexLength() {
return indexLength_;
}
// optional uint64 dataLength = 3;
public static final int DATALENGTH_FIELD_NUMBER = 3;
private long dataLength_;
/**
* optional uint64 dataLength = 3;
*/
public boolean hasDataLength() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 dataLength = 3;
*/
public long getDataLength() {
return dataLength_;
}
// optional uint64 footerLength = 4;
public static final int FOOTERLENGTH_FIELD_NUMBER = 4;
private long footerLength_;
/**
* optional uint64 footerLength = 4;
*/
public boolean hasFooterLength() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint64 footerLength = 4;
*/
public long getFooterLength() {
return footerLength_;
}
// optional uint64 numberOfRows = 5;
public static final int NUMBEROFROWS_FIELD_NUMBER = 5;
private long numberOfRows_;
/**
* optional uint64 numberOfRows = 5;
*/
public boolean hasNumberOfRows() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint64 numberOfRows = 5;
*/
public long getNumberOfRows() {
return numberOfRows_;
}
private void initFields() {
offset_ = 0L;
indexLength_ = 0L;
dataLength_ = 0L;
footerLength_ = 0L;
numberOfRows_ = 0L;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeUInt64(1, offset_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeUInt64(2, indexLength_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
output.writeUInt64(3, dataLength_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
output.writeUInt64(4, footerLength_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
output.writeUInt64(5, numberOfRows_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt64Size(1, offset_);
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt64Size(2, indexLength_);
}
if (((bitField0_ & 0x00000004) == 0x00000004)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt64Size(3, dataLength_);
}
if (((bitField0_ & 0x00000008) == 0x00000008)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt64Size(4, footerLength_);
}
if (((bitField0_ & 0x00000010) == 0x00000010)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeUInt64Size(5, numberOfRows_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.StripeInformation parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.StripeInformation parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeInformation parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.StripeInformation parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeInformation parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.StripeInformation parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeInformation parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.StripeInformation parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeInformation parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.StripeInformation parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.StripeInformation prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.StripeInformation}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.StripeInformationOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.StripeInformation.class, org.apache.orc.OrcProto.StripeInformation.Builder.class);
}
// Construct using org.apache.orc.OrcProto.StripeInformation.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
offset_ = 0L;
bitField0_ = (bitField0_ & ~0x00000001);
indexLength_ = 0L;
bitField0_ = (bitField0_ & ~0x00000002);
dataLength_ = 0L;
bitField0_ = (bitField0_ & ~0x00000004);
footerLength_ = 0L;
bitField0_ = (bitField0_ & ~0x00000008);
numberOfRows_ = 0L;
bitField0_ = (bitField0_ & ~0x00000010);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_descriptor;
}
public org.apache.orc.OrcProto.StripeInformation getDefaultInstanceForType() {
return org.apache.orc.OrcProto.StripeInformation.getDefaultInstance();
}
public org.apache.orc.OrcProto.StripeInformation build() {
org.apache.orc.OrcProto.StripeInformation result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.StripeInformation buildPartial() {
org.apache.orc.OrcProto.StripeInformation result = new org.apache.orc.OrcProto.StripeInformation(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.offset_ = offset_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.indexLength_ = indexLength_;
if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
to_bitField0_ |= 0x00000004;
}
result.dataLength_ = dataLength_;
if (((from_bitField0_ & 0x00000008) == 0x00000008)) {
to_bitField0_ |= 0x00000008;
}
result.footerLength_ = footerLength_;
if (((from_bitField0_ & 0x00000010) == 0x00000010)) {
to_bitField0_ |= 0x00000010;
}
result.numberOfRows_ = numberOfRows_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.StripeInformation) {
return mergeFrom((org.apache.orc.OrcProto.StripeInformation)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.StripeInformation other) {
if (other == org.apache.orc.OrcProto.StripeInformation.getDefaultInstance()) return this;
if (other.hasOffset()) {
setOffset(other.getOffset());
}
if (other.hasIndexLength()) {
setIndexLength(other.getIndexLength());
}
if (other.hasDataLength()) {
setDataLength(other.getDataLength());
}
if (other.hasFooterLength()) {
setFooterLength(other.getFooterLength());
}
if (other.hasNumberOfRows()) {
setNumberOfRows(other.getNumberOfRows());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.StripeInformation parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.StripeInformation) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional uint64 offset = 1;
private long offset_ ;
/**
* optional uint64 offset = 1;
*/
public boolean hasOffset() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional uint64 offset = 1;
*/
public long getOffset() {
return offset_;
}
/**
* optional uint64 offset = 1;
*/
public Builder setOffset(long value) {
bitField0_ |= 0x00000001;
offset_ = value;
onChanged();
return this;
}
/**
* optional uint64 offset = 1;
*/
public Builder clearOffset() {
bitField0_ = (bitField0_ & ~0x00000001);
offset_ = 0L;
onChanged();
return this;
}
// optional uint64 indexLength = 2;
private long indexLength_ ;
/**
* optional uint64 indexLength = 2;
*/
public boolean hasIndexLength() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional uint64 indexLength = 2;
*/
public long getIndexLength() {
return indexLength_;
}
/**
* optional uint64 indexLength = 2;
*/
public Builder setIndexLength(long value) {
bitField0_ |= 0x00000002;
indexLength_ = value;
onChanged();
return this;
}
/**
* optional uint64 indexLength = 2;
*/
public Builder clearIndexLength() {
bitField0_ = (bitField0_ & ~0x00000002);
indexLength_ = 0L;
onChanged();
return this;
}
// optional uint64 dataLength = 3;
private long dataLength_ ;
/**
* optional uint64 dataLength = 3;
*/
public boolean hasDataLength() {
return ((bitField0_ & 0x00000004) == 0x00000004);
}
/**
* optional uint64 dataLength = 3;
*/
public long getDataLength() {
return dataLength_;
}
/**
* optional uint64 dataLength = 3;
*/
public Builder setDataLength(long value) {
bitField0_ |= 0x00000004;
dataLength_ = value;
onChanged();
return this;
}
/**
* optional uint64 dataLength = 3;
*/
public Builder clearDataLength() {
bitField0_ = (bitField0_ & ~0x00000004);
dataLength_ = 0L;
onChanged();
return this;
}
// optional uint64 footerLength = 4;
private long footerLength_ ;
/**
* optional uint64 footerLength = 4;
*/
public boolean hasFooterLength() {
return ((bitField0_ & 0x00000008) == 0x00000008);
}
/**
* optional uint64 footerLength = 4;
*/
public long getFooterLength() {
return footerLength_;
}
/**
* optional uint64 footerLength = 4;
*/
public Builder setFooterLength(long value) {
bitField0_ |= 0x00000008;
footerLength_ = value;
onChanged();
return this;
}
/**
* optional uint64 footerLength = 4;
*/
public Builder clearFooterLength() {
bitField0_ = (bitField0_ & ~0x00000008);
footerLength_ = 0L;
onChanged();
return this;
}
// optional uint64 numberOfRows = 5;
private long numberOfRows_ ;
/**
* optional uint64 numberOfRows = 5;
*/
public boolean hasNumberOfRows() {
return ((bitField0_ & 0x00000010) == 0x00000010);
}
/**
* optional uint64 numberOfRows = 5;
*/
public long getNumberOfRows() {
return numberOfRows_;
}
/**
* optional uint64 numberOfRows = 5;
*/
public Builder setNumberOfRows(long value) {
bitField0_ |= 0x00000010;
numberOfRows_ = value;
onChanged();
return this;
}
/**
* optional uint64 numberOfRows = 5;
*/
public Builder clearNumberOfRows() {
bitField0_ = (bitField0_ & ~0x00000010);
numberOfRows_ = 0L;
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.StripeInformation)
}
static {
defaultInstance = new StripeInformation(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.StripeInformation)
}
public interface UserMetadataItemOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional string name = 1;
/**
* optional string name = 1;
*/
boolean hasName();
/**
* optional string name = 1;
*/
java.lang.String getName();
/**
* optional string name = 1;
*/
io.trino.hive.$internal.com.google.protobuf.ByteString
getNameBytes();
// optional bytes value = 2;
/**
* optional bytes value = 2;
*/
boolean hasValue();
/**
* optional bytes value = 2;
*/
io.trino.hive.$internal.com.google.protobuf.ByteString getValue();
}
/**
* Protobuf type {@code orc.proto.UserMetadataItem}
*/
public static final class UserMetadataItem extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements UserMetadataItemOrBuilder {
// Use UserMetadataItem.newBuilder() to construct.
private UserMetadataItem(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private UserMetadataItem(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final UserMetadataItem defaultInstance;
public static UserMetadataItem getDefaultInstance() {
return defaultInstance;
}
public UserMetadataItem getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private UserMetadataItem(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
bitField0_ |= 0x00000001;
name_ = input.readBytes();
break;
}
case 18: {
bitField0_ |= 0x00000002;
value_ = input.readBytes();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.UserMetadataItem.class, org.apache.orc.OrcProto.UserMetadataItem.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public UserMetadataItem parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new UserMetadataItem(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
private int bitField0_;
// optional string name = 1;
public static final int NAME_FIELD_NUMBER = 1;
private java.lang.Object name_;
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
return (java.lang.String) ref;
} else {
io.trino.hive.$internal.com.google.protobuf.ByteString bs =
(io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
java.lang.String s = bs.toStringUtf8();
if (bs.isValidUtf8()) {
name_ = s;
}
return s;
}
}
/**
* optional string name = 1;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof java.lang.String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
// optional bytes value = 2;
public static final int VALUE_FIELD_NUMBER = 2;
private io.trino.hive.$internal.com.google.protobuf.ByteString value_;
/**
* optional bytes value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bytes value = 2;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString getValue() {
return value_;
}
private void initFields() {
name_ = "";
value_ = io.trino.hive.$internal.com.google.protobuf.ByteString.EMPTY;
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
if (((bitField0_ & 0x00000001) == 0x00000001)) {
output.writeBytes(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
output.writeBytes(2, value_);
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
if (((bitField0_ & 0x00000001) == 0x00000001)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(1, getNameBytes());
}
if (((bitField0_ & 0x00000002) == 0x00000002)) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeBytesSize(2, value_);
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.UserMetadataItem parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.UserMetadataItem parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.UserMetadataItem prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.UserMetadataItem}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.UserMetadataItemOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.UserMetadataItem.class, org.apache.orc.OrcProto.UserMetadataItem.Builder.class);
}
// Construct using org.apache.orc.OrcProto.UserMetadataItem.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
name_ = "";
bitField0_ = (bitField0_ & ~0x00000001);
value_ = io.trino.hive.$internal.com.google.protobuf.ByteString.EMPTY;
bitField0_ = (bitField0_ & ~0x00000002);
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_descriptor;
}
public org.apache.orc.OrcProto.UserMetadataItem getDefaultInstanceForType() {
return org.apache.orc.OrcProto.UserMetadataItem.getDefaultInstance();
}
public org.apache.orc.OrcProto.UserMetadataItem build() {
org.apache.orc.OrcProto.UserMetadataItem result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.UserMetadataItem buildPartial() {
org.apache.orc.OrcProto.UserMetadataItem result = new org.apache.orc.OrcProto.UserMetadataItem(this);
int from_bitField0_ = bitField0_;
int to_bitField0_ = 0;
if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
to_bitField0_ |= 0x00000001;
}
result.name_ = name_;
if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
to_bitField0_ |= 0x00000002;
}
result.value_ = value_;
result.bitField0_ = to_bitField0_;
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.UserMetadataItem) {
return mergeFrom((org.apache.orc.OrcProto.UserMetadataItem)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.UserMetadataItem other) {
if (other == org.apache.orc.OrcProto.UserMetadataItem.getDefaultInstance()) return this;
if (other.hasName()) {
bitField0_ |= 0x00000001;
name_ = other.name_;
onChanged();
}
if (other.hasValue()) {
setValue(other.getValue());
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.UserMetadataItem parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.UserMetadataItem) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// optional string name = 1;
private java.lang.Object name_ = "";
/**
* optional string name = 1;
*/
public boolean hasName() {
return ((bitField0_ & 0x00000001) == 0x00000001);
}
/**
* optional string name = 1;
*/
public java.lang.String getName() {
java.lang.Object ref = name_;
if (!(ref instanceof java.lang.String)) {
java.lang.String s = ((io.trino.hive.$internal.com.google.protobuf.ByteString) ref)
.toStringUtf8();
name_ = s;
return s;
} else {
return (java.lang.String) ref;
}
}
/**
* optional string name = 1;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString
getNameBytes() {
java.lang.Object ref = name_;
if (ref instanceof String) {
io.trino.hive.$internal.com.google.protobuf.ByteString b =
io.trino.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8(
(java.lang.String) ref);
name_ = b;
return b;
} else {
return (io.trino.hive.$internal.com.google.protobuf.ByteString) ref;
}
}
/**
* optional string name = 1;
*/
public Builder setName(
java.lang.String value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder clearName() {
bitField0_ = (bitField0_ & ~0x00000001);
name_ = getDefaultInstance().getName();
onChanged();
return this;
}
/**
* optional string name = 1;
*/
public Builder setNameBytes(
io.trino.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000001;
name_ = value;
onChanged();
return this;
}
// optional bytes value = 2;
private io.trino.hive.$internal.com.google.protobuf.ByteString value_ = io.trino.hive.$internal.com.google.protobuf.ByteString.EMPTY;
/**
* optional bytes value = 2;
*/
public boolean hasValue() {
return ((bitField0_ & 0x00000002) == 0x00000002);
}
/**
* optional bytes value = 2;
*/
public io.trino.hive.$internal.com.google.protobuf.ByteString getValue() {
return value_;
}
/**
* optional bytes value = 2;
*/
public Builder setValue(io.trino.hive.$internal.com.google.protobuf.ByteString value) {
if (value == null) {
throw new NullPointerException();
}
bitField0_ |= 0x00000002;
value_ = value;
onChanged();
return this;
}
/**
* optional bytes value = 2;
*/
public Builder clearValue() {
bitField0_ = (bitField0_ & ~0x00000002);
value_ = getDefaultInstance().getValue();
onChanged();
return this;
}
// @@protoc_insertion_point(builder_scope:orc.proto.UserMetadataItem)
}
static {
defaultInstance = new UserMetadataItem(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.UserMetadataItem)
}
public interface StripeStatisticsOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .orc.proto.ColumnStatistics colStats = 1;
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
java.util.List
getColStatsList();
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
org.apache.orc.OrcProto.ColumnStatistics getColStats(int index);
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
int getColStatsCount();
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
java.util.List extends org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
getColStatsOrBuilderList();
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder(
int index);
}
/**
* Protobuf type {@code orc.proto.StripeStatistics}
*/
public static final class StripeStatistics extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements StripeStatisticsOrBuilder {
// Use StripeStatistics.newBuilder() to construct.
private StripeStatistics(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private StripeStatistics(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final StripeStatistics defaultInstance;
public static StripeStatistics getDefaultInstance() {
return defaultInstance;
}
public StripeStatistics getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private StripeStatistics(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
colStats_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
colStats_.add(input.readMessage(org.apache.orc.OrcProto.ColumnStatistics.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
colStats_ = java.util.Collections.unmodifiableList(colStats_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.StripeStatistics.class, org.apache.orc.OrcProto.StripeStatistics.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public StripeStatistics parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new StripeStatistics(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .orc.proto.ColumnStatistics colStats = 1;
public static final int COLSTATS_FIELD_NUMBER = 1;
private java.util.List colStats_;
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public java.util.List getColStatsList() {
return colStats_;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public java.util.List extends org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
getColStatsOrBuilderList() {
return colStats_;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public int getColStatsCount() {
return colStats_.size();
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public org.apache.orc.OrcProto.ColumnStatistics getColStats(int index) {
return colStats_.get(index);
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder(
int index) {
return colStats_.get(index);
}
private void initFields() {
colStats_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < colStats_.size(); i++) {
output.writeMessage(1, colStats_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < colStats_.size(); i++) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, colStats_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeStatistics parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeStatistics parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeStatistics parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.StripeStatistics parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.StripeStatistics parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.StripeStatistics prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.StripeStatistics}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.StripeStatisticsOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeStatistics_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeStatistics_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.StripeStatistics.class, org.apache.orc.OrcProto.StripeStatistics.Builder.class);
}
// Construct using org.apache.orc.OrcProto.StripeStatistics.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getColStatsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (colStatsBuilder_ == null) {
colStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
colStatsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_StripeStatistics_descriptor;
}
public org.apache.orc.OrcProto.StripeStatistics getDefaultInstanceForType() {
return org.apache.orc.OrcProto.StripeStatistics.getDefaultInstance();
}
public org.apache.orc.OrcProto.StripeStatistics build() {
org.apache.orc.OrcProto.StripeStatistics result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.StripeStatistics buildPartial() {
org.apache.orc.OrcProto.StripeStatistics result = new org.apache.orc.OrcProto.StripeStatistics(this);
int from_bitField0_ = bitField0_;
if (colStatsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
colStats_ = java.util.Collections.unmodifiableList(colStats_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.colStats_ = colStats_;
} else {
result.colStats_ = colStatsBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.StripeStatistics) {
return mergeFrom((org.apache.orc.OrcProto.StripeStatistics)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.StripeStatistics other) {
if (other == org.apache.orc.OrcProto.StripeStatistics.getDefaultInstance()) return this;
if (colStatsBuilder_ == null) {
if (!other.colStats_.isEmpty()) {
if (colStats_.isEmpty()) {
colStats_ = other.colStats_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureColStatsIsMutable();
colStats_.addAll(other.colStats_);
}
onChanged();
}
} else {
if (!other.colStats_.isEmpty()) {
if (colStatsBuilder_.isEmpty()) {
colStatsBuilder_.dispose();
colStatsBuilder_ = null;
colStats_ = other.colStats_;
bitField0_ = (bitField0_ & ~0x00000001);
colStatsBuilder_ =
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getColStatsFieldBuilder() : null;
} else {
colStatsBuilder_.addAllMessages(other.colStats_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.StripeStatistics parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.StripeStatistics) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .orc.proto.ColumnStatistics colStats = 1;
private java.util.List colStats_ =
java.util.Collections.emptyList();
private void ensureColStatsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
colStats_ = new java.util.ArrayList(colStats_);
bitField0_ |= 0x00000001;
}
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder> colStatsBuilder_;
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public java.util.List getColStatsList() {
if (colStatsBuilder_ == null) {
return java.util.Collections.unmodifiableList(colStats_);
} else {
return colStatsBuilder_.getMessageList();
}
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public int getColStatsCount() {
if (colStatsBuilder_ == null) {
return colStats_.size();
} else {
return colStatsBuilder_.getCount();
}
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public org.apache.orc.OrcProto.ColumnStatistics getColStats(int index) {
if (colStatsBuilder_ == null) {
return colStats_.get(index);
} else {
return colStatsBuilder_.getMessage(index);
}
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public Builder setColStats(
int index, org.apache.orc.OrcProto.ColumnStatistics value) {
if (colStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColStatsIsMutable();
colStats_.set(index, value);
onChanged();
} else {
colStatsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public Builder setColStats(
int index, org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) {
if (colStatsBuilder_ == null) {
ensureColStatsIsMutable();
colStats_.set(index, builderForValue.build());
onChanged();
} else {
colStatsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public Builder addColStats(org.apache.orc.OrcProto.ColumnStatistics value) {
if (colStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColStatsIsMutable();
colStats_.add(value);
onChanged();
} else {
colStatsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public Builder addColStats(
int index, org.apache.orc.OrcProto.ColumnStatistics value) {
if (colStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureColStatsIsMutable();
colStats_.add(index, value);
onChanged();
} else {
colStatsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public Builder addColStats(
org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) {
if (colStatsBuilder_ == null) {
ensureColStatsIsMutable();
colStats_.add(builderForValue.build());
onChanged();
} else {
colStatsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public Builder addColStats(
int index, org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) {
if (colStatsBuilder_ == null) {
ensureColStatsIsMutable();
colStats_.add(index, builderForValue.build());
onChanged();
} else {
colStatsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public Builder addAllColStats(
java.lang.Iterable extends org.apache.orc.OrcProto.ColumnStatistics> values) {
if (colStatsBuilder_ == null) {
ensureColStatsIsMutable();
super.addAll(values, colStats_);
onChanged();
} else {
colStatsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public Builder clearColStats() {
if (colStatsBuilder_ == null) {
colStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
colStatsBuilder_.clear();
}
return this;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public Builder removeColStats(int index) {
if (colStatsBuilder_ == null) {
ensureColStatsIsMutable();
colStats_.remove(index);
onChanged();
} else {
colStatsBuilder_.remove(index);
}
return this;
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public org.apache.orc.OrcProto.ColumnStatistics.Builder getColStatsBuilder(
int index) {
return getColStatsFieldBuilder().getBuilder(index);
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder(
int index) {
if (colStatsBuilder_ == null) {
return colStats_.get(index); } else {
return colStatsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public java.util.List extends org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
getColStatsOrBuilderList() {
if (colStatsBuilder_ != null) {
return colStatsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(colStats_);
}
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public org.apache.orc.OrcProto.ColumnStatistics.Builder addColStatsBuilder() {
return getColStatsFieldBuilder().addBuilder(
org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance());
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public org.apache.orc.OrcProto.ColumnStatistics.Builder addColStatsBuilder(
int index) {
return getColStatsFieldBuilder().addBuilder(
index, org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance());
}
/**
* repeated .orc.proto.ColumnStatistics colStats = 1;
*/
public java.util.List
getColStatsBuilderList() {
return getColStatsFieldBuilder().getBuilderList();
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
getColStatsFieldBuilder() {
if (colStatsBuilder_ == null) {
colStatsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>(
colStats_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
colStats_ = null;
}
return colStatsBuilder_;
}
// @@protoc_insertion_point(builder_scope:orc.proto.StripeStatistics)
}
static {
defaultInstance = new StripeStatistics(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.StripeStatistics)
}
public interface MetadataOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// repeated .orc.proto.StripeStatistics stripeStats = 1;
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
java.util.List
getStripeStatsList();
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
org.apache.orc.OrcProto.StripeStatistics getStripeStats(int index);
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
int getStripeStatsCount();
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
java.util.List extends org.apache.orc.OrcProto.StripeStatisticsOrBuilder>
getStripeStatsOrBuilderList();
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
org.apache.orc.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder(
int index);
}
/**
* Protobuf type {@code orc.proto.Metadata}
*/
public static final class Metadata extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements MetadataOrBuilder {
// Use Metadata.newBuilder() to construct.
private Metadata(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Metadata(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Metadata defaultInstance;
public static Metadata getDefaultInstance() {
return defaultInstance;
}
public Metadata getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Metadata(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 10: {
if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
stripeStats_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000001;
}
stripeStats_.add(input.readMessage(org.apache.orc.OrcProto.StripeStatistics.PARSER, extensionRegistry));
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) {
stripeStats_ = java.util.Collections.unmodifiableList(stripeStats_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Metadata_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.Metadata.class, org.apache.orc.OrcProto.Metadata.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser PARSER =
new io.trino.hive.$internal.com.google.protobuf.AbstractParser() {
public Metadata parsePartialFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return new Metadata(input, extensionRegistry);
}
};
@java.lang.Override
public io.trino.hive.$internal.com.google.protobuf.Parser getParserForType() {
return PARSER;
}
// repeated .orc.proto.StripeStatistics stripeStats = 1;
public static final int STRIPESTATS_FIELD_NUMBER = 1;
private java.util.List stripeStats_;
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public java.util.List getStripeStatsList() {
return stripeStats_;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public java.util.List extends org.apache.orc.OrcProto.StripeStatisticsOrBuilder>
getStripeStatsOrBuilderList() {
return stripeStats_;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public int getStripeStatsCount() {
return stripeStats_.size();
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public org.apache.orc.OrcProto.StripeStatistics getStripeStats(int index) {
return stripeStats_.get(index);
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public org.apache.orc.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder(
int index) {
return stripeStats_.get(index);
}
private void initFields() {
stripeStats_ = java.util.Collections.emptyList();
}
private byte memoizedIsInitialized = -1;
public final boolean isInitialized() {
byte isInitialized = memoizedIsInitialized;
if (isInitialized != -1) return isInitialized == 1;
memoizedIsInitialized = 1;
return true;
}
public void writeTo(io.trino.hive.$internal.com.google.protobuf.CodedOutputStream output)
throws java.io.IOException {
getSerializedSize();
for (int i = 0; i < stripeStats_.size(); i++) {
output.writeMessage(1, stripeStats_.get(i));
}
getUnknownFields().writeTo(output);
}
private int memoizedSerializedSize = -1;
public int getSerializedSize() {
int size = memoizedSerializedSize;
if (size != -1) return size;
size = 0;
for (int i = 0; i < stripeStats_.size(); i++) {
size += io.trino.hive.$internal.com.google.protobuf.CodedOutputStream
.computeMessageSize(1, stripeStats_.get(i));
}
size += getUnknownFields().getSerializedSize();
memoizedSerializedSize = size;
return size;
}
private static final long serialVersionUID = 0L;
@java.lang.Override
protected java.lang.Object writeReplace()
throws java.io.ObjectStreamException {
return super.writeReplace();
}
public static org.apache.orc.OrcProto.Metadata parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.Metadata parseFrom(
io.trino.hive.$internal.com.google.protobuf.ByteString data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.Metadata parseFrom(byte[] data)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data);
}
public static org.apache.orc.OrcProto.Metadata parseFrom(
byte[] data,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
return PARSER.parseFrom(data, extensionRegistry);
}
public static org.apache.orc.OrcProto.Metadata parseFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.Metadata parseFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.Metadata parseDelimitedFrom(java.io.InputStream input)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input);
}
public static org.apache.orc.OrcProto.Metadata parseDelimitedFrom(
java.io.InputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseDelimitedFrom(input, extensionRegistry);
}
public static org.apache.orc.OrcProto.Metadata parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input)
throws java.io.IOException {
return PARSER.parseFrom(input);
}
public static org.apache.orc.OrcProto.Metadata parseFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
return PARSER.parseFrom(input, extensionRegistry);
}
public static Builder newBuilder() { return Builder.create(); }
public Builder newBuilderForType() { return newBuilder(); }
public static Builder newBuilder(org.apache.orc.OrcProto.Metadata prototype) {
return newBuilder().mergeFrom(prototype);
}
public Builder toBuilder() { return newBuilder(this); }
@java.lang.Override
protected Builder newBuilderForType(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
Builder builder = new Builder(parent);
return builder;
}
/**
* Protobuf type {@code orc.proto.Metadata}
*/
public static final class Builder extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
implements org.apache.orc.OrcProto.MetadataOrBuilder {
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Metadata_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Metadata_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.Metadata.class, org.apache.orc.OrcProto.Metadata.Builder.class);
}
// Construct using org.apache.orc.OrcProto.Metadata.newBuilder()
private Builder() {
maybeForceBuilderInitialization();
}
private Builder(
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
super(parent);
maybeForceBuilderInitialization();
}
private void maybeForceBuilderInitialization() {
if (io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
getStripeStatsFieldBuilder();
}
}
private static Builder create() {
return new Builder();
}
public Builder clear() {
super.clear();
if (stripeStatsBuilder_ == null) {
stripeStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
} else {
stripeStatsBuilder_.clear();
}
return this;
}
public Builder clone() {
return create().mergeFrom(buildPartial());
}
public io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptorForType() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Metadata_descriptor;
}
public org.apache.orc.OrcProto.Metadata getDefaultInstanceForType() {
return org.apache.orc.OrcProto.Metadata.getDefaultInstance();
}
public org.apache.orc.OrcProto.Metadata build() {
org.apache.orc.OrcProto.Metadata result = buildPartial();
if (!result.isInitialized()) {
throw newUninitializedMessageException(result);
}
return result;
}
public org.apache.orc.OrcProto.Metadata buildPartial() {
org.apache.orc.OrcProto.Metadata result = new org.apache.orc.OrcProto.Metadata(this);
int from_bitField0_ = bitField0_;
if (stripeStatsBuilder_ == null) {
if (((bitField0_ & 0x00000001) == 0x00000001)) {
stripeStats_ = java.util.Collections.unmodifiableList(stripeStats_);
bitField0_ = (bitField0_ & ~0x00000001);
}
result.stripeStats_ = stripeStats_;
} else {
result.stripeStats_ = stripeStatsBuilder_.build();
}
onBuilt();
return result;
}
public Builder mergeFrom(io.trino.hive.$internal.com.google.protobuf.Message other) {
if (other instanceof org.apache.orc.OrcProto.Metadata) {
return mergeFrom((org.apache.orc.OrcProto.Metadata)other);
} else {
super.mergeFrom(other);
return this;
}
}
public Builder mergeFrom(org.apache.orc.OrcProto.Metadata other) {
if (other == org.apache.orc.OrcProto.Metadata.getDefaultInstance()) return this;
if (stripeStatsBuilder_ == null) {
if (!other.stripeStats_.isEmpty()) {
if (stripeStats_.isEmpty()) {
stripeStats_ = other.stripeStats_;
bitField0_ = (bitField0_ & ~0x00000001);
} else {
ensureStripeStatsIsMutable();
stripeStats_.addAll(other.stripeStats_);
}
onChanged();
}
} else {
if (!other.stripeStats_.isEmpty()) {
if (stripeStatsBuilder_.isEmpty()) {
stripeStatsBuilder_.dispose();
stripeStatsBuilder_ = null;
stripeStats_ = other.stripeStats_;
bitField0_ = (bitField0_ & ~0x00000001);
stripeStatsBuilder_ =
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ?
getStripeStatsFieldBuilder() : null;
} else {
stripeStatsBuilder_.addAllMessages(other.stripeStats_);
}
}
}
this.mergeUnknownFields(other.getUnknownFields());
return this;
}
public final boolean isInitialized() {
return true;
}
public Builder mergeFrom(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws java.io.IOException {
org.apache.orc.OrcProto.Metadata parsedMessage = null;
try {
parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
parsedMessage = (org.apache.orc.OrcProto.Metadata) e.getUnfinishedMessage();
throw e;
} finally {
if (parsedMessage != null) {
mergeFrom(parsedMessage);
}
}
return this;
}
private int bitField0_;
// repeated .orc.proto.StripeStatistics stripeStats = 1;
private java.util.List stripeStats_ =
java.util.Collections.emptyList();
private void ensureStripeStatsIsMutable() {
if (!((bitField0_ & 0x00000001) == 0x00000001)) {
stripeStats_ = new java.util.ArrayList(stripeStats_);
bitField0_ |= 0x00000001;
}
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.StripeStatistics, org.apache.orc.OrcProto.StripeStatistics.Builder, org.apache.orc.OrcProto.StripeStatisticsOrBuilder> stripeStatsBuilder_;
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public java.util.List getStripeStatsList() {
if (stripeStatsBuilder_ == null) {
return java.util.Collections.unmodifiableList(stripeStats_);
} else {
return stripeStatsBuilder_.getMessageList();
}
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public int getStripeStatsCount() {
if (stripeStatsBuilder_ == null) {
return stripeStats_.size();
} else {
return stripeStatsBuilder_.getCount();
}
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public org.apache.orc.OrcProto.StripeStatistics getStripeStats(int index) {
if (stripeStatsBuilder_ == null) {
return stripeStats_.get(index);
} else {
return stripeStatsBuilder_.getMessage(index);
}
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public Builder setStripeStats(
int index, org.apache.orc.OrcProto.StripeStatistics value) {
if (stripeStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStripeStatsIsMutable();
stripeStats_.set(index, value);
onChanged();
} else {
stripeStatsBuilder_.setMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public Builder setStripeStats(
int index, org.apache.orc.OrcProto.StripeStatistics.Builder builderForValue) {
if (stripeStatsBuilder_ == null) {
ensureStripeStatsIsMutable();
stripeStats_.set(index, builderForValue.build());
onChanged();
} else {
stripeStatsBuilder_.setMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public Builder addStripeStats(org.apache.orc.OrcProto.StripeStatistics value) {
if (stripeStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStripeStatsIsMutable();
stripeStats_.add(value);
onChanged();
} else {
stripeStatsBuilder_.addMessage(value);
}
return this;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public Builder addStripeStats(
int index, org.apache.orc.OrcProto.StripeStatistics value) {
if (stripeStatsBuilder_ == null) {
if (value == null) {
throw new NullPointerException();
}
ensureStripeStatsIsMutable();
stripeStats_.add(index, value);
onChanged();
} else {
stripeStatsBuilder_.addMessage(index, value);
}
return this;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public Builder addStripeStats(
org.apache.orc.OrcProto.StripeStatistics.Builder builderForValue) {
if (stripeStatsBuilder_ == null) {
ensureStripeStatsIsMutable();
stripeStats_.add(builderForValue.build());
onChanged();
} else {
stripeStatsBuilder_.addMessage(builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public Builder addStripeStats(
int index, org.apache.orc.OrcProto.StripeStatistics.Builder builderForValue) {
if (stripeStatsBuilder_ == null) {
ensureStripeStatsIsMutable();
stripeStats_.add(index, builderForValue.build());
onChanged();
} else {
stripeStatsBuilder_.addMessage(index, builderForValue.build());
}
return this;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public Builder addAllStripeStats(
java.lang.Iterable extends org.apache.orc.OrcProto.StripeStatistics> values) {
if (stripeStatsBuilder_ == null) {
ensureStripeStatsIsMutable();
super.addAll(values, stripeStats_);
onChanged();
} else {
stripeStatsBuilder_.addAllMessages(values);
}
return this;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public Builder clearStripeStats() {
if (stripeStatsBuilder_ == null) {
stripeStats_ = java.util.Collections.emptyList();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
} else {
stripeStatsBuilder_.clear();
}
return this;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public Builder removeStripeStats(int index) {
if (stripeStatsBuilder_ == null) {
ensureStripeStatsIsMutable();
stripeStats_.remove(index);
onChanged();
} else {
stripeStatsBuilder_.remove(index);
}
return this;
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public org.apache.orc.OrcProto.StripeStatistics.Builder getStripeStatsBuilder(
int index) {
return getStripeStatsFieldBuilder().getBuilder(index);
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public org.apache.orc.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder(
int index) {
if (stripeStatsBuilder_ == null) {
return stripeStats_.get(index); } else {
return stripeStatsBuilder_.getMessageOrBuilder(index);
}
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public java.util.List extends org.apache.orc.OrcProto.StripeStatisticsOrBuilder>
getStripeStatsOrBuilderList() {
if (stripeStatsBuilder_ != null) {
return stripeStatsBuilder_.getMessageOrBuilderList();
} else {
return java.util.Collections.unmodifiableList(stripeStats_);
}
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public org.apache.orc.OrcProto.StripeStatistics.Builder addStripeStatsBuilder() {
return getStripeStatsFieldBuilder().addBuilder(
org.apache.orc.OrcProto.StripeStatistics.getDefaultInstance());
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public org.apache.orc.OrcProto.StripeStatistics.Builder addStripeStatsBuilder(
int index) {
return getStripeStatsFieldBuilder().addBuilder(
index, org.apache.orc.OrcProto.StripeStatistics.getDefaultInstance());
}
/**
* repeated .orc.proto.StripeStatistics stripeStats = 1;
*/
public java.util.List
getStripeStatsBuilderList() {
return getStripeStatsFieldBuilder().getBuilderList();
}
private io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.StripeStatistics, org.apache.orc.OrcProto.StripeStatistics.Builder, org.apache.orc.OrcProto.StripeStatisticsOrBuilder>
getStripeStatsFieldBuilder() {
if (stripeStatsBuilder_ == null) {
stripeStatsBuilder_ = new io.trino.hive.$internal.com.google.protobuf.RepeatedFieldBuilder<
org.apache.orc.OrcProto.StripeStatistics, org.apache.orc.OrcProto.StripeStatistics.Builder, org.apache.orc.OrcProto.StripeStatisticsOrBuilder>(
stripeStats_,
((bitField0_ & 0x00000001) == 0x00000001),
getParentForChildren(),
isClean());
stripeStats_ = null;
}
return stripeStatsBuilder_;
}
// @@protoc_insertion_point(builder_scope:orc.proto.Metadata)
}
static {
defaultInstance = new Metadata(true);
defaultInstance.initFields();
}
// @@protoc_insertion_point(class_scope:orc.proto.Metadata)
}
public interface FooterOrBuilder
extends io.trino.hive.$internal.com.google.protobuf.MessageOrBuilder {
// optional uint64 headerLength = 1;
/**
* optional uint64 headerLength = 1;
*/
boolean hasHeaderLength();
/**
* optional uint64 headerLength = 1;
*/
long getHeaderLength();
// optional uint64 contentLength = 2;
/**
* optional uint64 contentLength = 2;
*/
boolean hasContentLength();
/**
* optional uint64 contentLength = 2;
*/
long getContentLength();
// repeated .orc.proto.StripeInformation stripes = 3;
/**
* repeated .orc.proto.StripeInformation stripes = 3;
*/
java.util.List
getStripesList();
/**
* repeated .orc.proto.StripeInformation stripes = 3;
*/
org.apache.orc.OrcProto.StripeInformation getStripes(int index);
/**
* repeated .orc.proto.StripeInformation stripes = 3;
*/
int getStripesCount();
/**
* repeated .orc.proto.StripeInformation stripes = 3;
*/
java.util.List extends org.apache.orc.OrcProto.StripeInformationOrBuilder>
getStripesOrBuilderList();
/**
* repeated .orc.proto.StripeInformation stripes = 3;
*/
org.apache.orc.OrcProto.StripeInformationOrBuilder getStripesOrBuilder(
int index);
// repeated .orc.proto.Type types = 4;
/**
* repeated .orc.proto.Type types = 4;
*/
java.util.List
getTypesList();
/**
* repeated .orc.proto.Type types = 4;
*/
org.apache.orc.OrcProto.Type getTypes(int index);
/**
* repeated .orc.proto.Type types = 4;
*/
int getTypesCount();
/**
* repeated .orc.proto.Type types = 4;
*/
java.util.List extends org.apache.orc.OrcProto.TypeOrBuilder>
getTypesOrBuilderList();
/**
* repeated .orc.proto.Type types = 4;
*/
org.apache.orc.OrcProto.TypeOrBuilder getTypesOrBuilder(
int index);
// repeated .orc.proto.UserMetadataItem metadata = 5;
/**
* repeated .orc.proto.UserMetadataItem metadata = 5;
*/
java.util.List
getMetadataList();
/**
* repeated .orc.proto.UserMetadataItem metadata = 5;
*/
org.apache.orc.OrcProto.UserMetadataItem getMetadata(int index);
/**
* repeated .orc.proto.UserMetadataItem metadata = 5;
*/
int getMetadataCount();
/**
* repeated .orc.proto.UserMetadataItem metadata = 5;
*/
java.util.List extends org.apache.orc.OrcProto.UserMetadataItemOrBuilder>
getMetadataOrBuilderList();
/**
* repeated .orc.proto.UserMetadataItem metadata = 5;
*/
org.apache.orc.OrcProto.UserMetadataItemOrBuilder getMetadataOrBuilder(
int index);
// optional uint64 numberOfRows = 6;
/**
* optional uint64 numberOfRows = 6;
*/
boolean hasNumberOfRows();
/**
* optional uint64 numberOfRows = 6;
*/
long getNumberOfRows();
// repeated .orc.proto.ColumnStatistics statistics = 7;
/**
* repeated .orc.proto.ColumnStatistics statistics = 7;
*/
java.util.List
getStatisticsList();
/**
* repeated .orc.proto.ColumnStatistics statistics = 7;
*/
org.apache.orc.OrcProto.ColumnStatistics getStatistics(int index);
/**
* repeated .orc.proto.ColumnStatistics statistics = 7;
*/
int getStatisticsCount();
/**
* repeated .orc.proto.ColumnStatistics statistics = 7;
*/
java.util.List extends org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>
getStatisticsOrBuilderList();
/**
* repeated .orc.proto.ColumnStatistics statistics = 7;
*/
org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder(
int index);
// optional uint32 rowIndexStride = 8;
/**
* optional uint32 rowIndexStride = 8;
*/
boolean hasRowIndexStride();
/**
* optional uint32 rowIndexStride = 8;
*/
int getRowIndexStride();
// optional uint32 writer = 9;
/**
* optional uint32 writer = 9;
*
*
* Each implementation that writes ORC files should register for a code
* 0 = ORC Java
* 1 = ORC C++
* 2 = Presto
* 3 = Scritchley Go from https://github.com/scritchley/orc
*
*/
boolean hasWriter();
/**
* optional uint32 writer = 9;
*
*
* Each implementation that writes ORC files should register for a code
* 0 = ORC Java
* 1 = ORC C++
* 2 = Presto
* 3 = Scritchley Go from https://github.com/scritchley/orc
*
*/
int getWriter();
}
/**
* Protobuf type {@code orc.proto.Footer}
*/
public static final class Footer extends
io.trino.hive.$internal.com.google.protobuf.GeneratedMessage
implements FooterOrBuilder {
// Use Footer.newBuilder() to construct.
private Footer(io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.Builder> builder) {
super(builder);
this.unknownFields = builder.getUnknownFields();
}
private Footer(boolean noInit) { this.unknownFields = io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }
private static final Footer defaultInstance;
public static Footer getDefaultInstance() {
return defaultInstance;
}
public Footer getDefaultInstanceForType() {
return defaultInstance;
}
private final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
@java.lang.Override
public final io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet
getUnknownFields() {
return this.unknownFields;
}
private Footer(
io.trino.hive.$internal.com.google.protobuf.CodedInputStream input,
io.trino.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
throws io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
initFields();
int mutable_bitField0_ = 0;
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
io.trino.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
try {
boolean done = false;
while (!done) {
int tag = input.readTag();
switch (tag) {
case 0:
done = true;
break;
default: {
if (!parseUnknownField(input, unknownFields,
extensionRegistry, tag)) {
done = true;
}
break;
}
case 8: {
bitField0_ |= 0x00000001;
headerLength_ = input.readUInt64();
break;
}
case 16: {
bitField0_ |= 0x00000002;
contentLength_ = input.readUInt64();
break;
}
case 26: {
if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
stripes_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000004;
}
stripes_.add(input.readMessage(org.apache.orc.OrcProto.StripeInformation.PARSER, extensionRegistry));
break;
}
case 34: {
if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
types_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000008;
}
types_.add(input.readMessage(org.apache.orc.OrcProto.Type.PARSER, extensionRegistry));
break;
}
case 42: {
if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
metadata_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000010;
}
metadata_.add(input.readMessage(org.apache.orc.OrcProto.UserMetadataItem.PARSER, extensionRegistry));
break;
}
case 48: {
bitField0_ |= 0x00000004;
numberOfRows_ = input.readUInt64();
break;
}
case 58: {
if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
statistics_ = new java.util.ArrayList();
mutable_bitField0_ |= 0x00000040;
}
statistics_.add(input.readMessage(org.apache.orc.OrcProto.ColumnStatistics.PARSER, extensionRegistry));
break;
}
case 64: {
bitField0_ |= 0x00000008;
rowIndexStride_ = input.readUInt32();
break;
}
case 72: {
bitField0_ |= 0x00000010;
writer_ = input.readUInt32();
break;
}
}
}
} catch (io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
throw e.setUnfinishedMessage(this);
} catch (java.io.IOException e) {
throw new io.trino.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
e.getMessage()).setUnfinishedMessage(this);
} finally {
if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) {
stripes_ = java.util.Collections.unmodifiableList(stripes_);
}
if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) {
types_ = java.util.Collections.unmodifiableList(types_);
}
if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) {
metadata_ = java.util.Collections.unmodifiableList(metadata_);
}
if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) {
statistics_ = java.util.Collections.unmodifiableList(statistics_);
}
this.unknownFields = unknownFields.build();
makeExtensionsImmutable();
}
}
public static final io.trino.hive.$internal.com.google.protobuf.Descriptors.Descriptor
getDescriptor() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Footer_descriptor;
}
protected io.trino.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
internalGetFieldAccessorTable() {
return org.apache.orc.OrcProto.internal_static_orc_proto_Footer_fieldAccessorTable
.ensureFieldAccessorsInitialized(
org.apache.orc.OrcProto.Footer.class, org.apache.orc.OrcProto.Footer.Builder.class);
}
public static io.trino.hive.$internal.com.google.protobuf.Parser