All Downloads are FREE. Search and download functionalities are using the official Maven repository.

io.prestosql.orc.proto.DwrfProto Maven / Gradle / Ivy

// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: dwrf_proto.proto

package io.prestosql.orc.proto;

public final class DwrfProto {
  private DwrfProto() {}
  public static void registerAllExtensions(
      io.prestosql.orc.protobuf.ExtensionRegistryLite registry) {
  }

  public static void registerAllExtensions(
      io.prestosql.orc.protobuf.ExtensionRegistry registry) {
    registerAllExtensions(
        (io.prestosql.orc.protobuf.ExtensionRegistryLite) registry);
  }
  /**
   * Protobuf enum {@code com.facebook.hive.orc.CompressionKind}
   */
  public enum CompressionKind
      implements io.prestosql.orc.protobuf.ProtocolMessageEnum {
    /**
     * NONE = 0;
     */
    NONE(0),
    /**
     * ZLIB = 1;
     */
    ZLIB(1),
    /**
     * SNAPPY = 2;
     */
    SNAPPY(2),
    /**
     * LZO = 3;
     */
    LZO(3),
    /**
     * ZSTD = 4;
     */
    ZSTD(4),
    /**
     * LZ4 = 5;
     */
    LZ4(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;
    /**
     * ZSTD = 4;
     */
    public static final int ZSTD_VALUE = 4;
    /**
     * LZ4 = 5;
     */
    public static final int LZ4_VALUE = 5;


    public final int getNumber() {
      return value;
    }

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static CompressionKind valueOf(int value) {
      return forNumber(value);
    }

    public static CompressionKind forNumber(int value) {
      switch (value) {
        case 0: return NONE;
        case 1: return ZLIB;
        case 2: return SNAPPY;
        case 3: return LZO;
        case 4: return ZSTD;
        case 5: return LZ4;
        default: return null;
      }
    }

    public static io.prestosql.orc.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final io.prestosql.orc.protobuf.Internal.EnumLiteMap<
        CompressionKind> internalValueMap =
          new io.prestosql.orc.protobuf.Internal.EnumLiteMap() {
            public CompressionKind findValueByNumber(int number) {
              return CompressionKind.forNumber(number);
            }
          };

    public final io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return io.prestosql.orc.proto.DwrfProto.getDescriptor().getEnumTypes().get(0);
    }

    private static final CompressionKind[] VALUES = values();

    public static CompressionKind valueOf(
        io.prestosql.orc.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 value;

    private CompressionKind(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.facebook.hive.orc.CompressionKind)
  }

  /**
   * Protobuf enum {@code com.facebook.hive.orc.StripeCacheMode}
   */
  public enum StripeCacheMode
      implements io.prestosql.orc.protobuf.ProtocolMessageEnum {
    /**
     * NA = 0;
     */
    NA(0),
    /**
     * INDEX = 1;
     */
    INDEX(1),
    /**
     * FOOTER = 2;
     */
    FOOTER(2),
    /**
     * BOTH = 3;
     */
    BOTH(3),
    ;

    /**
     * NA = 0;
     */
    public static final int NA_VALUE = 0;
    /**
     * INDEX = 1;
     */
    public static final int INDEX_VALUE = 1;
    /**
     * FOOTER = 2;
     */
    public static final int FOOTER_VALUE = 2;
    /**
     * BOTH = 3;
     */
    public static final int BOTH_VALUE = 3;


    public final int getNumber() {
      return value;
    }

    /**
     * @deprecated Use {@link #forNumber(int)} instead.
     */
    @java.lang.Deprecated
    public static StripeCacheMode valueOf(int value) {
      return forNumber(value);
    }

    public static StripeCacheMode forNumber(int value) {
      switch (value) {
        case 0: return NA;
        case 1: return INDEX;
        case 2: return FOOTER;
        case 3: return BOTH;
        default: return null;
      }
    }

    public static io.prestosql.orc.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static final io.prestosql.orc.protobuf.Internal.EnumLiteMap<
        StripeCacheMode> internalValueMap =
          new io.prestosql.orc.protobuf.Internal.EnumLiteMap() {
            public StripeCacheMode findValueByNumber(int number) {
              return StripeCacheMode.forNumber(number);
            }
          };

    public final io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(ordinal());
    }
    public final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return io.prestosql.orc.proto.DwrfProto.getDescriptor().getEnumTypes().get(1);
    }

    private static final StripeCacheMode[] VALUES = values();

    public static StripeCacheMode valueOf(
        io.prestosql.orc.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 value;

    private StripeCacheMode(int value) {
      this.value = value;
    }

    // @@protoc_insertion_point(enum_scope:com.facebook.hive.orc.StripeCacheMode)
  }

  /**
   * 
   * define single type conversion schema
   * 
* * Protobuf enum {@code com.facebook.hive.orc.PrimitiveType} */ public enum PrimitiveType implements io.prestosql.orc.protobuf.ProtocolMessageEnum { /** * VOID = 0; */ VOID(0), /** * BOOLEAN = 1; */ BOOLEAN(1), /** * BYTE = 2; */ BYTE(2), /** * SHORT = 3; */ SHORT(3), /** * INT = 4; */ INT(4), /** * LONG = 5; */ LONG(5), /** * FLOAT = 6; */ FLOAT(6), /** * DOUBLE = 7; */ DOUBLE(7), /** * STRING = 8; */ STRING(8), /** * DATE = 9; */ DATE(9), /** * TIMESTAMP = 10; */ TIMESTAMP(10), /** * BINARY = 11; */ BINARY(11), /** * DECIMAL = 12; */ DECIMAL(12), /** * VARCHAR = 13; */ VARCHAR(13), /** * CHAR = 14; */ CHAR(14), /** * INTERVAL_YEAR_MONTH = 15; */ INTERVAL_YEAR_MONTH(15), /** * INTERVAL_DAY_TIME = 16; */ INTERVAL_DAY_TIME(16), /** * UNKNOWN = 17; */ UNKNOWN(17), ; /** * VOID = 0; */ public static final int VOID_VALUE = 0; /** * BOOLEAN = 1; */ public static final int BOOLEAN_VALUE = 1; /** * BYTE = 2; */ public static final int BYTE_VALUE = 2; /** * SHORT = 3; */ public static final int SHORT_VALUE = 3; /** * INT = 4; */ public static final int INT_VALUE = 4; /** * LONG = 5; */ public static final int LONG_VALUE = 5; /** * FLOAT = 6; */ public static final int FLOAT_VALUE = 6; /** * DOUBLE = 7; */ public static final int DOUBLE_VALUE = 7; /** * STRING = 8; */ public static final int STRING_VALUE = 8; /** * DATE = 9; */ public static final int DATE_VALUE = 9; /** * TIMESTAMP = 10; */ public static final int TIMESTAMP_VALUE = 10; /** * BINARY = 11; */ public static final int BINARY_VALUE = 11; /** * DECIMAL = 12; */ public static final int DECIMAL_VALUE = 12; /** * VARCHAR = 13; */ public static final int VARCHAR_VALUE = 13; /** * CHAR = 14; */ public static final int CHAR_VALUE = 14; /** * INTERVAL_YEAR_MONTH = 15; */ public static final int INTERVAL_YEAR_MONTH_VALUE = 15; /** * INTERVAL_DAY_TIME = 16; */ public static final int INTERVAL_DAY_TIME_VALUE = 16; /** * UNKNOWN = 17; */ public static final int UNKNOWN_VALUE = 17; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static PrimitiveType valueOf(int value) { return forNumber(value); } public static PrimitiveType forNumber(int value) { switch (value) { case 0: return VOID; case 1: return BOOLEAN; case 2: return BYTE; case 3: return SHORT; case 4: return INT; case 5: return LONG; case 6: return FLOAT; case 7: return DOUBLE; case 8: return STRING; case 9: return DATE; case 10: return TIMESTAMP; case 11: return BINARY; case 12: return DECIMAL; case 13: return VARCHAR; case 14: return CHAR; case 15: return INTERVAL_YEAR_MONTH; case 16: return INTERVAL_DAY_TIME; case 17: return UNKNOWN; default: return null; } } public static io.prestosql.orc.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final io.prestosql.orc.protobuf.Internal.EnumLiteMap< PrimitiveType> internalValueMap = new io.prestosql.orc.protobuf.Internal.EnumLiteMap() { public PrimitiveType findValueByNumber(int number) { return PrimitiveType.forNumber(number); } }; public final io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.getDescriptor().getEnumTypes().get(2); } private static final PrimitiveType[] VALUES = values(); public static PrimitiveType valueOf( io.prestosql.orc.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 value; private PrimitiveType(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:com.facebook.hive.orc.PrimitiveType) } public interface IntegerStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.IntegerStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional sint64 minimum = 1; */ boolean hasMinimum(); /** * optional sint64 minimum = 1; */ long getMinimum(); /** * optional sint64 maximum = 2; */ boolean hasMaximum(); /** * optional sint64 maximum = 2; */ long getMaximum(); /** * optional sint64 sum = 3; */ boolean hasSum(); /** * optional sint64 sum = 3; */ long getSum(); } /** * Protobuf type {@code com.facebook.hive.orc.IntegerStatistics} */ public static final class IntegerStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.IntegerStatistics) IntegerStatisticsOrBuilder { // Use IntegerStatistics.newBuilder() to construct. private IntegerStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private IntegerStatistics() { minimum_ = 0L; maximum_ = 0L; sum_ = 0L; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private IntegerStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_IntegerStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_IntegerStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.IntegerStatistics.class, io.prestosql.orc.proto.DwrfProto.IntegerStatistics.Builder.class); } private int bitField0_; 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_; } 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_; } 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 byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeSInt64(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeSInt64(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeSInt64(3, sum_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(3, sum_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.IntegerStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.IntegerStatistics other = (io.prestosql.orc.proto.DwrfProto.IntegerStatistics) obj; boolean result = true; result = result && (hasMinimum() == other.hasMinimum()); if (hasMinimum()) { result = result && (getMinimum() == other.getMinimum()); } result = result && (hasMaximum() == other.hasMaximum()); if (hasMaximum()) { result = result && (getMaximum() == other.getMaximum()); } result = result && (hasSum() == other.hasSum()); if (hasSum()) { result = result && (getSum() == other.getSum()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMinimum()) { hash = (37 * hash) + MINIMUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getMinimum()); } if (hasMaximum()) { hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getMaximum()); } if (hasSum()) { hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getSum()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.IntegerStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.IntegerStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.IntegerStatistics) io.prestosql.orc.proto.DwrfProto.IntegerStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_IntegerStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_IntegerStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.IntegerStatistics.class, io.prestosql.orc.proto.DwrfProto.IntegerStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.IntegerStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); minimum_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); sum_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_IntegerStatistics_descriptor; } public io.prestosql.orc.proto.DwrfProto.IntegerStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.IntegerStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.IntegerStatistics build() { io.prestosql.orc.proto.DwrfProto.IntegerStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.IntegerStatistics buildPartial() { io.prestosql.orc.proto.DwrfProto.IntegerStatistics result = new io.prestosql.orc.proto.DwrfProto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.IntegerStatistics) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.IntegerStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.IntegerStatistics other) { if (other == io.prestosql.orc.proto.DwrfProto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.IntegerStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.IntegerStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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; } 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; } 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; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.IntegerStatistics) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.IntegerStatistics) private static final io.prestosql.orc.proto.DwrfProto.IntegerStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.IntegerStatistics(); } public static io.prestosql.orc.proto.DwrfProto.IntegerStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public IntegerStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new IntegerStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.IntegerStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DoubleStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.DoubleStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional double minimum = 1; */ boolean hasMinimum(); /** * optional double minimum = 1; */ double getMinimum(); /** * optional double maximum = 2; */ boolean hasMaximum(); /** * optional double maximum = 2; */ double getMaximum(); /** * optional double sum = 3; */ boolean hasSum(); /** * optional double sum = 3; */ double getSum(); } /** * Protobuf type {@code com.facebook.hive.orc.DoubleStatistics} */ public static final class DoubleStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.DoubleStatistics) DoubleStatisticsOrBuilder { // Use DoubleStatistics.newBuilder() to construct. private DoubleStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DoubleStatistics() { minimum_ = 0D; maximum_ = 0D; sum_ = 0D; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DoubleStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_DoubleStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_DoubleStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.DoubleStatistics.class, io.prestosql.orc.proto.DwrfProto.DoubleStatistics.Builder.class); } private int bitField0_; 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_; } 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_; } 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 byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeDouble(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeDouble(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeDouble(3, sum_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeDoubleSize(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeDoubleSize(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeDoubleSize(3, sum_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.DoubleStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.DoubleStatistics other = (io.prestosql.orc.proto.DwrfProto.DoubleStatistics) obj; boolean result = true; result = result && (hasMinimum() == other.hasMinimum()); if (hasMinimum()) { result = result && ( java.lang.Double.doubleToLongBits(getMinimum()) == java.lang.Double.doubleToLongBits( other.getMinimum())); } result = result && (hasMaximum() == other.hasMaximum()); if (hasMaximum()) { result = result && ( java.lang.Double.doubleToLongBits(getMaximum()) == java.lang.Double.doubleToLongBits( other.getMaximum())); } result = result && (hasSum() == other.hasSum()); if (hasSum()) { result = result && ( java.lang.Double.doubleToLongBits(getSum()) == java.lang.Double.doubleToLongBits( other.getSum())); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMinimum()) { hash = (37 * hash) + MINIMUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMinimum())); } if (hasMaximum()) { hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getMaximum())); } if (hasSum()) { hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( java.lang.Double.doubleToLongBits(getSum())); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.DoubleStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.DoubleStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.DoubleStatistics) io.prestosql.orc.proto.DwrfProto.DoubleStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_DoubleStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_DoubleStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.DoubleStatistics.class, io.prestosql.orc.proto.DwrfProto.DoubleStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.DoubleStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); minimum_ = 0D; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = 0D; bitField0_ = (bitField0_ & ~0x00000002); sum_ = 0D; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_DoubleStatistics_descriptor; } public io.prestosql.orc.proto.DwrfProto.DoubleStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.DoubleStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.DoubleStatistics build() { io.prestosql.orc.proto.DwrfProto.DoubleStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.DoubleStatistics buildPartial() { io.prestosql.orc.proto.DwrfProto.DoubleStatistics result = new io.prestosql.orc.proto.DwrfProto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.DoubleStatistics) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.DoubleStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.DoubleStatistics other) { if (other == io.prestosql.orc.proto.DwrfProto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.DoubleStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.DoubleStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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; } 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; } 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; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.DoubleStatistics) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.DoubleStatistics) private static final io.prestosql.orc.proto.DwrfProto.DoubleStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.DoubleStatistics(); } public static io.prestosql.orc.proto.DwrfProto.DoubleStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public DoubleStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new DoubleStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.DoubleStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StringStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.StringStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional string minimum = 1; */ boolean hasMinimum(); /** * optional string minimum = 1; */ java.lang.String getMinimum(); /** * optional string minimum = 1; */ io.prestosql.orc.protobuf.ByteString getMinimumBytes(); /** * optional string maximum = 2; */ boolean hasMaximum(); /** * optional string maximum = 2; */ java.lang.String getMaximum(); /** * optional string maximum = 2; */ io.prestosql.orc.protobuf.ByteString getMaximumBytes(); /** *
     * total length of all strings
     * 
* * optional sint64 sum = 3; */ boolean hasSum(); /** *
     * total length of all strings
     * 
* * optional sint64 sum = 3; */ long getSum(); } /** * Protobuf type {@code com.facebook.hive.orc.StringStatistics} */ public static final class StringStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.StringStatistics) StringStatisticsOrBuilder { // Use StringStatistics.newBuilder() to construct. private StringStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringStatistics() { minimum_ = ""; maximum_ = ""; sum_ = 0L; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; minimum_ = bs; break; } case 18: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; maximum_ = bs; break; } case 24: { bitField0_ |= 0x00000004; sum_ = input.readSInt64(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StringStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StringStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.StringStatistics.class, io.prestosql.orc.proto.DwrfProto.StringStatistics.Builder.class); } private int bitField0_; public static final int MINIMUM_FIELD_NUMBER = 1; private volatile 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.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { minimum_ = s; } return s; } } /** * optional string minimum = 1; */ public io.prestosql.orc.protobuf.ByteString getMinimumBytes() { java.lang.Object ref = minimum_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minimum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } public static final int MAXIMUM_FIELD_NUMBER = 2; private volatile 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.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { maximum_ = s; } return s; } } /** * optional string maximum = 2; */ public io.prestosql.orc.protobuf.ByteString getMaximumBytes() { java.lang.Object ref = maximum_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); maximum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } public static final int SUM_FIELD_NUMBER = 3; private long sum_; /** *
     * total length of all strings
     * 
* * optional sint64 sum = 3; */ public boolean hasSum() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     * total length of all strings
     * 
* * optional sint64 sum = 3; */ public long getSum() { return sum_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeSInt64(3, sum_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(3, sum_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.StringStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.StringStatistics other = (io.prestosql.orc.proto.DwrfProto.StringStatistics) obj; boolean result = true; result = result && (hasMinimum() == other.hasMinimum()); if (hasMinimum()) { result = result && getMinimum() .equals(other.getMinimum()); } result = result && (hasMaximum() == other.hasMaximum()); if (hasMaximum()) { result = result && getMaximum() .equals(other.getMaximum()); } result = result && (hasSum() == other.hasSum()); if (hasSum()) { result = result && (getSum() == other.getSum()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMinimum()) { hash = (37 * hash) + MINIMUM_FIELD_NUMBER; hash = (53 * hash) + getMinimum().hashCode(); } if (hasMaximum()) { hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; hash = (53 * hash) + getMaximum().hashCode(); } if (hasSum()) { hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getSum()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.StringStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.StringStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StringStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.StringStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StringStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.StringStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StringStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.StringStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StringStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.StringStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.StringStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.StringStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.StringStatistics) io.prestosql.orc.proto.DwrfProto.StringStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StringStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StringStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.StringStatistics.class, io.prestosql.orc.proto.DwrfProto.StringStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.StringStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); minimum_ = ""; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = ""; bitField0_ = (bitField0_ & ~0x00000002); sum_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StringStatistics_descriptor; } public io.prestosql.orc.proto.DwrfProto.StringStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.StringStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.StringStatistics build() { io.prestosql.orc.proto.DwrfProto.StringStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.StringStatistics buildPartial() { io.prestosql.orc.proto.DwrfProto.StringStatistics result = new io.prestosql.orc.proto.DwrfProto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.StringStatistics) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.StringStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.StringStatistics other) { if (other == io.prestosql.orc.proto.DwrfProto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.StringStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.StringStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { minimum_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string minimum = 1; */ public io.prestosql.orc.protobuf.ByteString getMinimumBytes() { java.lang.Object ref = minimum_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minimum_ = b; return b; } else { return (io.prestosql.orc.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.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } 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)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { maximum_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string maximum = 2; */ public io.prestosql.orc.protobuf.ByteString getMaximumBytes() { java.lang.Object ref = maximum_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); maximum_ = b; return b; } else { return (io.prestosql.orc.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.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } private long sum_ ; /** *
       * total length of all strings
       * 
* * optional sint64 sum = 3; */ public boolean hasSum() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       * total length of all strings
       * 
* * optional sint64 sum = 3; */ public long getSum() { return sum_; } /** *
       * total length of all strings
       * 
* * optional sint64 sum = 3; */ public Builder setSum(long value) { bitField0_ |= 0x00000004; sum_ = value; onChanged(); return this; } /** *
       * total length of all strings
       * 
* * optional sint64 sum = 3; */ public Builder clearSum() { bitField0_ = (bitField0_ & ~0x00000004); sum_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.StringStatistics) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.StringStatistics) private static final io.prestosql.orc.proto.DwrfProto.StringStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.StringStatistics(); } public static io.prestosql.orc.proto.DwrfProto.StringStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public StringStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new StringStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.StringStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BucketStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.BucketStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** * 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 com.facebook.hive.orc.BucketStatistics} */ public static final class BucketStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.BucketStatistics) BucketStatisticsOrBuilder { // Use BucketStatistics.newBuilder() to construct. private BucketStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BucketStatistics() { count_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BucketStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { count_ = java.util.Collections.unmodifiableList(count_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BucketStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BucketStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.BucketStatistics.class, io.prestosql.orc.proto.DwrfProto.BucketStatistics.Builder.class); } 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 byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getCountList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(countMemoizedSerializedSize); } for (int i = 0; i < count_.size(); i++) { output.writeUInt64NoTag(count_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < count_.size(); i++) { dataSize += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64SizeNoTag(count_.get(i)); } size += dataSize; if (!getCountList().isEmpty()) { size += 1; size += io.prestosql.orc.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } countMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.BucketStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.BucketStatistics other = (io.prestosql.orc.proto.DwrfProto.BucketStatistics) obj; boolean result = true; result = result && getCountList() .equals(other.getCountList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getCountCount() > 0) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCountList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.BucketStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.BucketStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.BucketStatistics) io.prestosql.orc.proto.DwrfProto.BucketStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BucketStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BucketStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.BucketStatistics.class, io.prestosql.orc.proto.DwrfProto.BucketStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.BucketStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); count_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BucketStatistics_descriptor; } public io.prestosql.orc.proto.DwrfProto.BucketStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.BucketStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.BucketStatistics build() { io.prestosql.orc.proto.DwrfProto.BucketStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.BucketStatistics buildPartial() { io.prestosql.orc.proto.DwrfProto.BucketStatistics result = new io.prestosql.orc.proto.DwrfProto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.BucketStatistics) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.BucketStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.BucketStatistics other) { if (other == io.prestosql.orc.proto.DwrfProto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.BucketStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.BucketStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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 values) { ensureCountIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.BucketStatistics) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.BucketStatistics) private static final io.prestosql.orc.proto.DwrfProto.BucketStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.BucketStatistics(); } public static io.prestosql.orc.proto.DwrfProto.BucketStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public BucketStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new BucketStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.BucketStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BinaryStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.BinaryStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** *
     * total binary blob length
     * 
* * optional sint64 sum = 1; */ boolean hasSum(); /** *
     * total binary blob length
     * 
* * optional sint64 sum = 1; */ long getSum(); } /** * Protobuf type {@code com.facebook.hive.orc.BinaryStatistics} */ public static final class BinaryStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.BinaryStatistics) BinaryStatisticsOrBuilder { // Use BinaryStatistics.newBuilder() to construct. private BinaryStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BinaryStatistics() { sum_ = 0L; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BinaryStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BinaryStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BinaryStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.BinaryStatistics.class, io.prestosql.orc.proto.DwrfProto.BinaryStatistics.Builder.class); } private int bitField0_; public static final int SUM_FIELD_NUMBER = 1; private long sum_; /** *
     * total binary blob length
     * 
* * optional sint64 sum = 1; */ public boolean hasSum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * total binary blob length
     * 
* * optional sint64 sum = 1; */ public long getSum() { return sum_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeSInt64(1, sum_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(1, sum_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.BinaryStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.BinaryStatistics other = (io.prestosql.orc.proto.DwrfProto.BinaryStatistics) obj; boolean result = true; result = result && (hasSum() == other.hasSum()); if (hasSum()) { result = result && (getSum() == other.getSum()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSum()) { hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getSum()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.BinaryStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.BinaryStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.BinaryStatistics) io.prestosql.orc.proto.DwrfProto.BinaryStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BinaryStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BinaryStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.BinaryStatistics.class, io.prestosql.orc.proto.DwrfProto.BinaryStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.BinaryStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); sum_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BinaryStatistics_descriptor; } public io.prestosql.orc.proto.DwrfProto.BinaryStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.BinaryStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.BinaryStatistics build() { io.prestosql.orc.proto.DwrfProto.BinaryStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.BinaryStatistics buildPartial() { io.prestosql.orc.proto.DwrfProto.BinaryStatistics result = new io.prestosql.orc.proto.DwrfProto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.BinaryStatistics) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.BinaryStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.BinaryStatistics other) { if (other == io.prestosql.orc.proto.DwrfProto.BinaryStatistics.getDefaultInstance()) return this; if (other.hasSum()) { setSum(other.getSum()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.BinaryStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.BinaryStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long sum_ ; /** *
       * total binary blob length
       * 
* * optional sint64 sum = 1; */ public boolean hasSum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * total binary blob length
       * 
* * optional sint64 sum = 1; */ public long getSum() { return sum_; } /** *
       * total binary blob length
       * 
* * optional sint64 sum = 1; */ public Builder setSum(long value) { bitField0_ |= 0x00000001; sum_ = value; onChanged(); return this; } /** *
       * total binary blob length
       * 
* * optional sint64 sum = 1; */ public Builder clearSum() { bitField0_ = (bitField0_ & ~0x00000001); sum_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.BinaryStatistics) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.BinaryStatistics) private static final io.prestosql.orc.proto.DwrfProto.BinaryStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.BinaryStatistics(); } public static io.prestosql.orc.proto.DwrfProto.BinaryStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public BinaryStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new BinaryStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.BinaryStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.ColumnStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional uint64 numberOfValues = 1; */ boolean hasNumberOfValues(); /** * optional uint64 numberOfValues = 1; */ long getNumberOfValues(); /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ boolean hasIntStatistics(); /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ io.prestosql.orc.proto.DwrfProto.IntegerStatistics getIntStatistics(); /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ io.prestosql.orc.proto.DwrfProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder(); /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ boolean hasDoubleStatistics(); /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ io.prestosql.orc.proto.DwrfProto.DoubleStatistics getDoubleStatistics(); /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ io.prestosql.orc.proto.DwrfProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder(); /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ boolean hasStringStatistics(); /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ io.prestosql.orc.proto.DwrfProto.StringStatistics getStringStatistics(); /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ io.prestosql.orc.proto.DwrfProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder(); /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ boolean hasBucketStatistics(); /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ io.prestosql.orc.proto.DwrfProto.BucketStatistics getBucketStatistics(); /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ io.prestosql.orc.proto.DwrfProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder(); /** * optional bool hasNull = 6; */ boolean hasHasNull(); /** * optional bool hasNull = 6; */ boolean getHasNull(); /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ boolean hasBinaryStatistics(); /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ io.prestosql.orc.proto.DwrfProto.BinaryStatistics getBinaryStatistics(); /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ io.prestosql.orc.proto.DwrfProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder(); } /** * Protobuf type {@code com.facebook.hive.orc.ColumnStatistics} */ public static final class ColumnStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.ColumnStatistics) ColumnStatisticsOrBuilder { // Use ColumnStatistics.newBuilder() to construct. private ColumnStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnStatistics() { numberOfValues_ = 0L; hasNull_ = false; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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: { io.prestosql.orc.proto.DwrfProto.IntegerStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = intStatistics_.toBuilder(); } intStatistics_ = input.readMessage(io.prestosql.orc.proto.DwrfProto.IntegerStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(intStatistics_); intStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { io.prestosql.orc.proto.DwrfProto.DoubleStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = doubleStatistics_.toBuilder(); } doubleStatistics_ = input.readMessage(io.prestosql.orc.proto.DwrfProto.DoubleStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(doubleStatistics_); doubleStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { io.prestosql.orc.proto.DwrfProto.StringStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = stringStatistics_.toBuilder(); } stringStatistics_ = input.readMessage(io.prestosql.orc.proto.DwrfProto.StringStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(stringStatistics_); stringStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { io.prestosql.orc.proto.DwrfProto.BucketStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = bucketStatistics_.toBuilder(); } bucketStatistics_ = input.readMessage(io.prestosql.orc.proto.DwrfProto.BucketStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(bucketStatistics_); bucketStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 48: { bitField0_ |= 0x00000020; hasNull_ = input.readBool(); break; } case 58: { io.prestosql.orc.proto.DwrfProto.BinaryStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = binaryStatistics_.toBuilder(); } binaryStatistics_ = input.readMessage(io.prestosql.orc.proto.DwrfProto.BinaryStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(binaryStatistics_); binaryStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_ColumnStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_ColumnStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.ColumnStatistics.class, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder.class); } private int bitField0_; 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_; } public static final int INTSTATISTICS_FIELD_NUMBER = 2; private io.prestosql.orc.proto.DwrfProto.IntegerStatistics intStatistics_; /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public boolean hasIntStatistics() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public io.prestosql.orc.proto.DwrfProto.IntegerStatistics getIntStatistics() { return intStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.IntegerStatistics.getDefaultInstance() : intStatistics_; } /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public io.prestosql.orc.proto.DwrfProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder() { return intStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.IntegerStatistics.getDefaultInstance() : intStatistics_; } public static final int DOUBLESTATISTICS_FIELD_NUMBER = 3; private io.prestosql.orc.proto.DwrfProto.DoubleStatistics doubleStatistics_; /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public boolean hasDoubleStatistics() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public io.prestosql.orc.proto.DwrfProto.DoubleStatistics getDoubleStatistics() { return doubleStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.DoubleStatistics.getDefaultInstance() : doubleStatistics_; } /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public io.prestosql.orc.proto.DwrfProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder() { return doubleStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.DoubleStatistics.getDefaultInstance() : doubleStatistics_; } public static final int STRINGSTATISTICS_FIELD_NUMBER = 4; private io.prestosql.orc.proto.DwrfProto.StringStatistics stringStatistics_; /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public boolean hasStringStatistics() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public io.prestosql.orc.proto.DwrfProto.StringStatistics getStringStatistics() { return stringStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.StringStatistics.getDefaultInstance() : stringStatistics_; } /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public io.prestosql.orc.proto.DwrfProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder() { return stringStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.StringStatistics.getDefaultInstance() : stringStatistics_; } public static final int BUCKETSTATISTICS_FIELD_NUMBER = 5; private io.prestosql.orc.proto.DwrfProto.BucketStatistics bucketStatistics_; /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public boolean hasBucketStatistics() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public io.prestosql.orc.proto.DwrfProto.BucketStatistics getBucketStatistics() { return bucketStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.BucketStatistics.getDefaultInstance() : bucketStatistics_; } /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public io.prestosql.orc.proto.DwrfProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder() { return bucketStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.BucketStatistics.getDefaultInstance() : bucketStatistics_; } public static final int HASNULL_FIELD_NUMBER = 6; private boolean hasNull_; /** * optional bool hasNull = 6; */ public boolean hasHasNull() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool hasNull = 6; */ public boolean getHasNull() { return hasNull_; } public static final int BINARYSTATISTICS_FIELD_NUMBER = 7; private io.prestosql.orc.proto.DwrfProto.BinaryStatistics binaryStatistics_; /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public boolean hasBinaryStatistics() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public io.prestosql.orc.proto.DwrfProto.BinaryStatistics getBinaryStatistics() { return binaryStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.BinaryStatistics.getDefaultInstance() : binaryStatistics_; } /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public io.prestosql.orc.proto.DwrfProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder() { return binaryStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.BinaryStatistics.getDefaultInstance() : binaryStatistics_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, numberOfValues_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getIntStatistics()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, getDoubleStatistics()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, getStringStatistics()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, getBucketStatistics()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBool(6, hasNull_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(7, getBinaryStatistics()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(1, numberOfValues_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(2, getIntStatistics()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(3, getDoubleStatistics()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(4, getStringStatistics()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(5, getBucketStatistics()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeBoolSize(6, hasNull_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(7, getBinaryStatistics()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.ColumnStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.ColumnStatistics other = (io.prestosql.orc.proto.DwrfProto.ColumnStatistics) obj; boolean result = true; result = result && (hasNumberOfValues() == other.hasNumberOfValues()); if (hasNumberOfValues()) { result = result && (getNumberOfValues() == other.getNumberOfValues()); } result = result && (hasIntStatistics() == other.hasIntStatistics()); if (hasIntStatistics()) { result = result && getIntStatistics() .equals(other.getIntStatistics()); } result = result && (hasDoubleStatistics() == other.hasDoubleStatistics()); if (hasDoubleStatistics()) { result = result && getDoubleStatistics() .equals(other.getDoubleStatistics()); } result = result && (hasStringStatistics() == other.hasStringStatistics()); if (hasStringStatistics()) { result = result && getStringStatistics() .equals(other.getStringStatistics()); } result = result && (hasBucketStatistics() == other.hasBucketStatistics()); if (hasBucketStatistics()) { result = result && getBucketStatistics() .equals(other.getBucketStatistics()); } result = result && (hasHasNull() == other.hasHasNull()); if (hasHasNull()) { result = result && (getHasNull() == other.getHasNull()); } result = result && (hasBinaryStatistics() == other.hasBinaryStatistics()); if (hasBinaryStatistics()) { result = result && getBinaryStatistics() .equals(other.getBinaryStatistics()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNumberOfValues()) { hash = (37 * hash) + NUMBEROFVALUES_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getNumberOfValues()); } if (hasIntStatistics()) { hash = (37 * hash) + INTSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getIntStatistics().hashCode(); } if (hasDoubleStatistics()) { hash = (37 * hash) + DOUBLESTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getDoubleStatistics().hashCode(); } if (hasStringStatistics()) { hash = (37 * hash) + STRINGSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getStringStatistics().hashCode(); } if (hasBucketStatistics()) { hash = (37 * hash) + BUCKETSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getBucketStatistics().hashCode(); } if (hasHasNull()) { hash = (37 * hash) + HASNULL_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashBoolean( getHasNull()); } if (hasBinaryStatistics()) { hash = (37 * hash) + BINARYSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getBinaryStatistics().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.ColumnStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.ColumnStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.ColumnStatistics) io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_ColumnStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_ColumnStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.ColumnStatistics.class, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.ColumnStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIntStatisticsFieldBuilder(); getDoubleStatisticsFieldBuilder(); getStringStatisticsFieldBuilder(); getBucketStatisticsFieldBuilder(); getBinaryStatisticsFieldBuilder(); } } public Builder clear() { super.clear(); numberOfValues_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); if (intStatisticsBuilder_ == null) { intStatistics_ = null; } else { intStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (doubleStatisticsBuilder_ == null) { doubleStatistics_ = null; } else { doubleStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (stringStatisticsBuilder_ == null) { stringStatistics_ = null; } else { stringStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (bucketStatisticsBuilder_ == null) { bucketStatistics_ = null; } else { bucketStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); hasNull_ = false; bitField0_ = (bitField0_ & ~0x00000020); if (binaryStatisticsBuilder_ == null) { binaryStatistics_ = null; } else { binaryStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_ColumnStatistics_descriptor; } public io.prestosql.orc.proto.DwrfProto.ColumnStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.ColumnStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.ColumnStatistics build() { io.prestosql.orc.proto.DwrfProto.ColumnStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.ColumnStatistics buildPartial() { io.prestosql.orc.proto.DwrfProto.ColumnStatistics result = new io.prestosql.orc.proto.DwrfProto.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; } result.hasNull_ = hasNull_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } if (binaryStatisticsBuilder_ == null) { result.binaryStatistics_ = binaryStatistics_; } else { result.binaryStatistics_ = binaryStatisticsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.ColumnStatistics) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.ColumnStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.ColumnStatistics other) { if (other == io.prestosql.orc.proto.DwrfProto.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.hasHasNull()) { setHasNull(other.getHasNull()); } if (other.hasBinaryStatistics()) { mergeBinaryStatistics(other.getBinaryStatistics()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.ColumnStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.ColumnStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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; } private io.prestosql.orc.proto.DwrfProto.IntegerStatistics intStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.IntegerStatistics, io.prestosql.orc.proto.DwrfProto.IntegerStatistics.Builder, io.prestosql.orc.proto.DwrfProto.IntegerStatisticsOrBuilder> intStatisticsBuilder_; /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public boolean hasIntStatistics() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public io.prestosql.orc.proto.DwrfProto.IntegerStatistics getIntStatistics() { if (intStatisticsBuilder_ == null) { return intStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.IntegerStatistics.getDefaultInstance() : intStatistics_; } else { return intStatisticsBuilder_.getMessage(); } } /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public Builder setIntStatistics(io.prestosql.orc.proto.DwrfProto.IntegerStatistics value) { if (intStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } intStatistics_ = value; onChanged(); } else { intStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public Builder setIntStatistics( io.prestosql.orc.proto.DwrfProto.IntegerStatistics.Builder builderForValue) { if (intStatisticsBuilder_ == null) { intStatistics_ = builderForValue.build(); onChanged(); } else { intStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public Builder mergeIntStatistics(io.prestosql.orc.proto.DwrfProto.IntegerStatistics value) { if (intStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && intStatistics_ != null && intStatistics_ != io.prestosql.orc.proto.DwrfProto.IntegerStatistics.getDefaultInstance()) { intStatistics_ = io.prestosql.orc.proto.DwrfProto.IntegerStatistics.newBuilder(intStatistics_).mergeFrom(value).buildPartial(); } else { intStatistics_ = value; } onChanged(); } else { intStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public Builder clearIntStatistics() { if (intStatisticsBuilder_ == null) { intStatistics_ = null; onChanged(); } else { intStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public io.prestosql.orc.proto.DwrfProto.IntegerStatistics.Builder getIntStatisticsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getIntStatisticsFieldBuilder().getBuilder(); } /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ public io.prestosql.orc.proto.DwrfProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder() { if (intStatisticsBuilder_ != null) { return intStatisticsBuilder_.getMessageOrBuilder(); } else { return intStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.IntegerStatistics.getDefaultInstance() : intStatistics_; } } /** * optional .com.facebook.hive.orc.IntegerStatistics intStatistics = 2; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.IntegerStatistics, io.prestosql.orc.proto.DwrfProto.IntegerStatistics.Builder, io.prestosql.orc.proto.DwrfProto.IntegerStatisticsOrBuilder> getIntStatisticsFieldBuilder() { if (intStatisticsBuilder_ == null) { intStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.IntegerStatistics, io.prestosql.orc.proto.DwrfProto.IntegerStatistics.Builder, io.prestosql.orc.proto.DwrfProto.IntegerStatisticsOrBuilder>( getIntStatistics(), getParentForChildren(), isClean()); intStatistics_ = null; } return intStatisticsBuilder_; } private io.prestosql.orc.proto.DwrfProto.DoubleStatistics doubleStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.DoubleStatistics, io.prestosql.orc.proto.DwrfProto.DoubleStatistics.Builder, io.prestosql.orc.proto.DwrfProto.DoubleStatisticsOrBuilder> doubleStatisticsBuilder_; /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public boolean hasDoubleStatistics() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public io.prestosql.orc.proto.DwrfProto.DoubleStatistics getDoubleStatistics() { if (doubleStatisticsBuilder_ == null) { return doubleStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.DoubleStatistics.getDefaultInstance() : doubleStatistics_; } else { return doubleStatisticsBuilder_.getMessage(); } } /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public Builder setDoubleStatistics(io.prestosql.orc.proto.DwrfProto.DoubleStatistics value) { if (doubleStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } doubleStatistics_ = value; onChanged(); } else { doubleStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public Builder setDoubleStatistics( io.prestosql.orc.proto.DwrfProto.DoubleStatistics.Builder builderForValue) { if (doubleStatisticsBuilder_ == null) { doubleStatistics_ = builderForValue.build(); onChanged(); } else { doubleStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public Builder mergeDoubleStatistics(io.prestosql.orc.proto.DwrfProto.DoubleStatistics value) { if (doubleStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && doubleStatistics_ != null && doubleStatistics_ != io.prestosql.orc.proto.DwrfProto.DoubleStatistics.getDefaultInstance()) { doubleStatistics_ = io.prestosql.orc.proto.DwrfProto.DoubleStatistics.newBuilder(doubleStatistics_).mergeFrom(value).buildPartial(); } else { doubleStatistics_ = value; } onChanged(); } else { doubleStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public Builder clearDoubleStatistics() { if (doubleStatisticsBuilder_ == null) { doubleStatistics_ = null; onChanged(); } else { doubleStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public io.prestosql.orc.proto.DwrfProto.DoubleStatistics.Builder getDoubleStatisticsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDoubleStatisticsFieldBuilder().getBuilder(); } /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ public io.prestosql.orc.proto.DwrfProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder() { if (doubleStatisticsBuilder_ != null) { return doubleStatisticsBuilder_.getMessageOrBuilder(); } else { return doubleStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.DoubleStatistics.getDefaultInstance() : doubleStatistics_; } } /** * optional .com.facebook.hive.orc.DoubleStatistics doubleStatistics = 3; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.DoubleStatistics, io.prestosql.orc.proto.DwrfProto.DoubleStatistics.Builder, io.prestosql.orc.proto.DwrfProto.DoubleStatisticsOrBuilder> getDoubleStatisticsFieldBuilder() { if (doubleStatisticsBuilder_ == null) { doubleStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.DoubleStatistics, io.prestosql.orc.proto.DwrfProto.DoubleStatistics.Builder, io.prestosql.orc.proto.DwrfProto.DoubleStatisticsOrBuilder>( getDoubleStatistics(), getParentForChildren(), isClean()); doubleStatistics_ = null; } return doubleStatisticsBuilder_; } private io.prestosql.orc.proto.DwrfProto.StringStatistics stringStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.StringStatistics, io.prestosql.orc.proto.DwrfProto.StringStatistics.Builder, io.prestosql.orc.proto.DwrfProto.StringStatisticsOrBuilder> stringStatisticsBuilder_; /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public boolean hasStringStatistics() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public io.prestosql.orc.proto.DwrfProto.StringStatistics getStringStatistics() { if (stringStatisticsBuilder_ == null) { return stringStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.StringStatistics.getDefaultInstance() : stringStatistics_; } else { return stringStatisticsBuilder_.getMessage(); } } /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public Builder setStringStatistics(io.prestosql.orc.proto.DwrfProto.StringStatistics value) { if (stringStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stringStatistics_ = value; onChanged(); } else { stringStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public Builder setStringStatistics( io.prestosql.orc.proto.DwrfProto.StringStatistics.Builder builderForValue) { if (stringStatisticsBuilder_ == null) { stringStatistics_ = builderForValue.build(); onChanged(); } else { stringStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public Builder mergeStringStatistics(io.prestosql.orc.proto.DwrfProto.StringStatistics value) { if (stringStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && stringStatistics_ != null && stringStatistics_ != io.prestosql.orc.proto.DwrfProto.StringStatistics.getDefaultInstance()) { stringStatistics_ = io.prestosql.orc.proto.DwrfProto.StringStatistics.newBuilder(stringStatistics_).mergeFrom(value).buildPartial(); } else { stringStatistics_ = value; } onChanged(); } else { stringStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public Builder clearStringStatistics() { if (stringStatisticsBuilder_ == null) { stringStatistics_ = null; onChanged(); } else { stringStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public io.prestosql.orc.proto.DwrfProto.StringStatistics.Builder getStringStatisticsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStringStatisticsFieldBuilder().getBuilder(); } /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ public io.prestosql.orc.proto.DwrfProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder() { if (stringStatisticsBuilder_ != null) { return stringStatisticsBuilder_.getMessageOrBuilder(); } else { return stringStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.StringStatistics.getDefaultInstance() : stringStatistics_; } } /** * optional .com.facebook.hive.orc.StringStatistics stringStatistics = 4; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.StringStatistics, io.prestosql.orc.proto.DwrfProto.StringStatistics.Builder, io.prestosql.orc.proto.DwrfProto.StringStatisticsOrBuilder> getStringStatisticsFieldBuilder() { if (stringStatisticsBuilder_ == null) { stringStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.StringStatistics, io.prestosql.orc.proto.DwrfProto.StringStatistics.Builder, io.prestosql.orc.proto.DwrfProto.StringStatisticsOrBuilder>( getStringStatistics(), getParentForChildren(), isClean()); stringStatistics_ = null; } return stringStatisticsBuilder_; } private io.prestosql.orc.proto.DwrfProto.BucketStatistics bucketStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.BucketStatistics, io.prestosql.orc.proto.DwrfProto.BucketStatistics.Builder, io.prestosql.orc.proto.DwrfProto.BucketStatisticsOrBuilder> bucketStatisticsBuilder_; /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public boolean hasBucketStatistics() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public io.prestosql.orc.proto.DwrfProto.BucketStatistics getBucketStatistics() { if (bucketStatisticsBuilder_ == null) { return bucketStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.BucketStatistics.getDefaultInstance() : bucketStatistics_; } else { return bucketStatisticsBuilder_.getMessage(); } } /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public Builder setBucketStatistics(io.prestosql.orc.proto.DwrfProto.BucketStatistics value) { if (bucketStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bucketStatistics_ = value; onChanged(); } else { bucketStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public Builder setBucketStatistics( io.prestosql.orc.proto.DwrfProto.BucketStatistics.Builder builderForValue) { if (bucketStatisticsBuilder_ == null) { bucketStatistics_ = builderForValue.build(); onChanged(); } else { bucketStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public Builder mergeBucketStatistics(io.prestosql.orc.proto.DwrfProto.BucketStatistics value) { if (bucketStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && bucketStatistics_ != null && bucketStatistics_ != io.prestosql.orc.proto.DwrfProto.BucketStatistics.getDefaultInstance()) { bucketStatistics_ = io.prestosql.orc.proto.DwrfProto.BucketStatistics.newBuilder(bucketStatistics_).mergeFrom(value).buildPartial(); } else { bucketStatistics_ = value; } onChanged(); } else { bucketStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public Builder clearBucketStatistics() { if (bucketStatisticsBuilder_ == null) { bucketStatistics_ = null; onChanged(); } else { bucketStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public io.prestosql.orc.proto.DwrfProto.BucketStatistics.Builder getBucketStatisticsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getBucketStatisticsFieldBuilder().getBuilder(); } /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ public io.prestosql.orc.proto.DwrfProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder() { if (bucketStatisticsBuilder_ != null) { return bucketStatisticsBuilder_.getMessageOrBuilder(); } else { return bucketStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.BucketStatistics.getDefaultInstance() : bucketStatistics_; } } /** * optional .com.facebook.hive.orc.BucketStatistics bucketStatistics = 5; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.BucketStatistics, io.prestosql.orc.proto.DwrfProto.BucketStatistics.Builder, io.prestosql.orc.proto.DwrfProto.BucketStatisticsOrBuilder> getBucketStatisticsFieldBuilder() { if (bucketStatisticsBuilder_ == null) { bucketStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.BucketStatistics, io.prestosql.orc.proto.DwrfProto.BucketStatistics.Builder, io.prestosql.orc.proto.DwrfProto.BucketStatisticsOrBuilder>( getBucketStatistics(), getParentForChildren(), isClean()); bucketStatistics_ = null; } return bucketStatisticsBuilder_; } private boolean hasNull_ ; /** * optional bool hasNull = 6; */ public boolean hasHasNull() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional bool hasNull = 6; */ public boolean getHasNull() { return hasNull_; } /** * optional bool hasNull = 6; */ public Builder setHasNull(boolean value) { bitField0_ |= 0x00000020; hasNull_ = value; onChanged(); return this; } /** * optional bool hasNull = 6; */ public Builder clearHasNull() { bitField0_ = (bitField0_ & ~0x00000020); hasNull_ = false; onChanged(); return this; } private io.prestosql.orc.proto.DwrfProto.BinaryStatistics binaryStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.BinaryStatistics, io.prestosql.orc.proto.DwrfProto.BinaryStatistics.Builder, io.prestosql.orc.proto.DwrfProto.BinaryStatisticsOrBuilder> binaryStatisticsBuilder_; /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public boolean hasBinaryStatistics() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public io.prestosql.orc.proto.DwrfProto.BinaryStatistics getBinaryStatistics() { if (binaryStatisticsBuilder_ == null) { return binaryStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.BinaryStatistics.getDefaultInstance() : binaryStatistics_; } else { return binaryStatisticsBuilder_.getMessage(); } } /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public Builder setBinaryStatistics(io.prestosql.orc.proto.DwrfProto.BinaryStatistics value) { if (binaryStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } binaryStatistics_ = value; onChanged(); } else { binaryStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public Builder setBinaryStatistics( io.prestosql.orc.proto.DwrfProto.BinaryStatistics.Builder builderForValue) { if (binaryStatisticsBuilder_ == null) { binaryStatistics_ = builderForValue.build(); onChanged(); } else { binaryStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public Builder mergeBinaryStatistics(io.prestosql.orc.proto.DwrfProto.BinaryStatistics value) { if (binaryStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && binaryStatistics_ != null && binaryStatistics_ != io.prestosql.orc.proto.DwrfProto.BinaryStatistics.getDefaultInstance()) { binaryStatistics_ = io.prestosql.orc.proto.DwrfProto.BinaryStatistics.newBuilder(binaryStatistics_).mergeFrom(value).buildPartial(); } else { binaryStatistics_ = value; } onChanged(); } else { binaryStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public Builder clearBinaryStatistics() { if (binaryStatisticsBuilder_ == null) { binaryStatistics_ = null; onChanged(); } else { binaryStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public io.prestosql.orc.proto.DwrfProto.BinaryStatistics.Builder getBinaryStatisticsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getBinaryStatisticsFieldBuilder().getBuilder(); } /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ public io.prestosql.orc.proto.DwrfProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder() { if (binaryStatisticsBuilder_ != null) { return binaryStatisticsBuilder_.getMessageOrBuilder(); } else { return binaryStatistics_ == null ? io.prestosql.orc.proto.DwrfProto.BinaryStatistics.getDefaultInstance() : binaryStatistics_; } } /** * optional .com.facebook.hive.orc.BinaryStatistics binaryStatistics = 7; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.BinaryStatistics, io.prestosql.orc.proto.DwrfProto.BinaryStatistics.Builder, io.prestosql.orc.proto.DwrfProto.BinaryStatisticsOrBuilder> getBinaryStatisticsFieldBuilder() { if (binaryStatisticsBuilder_ == null) { binaryStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.BinaryStatistics, io.prestosql.orc.proto.DwrfProto.BinaryStatistics.Builder, io.prestosql.orc.proto.DwrfProto.BinaryStatisticsOrBuilder>( getBinaryStatistics(), getParentForChildren(), isClean()); binaryStatistics_ = null; } return binaryStatisticsBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.ColumnStatistics) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.ColumnStatistics) private static final io.prestosql.orc.proto.DwrfProto.ColumnStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.ColumnStatistics(); } public static io.prestosql.orc.proto.DwrfProto.ColumnStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public ColumnStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new ColumnStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.ColumnStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RowIndexEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.RowIndexEntry) io.prestosql.orc.protobuf.MessageOrBuilder { /** * 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 .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ boolean hasStatistics(); /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ io.prestosql.orc.proto.DwrfProto.ColumnStatistics getStatistics(); /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder(); } /** * Protobuf type {@code com.facebook.hive.orc.RowIndexEntry} */ public static final class RowIndexEntry extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.RowIndexEntry) RowIndexEntryOrBuilder { // Use RowIndexEntry.newBuilder() to construct. private RowIndexEntry(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RowIndexEntry() { positions_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RowIndexEntry( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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: { io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = statistics_.toBuilder(); } statistics_ = input.readMessage(io.prestosql.orc.proto.DwrfProto.ColumnStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(statistics_); statistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { positions_ = java.util.Collections.unmodifiableList(positions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_RowIndexEntry_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_RowIndexEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.RowIndexEntry.class, io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder.class); } private int bitField0_; 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; public static final int STATISTICS_FIELD_NUMBER = 2; private io.prestosql.orc.proto.DwrfProto.ColumnStatistics statistics_; /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public boolean hasStatistics() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatistics getStatistics() { return statistics_ == null ? io.prestosql.orc.proto.DwrfProto.ColumnStatistics.getDefaultInstance() : statistics_; } /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder() { return statistics_ == null ? io.prestosql.orc.proto.DwrfProto.ColumnStatistics.getDefaultInstance() : statistics_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getPositionsList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(positionsMemoizedSerializedSize); } for (int i = 0; i < positions_.size(); i++) { output.writeUInt64NoTag(positions_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(2, getStatistics()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < positions_.size(); i++) { dataSize += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64SizeNoTag(positions_.get(i)); } size += dataSize; if (!getPositionsList().isEmpty()) { size += 1; size += io.prestosql.orc.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } positionsMemoizedSerializedSize = dataSize; } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(2, getStatistics()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.RowIndexEntry)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.RowIndexEntry other = (io.prestosql.orc.proto.DwrfProto.RowIndexEntry) obj; boolean result = true; result = result && getPositionsList() .equals(other.getPositionsList()); result = result && (hasStatistics() == other.hasStatistics()); if (hasStatistics()) { result = result && getStatistics() .equals(other.getStatistics()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getPositionsCount() > 0) { hash = (37 * hash) + POSITIONS_FIELD_NUMBER; hash = (53 * hash) + getPositionsList().hashCode(); } if (hasStatistics()) { hash = (37 * hash) + STATISTICS_FIELD_NUMBER; hash = (53 * hash) + getStatistics().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.RowIndexEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.RowIndexEntry} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.RowIndexEntry) io.prestosql.orc.proto.DwrfProto.RowIndexEntryOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_RowIndexEntry_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_RowIndexEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.RowIndexEntry.class, io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.RowIndexEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStatisticsFieldBuilder(); } } public Builder clear() { super.clear(); positions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); if (statisticsBuilder_ == null) { statistics_ = null; } else { statisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_RowIndexEntry_descriptor; } public io.prestosql.orc.proto.DwrfProto.RowIndexEntry getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.RowIndexEntry.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.RowIndexEntry build() { io.prestosql.orc.proto.DwrfProto.RowIndexEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.RowIndexEntry buildPartial() { io.prestosql.orc.proto.DwrfProto.RowIndexEntry result = new io.prestosql.orc.proto.DwrfProto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.RowIndexEntry) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.RowIndexEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.RowIndexEntry other) { if (other == io.prestosql.orc.proto.DwrfProto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.RowIndexEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.RowIndexEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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 values) { ensurePositionsIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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; } private io.prestosql.orc.proto.DwrfProto.ColumnStatistics statistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.ColumnStatistics, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder, io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder> statisticsBuilder_; /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public boolean hasStatistics() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatistics getStatistics() { if (statisticsBuilder_ == null) { return statistics_ == null ? io.prestosql.orc.proto.DwrfProto.ColumnStatistics.getDefaultInstance() : statistics_; } else { return statisticsBuilder_.getMessage(); } } /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public Builder setStatistics(io.prestosql.orc.proto.DwrfProto.ColumnStatistics value) { if (statisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statistics_ = value; onChanged(); } else { statisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public Builder setStatistics( io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder builderForValue) { if (statisticsBuilder_ == null) { statistics_ = builderForValue.build(); onChanged(); } else { statisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public Builder mergeStatistics(io.prestosql.orc.proto.DwrfProto.ColumnStatistics value) { if (statisticsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && statistics_ != null && statistics_ != io.prestosql.orc.proto.DwrfProto.ColumnStatistics.getDefaultInstance()) { statistics_ = io.prestosql.orc.proto.DwrfProto.ColumnStatistics.newBuilder(statistics_).mergeFrom(value).buildPartial(); } else { statistics_ = value; } onChanged(); } else { statisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public Builder clearStatistics() { if (statisticsBuilder_ == null) { statistics_ = null; onChanged(); } else { statisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder getStatisticsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStatisticsFieldBuilder().getBuilder(); } /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder() { if (statisticsBuilder_ != null) { return statisticsBuilder_.getMessageOrBuilder(); } else { return statistics_ == null ? io.prestosql.orc.proto.DwrfProto.ColumnStatistics.getDefaultInstance() : statistics_; } } /** * optional .com.facebook.hive.orc.ColumnStatistics statistics = 2; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.ColumnStatistics, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder, io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder> getStatisticsFieldBuilder() { if (statisticsBuilder_ == null) { statisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.ColumnStatistics, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder, io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder>( getStatistics(), getParentForChildren(), isClean()); statistics_ = null; } return statisticsBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.RowIndexEntry) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.RowIndexEntry) private static final io.prestosql.orc.proto.DwrfProto.RowIndexEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.RowIndexEntry(); } public static io.prestosql.orc.proto.DwrfProto.RowIndexEntry getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public RowIndexEntry parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new RowIndexEntry(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.RowIndexEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RowIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.RowIndex) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ java.util.List getEntryList(); /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ io.prestosql.orc.proto.DwrfProto.RowIndexEntry getEntry(int index); /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ int getEntryCount(); /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ java.util.List getEntryOrBuilderList(); /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ io.prestosql.orc.proto.DwrfProto.RowIndexEntryOrBuilder getEntryOrBuilder( int index); } /** * Protobuf type {@code com.facebook.hive.orc.RowIndex} */ public static final class RowIndex extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.RowIndex) RowIndexOrBuilder { // Use RowIndex.newBuilder() to construct. private RowIndex(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RowIndex() { entry_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RowIndex( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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(io.prestosql.orc.proto.DwrfProto.RowIndexEntry.PARSER, extensionRegistry)); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = java.util.Collections.unmodifiableList(entry_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_RowIndex_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_RowIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.RowIndex.class, io.prestosql.orc.proto.DwrfProto.RowIndex.Builder.class); } public static final int ENTRY_FIELD_NUMBER = 1; private java.util.List entry_; /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public java.util.List getEntryList() { return entry_; } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public java.util.List getEntryOrBuilderList() { return entry_; } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public int getEntryCount() { return entry_.size(); } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public io.prestosql.orc.proto.DwrfProto.RowIndexEntry getEntry(int index) { return entry_.get(index); } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public io.prestosql.orc.proto.DwrfProto.RowIndexEntryOrBuilder getEntryOrBuilder( int index) { return entry_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entry_.size(); i++) { output.writeMessage(1, entry_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < entry_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(1, entry_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.RowIndex)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.RowIndex other = (io.prestosql.orc.proto.DwrfProto.RowIndex) obj; boolean result = true; result = result && getEntryList() .equals(other.getEntryList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getEntryCount() > 0) { hash = (37 * hash) + ENTRY_FIELD_NUMBER; hash = (53 * hash) + getEntryList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.RowIndex parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.RowIndex parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.RowIndex parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.RowIndex parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.RowIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.RowIndex parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.RowIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.RowIndex parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.RowIndex parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.RowIndex parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.RowIndex prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.RowIndex} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.RowIndex) io.prestosql.orc.proto.DwrfProto.RowIndexOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_RowIndex_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_RowIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.RowIndex.class, io.prestosql.orc.proto.DwrfProto.RowIndex.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.RowIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEntryFieldBuilder(); } } public Builder clear() { super.clear(); if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { entryBuilder_.clear(); } return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_RowIndex_descriptor; } public io.prestosql.orc.proto.DwrfProto.RowIndex getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.RowIndex.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.RowIndex build() { io.prestosql.orc.proto.DwrfProto.RowIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.RowIndex buildPartial() { io.prestosql.orc.proto.DwrfProto.RowIndex result = new io.prestosql.orc.proto.DwrfProto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.RowIndex) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.RowIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.RowIndex other) { if (other == io.prestosql.orc.proto.DwrfProto.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.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.RowIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.RowIndex) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.RowIndexEntry, io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder, io.prestosql.orc.proto.DwrfProto.RowIndexEntryOrBuilder> entryBuilder_; /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public java.util.List getEntryList() { if (entryBuilder_ == null) { return java.util.Collections.unmodifiableList(entry_); } else { return entryBuilder_.getMessageList(); } } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public int getEntryCount() { if (entryBuilder_ == null) { return entry_.size(); } else { return entryBuilder_.getCount(); } } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public io.prestosql.orc.proto.DwrfProto.RowIndexEntry getEntry(int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessage(index); } } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public Builder setEntry( int index, io.prestosql.orc.proto.DwrfProto.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 .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public Builder setEntry( int index, io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.set(index, builderForValue.build()); onChanged(); } else { entryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public Builder addEntry(io.prestosql.orc.proto.DwrfProto.RowIndexEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(value); onChanged(); } else { entryBuilder_.addMessage(value); } return this; } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public Builder addEntry( int index, io.prestosql.orc.proto.DwrfProto.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 .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public Builder addEntry( io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public Builder addEntry( int index, io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(index, builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public Builder addAllEntry( java.lang.Iterable values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); } return this; } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entryBuilder_.clear(); } return this; } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public Builder removeEntry(int index) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.remove(index); onChanged(); } else { entryBuilder_.remove(index); } return this; } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder getEntryBuilder( int index) { return getEntryFieldBuilder().getBuilder(index); } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public io.prestosql.orc.proto.DwrfProto.RowIndexEntryOrBuilder getEntryOrBuilder( int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public java.util.List getEntryOrBuilderList() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entry_); } } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder addEntryBuilder() { return getEntryFieldBuilder().addBuilder( io.prestosql.orc.proto.DwrfProto.RowIndexEntry.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder addEntryBuilder( int index) { return getEntryFieldBuilder().addBuilder( index, io.prestosql.orc.proto.DwrfProto.RowIndexEntry.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.RowIndexEntry entry = 1; */ public java.util.List getEntryBuilderList() { return getEntryFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.RowIndexEntry, io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder, io.prestosql.orc.proto.DwrfProto.RowIndexEntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.RowIndexEntry, io.prestosql.orc.proto.DwrfProto.RowIndexEntry.Builder, io.prestosql.orc.proto.DwrfProto.RowIndexEntryOrBuilder>( entry_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.RowIndex) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.RowIndex) private static final io.prestosql.orc.proto.DwrfProto.RowIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.RowIndex(); } public static io.prestosql.orc.proto.DwrfProto.RowIndex getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public RowIndex parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new RowIndex(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.RowIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BloomFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.BloomFilter) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional uint32 numHashFunctions = 1; */ boolean hasNumHashFunctions(); /** * optional uint32 numHashFunctions = 1; */ int getNumHashFunctions(); /** * 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; */ boolean hasUtf8Bitset(); /** * optional bytes utf8bitset = 3; */ io.prestosql.orc.protobuf.ByteString getUtf8Bitset(); } /** * Protobuf type {@code com.facebook.hive.orc.BloomFilter} */ public static final class BloomFilter extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.BloomFilter) BloomFilterOrBuilder { // Use BloomFilter.newBuilder() to construct. private BloomFilter(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BloomFilter() { numHashFunctions_ = 0; bitset_ = java.util.Collections.emptyList(); utf8Bitset_ = io.prestosql.orc.protobuf.ByteString.EMPTY; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BloomFilter( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { bitset_ = java.util.Collections.unmodifiableList(bitset_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BloomFilter_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BloomFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.BloomFilter.class, io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder.class); } private int bitField0_; 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_; } 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); } public static final int UTF8BITSET_FIELD_NUMBER = 3; private io.prestosql.orc.protobuf.ByteString utf8Bitset_; /** * optional bytes utf8bitset = 3; */ public boolean hasUtf8Bitset() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes utf8bitset = 3; */ public io.prestosql.orc.protobuf.ByteString getUtf8Bitset() { return utf8Bitset_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { 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_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(1, numHashFunctions_); } { int dataSize = 0; dataSize = 8 * getBitsetList().size(); size += dataSize; size += 1 * getBitsetList().size(); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeBytesSize(3, utf8Bitset_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.BloomFilter)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.BloomFilter other = (io.prestosql.orc.proto.DwrfProto.BloomFilter) obj; boolean result = true; result = result && (hasNumHashFunctions() == other.hasNumHashFunctions()); if (hasNumHashFunctions()) { result = result && (getNumHashFunctions() == other.getNumHashFunctions()); } result = result && getBitsetList() .equals(other.getBitsetList()); result = result && (hasUtf8Bitset() == other.hasUtf8Bitset()); if (hasUtf8Bitset()) { result = result && getUtf8Bitset() .equals(other.getUtf8Bitset()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNumHashFunctions()) { hash = (37 * hash) + NUMHASHFUNCTIONS_FIELD_NUMBER; hash = (53 * hash) + getNumHashFunctions(); } if (getBitsetCount() > 0) { hash = (37 * hash) + BITSET_FIELD_NUMBER; hash = (53 * hash) + getBitsetList().hashCode(); } if (hasUtf8Bitset()) { hash = (37 * hash) + UTF8BITSET_FIELD_NUMBER; hash = (53 * hash) + getUtf8Bitset().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.BloomFilter parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.BloomFilter parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BloomFilter parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.BloomFilter parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BloomFilter parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BloomFilter parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BloomFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BloomFilter parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BloomFilter parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BloomFilter parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.BloomFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.BloomFilter} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.BloomFilter) io.prestosql.orc.proto.DwrfProto.BloomFilterOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BloomFilter_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BloomFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.BloomFilter.class, io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.BloomFilter.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); numHashFunctions_ = 0; bitField0_ = (bitField0_ & ~0x00000001); bitset_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); utf8Bitset_ = io.prestosql.orc.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BloomFilter_descriptor; } public io.prestosql.orc.proto.DwrfProto.BloomFilter getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.BloomFilter.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.BloomFilter build() { io.prestosql.orc.proto.DwrfProto.BloomFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.BloomFilter buildPartial() { io.prestosql.orc.proto.DwrfProto.BloomFilter result = new io.prestosql.orc.proto.DwrfProto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.BloomFilter) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.BloomFilter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.BloomFilter other) { if (other == io.prestosql.orc.proto.DwrfProto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.BloomFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.BloomFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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; } 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 values) { ensureBitsetIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, bitset_); onChanged(); return this; } /** * repeated fixed64 bitset = 2; */ public Builder clearBitset() { bitset_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private io.prestosql.orc.protobuf.ByteString utf8Bitset_ = io.prestosql.orc.protobuf.ByteString.EMPTY; /** * optional bytes utf8bitset = 3; */ public boolean hasUtf8Bitset() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bytes utf8bitset = 3; */ public io.prestosql.orc.protobuf.ByteString getUtf8Bitset() { return utf8Bitset_; } /** * optional bytes utf8bitset = 3; */ public Builder setUtf8Bitset(io.prestosql.orc.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; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.BloomFilter) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.BloomFilter) private static final io.prestosql.orc.proto.DwrfProto.BloomFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.BloomFilter(); } public static io.prestosql.orc.proto.DwrfProto.BloomFilter getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public BloomFilter parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new BloomFilter(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.BloomFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BloomFilterIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.BloomFilterIndex) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ java.util.List getBloomFilterList(); /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ io.prestosql.orc.proto.DwrfProto.BloomFilter getBloomFilter(int index); /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ int getBloomFilterCount(); /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ java.util.List getBloomFilterOrBuilderList(); /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ io.prestosql.orc.proto.DwrfProto.BloomFilterOrBuilder getBloomFilterOrBuilder( int index); } /** * Protobuf type {@code com.facebook.hive.orc.BloomFilterIndex} */ public static final class BloomFilterIndex extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.BloomFilterIndex) BloomFilterIndexOrBuilder { // Use BloomFilterIndex.newBuilder() to construct. private BloomFilterIndex(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BloomFilterIndex() { bloomFilter_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BloomFilterIndex( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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(io.prestosql.orc.proto.DwrfProto.BloomFilter.PARSER, extensionRegistry)); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { bloomFilter_ = java.util.Collections.unmodifiableList(bloomFilter_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BloomFilterIndex_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BloomFilterIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.BloomFilterIndex.class, io.prestosql.orc.proto.DwrfProto.BloomFilterIndex.Builder.class); } public static final int BLOOMFILTER_FIELD_NUMBER = 1; private java.util.List bloomFilter_; /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterList() { return bloomFilter_; } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterOrBuilderList() { return bloomFilter_; } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public int getBloomFilterCount() { return bloomFilter_.size(); } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public io.prestosql.orc.proto.DwrfProto.BloomFilter getBloomFilter(int index) { return bloomFilter_.get(index); } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public io.prestosql.orc.proto.DwrfProto.BloomFilterOrBuilder getBloomFilterOrBuilder( int index) { return bloomFilter_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < bloomFilter_.size(); i++) { output.writeMessage(1, bloomFilter_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < bloomFilter_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(1, bloomFilter_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.BloomFilterIndex)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.BloomFilterIndex other = (io.prestosql.orc.proto.DwrfProto.BloomFilterIndex) obj; boolean result = true; result = result && getBloomFilterList() .equals(other.getBloomFilterList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getBloomFilterCount() > 0) { hash = (37 * hash) + BLOOMFILTER_FIELD_NUMBER; hash = (53 * hash) + getBloomFilterList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.BloomFilterIndex prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.BloomFilterIndex} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.BloomFilterIndex) io.prestosql.orc.proto.DwrfProto.BloomFilterIndexOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BloomFilterIndex_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BloomFilterIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.BloomFilterIndex.class, io.prestosql.orc.proto.DwrfProto.BloomFilterIndex.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.BloomFilterIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBloomFilterFieldBuilder(); } } public Builder clear() { super.clear(); if (bloomFilterBuilder_ == null) { bloomFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { bloomFilterBuilder_.clear(); } return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_BloomFilterIndex_descriptor; } public io.prestosql.orc.proto.DwrfProto.BloomFilterIndex getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.BloomFilterIndex.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.BloomFilterIndex build() { io.prestosql.orc.proto.DwrfProto.BloomFilterIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.BloomFilterIndex buildPartial() { io.prestosql.orc.proto.DwrfProto.BloomFilterIndex result = new io.prestosql.orc.proto.DwrfProto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.BloomFilterIndex) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.BloomFilterIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.BloomFilterIndex other) { if (other == io.prestosql.orc.proto.DwrfProto.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.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBloomFilterFieldBuilder() : null; } else { bloomFilterBuilder_.addAllMessages(other.bloomFilter_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.BloomFilterIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.BloomFilterIndex) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.BloomFilter, io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder, io.prestosql.orc.proto.DwrfProto.BloomFilterOrBuilder> bloomFilterBuilder_; /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterList() { if (bloomFilterBuilder_ == null) { return java.util.Collections.unmodifiableList(bloomFilter_); } else { return bloomFilterBuilder_.getMessageList(); } } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public int getBloomFilterCount() { if (bloomFilterBuilder_ == null) { return bloomFilter_.size(); } else { return bloomFilterBuilder_.getCount(); } } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public io.prestosql.orc.proto.DwrfProto.BloomFilter getBloomFilter(int index) { if (bloomFilterBuilder_ == null) { return bloomFilter_.get(index); } else { return bloomFilterBuilder_.getMessage(index); } } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public Builder setBloomFilter( int index, io.prestosql.orc.proto.DwrfProto.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 .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public Builder setBloomFilter( int index, io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder builderForValue) { if (bloomFilterBuilder_ == null) { ensureBloomFilterIsMutable(); bloomFilter_.set(index, builderForValue.build()); onChanged(); } else { bloomFilterBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public Builder addBloomFilter(io.prestosql.orc.proto.DwrfProto.BloomFilter value) { if (bloomFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBloomFilterIsMutable(); bloomFilter_.add(value); onChanged(); } else { bloomFilterBuilder_.addMessage(value); } return this; } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public Builder addBloomFilter( int index, io.prestosql.orc.proto.DwrfProto.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 .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public Builder addBloomFilter( io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder builderForValue) { if (bloomFilterBuilder_ == null) { ensureBloomFilterIsMutable(); bloomFilter_.add(builderForValue.build()); onChanged(); } else { bloomFilterBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public Builder addBloomFilter( int index, io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder builderForValue) { if (bloomFilterBuilder_ == null) { ensureBloomFilterIsMutable(); bloomFilter_.add(index, builderForValue.build()); onChanged(); } else { bloomFilterBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public Builder addAllBloomFilter( java.lang.Iterable values) { if (bloomFilterBuilder_ == null) { ensureBloomFilterIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, bloomFilter_); onChanged(); } else { bloomFilterBuilder_.addAllMessages(values); } return this; } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public Builder clearBloomFilter() { if (bloomFilterBuilder_ == null) { bloomFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { bloomFilterBuilder_.clear(); } return this; } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public Builder removeBloomFilter(int index) { if (bloomFilterBuilder_ == null) { ensureBloomFilterIsMutable(); bloomFilter_.remove(index); onChanged(); } else { bloomFilterBuilder_.remove(index); } return this; } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder getBloomFilterBuilder( int index) { return getBloomFilterFieldBuilder().getBuilder(index); } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public io.prestosql.orc.proto.DwrfProto.BloomFilterOrBuilder getBloomFilterOrBuilder( int index) { if (bloomFilterBuilder_ == null) { return bloomFilter_.get(index); } else { return bloomFilterBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterOrBuilderList() { if (bloomFilterBuilder_ != null) { return bloomFilterBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(bloomFilter_); } } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder addBloomFilterBuilder() { return getBloomFilterFieldBuilder().addBuilder( io.prestosql.orc.proto.DwrfProto.BloomFilter.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder addBloomFilterBuilder( int index) { return getBloomFilterFieldBuilder().addBuilder( index, io.prestosql.orc.proto.DwrfProto.BloomFilter.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterBuilderList() { return getBloomFilterFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.BloomFilter, io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder, io.prestosql.orc.proto.DwrfProto.BloomFilterOrBuilder> getBloomFilterFieldBuilder() { if (bloomFilterBuilder_ == null) { bloomFilterBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.BloomFilter, io.prestosql.orc.proto.DwrfProto.BloomFilter.Builder, io.prestosql.orc.proto.DwrfProto.BloomFilterOrBuilder>( bloomFilter_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); bloomFilter_ = null; } return bloomFilterBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.BloomFilterIndex) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.BloomFilterIndex) private static final io.prestosql.orc.proto.DwrfProto.BloomFilterIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.BloomFilterIndex(); } public static io.prestosql.orc.proto.DwrfProto.BloomFilterIndex getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public BloomFilterIndex parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new BloomFilterIndex(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.BloomFilterIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StreamOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.Stream) io.prestosql.orc.protobuf.MessageOrBuilder { /** * required .com.facebook.hive.orc.Stream.Kind kind = 1; */ boolean hasKind(); /** * required .com.facebook.hive.orc.Stream.Kind kind = 1; */ io.prestosql.orc.proto.DwrfProto.Stream.Kind getKind(); /** * optional uint32 column = 2; */ boolean hasColumn(); /** * optional uint32 column = 2; */ int getColumn(); /** * optional uint64 length = 3; */ boolean hasLength(); /** * optional uint64 length = 3; */ long getLength(); /** * optional bool useVInts = 4 [default = true]; */ boolean hasUseVInts(); /** * optional bool useVInts = 4 [default = true]; */ boolean getUseVInts(); /** * optional uint32 sequence = 6; */ boolean hasSequence(); /** * optional uint32 sequence = 6; */ int getSequence(); } /** * Protobuf type {@code com.facebook.hive.orc.Stream} */ public static final class Stream extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.Stream) StreamOrBuilder { // Use Stream.newBuilder() to construct. private Stream(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Stream() { kind_ = 0; column_ = 0; length_ = 0L; useVInts_ = true; sequence_ = 0; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Stream( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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(); io.prestosql.orc.proto.DwrfProto.Stream.Kind value = io.prestosql.orc.proto.DwrfProto.Stream.Kind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; kind_ = rawValue; } break; } case 16: { bitField0_ |= 0x00000002; column_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; length_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; useVInts_ = input.readBool(); break; } case 48: { bitField0_ |= 0x00000010; sequence_ = input.readUInt32(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Stream_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.Stream.class, io.prestosql.orc.proto.DwrfProto.Stream.Builder.class); } /** *
     * 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
     * 
* * Protobuf enum {@code com.facebook.hive.orc.Stream.Kind} */ public enum Kind implements io.prestosql.orc.protobuf.ProtocolMessageEnum { /** * PRESENT = 0; */ PRESENT(0), /** * DATA = 1; */ DATA(1), /** * LENGTH = 2; */ LENGTH(2), /** * DICTIONARY_DATA = 3; */ DICTIONARY_DATA(3), /** * DICTIONARY_COUNT = 4; */ DICTIONARY_COUNT(4), /** * NANO_DATA = 5; */ NANO_DATA(5), /** * ROW_INDEX = 6; */ ROW_INDEX(6), /** * IN_DICTIONARY = 7; */ IN_DICTIONARY(7), /** * STRIDE_DICTIONARY = 8; */ STRIDE_DICTIONARY(8), /** * STRIDE_DICTIONARY_LENGTH = 9; */ STRIDE_DICTIONARY_LENGTH(9), /** * BLOOM_FILTER_UTF8 = 10; */ BLOOM_FILTER_UTF8(10), /** * IN_MAP = 11; */ IN_MAP(11), ; /** * 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; /** * NANO_DATA = 5; */ public static final int NANO_DATA_VALUE = 5; /** * ROW_INDEX = 6; */ public static final int ROW_INDEX_VALUE = 6; /** * IN_DICTIONARY = 7; */ public static final int IN_DICTIONARY_VALUE = 7; /** * STRIDE_DICTIONARY = 8; */ public static final int STRIDE_DICTIONARY_VALUE = 8; /** * STRIDE_DICTIONARY_LENGTH = 9; */ public static final int STRIDE_DICTIONARY_LENGTH_VALUE = 9; /** * BLOOM_FILTER_UTF8 = 10; */ public static final int BLOOM_FILTER_UTF8_VALUE = 10; /** * IN_MAP = 11; */ public static final int IN_MAP_VALUE = 11; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Kind valueOf(int value) { return forNumber(value); } public static Kind forNumber(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 NANO_DATA; case 6: return ROW_INDEX; case 7: return IN_DICTIONARY; case 8: return STRIDE_DICTIONARY; case 9: return STRIDE_DICTIONARY_LENGTH; case 10: return BLOOM_FILTER_UTF8; case 11: return IN_MAP; default: return null; } } public static io.prestosql.orc.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final io.prestosql.orc.protobuf.Internal.EnumLiteMap< Kind> internalValueMap = new io.prestosql.orc.protobuf.Internal.EnumLiteMap() { public Kind findValueByNumber(int number) { return Kind.forNumber(number); } }; public final io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.Stream.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); public static Kind valueOf( io.prestosql.orc.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 value; private Kind(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:com.facebook.hive.orc.Stream.Kind) } private int bitField0_; public static final int KIND_FIELD_NUMBER = 1; private int kind_; /** * required .com.facebook.hive.orc.Stream.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.facebook.hive.orc.Stream.Kind kind = 1; */ public io.prestosql.orc.proto.DwrfProto.Stream.Kind getKind() { io.prestosql.orc.proto.DwrfProto.Stream.Kind result = io.prestosql.orc.proto.DwrfProto.Stream.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.DwrfProto.Stream.Kind.PRESENT : result; } 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_; } 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_; } public static final int USEVINTS_FIELD_NUMBER = 4; private boolean useVInts_; /** * optional bool useVInts = 4 [default = true]; */ public boolean hasUseVInts() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool useVInts = 4 [default = true]; */ public boolean getUseVInts() { return useVInts_; } public static final int SEQUENCE_FIELD_NUMBER = 6; private int sequence_; /** * optional uint32 sequence = 6; */ public boolean hasSequence() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint32 sequence = 6; */ public int getSequence() { return sequence_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasKind()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, kind_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, column_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, length_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeBool(4, useVInts_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(6, sequence_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(1, kind_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(2, column_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(3, length_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeBoolSize(4, useVInts_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(6, sequence_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.Stream)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.Stream other = (io.prestosql.orc.proto.DwrfProto.Stream) obj; boolean result = true; result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && kind_ == other.kind_; } result = result && (hasColumn() == other.hasColumn()); if (hasColumn()) { result = result && (getColumn() == other.getColumn()); } result = result && (hasLength() == other.hasLength()); if (hasLength()) { result = result && (getLength() == other.getLength()); } result = result && (hasUseVInts() == other.hasUseVInts()); if (hasUseVInts()) { result = result && (getUseVInts() == other.getUseVInts()); } result = result && (hasSequence() == other.hasSequence()); if (hasSequence()) { result = result && (getSequence() == other.getSequence()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + kind_; } if (hasColumn()) { hash = (37 * hash) + COLUMN_FIELD_NUMBER; hash = (53 * hash) + getColumn(); } if (hasLength()) { hash = (37 * hash) + LENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getLength()); } if (hasUseVInts()) { hash = (37 * hash) + USEVINTS_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashBoolean( getUseVInts()); } if (hasSequence()) { hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + getSequence(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.Stream parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.Stream parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Stream parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.Stream parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Stream parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.Stream parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Stream parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.Stream parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Stream parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.Stream parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.Stream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.Stream} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.Stream) io.prestosql.orc.proto.DwrfProto.StreamOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Stream_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.Stream.class, io.prestosql.orc.proto.DwrfProto.Stream.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.Stream.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); kind_ = 0; bitField0_ = (bitField0_ & ~0x00000001); column_ = 0; bitField0_ = (bitField0_ & ~0x00000002); length_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); useVInts_ = true; bitField0_ = (bitField0_ & ~0x00000008); sequence_ = 0; bitField0_ = (bitField0_ & ~0x00000010); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Stream_descriptor; } public io.prestosql.orc.proto.DwrfProto.Stream getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.Stream.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.Stream build() { io.prestosql.orc.proto.DwrfProto.Stream result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.Stream buildPartial() { io.prestosql.orc.proto.DwrfProto.Stream result = new io.prestosql.orc.proto.DwrfProto.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_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.useVInts_ = useVInts_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.sequence_ = sequence_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.Stream) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.Stream)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.Stream other) { if (other == io.prestosql.orc.proto.DwrfProto.Stream.getDefaultInstance()) return this; if (other.hasKind()) { setKind(other.getKind()); } if (other.hasColumn()) { setColumn(other.getColumn()); } if (other.hasLength()) { setLength(other.getLength()); } if (other.hasUseVInts()) { setUseVInts(other.getUseVInts()); } if (other.hasSequence()) { setSequence(other.getSequence()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasKind()) { return false; } return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.Stream parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.Stream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int kind_ = 0; /** * required .com.facebook.hive.orc.Stream.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.facebook.hive.orc.Stream.Kind kind = 1; */ public io.prestosql.orc.proto.DwrfProto.Stream.Kind getKind() { io.prestosql.orc.proto.DwrfProto.Stream.Kind result = io.prestosql.orc.proto.DwrfProto.Stream.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.DwrfProto.Stream.Kind.PRESENT : result; } /** * required .com.facebook.hive.orc.Stream.Kind kind = 1; */ public Builder setKind(io.prestosql.orc.proto.DwrfProto.Stream.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value.getNumber(); onChanged(); return this; } /** * required .com.facebook.hive.orc.Stream.Kind kind = 1; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = 0; onChanged(); return this; } 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; } 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; } private boolean useVInts_ = true; /** * optional bool useVInts = 4 [default = true]; */ public boolean hasUseVInts() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional bool useVInts = 4 [default = true]; */ public boolean getUseVInts() { return useVInts_; } /** * optional bool useVInts = 4 [default = true]; */ public Builder setUseVInts(boolean value) { bitField0_ |= 0x00000008; useVInts_ = value; onChanged(); return this; } /** * optional bool useVInts = 4 [default = true]; */ public Builder clearUseVInts() { bitField0_ = (bitField0_ & ~0x00000008); useVInts_ = true; onChanged(); return this; } private int sequence_ ; /** * optional uint32 sequence = 6; */ public boolean hasSequence() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint32 sequence = 6; */ public int getSequence() { return sequence_; } /** * optional uint32 sequence = 6; */ public Builder setSequence(int value) { bitField0_ |= 0x00000010; sequence_ = value; onChanged(); return this; } /** * optional uint32 sequence = 6; */ public Builder clearSequence() { bitField0_ = (bitField0_ & ~0x00000010); sequence_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.Stream) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.Stream) private static final io.prestosql.orc.proto.DwrfProto.Stream DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.Stream(); } public static io.prestosql.orc.proto.DwrfProto.Stream getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public Stream parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new Stream(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.Stream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface KeyInfoOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.KeyInfo) io.prestosql.orc.protobuf.MessageOrBuilder { /** *
     * this covers all width of integers including byte, short, int and long
     * 
* * optional int64 intKey = 1; */ boolean hasIntKey(); /** *
     * this covers all width of integers including byte, short, int and long
     * 
* * optional int64 intKey = 1; */ long getIntKey(); /** *
     * this covers binary key or utf8 string
     * 
* * optional bytes bytesKey = 2; */ boolean hasBytesKey(); /** *
     * this covers binary key or utf8 string
     * 
* * optional bytes bytesKey = 2; */ io.prestosql.orc.protobuf.ByteString getBytesKey(); } /** * Protobuf type {@code com.facebook.hive.orc.KeyInfo} */ public static final class KeyInfo extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.KeyInfo) KeyInfoOrBuilder { // Use KeyInfo.newBuilder() to construct. private KeyInfo(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private KeyInfo() { intKey_ = 0L; bytesKey_ = io.prestosql.orc.protobuf.ByteString.EMPTY; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private KeyInfo( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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; intKey_ = input.readInt64(); break; } case 18: { bitField0_ |= 0x00000002; bytesKey_ = input.readBytes(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_KeyInfo_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_KeyInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.KeyInfo.class, io.prestosql.orc.proto.DwrfProto.KeyInfo.Builder.class); } private int bitField0_; public static final int INTKEY_FIELD_NUMBER = 1; private long intKey_; /** *
     * this covers all width of integers including byte, short, int and long
     * 
* * optional int64 intKey = 1; */ public boolean hasIntKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * this covers all width of integers including byte, short, int and long
     * 
* * optional int64 intKey = 1; */ public long getIntKey() { return intKey_; } public static final int BYTESKEY_FIELD_NUMBER = 2; private io.prestosql.orc.protobuf.ByteString bytesKey_; /** *
     * this covers binary key or utf8 string
     * 
* * optional bytes bytesKey = 2; */ public boolean hasBytesKey() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
     * this covers binary key or utf8 string
     * 
* * optional bytes bytesKey = 2; */ public io.prestosql.orc.protobuf.ByteString getBytesKey() { return bytesKey_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeInt64(1, intKey_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, bytesKey_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeInt64Size(1, intKey_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeBytesSize(2, bytesKey_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.KeyInfo)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.KeyInfo other = (io.prestosql.orc.proto.DwrfProto.KeyInfo) obj; boolean result = true; result = result && (hasIntKey() == other.hasIntKey()); if (hasIntKey()) { result = result && (getIntKey() == other.getIntKey()); } result = result && (hasBytesKey() == other.hasBytesKey()); if (hasBytesKey()) { result = result && getBytesKey() .equals(other.getBytesKey()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasIntKey()) { hash = (37 * hash) + INTKEY_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getIntKey()); } if (hasBytesKey()) { hash = (37 * hash) + BYTESKEY_FIELD_NUMBER; hash = (53 * hash) + getBytesKey().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.KeyInfo parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.KeyInfo parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.KeyInfo parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.KeyInfo parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.KeyInfo parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.KeyInfo parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.KeyInfo parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.KeyInfo parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.KeyInfo parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.KeyInfo parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.KeyInfo prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.KeyInfo} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.KeyInfo) io.prestosql.orc.proto.DwrfProto.KeyInfoOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_KeyInfo_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_KeyInfo_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.KeyInfo.class, io.prestosql.orc.proto.DwrfProto.KeyInfo.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.KeyInfo.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); intKey_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); bytesKey_ = io.prestosql.orc.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_KeyInfo_descriptor; } public io.prestosql.orc.proto.DwrfProto.KeyInfo getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.KeyInfo.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.KeyInfo build() { io.prestosql.orc.proto.DwrfProto.KeyInfo result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.KeyInfo buildPartial() { io.prestosql.orc.proto.DwrfProto.KeyInfo result = new io.prestosql.orc.proto.DwrfProto.KeyInfo(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.intKey_ = intKey_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.bytesKey_ = bytesKey_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.KeyInfo) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.KeyInfo)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.KeyInfo other) { if (other == io.prestosql.orc.proto.DwrfProto.KeyInfo.getDefaultInstance()) return this; if (other.hasIntKey()) { setIntKey(other.getIntKey()); } if (other.hasBytesKey()) { setBytesKey(other.getBytesKey()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.KeyInfo parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.KeyInfo) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long intKey_ ; /** *
       * this covers all width of integers including byte, short, int and long
       * 
* * optional int64 intKey = 1; */ public boolean hasIntKey() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * this covers all width of integers including byte, short, int and long
       * 
* * optional int64 intKey = 1; */ public long getIntKey() { return intKey_; } /** *
       * this covers all width of integers including byte, short, int and long
       * 
* * optional int64 intKey = 1; */ public Builder setIntKey(long value) { bitField0_ |= 0x00000001; intKey_ = value; onChanged(); return this; } /** *
       * this covers all width of integers including byte, short, int and long
       * 
* * optional int64 intKey = 1; */ public Builder clearIntKey() { bitField0_ = (bitField0_ & ~0x00000001); intKey_ = 0L; onChanged(); return this; } private io.prestosql.orc.protobuf.ByteString bytesKey_ = io.prestosql.orc.protobuf.ByteString.EMPTY; /** *
       * this covers binary key or utf8 string
       * 
* * optional bytes bytesKey = 2; */ public boolean hasBytesKey() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** *
       * this covers binary key or utf8 string
       * 
* * optional bytes bytesKey = 2; */ public io.prestosql.orc.protobuf.ByteString getBytesKey() { return bytesKey_; } /** *
       * this covers binary key or utf8 string
       * 
* * optional bytes bytesKey = 2; */ public Builder setBytesKey(io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; bytesKey_ = value; onChanged(); return this; } /** *
       * this covers binary key or utf8 string
       * 
* * optional bytes bytesKey = 2; */ public Builder clearBytesKey() { bitField0_ = (bitField0_ & ~0x00000002); bytesKey_ = getDefaultInstance().getBytesKey(); onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.KeyInfo) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.KeyInfo) private static final io.prestosql.orc.proto.DwrfProto.KeyInfo DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.KeyInfo(); } public static io.prestosql.orc.proto.DwrfProto.KeyInfo getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public KeyInfo parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new KeyInfo(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.KeyInfo getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnEncodingOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.ColumnEncoding) io.prestosql.orc.protobuf.MessageOrBuilder { /** * required .com.facebook.hive.orc.ColumnEncoding.Kind kind = 1; */ boolean hasKind(); /** * required .com.facebook.hive.orc.ColumnEncoding.Kind kind = 1; */ io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind getKind(); /** * optional uint32 dictionarySize = 2; */ boolean hasDictionarySize(); /** * optional uint32 dictionarySize = 2; */ int getDictionarySize(); /** * optional uint32 column = 3; */ boolean hasColumn(); /** * optional uint32 column = 3; */ int getColumn(); /** * optional uint32 sequence = 4; */ boolean hasSequence(); /** * optional uint32 sequence = 4; */ int getSequence(); /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ boolean hasKey(); /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ io.prestosql.orc.proto.DwrfProto.KeyInfo getKey(); /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ io.prestosql.orc.proto.DwrfProto.KeyInfoOrBuilder getKeyOrBuilder(); } /** * Protobuf type {@code com.facebook.hive.orc.ColumnEncoding} */ public static final class ColumnEncoding extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.ColumnEncoding) ColumnEncodingOrBuilder { // Use ColumnEncoding.newBuilder() to construct. private ColumnEncoding(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnEncoding() { kind_ = 0; dictionarySize_ = 0; column_ = 0; sequence_ = 0; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnEncoding( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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(); io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind value = io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; kind_ = rawValue; } break; } case 16: { bitField0_ |= 0x00000002; dictionarySize_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; column_ = input.readUInt32(); break; } case 32: { bitField0_ |= 0x00000008; sequence_ = input.readUInt32(); break; } case 42: { io.prestosql.orc.proto.DwrfProto.KeyInfo.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = key_.toBuilder(); } key_ = input.readMessage(io.prestosql.orc.proto.DwrfProto.KeyInfo.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(key_); key_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_ColumnEncoding_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_ColumnEncoding_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.ColumnEncoding.class, io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder.class); } /** * Protobuf enum {@code com.facebook.hive.orc.ColumnEncoding.Kind} */ public enum Kind implements io.prestosql.orc.protobuf.ProtocolMessageEnum { /** * DIRECT = 0; */ DIRECT(0), /** * DICTIONARY = 1; */ DICTIONARY(1), /** * DIRECT_V2 = 2; */ DIRECT_V2(2), /** * DICTIONARY_V2 = 3; */ DICTIONARY_V2(3), /** * MAP_FLAT = 4; */ MAP_FLAT(4), ; /** * 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; /** * MAP_FLAT = 4; */ public static final int MAP_FLAT_VALUE = 4; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Kind valueOf(int value) { return forNumber(value); } public static Kind forNumber(int value) { switch (value) { case 0: return DIRECT; case 1: return DICTIONARY; case 2: return DIRECT_V2; case 3: return DICTIONARY_V2; case 4: return MAP_FLAT; default: return null; } } public static io.prestosql.orc.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final io.prestosql.orc.protobuf.Internal.EnumLiteMap< Kind> internalValueMap = new io.prestosql.orc.protobuf.Internal.EnumLiteMap() { public Kind findValueByNumber(int number) { return Kind.forNumber(number); } }; public final io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.ColumnEncoding.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); public static Kind valueOf( io.prestosql.orc.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 value; private Kind(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:com.facebook.hive.orc.ColumnEncoding.Kind) } private int bitField0_; public static final int KIND_FIELD_NUMBER = 1; private int kind_; /** * required .com.facebook.hive.orc.ColumnEncoding.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.facebook.hive.orc.ColumnEncoding.Kind kind = 1; */ public io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind getKind() { io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind result = io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind.DIRECT : result; } 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_; } public static final int COLUMN_FIELD_NUMBER = 3; private int column_; /** * optional uint32 column = 3; */ public boolean hasColumn() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint32 column = 3; */ public int getColumn() { return column_; } public static final int SEQUENCE_FIELD_NUMBER = 4; private int sequence_; /** * optional uint32 sequence = 4; */ public boolean hasSequence() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 sequence = 4; */ public int getSequence() { return sequence_; } public static final int KEY_FIELD_NUMBER = 5; private io.prestosql.orc.proto.DwrfProto.KeyInfo key_; /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public boolean hasKey() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public io.prestosql.orc.proto.DwrfProto.KeyInfo getKey() { return key_ == null ? io.prestosql.orc.proto.DwrfProto.KeyInfo.getDefaultInstance() : key_; } /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public io.prestosql.orc.proto.DwrfProto.KeyInfoOrBuilder getKeyOrBuilder() { return key_ == null ? io.prestosql.orc.proto.DwrfProto.KeyInfo.getDefaultInstance() : key_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasKind()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, kind_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, dictionarySize_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, column_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, sequence_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, getKey()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(1, kind_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(2, dictionarySize_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(3, column_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(4, sequence_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(5, getKey()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.ColumnEncoding)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.ColumnEncoding other = (io.prestosql.orc.proto.DwrfProto.ColumnEncoding) obj; boolean result = true; result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && kind_ == other.kind_; } result = result && (hasDictionarySize() == other.hasDictionarySize()); if (hasDictionarySize()) { result = result && (getDictionarySize() == other.getDictionarySize()); } result = result && (hasColumn() == other.hasColumn()); if (hasColumn()) { result = result && (getColumn() == other.getColumn()); } result = result && (hasSequence() == other.hasSequence()); if (hasSequence()) { result = result && (getSequence() == other.getSequence()); } result = result && (hasKey() == other.hasKey()); if (hasKey()) { result = result && getKey() .equals(other.getKey()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + kind_; } if (hasDictionarySize()) { hash = (37 * hash) + DICTIONARYSIZE_FIELD_NUMBER; hash = (53 * hash) + getDictionarySize(); } if (hasColumn()) { hash = (37 * hash) + COLUMN_FIELD_NUMBER; hash = (53 * hash) + getColumn(); } if (hasSequence()) { hash = (37 * hash) + SEQUENCE_FIELD_NUMBER; hash = (53 * hash) + getSequence(); } if (hasKey()) { hash = (37 * hash) + KEY_FIELD_NUMBER; hash = (53 * hash) + getKey().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.ColumnEncoding prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.ColumnEncoding} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.ColumnEncoding) io.prestosql.orc.proto.DwrfProto.ColumnEncodingOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_ColumnEncoding_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_ColumnEncoding_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.ColumnEncoding.class, io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.ColumnEncoding.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getKeyFieldBuilder(); } } public Builder clear() { super.clear(); kind_ = 0; bitField0_ = (bitField0_ & ~0x00000001); dictionarySize_ = 0; bitField0_ = (bitField0_ & ~0x00000002); column_ = 0; bitField0_ = (bitField0_ & ~0x00000004); sequence_ = 0; bitField0_ = (bitField0_ & ~0x00000008); if (keyBuilder_ == null) { key_ = null; } else { keyBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_ColumnEncoding_descriptor; } public io.prestosql.orc.proto.DwrfProto.ColumnEncoding getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.ColumnEncoding.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.ColumnEncoding build() { io.prestosql.orc.proto.DwrfProto.ColumnEncoding result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.ColumnEncoding buildPartial() { io.prestosql.orc.proto.DwrfProto.ColumnEncoding result = new io.prestosql.orc.proto.DwrfProto.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.column_ = column_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.sequence_ = sequence_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (keyBuilder_ == null) { result.key_ = key_; } else { result.key_ = keyBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.ColumnEncoding) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.ColumnEncoding)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.ColumnEncoding other) { if (other == io.prestosql.orc.proto.DwrfProto.ColumnEncoding.getDefaultInstance()) return this; if (other.hasKind()) { setKind(other.getKind()); } if (other.hasDictionarySize()) { setDictionarySize(other.getDictionarySize()); } if (other.hasColumn()) { setColumn(other.getColumn()); } if (other.hasSequence()) { setSequence(other.getSequence()); } if (other.hasKey()) { mergeKey(other.getKey()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasKind()) { return false; } return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.ColumnEncoding parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.ColumnEncoding) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int kind_ = 0; /** * required .com.facebook.hive.orc.ColumnEncoding.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.facebook.hive.orc.ColumnEncoding.Kind kind = 1; */ public io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind getKind() { io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind result = io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind.DIRECT : result; } /** * required .com.facebook.hive.orc.ColumnEncoding.Kind kind = 1; */ public Builder setKind(io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value.getNumber(); onChanged(); return this; } /** * required .com.facebook.hive.orc.ColumnEncoding.Kind kind = 1; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = 0; onChanged(); return this; } 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; } private int column_ ; /** * optional uint32 column = 3; */ public boolean hasColumn() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint32 column = 3; */ public int getColumn() { return column_; } /** * optional uint32 column = 3; */ public Builder setColumn(int value) { bitField0_ |= 0x00000004; column_ = value; onChanged(); return this; } /** * optional uint32 column = 3; */ public Builder clearColumn() { bitField0_ = (bitField0_ & ~0x00000004); column_ = 0; onChanged(); return this; } private int sequence_ ; /** * optional uint32 sequence = 4; */ public boolean hasSequence() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 sequence = 4; */ public int getSequence() { return sequence_; } /** * optional uint32 sequence = 4; */ public Builder setSequence(int value) { bitField0_ |= 0x00000008; sequence_ = value; onChanged(); return this; } /** * optional uint32 sequence = 4; */ public Builder clearSequence() { bitField0_ = (bitField0_ & ~0x00000008); sequence_ = 0; onChanged(); return this; } private io.prestosql.orc.proto.DwrfProto.KeyInfo key_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.KeyInfo, io.prestosql.orc.proto.DwrfProto.KeyInfo.Builder, io.prestosql.orc.proto.DwrfProto.KeyInfoOrBuilder> keyBuilder_; /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public boolean hasKey() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public io.prestosql.orc.proto.DwrfProto.KeyInfo getKey() { if (keyBuilder_ == null) { return key_ == null ? io.prestosql.orc.proto.DwrfProto.KeyInfo.getDefaultInstance() : key_; } else { return keyBuilder_.getMessage(); } } /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public Builder setKey(io.prestosql.orc.proto.DwrfProto.KeyInfo value) { if (keyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } key_ = value; onChanged(); } else { keyBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public Builder setKey( io.prestosql.orc.proto.DwrfProto.KeyInfo.Builder builderForValue) { if (keyBuilder_ == null) { key_ = builderForValue.build(); onChanged(); } else { keyBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public Builder mergeKey(io.prestosql.orc.proto.DwrfProto.KeyInfo value) { if (keyBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && key_ != null && key_ != io.prestosql.orc.proto.DwrfProto.KeyInfo.getDefaultInstance()) { key_ = io.prestosql.orc.proto.DwrfProto.KeyInfo.newBuilder(key_).mergeFrom(value).buildPartial(); } else { key_ = value; } onChanged(); } else { keyBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public Builder clearKey() { if (keyBuilder_ == null) { key_ = null; onChanged(); } else { keyBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public io.prestosql.orc.proto.DwrfProto.KeyInfo.Builder getKeyBuilder() { bitField0_ |= 0x00000010; onChanged(); return getKeyFieldBuilder().getBuilder(); } /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ public io.prestosql.orc.proto.DwrfProto.KeyInfoOrBuilder getKeyOrBuilder() { if (keyBuilder_ != null) { return keyBuilder_.getMessageOrBuilder(); } else { return key_ == null ? io.prestosql.orc.proto.DwrfProto.KeyInfo.getDefaultInstance() : key_; } } /** * optional .com.facebook.hive.orc.KeyInfo key = 5; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.KeyInfo, io.prestosql.orc.proto.DwrfProto.KeyInfo.Builder, io.prestosql.orc.proto.DwrfProto.KeyInfoOrBuilder> getKeyFieldBuilder() { if (keyBuilder_ == null) { keyBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.KeyInfo, io.prestosql.orc.proto.DwrfProto.KeyInfo.Builder, io.prestosql.orc.proto.DwrfProto.KeyInfoOrBuilder>( getKey(), getParentForChildren(), isClean()); key_ = null; } return keyBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.ColumnEncoding) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.ColumnEncoding) private static final io.prestosql.orc.proto.DwrfProto.ColumnEncoding DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.ColumnEncoding(); } public static io.prestosql.orc.proto.DwrfProto.ColumnEncoding getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public ColumnEncoding parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new ColumnEncoding(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.ColumnEncoding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StripeFooterOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.StripeFooter) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ java.util.List getStreamsList(); /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ io.prestosql.orc.proto.DwrfProto.Stream getStreams(int index); /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ int getStreamsCount(); /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ java.util.List getStreamsOrBuilderList(); /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ io.prestosql.orc.proto.DwrfProto.StreamOrBuilder getStreamsOrBuilder( int index); /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ java.util.List getColumnsList(); /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ io.prestosql.orc.proto.DwrfProto.ColumnEncoding getColumns(int index); /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ int getColumnsCount(); /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ java.util.List getColumnsOrBuilderList(); /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ io.prestosql.orc.proto.DwrfProto.ColumnEncodingOrBuilder getColumnsOrBuilder( int index); } /** * Protobuf type {@code com.facebook.hive.orc.StripeFooter} */ public static final class StripeFooter extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.StripeFooter) StripeFooterOrBuilder { // Use StripeFooter.newBuilder() to construct. private StripeFooter(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StripeFooter() { streams_ = java.util.Collections.emptyList(); columns_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StripeFooter( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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(io.prestosql.orc.proto.DwrfProto.Stream.PARSER, extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { columns_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } columns_.add( input.readMessage(io.prestosql.orc.proto.DwrfProto.ColumnEncoding.PARSER, extensionRegistry)); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).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.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StripeFooter_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StripeFooter_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.StripeFooter.class, io.prestosql.orc.proto.DwrfProto.StripeFooter.Builder.class); } public static final int STREAMS_FIELD_NUMBER = 1; private java.util.List streams_; /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public java.util.List getStreamsList() { return streams_; } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public java.util.List getStreamsOrBuilderList() { return streams_; } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public int getStreamsCount() { return streams_.size(); } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public io.prestosql.orc.proto.DwrfProto.Stream getStreams(int index) { return streams_.get(index); } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public io.prestosql.orc.proto.DwrfProto.StreamOrBuilder getStreamsOrBuilder( int index) { return streams_.get(index); } public static final int COLUMNS_FIELD_NUMBER = 2; private java.util.List columns_; /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public java.util.List getColumnsList() { return columns_; } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public java.util.List getColumnsOrBuilderList() { return columns_; } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public int getColumnsCount() { return columns_.size(); } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnEncoding getColumns(int index) { return columns_.get(index); } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnEncodingOrBuilder getColumnsOrBuilder( int index) { return columns_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getStreamsCount(); i++) { if (!getStreams(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getColumnsCount(); i++) { if (!getColumns(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { 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)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < streams_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(1, streams_.get(i)); } for (int i = 0; i < columns_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(2, columns_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.StripeFooter)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.StripeFooter other = (io.prestosql.orc.proto.DwrfProto.StripeFooter) obj; boolean result = true; result = result && getStreamsList() .equals(other.getStreamsList()); result = result && getColumnsList() .equals(other.getColumnsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getStreamsCount() > 0) { hash = (37 * hash) + STREAMS_FIELD_NUMBER; hash = (53 * hash) + getStreamsList().hashCode(); } if (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.StripeFooter parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.StripeFooter parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StripeFooter parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.StripeFooter parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StripeFooter parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.StripeFooter parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StripeFooter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.StripeFooter parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StripeFooter parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.StripeFooter parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.StripeFooter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.StripeFooter} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.StripeFooter) io.prestosql.orc.proto.DwrfProto.StripeFooterOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StripeFooter_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StripeFooter_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.StripeFooter.class, io.prestosql.orc.proto.DwrfProto.StripeFooter.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.StripeFooter.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStreamsFieldBuilder(); getColumnsFieldBuilder(); } } 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(); } return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StripeFooter_descriptor; } public io.prestosql.orc.proto.DwrfProto.StripeFooter getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.StripeFooter.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.StripeFooter build() { io.prestosql.orc.proto.DwrfProto.StripeFooter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.StripeFooter buildPartial() { io.prestosql.orc.proto.DwrfProto.StripeFooter result = new io.prestosql.orc.proto.DwrfProto.StripeFooter(this); int from_bitField0_ = bitField0_; 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(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.StripeFooter) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.StripeFooter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.StripeFooter other) { if (other == io.prestosql.orc.proto.DwrfProto.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.prestosql.orc.protobuf.GeneratedMessageV3.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.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getStreamsCount(); i++) { if (!getStreams(i).isInitialized()) { return false; } } for (int i = 0; i < getColumnsCount(); i++) { if (!getColumns(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.StripeFooter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.StripeFooter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.Stream, io.prestosql.orc.proto.DwrfProto.Stream.Builder, io.prestosql.orc.proto.DwrfProto.StreamOrBuilder> streamsBuilder_; /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public java.util.List getStreamsList() { if (streamsBuilder_ == null) { return java.util.Collections.unmodifiableList(streams_); } else { return streamsBuilder_.getMessageList(); } } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public int getStreamsCount() { if (streamsBuilder_ == null) { return streams_.size(); } else { return streamsBuilder_.getCount(); } } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public io.prestosql.orc.proto.DwrfProto.Stream getStreams(int index) { if (streamsBuilder_ == null) { return streams_.get(index); } else { return streamsBuilder_.getMessage(index); } } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public Builder setStreams( int index, io.prestosql.orc.proto.DwrfProto.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 .com.facebook.hive.orc.Stream streams = 1; */ public Builder setStreams( int index, io.prestosql.orc.proto.DwrfProto.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.set(index, builderForValue.build()); onChanged(); } else { streamsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public Builder addStreams(io.prestosql.orc.proto.DwrfProto.Stream value) { if (streamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStreamsIsMutable(); streams_.add(value); onChanged(); } else { streamsBuilder_.addMessage(value); } return this; } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public Builder addStreams( int index, io.prestosql.orc.proto.DwrfProto.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 .com.facebook.hive.orc.Stream streams = 1; */ public Builder addStreams( io.prestosql.orc.proto.DwrfProto.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.add(builderForValue.build()); onChanged(); } else { streamsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public Builder addStreams( int index, io.prestosql.orc.proto.DwrfProto.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.add(index, builderForValue.build()); onChanged(); } else { streamsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public Builder addAllStreams( java.lang.Iterable values) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, streams_); onChanged(); } else { streamsBuilder_.addAllMessages(values); } return this; } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public Builder clearStreams() { if (streamsBuilder_ == null) { streams_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { streamsBuilder_.clear(); } return this; } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public Builder removeStreams(int index) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.remove(index); onChanged(); } else { streamsBuilder_.remove(index); } return this; } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public io.prestosql.orc.proto.DwrfProto.Stream.Builder getStreamsBuilder( int index) { return getStreamsFieldBuilder().getBuilder(index); } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public io.prestosql.orc.proto.DwrfProto.StreamOrBuilder getStreamsOrBuilder( int index) { if (streamsBuilder_ == null) { return streams_.get(index); } else { return streamsBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public java.util.List getStreamsOrBuilderList() { if (streamsBuilder_ != null) { return streamsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(streams_); } } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public io.prestosql.orc.proto.DwrfProto.Stream.Builder addStreamsBuilder() { return getStreamsFieldBuilder().addBuilder( io.prestosql.orc.proto.DwrfProto.Stream.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public io.prestosql.orc.proto.DwrfProto.Stream.Builder addStreamsBuilder( int index) { return getStreamsFieldBuilder().addBuilder( index, io.prestosql.orc.proto.DwrfProto.Stream.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.Stream streams = 1; */ public java.util.List getStreamsBuilderList() { return getStreamsFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.Stream, io.prestosql.orc.proto.DwrfProto.Stream.Builder, io.prestosql.orc.proto.DwrfProto.StreamOrBuilder> getStreamsFieldBuilder() { if (streamsBuilder_ == null) { streamsBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.Stream, io.prestosql.orc.proto.DwrfProto.Stream.Builder, io.prestosql.orc.proto.DwrfProto.StreamOrBuilder>( streams_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); streams_ = null; } return streamsBuilder_; } 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.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.ColumnEncoding, io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder, io.prestosql.orc.proto.DwrfProto.ColumnEncodingOrBuilder> columnsBuilder_; /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public java.util.List getColumnsList() { if (columnsBuilder_ == null) { return java.util.Collections.unmodifiableList(columns_); } else { return columnsBuilder_.getMessageList(); } } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public int getColumnsCount() { if (columnsBuilder_ == null) { return columns_.size(); } else { return columnsBuilder_.getCount(); } } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnEncoding getColumns(int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessage(index); } } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public Builder setColumns( int index, io.prestosql.orc.proto.DwrfProto.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 .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public Builder setColumns( int index, io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public Builder addColumns(io.prestosql.orc.proto.DwrfProto.ColumnEncoding value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); onChanged(); } else { columnsBuilder_.addMessage(value); } return this; } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public Builder addColumns( int index, io.prestosql.orc.proto.DwrfProto.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 .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public Builder addColumns( io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public Builder addColumns( int index, io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public Builder addAllColumns( java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); } return this; } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public Builder clearColumns() { if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { columnsBuilder_.clear(); } return this; } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.remove(index); onChanged(); } else { columnsBuilder_.remove(index); } return this; } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder getColumnsBuilder( int index) { return getColumnsFieldBuilder().getBuilder(index); } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnEncodingOrBuilder getColumnsOrBuilder( int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public java.util.List getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columns_); } } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder addColumnsBuilder() { return getColumnsFieldBuilder().addBuilder( io.prestosql.orc.proto.DwrfProto.ColumnEncoding.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder().addBuilder( index, io.prestosql.orc.proto.DwrfProto.ColumnEncoding.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.ColumnEncoding columns = 2; */ public java.util.List getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.ColumnEncoding, io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder, io.prestosql.orc.proto.DwrfProto.ColumnEncodingOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { columnsBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.ColumnEncoding, io.prestosql.orc.proto.DwrfProto.ColumnEncoding.Builder, io.prestosql.orc.proto.DwrfProto.ColumnEncodingOrBuilder>( columns_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.StripeFooter) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.StripeFooter) private static final io.prestosql.orc.proto.DwrfProto.StripeFooter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.StripeFooter(); } public static io.prestosql.orc.proto.DwrfProto.StripeFooter getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public StripeFooter parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new StripeFooter(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.StripeFooter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TypeOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.Type) io.prestosql.orc.protobuf.MessageOrBuilder { /** * required .com.facebook.hive.orc.Type.Kind kind = 1; */ boolean hasKind(); /** * required .com.facebook.hive.orc.Type.Kind kind = 1; */ io.prestosql.orc.proto.DwrfProto.Type.Kind getKind(); /** * 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; */ 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.prestosql.orc.protobuf.ByteString getFieldNamesBytes(int index); } /** * Protobuf type {@code com.facebook.hive.orc.Type} */ public static final class Type extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.Type) TypeOrBuilder { // Use Type.newBuilder() to construct. private Type(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Type() { kind_ = 0; subtypes_ = java.util.Collections.emptyList(); fieldNames_ = io.prestosql.orc.protobuf.LazyStringArrayList.EMPTY; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Type( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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(); io.prestosql.orc.proto.DwrfProto.Type.Kind value = io.prestosql.orc.proto.DwrfProto.Type.Kind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; kind_ = rawValue; } 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: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { fieldNames_ = new io.prestosql.orc.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } fieldNames_.add(bs); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { subtypes_ = java.util.Collections.unmodifiableList(subtypes_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { fieldNames_ = fieldNames_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Type_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Type_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.Type.class, io.prestosql.orc.proto.DwrfProto.Type.Builder.class); } /** * Protobuf enum {@code com.facebook.hive.orc.Type.Kind} */ public enum Kind implements io.prestosql.orc.protobuf.ProtocolMessageEnum { /** * BOOLEAN = 0; */ BOOLEAN(0), /** * BYTE = 1; */ BYTE(1), /** * SHORT = 2; */ SHORT(2), /** * INT = 3; */ INT(3), /** * LONG = 4; */ LONG(4), /** * FLOAT = 5; */ FLOAT(5), /** * DOUBLE = 6; */ DOUBLE(6), /** * STRING = 7; */ STRING(7), /** * BINARY = 8; */ BINARY(8), /** * TIMESTAMP = 9; */ TIMESTAMP(9), /** * LIST = 10; */ LIST(10), /** * MAP = 11; */ MAP(11), /** * STRUCT = 12; */ STRUCT(12), /** * UNION = 13; */ UNION(13), ; /** * 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; public final int getNumber() { return value; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Kind valueOf(int value) { return forNumber(value); } public static Kind forNumber(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; default: return null; } } public static io.prestosql.orc.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final io.prestosql.orc.protobuf.Internal.EnumLiteMap< Kind> internalValueMap = new io.prestosql.orc.protobuf.Internal.EnumLiteMap() { public Kind findValueByNumber(int number) { return Kind.forNumber(number); } }; public final io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.Type.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); public static Kind valueOf( io.prestosql.orc.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 value; private Kind(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:com.facebook.hive.orc.Type.Kind) } private int bitField0_; public static final int KIND_FIELD_NUMBER = 1; private int kind_; /** * required .com.facebook.hive.orc.Type.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.facebook.hive.orc.Type.Kind kind = 1; */ public io.prestosql.orc.proto.DwrfProto.Type.Kind getKind() { io.prestosql.orc.proto.DwrfProto.Type.Kind result = io.prestosql.orc.proto.DwrfProto.Type.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.DwrfProto.Type.Kind.BOOLEAN : result; } 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; public static final int FIELDNAMES_FIELD_NUMBER = 3; private io.prestosql.orc.protobuf.LazyStringList fieldNames_; /** * repeated string fieldNames = 3; */ public io.prestosql.orc.protobuf.ProtocolStringList 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.prestosql.orc.protobuf.ByteString getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasKind()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, kind_); } if (getSubtypesList().size() > 0) { output.writeUInt32NoTag(18); output.writeUInt32NoTag(subtypesMemoizedSerializedSize); } for (int i = 0; i < subtypes_.size(); i++) { output.writeUInt32NoTag(subtypes_.get(i)); } for (int i = 0; i < fieldNames_.size(); i++) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 3, fieldNames_.getRaw(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(1, kind_); } { int dataSize = 0; for (int i = 0; i < subtypes_.size(); i++) { dataSize += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32SizeNoTag(subtypes_.get(i)); } size += dataSize; if (!getSubtypesList().isEmpty()) { size += 1; size += io.prestosql.orc.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } subtypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < fieldNames_.size(); i++) { dataSize += computeStringSizeNoTag(fieldNames_.getRaw(i)); } size += dataSize; size += 1 * getFieldNamesList().size(); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.Type)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.Type other = (io.prestosql.orc.proto.DwrfProto.Type) obj; boolean result = true; result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && kind_ == other.kind_; } result = result && getSubtypesList() .equals(other.getSubtypesList()); result = result && getFieldNamesList() .equals(other.getFieldNamesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + kind_; } if (getSubtypesCount() > 0) { hash = (37 * hash) + SUBTYPES_FIELD_NUMBER; hash = (53 * hash) + getSubtypesList().hashCode(); } if (getFieldNamesCount() > 0) { hash = (37 * hash) + FIELDNAMES_FIELD_NUMBER; hash = (53 * hash) + getFieldNamesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.Type parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.Type parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Type parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.Type parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Type parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.Type parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Type parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.Type parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Type parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.Type parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.Type prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.Type} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.Type) io.prestosql.orc.proto.DwrfProto.TypeOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Type_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Type_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.Type.class, io.prestosql.orc.proto.DwrfProto.Type.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.Type.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); kind_ = 0; bitField0_ = (bitField0_ & ~0x00000001); subtypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); fieldNames_ = io.prestosql.orc.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Type_descriptor; } public io.prestosql.orc.proto.DwrfProto.Type getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.Type.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.Type build() { io.prestosql.orc.proto.DwrfProto.Type result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.Type buildPartial() { io.prestosql.orc.proto.DwrfProto.Type result = new io.prestosql.orc.proto.DwrfProto.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_ = fieldNames_.getUnmodifiableView(); bitField0_ = (bitField0_ & ~0x00000004); } result.fieldNames_ = fieldNames_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.Type) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.Type)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.Type other) { if (other == io.prestosql.orc.proto.DwrfProto.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(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasKind()) { return false; } return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.Type parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.Type) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int kind_ = 0; /** * required .com.facebook.hive.orc.Type.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required .com.facebook.hive.orc.Type.Kind kind = 1; */ public io.prestosql.orc.proto.DwrfProto.Type.Kind getKind() { io.prestosql.orc.proto.DwrfProto.Type.Kind result = io.prestosql.orc.proto.DwrfProto.Type.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.DwrfProto.Type.Kind.BOOLEAN : result; } /** * required .com.facebook.hive.orc.Type.Kind kind = 1; */ public Builder setKind(io.prestosql.orc.proto.DwrfProto.Type.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value.getNumber(); onChanged(); return this; } /** * required .com.facebook.hive.orc.Type.Kind kind = 1; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = 0; onChanged(); return this; } 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 values) { ensureSubtypesIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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; } private io.prestosql.orc.protobuf.LazyStringList fieldNames_ = io.prestosql.orc.protobuf.LazyStringArrayList.EMPTY; private void ensureFieldNamesIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { fieldNames_ = new io.prestosql.orc.protobuf.LazyStringArrayList(fieldNames_); bitField0_ |= 0x00000004; } } /** * repeated string fieldNames = 3; */ public io.prestosql.orc.protobuf.ProtocolStringList getFieldNamesList() { return fieldNames_.getUnmodifiableView(); } /** * 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.prestosql.orc.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, fieldNames_); onChanged(); return this; } /** * repeated string fieldNames = 3; */ public Builder clearFieldNames() { fieldNames_ = io.prestosql.orc.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * repeated string fieldNames = 3; */ public Builder addFieldNamesBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.Type) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.Type) private static final io.prestosql.orc.proto.DwrfProto.Type DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.Type(); } public static io.prestosql.orc.proto.DwrfProto.Type getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public Type parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new Type(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.Type getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StripeInformationOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.StripeInformation) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional uint64 offset = 1; */ boolean hasOffset(); /** * optional uint64 offset = 1; */ long getOffset(); /** * optional uint64 indexLength = 2; */ boolean hasIndexLength(); /** * optional uint64 indexLength = 2; */ long getIndexLength(); /** * optional uint64 dataLength = 3; */ boolean hasDataLength(); /** * optional uint64 dataLength = 3; */ long getDataLength(); /** * optional uint64 footerLength = 4; */ boolean hasFooterLength(); /** * optional uint64 footerLength = 4; */ long getFooterLength(); /** * optional uint64 numberOfRows = 5; */ boolean hasNumberOfRows(); /** * optional uint64 numberOfRows = 5; */ long getNumberOfRows(); /** * optional uint64 rawDataSize = 6; */ boolean hasRawDataSize(); /** * optional uint64 rawDataSize = 6; */ long getRawDataSize(); } /** * Protobuf type {@code com.facebook.hive.orc.StripeInformation} */ public static final class StripeInformation extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.StripeInformation) StripeInformationOrBuilder { // Use StripeInformation.newBuilder() to construct. private StripeInformation(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StripeInformation() { offset_ = 0L; indexLength_ = 0L; dataLength_ = 0L; footerLength_ = 0L; numberOfRows_ = 0L; rawDataSize_ = 0L; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StripeInformation( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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; } case 48: { bitField0_ |= 0x00000020; rawDataSize_ = input.readUInt64(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StripeInformation_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StripeInformation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.StripeInformation.class, io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder.class); } private int bitField0_; 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_; } 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_; } 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_; } 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_; } 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_; } public static final int RAWDATASIZE_FIELD_NUMBER = 6; private long rawDataSize_; /** * optional uint64 rawDataSize = 6; */ public boolean hasRawDataSize() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint64 rawDataSize = 6; */ public long getRawDataSize() { return rawDataSize_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { 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_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt64(6, rawDataSize_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(1, offset_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(2, indexLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(3, dataLength_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(4, footerLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(5, numberOfRows_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(6, rawDataSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.StripeInformation)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.StripeInformation other = (io.prestosql.orc.proto.DwrfProto.StripeInformation) obj; boolean result = true; result = result && (hasOffset() == other.hasOffset()); if (hasOffset()) { result = result && (getOffset() == other.getOffset()); } result = result && (hasIndexLength() == other.hasIndexLength()); if (hasIndexLength()) { result = result && (getIndexLength() == other.getIndexLength()); } result = result && (hasDataLength() == other.hasDataLength()); if (hasDataLength()) { result = result && (getDataLength() == other.getDataLength()); } result = result && (hasFooterLength() == other.hasFooterLength()); if (hasFooterLength()) { result = result && (getFooterLength() == other.getFooterLength()); } result = result && (hasNumberOfRows() == other.hasNumberOfRows()); if (hasNumberOfRows()) { result = result && (getNumberOfRows() == other.getNumberOfRows()); } result = result && (hasRawDataSize() == other.hasRawDataSize()); if (hasRawDataSize()) { result = result && (getRawDataSize() == other.getRawDataSize()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOffset()) { hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getOffset()); } if (hasIndexLength()) { hash = (37 * hash) + INDEXLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getIndexLength()); } if (hasDataLength()) { hash = (37 * hash) + DATALENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getDataLength()); } if (hasFooterLength()) { hash = (37 * hash) + FOOTERLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getFooterLength()); } if (hasNumberOfRows()) { hash = (37 * hash) + NUMBEROFROWS_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getNumberOfRows()); } if (hasRawDataSize()) { hash = (37 * hash) + RAWDATASIZE_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getRawDataSize()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.StripeInformation parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.StripeInformation parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StripeInformation parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.StripeInformation parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StripeInformation parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.StripeInformation parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StripeInformation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.StripeInformation parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.StripeInformation parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.StripeInformation parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.StripeInformation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.StripeInformation} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.StripeInformation) io.prestosql.orc.proto.DwrfProto.StripeInformationOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StripeInformation_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StripeInformation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.StripeInformation.class, io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.StripeInformation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } 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); rawDataSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_StripeInformation_descriptor; } public io.prestosql.orc.proto.DwrfProto.StripeInformation getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.StripeInformation.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.StripeInformation build() { io.prestosql.orc.proto.DwrfProto.StripeInformation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.StripeInformation buildPartial() { io.prestosql.orc.proto.DwrfProto.StripeInformation result = new io.prestosql.orc.proto.DwrfProto.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_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.rawDataSize_ = rawDataSize_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.StripeInformation) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.StripeInformation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.StripeInformation other) { if (other == io.prestosql.orc.proto.DwrfProto.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()); } if (other.hasRawDataSize()) { setRawDataSize(other.getRawDataSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.StripeInformation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.StripeInformation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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; } 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; } 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; } 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; } 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; } private long rawDataSize_ ; /** * optional uint64 rawDataSize = 6; */ public boolean hasRawDataSize() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint64 rawDataSize = 6; */ public long getRawDataSize() { return rawDataSize_; } /** * optional uint64 rawDataSize = 6; */ public Builder setRawDataSize(long value) { bitField0_ |= 0x00000020; rawDataSize_ = value; onChanged(); return this; } /** * optional uint64 rawDataSize = 6; */ public Builder clearRawDataSize() { bitField0_ = (bitField0_ & ~0x00000020); rawDataSize_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.StripeInformation) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.StripeInformation) private static final io.prestosql.orc.proto.DwrfProto.StripeInformation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.StripeInformation(); } public static io.prestosql.orc.proto.DwrfProto.StripeInformation getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public StripeInformation parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new StripeInformation(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.StripeInformation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UserMetadataItemOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.UserMetadataItem) io.prestosql.orc.protobuf.MessageOrBuilder { /** * required string name = 1; */ boolean hasName(); /** * required string name = 1; */ java.lang.String getName(); /** * required string name = 1; */ io.prestosql.orc.protobuf.ByteString getNameBytes(); /** * required bytes value = 2; */ boolean hasValue(); /** * required bytes value = 2; */ io.prestosql.orc.protobuf.ByteString getValue(); } /** * Protobuf type {@code com.facebook.hive.orc.UserMetadataItem} */ public static final class UserMetadataItem extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.UserMetadataItem) UserMetadataItemOrBuilder { // Use UserMetadataItem.newBuilder() to construct. private UserMetadataItem(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UserMetadataItem() { name_ = ""; value_ = io.prestosql.orc.protobuf.ByteString.EMPTY; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UserMetadataItem( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { bitField0_ |= 0x00000002; value_ = input.readBytes(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_UserMetadataItem_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_UserMetadataItem_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.UserMetadataItem.class, io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * required string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required 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.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * required string name = 1; */ public io.prestosql.orc.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private io.prestosql.orc.protobuf.ByteString value_; /** * required bytes value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required bytes value = 2; */ public io.prestosql.orc.protobuf.ByteString getValue() { return value_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasName()) { memoizedIsInitialized = 0; return false; } if (!hasValue()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, value_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.UserMetadataItem)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.UserMetadataItem other = (io.prestosql.orc.proto.DwrfProto.UserMetadataItem) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.UserMetadataItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.UserMetadataItem} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.UserMetadataItem) io.prestosql.orc.proto.DwrfProto.UserMetadataItemOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_UserMetadataItem_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_UserMetadataItem_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.UserMetadataItem.class, io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.UserMetadataItem.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); value_ = io.prestosql.orc.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_UserMetadataItem_descriptor; } public io.prestosql.orc.proto.DwrfProto.UserMetadataItem getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.UserMetadataItem.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.UserMetadataItem build() { io.prestosql.orc.proto.DwrfProto.UserMetadataItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.UserMetadataItem buildPartial() { io.prestosql.orc.proto.DwrfProto.UserMetadataItem result = new io.prestosql.orc.proto.DwrfProto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.UserMetadataItem) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.UserMetadataItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.UserMetadataItem other) { if (other == io.prestosql.orc.proto.DwrfProto.UserMetadataItem.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasName()) { return false; } if (!hasValue()) { return false; } return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.UserMetadataItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.UserMetadataItem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object name_ = ""; /** * required string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * required string name = 1; */ public io.prestosql.orc.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** * required string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * required string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * required string name = 1; */ public Builder setNameBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private io.prestosql.orc.protobuf.ByteString value_ = io.prestosql.orc.protobuf.ByteString.EMPTY; /** * required bytes value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required bytes value = 2; */ public io.prestosql.orc.protobuf.ByteString getValue() { return value_; } /** * required bytes value = 2; */ public Builder setValue(io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } /** * required bytes value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.UserMetadataItem) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.UserMetadataItem) private static final io.prestosql.orc.proto.DwrfProto.UserMetadataItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.UserMetadataItem(); } public static io.prestosql.orc.proto.DwrfProto.UserMetadataItem getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public UserMetadataItem parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new UserMetadataItem(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.UserMetadataItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FooterOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.Footer) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional uint64 headerLength = 1; */ boolean hasHeaderLength(); /** * optional uint64 headerLength = 1; */ long getHeaderLength(); /** * optional uint64 contentLength = 2; */ boolean hasContentLength(); /** * optional uint64 contentLength = 2; */ long getContentLength(); /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ java.util.List getStripesList(); /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ io.prestosql.orc.proto.DwrfProto.StripeInformation getStripes(int index); /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ int getStripesCount(); /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ java.util.List getStripesOrBuilderList(); /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ io.prestosql.orc.proto.DwrfProto.StripeInformationOrBuilder getStripesOrBuilder( int index); /** * repeated .com.facebook.hive.orc.Type types = 4; */ java.util.List getTypesList(); /** * repeated .com.facebook.hive.orc.Type types = 4; */ io.prestosql.orc.proto.DwrfProto.Type getTypes(int index); /** * repeated .com.facebook.hive.orc.Type types = 4; */ int getTypesCount(); /** * repeated .com.facebook.hive.orc.Type types = 4; */ java.util.List getTypesOrBuilderList(); /** * repeated .com.facebook.hive.orc.Type types = 4; */ io.prestosql.orc.proto.DwrfProto.TypeOrBuilder getTypesOrBuilder( int index); /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ java.util.List getMetadataList(); /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ io.prestosql.orc.proto.DwrfProto.UserMetadataItem getMetadata(int index); /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ int getMetadataCount(); /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ java.util.List getMetadataOrBuilderList(); /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ io.prestosql.orc.proto.DwrfProto.UserMetadataItemOrBuilder getMetadataOrBuilder( int index); /** * optional uint64 numberOfRows = 6; */ boolean hasNumberOfRows(); /** * optional uint64 numberOfRows = 6; */ long getNumberOfRows(); /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ java.util.List getStatisticsList(); /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ io.prestosql.orc.proto.DwrfProto.ColumnStatistics getStatistics(int index); /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ int getStatisticsCount(); /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ java.util.List getStatisticsOrBuilderList(); /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder( int index); /** * optional uint32 rowIndexStride = 8; */ boolean hasRowIndexStride(); /** * optional uint32 rowIndexStride = 8; */ int getRowIndexStride(); /** * optional uint64 rawDataSize = 9; */ boolean hasRawDataSize(); /** * optional uint64 rawDataSize = 9; */ long getRawDataSize(); /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ java.util.List getStripeCacheOffsetsList(); /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ int getStripeCacheOffsetsCount(); /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ int getStripeCacheOffsets(int index); } /** * Protobuf type {@code com.facebook.hive.orc.Footer} */ public static final class Footer extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.Footer) FooterOrBuilder { // Use Footer.newBuilder() to construct. private Footer(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Footer() { headerLength_ = 0L; contentLength_ = 0L; stripes_ = java.util.Collections.emptyList(); types_ = java.util.Collections.emptyList(); metadata_ = java.util.Collections.emptyList(); numberOfRows_ = 0L; statistics_ = java.util.Collections.emptyList(); rowIndexStride_ = 0; rawDataSize_ = 0L; stripeCacheOffsets_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Footer( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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(io.prestosql.orc.proto.DwrfProto.StripeInformation.PARSER, extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { types_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } types_.add( input.readMessage(io.prestosql.orc.proto.DwrfProto.Type.PARSER, extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { metadata_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } metadata_.add( input.readMessage(io.prestosql.orc.proto.DwrfProto.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(io.prestosql.orc.proto.DwrfProto.ColumnStatistics.PARSER, extensionRegistry)); break; } case 64: { bitField0_ |= 0x00000008; rowIndexStride_ = input.readUInt32(); break; } case 72: { bitField0_ |= 0x00000010; rawDataSize_ = input.readUInt64(); break; } case 80: { if (!((mutable_bitField0_ & 0x00000200) == 0x00000200)) { stripeCacheOffsets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } stripeCacheOffsets_.add(input.readUInt32()); break; } case 82: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000200) == 0x00000200) && input.getBytesUntilLimit() > 0) { stripeCacheOffsets_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000200; } while (input.getBytesUntilLimit() > 0) { stripeCacheOffsets_.add(input.readUInt32()); } input.popLimit(limit); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).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_); } if (((mutable_bitField0_ & 0x00000200) == 0x00000200)) { stripeCacheOffsets_ = java.util.Collections.unmodifiableList(stripeCacheOffsets_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Footer_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Footer_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.Footer.class, io.prestosql.orc.proto.DwrfProto.Footer.Builder.class); } private int bitField0_; public static final int HEADERLENGTH_FIELD_NUMBER = 1; private long headerLength_; /** * optional uint64 headerLength = 1; */ public boolean hasHeaderLength() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 headerLength = 1; */ public long getHeaderLength() { return headerLength_; } public static final int CONTENTLENGTH_FIELD_NUMBER = 2; private long contentLength_; /** * optional uint64 contentLength = 2; */ public boolean hasContentLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 contentLength = 2; */ public long getContentLength() { return contentLength_; } public static final int STRIPES_FIELD_NUMBER = 3; private java.util.List stripes_; /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public java.util.List getStripesList() { return stripes_; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public java.util.List getStripesOrBuilderList() { return stripes_; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public int getStripesCount() { return stripes_.size(); } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public io.prestosql.orc.proto.DwrfProto.StripeInformation getStripes(int index) { return stripes_.get(index); } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public io.prestosql.orc.proto.DwrfProto.StripeInformationOrBuilder getStripesOrBuilder( int index) { return stripes_.get(index); } public static final int TYPES_FIELD_NUMBER = 4; private java.util.List types_; /** * repeated .com.facebook.hive.orc.Type types = 4; */ public java.util.List getTypesList() { return types_; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public java.util.List getTypesOrBuilderList() { return types_; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public int getTypesCount() { return types_.size(); } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public io.prestosql.orc.proto.DwrfProto.Type getTypes(int index) { return types_.get(index); } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public io.prestosql.orc.proto.DwrfProto.TypeOrBuilder getTypesOrBuilder( int index) { return types_.get(index); } public static final int METADATA_FIELD_NUMBER = 5; private java.util.List metadata_; /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public java.util.List getMetadataList() { return metadata_; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public java.util.List getMetadataOrBuilderList() { return metadata_; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public int getMetadataCount() { return metadata_.size(); } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public io.prestosql.orc.proto.DwrfProto.UserMetadataItem getMetadata(int index) { return metadata_.get(index); } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public io.prestosql.orc.proto.DwrfProto.UserMetadataItemOrBuilder getMetadataOrBuilder( int index) { return metadata_.get(index); } public static final int NUMBEROFROWS_FIELD_NUMBER = 6; private long numberOfRows_; /** * optional uint64 numberOfRows = 6; */ public boolean hasNumberOfRows() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 numberOfRows = 6; */ public long getNumberOfRows() { return numberOfRows_; } public static final int STATISTICS_FIELD_NUMBER = 7; private java.util.List statistics_; /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsList() { return statistics_; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsOrBuilderList() { return statistics_; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public int getStatisticsCount() { return statistics_.size(); } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatistics getStatistics(int index) { return statistics_.get(index); } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder( int index) { return statistics_.get(index); } public static final int ROWINDEXSTRIDE_FIELD_NUMBER = 8; private int rowIndexStride_; /** * optional uint32 rowIndexStride = 8; */ public boolean hasRowIndexStride() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 rowIndexStride = 8; */ public int getRowIndexStride() { return rowIndexStride_; } public static final int RAWDATASIZE_FIELD_NUMBER = 9; private long rawDataSize_; /** * optional uint64 rawDataSize = 9; */ public boolean hasRawDataSize() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint64 rawDataSize = 9; */ public long getRawDataSize() { return rawDataSize_; } public static final int STRIPECACHEOFFSETS_FIELD_NUMBER = 10; private java.util.List stripeCacheOffsets_; /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ public java.util.List getStripeCacheOffsetsList() { return stripeCacheOffsets_; } /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ public int getStripeCacheOffsetsCount() { return stripeCacheOffsets_.size(); } /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ public int getStripeCacheOffsets(int index) { return stripeCacheOffsets_.get(index); } private int stripeCacheOffsetsMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getTypesCount(); i++) { if (!getTypes(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } for (int i = 0; i < getMetadataCount(); i++) { if (!getMetadata(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, headerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(2, contentLength_); } for (int i = 0; i < stripes_.size(); i++) { output.writeMessage(3, stripes_.get(i)); } for (int i = 0; i < types_.size(); i++) { output.writeMessage(4, types_.get(i)); } for (int i = 0; i < metadata_.size(); i++) { output.writeMessage(5, metadata_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(6, numberOfRows_); } for (int i = 0; i < statistics_.size(); i++) { output.writeMessage(7, statistics_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(8, rowIndexStride_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt64(9, rawDataSize_); } if (getStripeCacheOffsetsList().size() > 0) { output.writeUInt32NoTag(82); output.writeUInt32NoTag(stripeCacheOffsetsMemoizedSerializedSize); } for (int i = 0; i < stripeCacheOffsets_.size(); i++) { output.writeUInt32NoTag(stripeCacheOffsets_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(1, headerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(2, contentLength_); } for (int i = 0; i < stripes_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(3, stripes_.get(i)); } for (int i = 0; i < types_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(4, types_.get(i)); } for (int i = 0; i < metadata_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(5, metadata_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(6, numberOfRows_); } for (int i = 0; i < statistics_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(7, statistics_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(8, rowIndexStride_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(9, rawDataSize_); } { int dataSize = 0; for (int i = 0; i < stripeCacheOffsets_.size(); i++) { dataSize += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32SizeNoTag(stripeCacheOffsets_.get(i)); } size += dataSize; if (!getStripeCacheOffsetsList().isEmpty()) { size += 1; size += io.prestosql.orc.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } stripeCacheOffsetsMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.Footer)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.Footer other = (io.prestosql.orc.proto.DwrfProto.Footer) obj; boolean result = true; result = result && (hasHeaderLength() == other.hasHeaderLength()); if (hasHeaderLength()) { result = result && (getHeaderLength() == other.getHeaderLength()); } result = result && (hasContentLength() == other.hasContentLength()); if (hasContentLength()) { result = result && (getContentLength() == other.getContentLength()); } result = result && getStripesList() .equals(other.getStripesList()); result = result && getTypesList() .equals(other.getTypesList()); result = result && getMetadataList() .equals(other.getMetadataList()); result = result && (hasNumberOfRows() == other.hasNumberOfRows()); if (hasNumberOfRows()) { result = result && (getNumberOfRows() == other.getNumberOfRows()); } result = result && getStatisticsList() .equals(other.getStatisticsList()); result = result && (hasRowIndexStride() == other.hasRowIndexStride()); if (hasRowIndexStride()) { result = result && (getRowIndexStride() == other.getRowIndexStride()); } result = result && (hasRawDataSize() == other.hasRawDataSize()); if (hasRawDataSize()) { result = result && (getRawDataSize() == other.getRawDataSize()); } result = result && getStripeCacheOffsetsList() .equals(other.getStripeCacheOffsetsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeaderLength()) { hash = (37 * hash) + HEADERLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getHeaderLength()); } if (hasContentLength()) { hash = (37 * hash) + CONTENTLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getContentLength()); } if (getStripesCount() > 0) { hash = (37 * hash) + STRIPES_FIELD_NUMBER; hash = (53 * hash) + getStripesList().hashCode(); } if (getTypesCount() > 0) { hash = (37 * hash) + TYPES_FIELD_NUMBER; hash = (53 * hash) + getTypesList().hashCode(); } if (getMetadataCount() > 0) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadataList().hashCode(); } if (hasNumberOfRows()) { hash = (37 * hash) + NUMBEROFROWS_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getNumberOfRows()); } if (getStatisticsCount() > 0) { hash = (37 * hash) + STATISTICS_FIELD_NUMBER; hash = (53 * hash) + getStatisticsList().hashCode(); } if (hasRowIndexStride()) { hash = (37 * hash) + ROWINDEXSTRIDE_FIELD_NUMBER; hash = (53 * hash) + getRowIndexStride(); } if (hasRawDataSize()) { hash = (37 * hash) + RAWDATASIZE_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getRawDataSize()); } if (getStripeCacheOffsetsCount() > 0) { hash = (37 * hash) + STRIPECACHEOFFSETS_FIELD_NUMBER; hash = (53 * hash) + getStripeCacheOffsetsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.Footer parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.Footer parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Footer parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.Footer parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Footer parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.Footer parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Footer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.Footer parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.Footer parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.Footer parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.Footer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.Footer} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.Footer) io.prestosql.orc.proto.DwrfProto.FooterOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Footer_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Footer_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.Footer.class, io.prestosql.orc.proto.DwrfProto.Footer.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.Footer.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStripesFieldBuilder(); getTypesFieldBuilder(); getMetadataFieldBuilder(); getStatisticsFieldBuilder(); } } public Builder clear() { super.clear(); headerLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); contentLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); if (stripesBuilder_ == null) { stripes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { stripesBuilder_.clear(); } if (typesBuilder_ == null) { types_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { typesBuilder_.clear(); } if (metadataBuilder_ == null) { metadata_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { metadataBuilder_.clear(); } numberOfRows_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); if (statisticsBuilder_ == null) { statistics_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { statisticsBuilder_.clear(); } rowIndexStride_ = 0; bitField0_ = (bitField0_ & ~0x00000080); rawDataSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000100); stripeCacheOffsets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_Footer_descriptor; } public io.prestosql.orc.proto.DwrfProto.Footer getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.Footer.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.Footer build() { io.prestosql.orc.proto.DwrfProto.Footer result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.Footer buildPartial() { io.prestosql.orc.proto.DwrfProto.Footer result = new io.prestosql.orc.proto.DwrfProto.Footer(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.headerLength_ = headerLength_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.contentLength_ = contentLength_; if (stripesBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004)) { stripes_ = java.util.Collections.unmodifiableList(stripes_); bitField0_ = (bitField0_ & ~0x00000004); } result.stripes_ = stripes_; } else { result.stripes_ = stripesBuilder_.build(); } if (typesBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008)) { types_ = java.util.Collections.unmodifiableList(types_); bitField0_ = (bitField0_ & ~0x00000008); } result.types_ = types_; } else { result.types_ = typesBuilder_.build(); } if (metadataBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010)) { metadata_ = java.util.Collections.unmodifiableList(metadata_); bitField0_ = (bitField0_ & ~0x00000010); } result.metadata_ = metadata_; } else { result.metadata_ = metadataBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000004; } result.numberOfRows_ = numberOfRows_; if (statisticsBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040)) { statistics_ = java.util.Collections.unmodifiableList(statistics_); bitField0_ = (bitField0_ & ~0x00000040); } result.statistics_ = statistics_; } else { result.statistics_ = statisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000008; } result.rowIndexStride_ = rowIndexStride_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000010; } result.rawDataSize_ = rawDataSize_; if (((bitField0_ & 0x00000200) == 0x00000200)) { stripeCacheOffsets_ = java.util.Collections.unmodifiableList(stripeCacheOffsets_); bitField0_ = (bitField0_ & ~0x00000200); } result.stripeCacheOffsets_ = stripeCacheOffsets_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.Footer) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.Footer)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.Footer other) { if (other == io.prestosql.orc.proto.DwrfProto.Footer.getDefaultInstance()) return this; if (other.hasHeaderLength()) { setHeaderLength(other.getHeaderLength()); } if (other.hasContentLength()) { setContentLength(other.getContentLength()); } if (stripesBuilder_ == null) { if (!other.stripes_.isEmpty()) { if (stripes_.isEmpty()) { stripes_ = other.stripes_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureStripesIsMutable(); stripes_.addAll(other.stripes_); } onChanged(); } } else { if (!other.stripes_.isEmpty()) { if (stripesBuilder_.isEmpty()) { stripesBuilder_.dispose(); stripesBuilder_ = null; stripes_ = other.stripes_; bitField0_ = (bitField0_ & ~0x00000004); stripesBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStripesFieldBuilder() : null; } else { stripesBuilder_.addAllMessages(other.stripes_); } } } if (typesBuilder_ == null) { if (!other.types_.isEmpty()) { if (types_.isEmpty()) { types_ = other.types_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureTypesIsMutable(); types_.addAll(other.types_); } onChanged(); } } else { if (!other.types_.isEmpty()) { if (typesBuilder_.isEmpty()) { typesBuilder_.dispose(); typesBuilder_ = null; types_ = other.types_; bitField0_ = (bitField0_ & ~0x00000008); typesBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTypesFieldBuilder() : null; } else { typesBuilder_.addAllMessages(other.types_); } } } if (metadataBuilder_ == null) { if (!other.metadata_.isEmpty()) { if (metadata_.isEmpty()) { metadata_ = other.metadata_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureMetadataIsMutable(); metadata_.addAll(other.metadata_); } onChanged(); } } else { if (!other.metadata_.isEmpty()) { if (metadataBuilder_.isEmpty()) { metadataBuilder_.dispose(); metadataBuilder_ = null; metadata_ = other.metadata_; bitField0_ = (bitField0_ & ~0x00000010); metadataBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMetadataFieldBuilder() : null; } else { metadataBuilder_.addAllMessages(other.metadata_); } } } if (other.hasNumberOfRows()) { setNumberOfRows(other.getNumberOfRows()); } if (statisticsBuilder_ == null) { if (!other.statistics_.isEmpty()) { if (statistics_.isEmpty()) { statistics_ = other.statistics_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureStatisticsIsMutable(); statistics_.addAll(other.statistics_); } onChanged(); } } else { if (!other.statistics_.isEmpty()) { if (statisticsBuilder_.isEmpty()) { statisticsBuilder_.dispose(); statisticsBuilder_ = null; statistics_ = other.statistics_; bitField0_ = (bitField0_ & ~0x00000040); statisticsBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatisticsFieldBuilder() : null; } else { statisticsBuilder_.addAllMessages(other.statistics_); } } } if (other.hasRowIndexStride()) { setRowIndexStride(other.getRowIndexStride()); } if (other.hasRawDataSize()) { setRawDataSize(other.getRawDataSize()); } if (!other.stripeCacheOffsets_.isEmpty()) { if (stripeCacheOffsets_.isEmpty()) { stripeCacheOffsets_ = other.stripeCacheOffsets_; bitField0_ = (bitField0_ & ~0x00000200); } else { ensureStripeCacheOffsetsIsMutable(); stripeCacheOffsets_.addAll(other.stripeCacheOffsets_); } onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getTypesCount(); i++) { if (!getTypes(i).isInitialized()) { return false; } } for (int i = 0; i < getMetadataCount(); i++) { if (!getMetadata(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.Footer parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.Footer) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long headerLength_ ; /** * optional uint64 headerLength = 1; */ public boolean hasHeaderLength() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 headerLength = 1; */ public long getHeaderLength() { return headerLength_; } /** * optional uint64 headerLength = 1; */ public Builder setHeaderLength(long value) { bitField0_ |= 0x00000001; headerLength_ = value; onChanged(); return this; } /** * optional uint64 headerLength = 1; */ public Builder clearHeaderLength() { bitField0_ = (bitField0_ & ~0x00000001); headerLength_ = 0L; onChanged(); return this; } private long contentLength_ ; /** * optional uint64 contentLength = 2; */ public boolean hasContentLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 contentLength = 2; */ public long getContentLength() { return contentLength_; } /** * optional uint64 contentLength = 2; */ public Builder setContentLength(long value) { bitField0_ |= 0x00000002; contentLength_ = value; onChanged(); return this; } /** * optional uint64 contentLength = 2; */ public Builder clearContentLength() { bitField0_ = (bitField0_ & ~0x00000002); contentLength_ = 0L; onChanged(); return this; } private java.util.List stripes_ = java.util.Collections.emptyList(); private void ensureStripesIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { stripes_ = new java.util.ArrayList(stripes_); bitField0_ |= 0x00000004; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.StripeInformation, io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder, io.prestosql.orc.proto.DwrfProto.StripeInformationOrBuilder> stripesBuilder_; /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public java.util.List getStripesList() { if (stripesBuilder_ == null) { return java.util.Collections.unmodifiableList(stripes_); } else { return stripesBuilder_.getMessageList(); } } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public int getStripesCount() { if (stripesBuilder_ == null) { return stripes_.size(); } else { return stripesBuilder_.getCount(); } } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public io.prestosql.orc.proto.DwrfProto.StripeInformation getStripes(int index) { if (stripesBuilder_ == null) { return stripes_.get(index); } else { return stripesBuilder_.getMessage(index); } } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public Builder setStripes( int index, io.prestosql.orc.proto.DwrfProto.StripeInformation value) { if (stripesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStripesIsMutable(); stripes_.set(index, value); onChanged(); } else { stripesBuilder_.setMessage(index, value); } return this; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public Builder setStripes( int index, io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder builderForValue) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.set(index, builderForValue.build()); onChanged(); } else { stripesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public Builder addStripes(io.prestosql.orc.proto.DwrfProto.StripeInformation value) { if (stripesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStripesIsMutable(); stripes_.add(value); onChanged(); } else { stripesBuilder_.addMessage(value); } return this; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public Builder addStripes( int index, io.prestosql.orc.proto.DwrfProto.StripeInformation value) { if (stripesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStripesIsMutable(); stripes_.add(index, value); onChanged(); } else { stripesBuilder_.addMessage(index, value); } return this; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public Builder addStripes( io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder builderForValue) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.add(builderForValue.build()); onChanged(); } else { stripesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public Builder addStripes( int index, io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder builderForValue) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.add(index, builderForValue.build()); onChanged(); } else { stripesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public Builder addAllStripes( java.lang.Iterable values) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, stripes_); onChanged(); } else { stripesBuilder_.addAllMessages(values); } return this; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public Builder clearStripes() { if (stripesBuilder_ == null) { stripes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { stripesBuilder_.clear(); } return this; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public Builder removeStripes(int index) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.remove(index); onChanged(); } else { stripesBuilder_.remove(index); } return this; } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder getStripesBuilder( int index) { return getStripesFieldBuilder().getBuilder(index); } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public io.prestosql.orc.proto.DwrfProto.StripeInformationOrBuilder getStripesOrBuilder( int index) { if (stripesBuilder_ == null) { return stripes_.get(index); } else { return stripesBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public java.util.List getStripesOrBuilderList() { if (stripesBuilder_ != null) { return stripesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stripes_); } } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder addStripesBuilder() { return getStripesFieldBuilder().addBuilder( io.prestosql.orc.proto.DwrfProto.StripeInformation.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder addStripesBuilder( int index) { return getStripesFieldBuilder().addBuilder( index, io.prestosql.orc.proto.DwrfProto.StripeInformation.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.StripeInformation stripes = 3; */ public java.util.List getStripesBuilderList() { return getStripesFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.StripeInformation, io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder, io.prestosql.orc.proto.DwrfProto.StripeInformationOrBuilder> getStripesFieldBuilder() { if (stripesBuilder_ == null) { stripesBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.StripeInformation, io.prestosql.orc.proto.DwrfProto.StripeInformation.Builder, io.prestosql.orc.proto.DwrfProto.StripeInformationOrBuilder>( stripes_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); stripes_ = null; } return stripesBuilder_; } private java.util.List types_ = java.util.Collections.emptyList(); private void ensureTypesIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { types_ = new java.util.ArrayList(types_); bitField0_ |= 0x00000008; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.Type, io.prestosql.orc.proto.DwrfProto.Type.Builder, io.prestosql.orc.proto.DwrfProto.TypeOrBuilder> typesBuilder_; /** * repeated .com.facebook.hive.orc.Type types = 4; */ public java.util.List getTypesList() { if (typesBuilder_ == null) { return java.util.Collections.unmodifiableList(types_); } else { return typesBuilder_.getMessageList(); } } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public int getTypesCount() { if (typesBuilder_ == null) { return types_.size(); } else { return typesBuilder_.getCount(); } } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public io.prestosql.orc.proto.DwrfProto.Type getTypes(int index) { if (typesBuilder_ == null) { return types_.get(index); } else { return typesBuilder_.getMessage(index); } } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public Builder setTypes( int index, io.prestosql.orc.proto.DwrfProto.Type value) { if (typesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.set(index, value); onChanged(); } else { typesBuilder_.setMessage(index, value); } return this; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public Builder setTypes( int index, io.prestosql.orc.proto.DwrfProto.Type.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.set(index, builderForValue.build()); onChanged(); } else { typesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public Builder addTypes(io.prestosql.orc.proto.DwrfProto.Type value) { if (typesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.add(value); onChanged(); } else { typesBuilder_.addMessage(value); } return this; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public Builder addTypes( int index, io.prestosql.orc.proto.DwrfProto.Type value) { if (typesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.add(index, value); onChanged(); } else { typesBuilder_.addMessage(index, value); } return this; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public Builder addTypes( io.prestosql.orc.proto.DwrfProto.Type.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.add(builderForValue.build()); onChanged(); } else { typesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public Builder addTypes( int index, io.prestosql.orc.proto.DwrfProto.Type.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.add(index, builderForValue.build()); onChanged(); } else { typesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public Builder addAllTypes( java.lang.Iterable values) { if (typesBuilder_ == null) { ensureTypesIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, types_); onChanged(); } else { typesBuilder_.addAllMessages(values); } return this; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public Builder clearTypes() { if (typesBuilder_ == null) { types_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { typesBuilder_.clear(); } return this; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public Builder removeTypes(int index) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.remove(index); onChanged(); } else { typesBuilder_.remove(index); } return this; } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public io.prestosql.orc.proto.DwrfProto.Type.Builder getTypesBuilder( int index) { return getTypesFieldBuilder().getBuilder(index); } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public io.prestosql.orc.proto.DwrfProto.TypeOrBuilder getTypesOrBuilder( int index) { if (typesBuilder_ == null) { return types_.get(index); } else { return typesBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public java.util.List getTypesOrBuilderList() { if (typesBuilder_ != null) { return typesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(types_); } } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public io.prestosql.orc.proto.DwrfProto.Type.Builder addTypesBuilder() { return getTypesFieldBuilder().addBuilder( io.prestosql.orc.proto.DwrfProto.Type.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public io.prestosql.orc.proto.DwrfProto.Type.Builder addTypesBuilder( int index) { return getTypesFieldBuilder().addBuilder( index, io.prestosql.orc.proto.DwrfProto.Type.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.Type types = 4; */ public java.util.List getTypesBuilderList() { return getTypesFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.Type, io.prestosql.orc.proto.DwrfProto.Type.Builder, io.prestosql.orc.proto.DwrfProto.TypeOrBuilder> getTypesFieldBuilder() { if (typesBuilder_ == null) { typesBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.Type, io.prestosql.orc.proto.DwrfProto.Type.Builder, io.prestosql.orc.proto.DwrfProto.TypeOrBuilder>( types_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); types_ = null; } return typesBuilder_; } private java.util.List metadata_ = java.util.Collections.emptyList(); private void ensureMetadataIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { metadata_ = new java.util.ArrayList(metadata_); bitField0_ |= 0x00000010; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.UserMetadataItem, io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder, io.prestosql.orc.proto.DwrfProto.UserMetadataItemOrBuilder> metadataBuilder_; /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public java.util.List getMetadataList() { if (metadataBuilder_ == null) { return java.util.Collections.unmodifiableList(metadata_); } else { return metadataBuilder_.getMessageList(); } } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public int getMetadataCount() { if (metadataBuilder_ == null) { return metadata_.size(); } else { return metadataBuilder_.getCount(); } } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public io.prestosql.orc.proto.DwrfProto.UserMetadataItem getMetadata(int index) { if (metadataBuilder_ == null) { return metadata_.get(index); } else { return metadataBuilder_.getMessage(index); } } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public Builder setMetadata( int index, io.prestosql.orc.proto.DwrfProto.UserMetadataItem value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMetadataIsMutable(); metadata_.set(index, value); onChanged(); } else { metadataBuilder_.setMessage(index, value); } return this; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public Builder setMetadata( int index, io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder builderForValue) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); metadata_.set(index, builderForValue.build()); onChanged(); } else { metadataBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public Builder addMetadata(io.prestosql.orc.proto.DwrfProto.UserMetadataItem value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMetadataIsMutable(); metadata_.add(value); onChanged(); } else { metadataBuilder_.addMessage(value); } return this; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public Builder addMetadata( int index, io.prestosql.orc.proto.DwrfProto.UserMetadataItem value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMetadataIsMutable(); metadata_.add(index, value); onChanged(); } else { metadataBuilder_.addMessage(index, value); } return this; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public Builder addMetadata( io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder builderForValue) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); metadata_.add(builderForValue.build()); onChanged(); } else { metadataBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public Builder addMetadata( int index, io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder builderForValue) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); metadata_.add(index, builderForValue.build()); onChanged(); } else { metadataBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public Builder addAllMetadata( java.lang.Iterable values) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, metadata_); onChanged(); } else { metadataBuilder_.addAllMessages(values); } return this; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { metadataBuilder_.clear(); } return this; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public Builder removeMetadata(int index) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); metadata_.remove(index); onChanged(); } else { metadataBuilder_.remove(index); } return this; } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder getMetadataBuilder( int index) { return getMetadataFieldBuilder().getBuilder(index); } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public io.prestosql.orc.proto.DwrfProto.UserMetadataItemOrBuilder getMetadataOrBuilder( int index) { if (metadataBuilder_ == null) { return metadata_.get(index); } else { return metadataBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public java.util.List getMetadataOrBuilderList() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(metadata_); } } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder addMetadataBuilder() { return getMetadataFieldBuilder().addBuilder( io.prestosql.orc.proto.DwrfProto.UserMetadataItem.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder addMetadataBuilder( int index) { return getMetadataFieldBuilder().addBuilder( index, io.prestosql.orc.proto.DwrfProto.UserMetadataItem.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.UserMetadataItem metadata = 5; */ public java.util.List getMetadataBuilderList() { return getMetadataFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.UserMetadataItem, io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder, io.prestosql.orc.proto.DwrfProto.UserMetadataItemOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.UserMetadataItem, io.prestosql.orc.proto.DwrfProto.UserMetadataItem.Builder, io.prestosql.orc.proto.DwrfProto.UserMetadataItemOrBuilder>( metadata_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private long numberOfRows_ ; /** * optional uint64 numberOfRows = 6; */ public boolean hasNumberOfRows() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint64 numberOfRows = 6; */ public long getNumberOfRows() { return numberOfRows_; } /** * optional uint64 numberOfRows = 6; */ public Builder setNumberOfRows(long value) { bitField0_ |= 0x00000020; numberOfRows_ = value; onChanged(); return this; } /** * optional uint64 numberOfRows = 6; */ public Builder clearNumberOfRows() { bitField0_ = (bitField0_ & ~0x00000020); numberOfRows_ = 0L; onChanged(); return this; } private java.util.List statistics_ = java.util.Collections.emptyList(); private void ensureStatisticsIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { statistics_ = new java.util.ArrayList(statistics_); bitField0_ |= 0x00000040; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.ColumnStatistics, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder, io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder> statisticsBuilder_; /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsList() { if (statisticsBuilder_ == null) { return java.util.Collections.unmodifiableList(statistics_); } else { return statisticsBuilder_.getMessageList(); } } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public int getStatisticsCount() { if (statisticsBuilder_ == null) { return statistics_.size(); } else { return statisticsBuilder_.getCount(); } } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatistics getStatistics(int index) { if (statisticsBuilder_ == null) { return statistics_.get(index); } else { return statisticsBuilder_.getMessage(index); } } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public Builder setStatistics( int index, io.prestosql.orc.proto.DwrfProto.ColumnStatistics value) { if (statisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatisticsIsMutable(); statistics_.set(index, value); onChanged(); } else { statisticsBuilder_.setMessage(index, value); } return this; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public Builder setStatistics( int index, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder builderForValue) { if (statisticsBuilder_ == null) { ensureStatisticsIsMutable(); statistics_.set(index, builderForValue.build()); onChanged(); } else { statisticsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public Builder addStatistics(io.prestosql.orc.proto.DwrfProto.ColumnStatistics value) { if (statisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatisticsIsMutable(); statistics_.add(value); onChanged(); } else { statisticsBuilder_.addMessage(value); } return this; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public Builder addStatistics( int index, io.prestosql.orc.proto.DwrfProto.ColumnStatistics value) { if (statisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatisticsIsMutable(); statistics_.add(index, value); onChanged(); } else { statisticsBuilder_.addMessage(index, value); } return this; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public Builder addStatistics( io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder builderForValue) { if (statisticsBuilder_ == null) { ensureStatisticsIsMutable(); statistics_.add(builderForValue.build()); onChanged(); } else { statisticsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public Builder addStatistics( int index, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder builderForValue) { if (statisticsBuilder_ == null) { ensureStatisticsIsMutable(); statistics_.add(index, builderForValue.build()); onChanged(); } else { statisticsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public Builder addAllStatistics( java.lang.Iterable values) { if (statisticsBuilder_ == null) { ensureStatisticsIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, statistics_); onChanged(); } else { statisticsBuilder_.addAllMessages(values); } return this; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public Builder clearStatistics() { if (statisticsBuilder_ == null) { statistics_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { statisticsBuilder_.clear(); } return this; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public Builder removeStatistics(int index) { if (statisticsBuilder_ == null) { ensureStatisticsIsMutable(); statistics_.remove(index); onChanged(); } else { statisticsBuilder_.remove(index); } return this; } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder getStatisticsBuilder( int index) { return getStatisticsFieldBuilder().getBuilder(index); } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder( int index) { if (statisticsBuilder_ == null) { return statistics_.get(index); } else { return statisticsBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsOrBuilderList() { if (statisticsBuilder_ != null) { return statisticsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(statistics_); } } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder addStatisticsBuilder() { return getStatisticsFieldBuilder().addBuilder( io.prestosql.orc.proto.DwrfProto.ColumnStatistics.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder addStatisticsBuilder( int index) { return getStatisticsFieldBuilder().addBuilder( index, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsBuilderList() { return getStatisticsFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.ColumnStatistics, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder, io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder> getStatisticsFieldBuilder() { if (statisticsBuilder_ == null) { statisticsBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.ColumnStatistics, io.prestosql.orc.proto.DwrfProto.ColumnStatistics.Builder, io.prestosql.orc.proto.DwrfProto.ColumnStatisticsOrBuilder>( statistics_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); statistics_ = null; } return statisticsBuilder_; } private int rowIndexStride_ ; /** * optional uint32 rowIndexStride = 8; */ public boolean hasRowIndexStride() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional uint32 rowIndexStride = 8; */ public int getRowIndexStride() { return rowIndexStride_; } /** * optional uint32 rowIndexStride = 8; */ public Builder setRowIndexStride(int value) { bitField0_ |= 0x00000080; rowIndexStride_ = value; onChanged(); return this; } /** * optional uint32 rowIndexStride = 8; */ public Builder clearRowIndexStride() { bitField0_ = (bitField0_ & ~0x00000080); rowIndexStride_ = 0; onChanged(); return this; } private long rawDataSize_ ; /** * optional uint64 rawDataSize = 9; */ public boolean hasRawDataSize() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional uint64 rawDataSize = 9; */ public long getRawDataSize() { return rawDataSize_; } /** * optional uint64 rawDataSize = 9; */ public Builder setRawDataSize(long value) { bitField0_ |= 0x00000100; rawDataSize_ = value; onChanged(); return this; } /** * optional uint64 rawDataSize = 9; */ public Builder clearRawDataSize() { bitField0_ = (bitField0_ & ~0x00000100); rawDataSize_ = 0L; onChanged(); return this; } private java.util.List stripeCacheOffsets_ = java.util.Collections.emptyList(); private void ensureStripeCacheOffsetsIsMutable() { if (!((bitField0_ & 0x00000200) == 0x00000200)) { stripeCacheOffsets_ = new java.util.ArrayList(stripeCacheOffsets_); bitField0_ |= 0x00000200; } } /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ public java.util.List getStripeCacheOffsetsList() { return java.util.Collections.unmodifiableList(stripeCacheOffsets_); } /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ public int getStripeCacheOffsetsCount() { return stripeCacheOffsets_.size(); } /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ public int getStripeCacheOffsets(int index) { return stripeCacheOffsets_.get(index); } /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ public Builder setStripeCacheOffsets( int index, int value) { ensureStripeCacheOffsetsIsMutable(); stripeCacheOffsets_.set(index, value); onChanged(); return this; } /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ public Builder addStripeCacheOffsets(int value) { ensureStripeCacheOffsetsIsMutable(); stripeCacheOffsets_.add(value); onChanged(); return this; } /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ public Builder addAllStripeCacheOffsets( java.lang.Iterable values) { ensureStripeCacheOffsetsIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, stripeCacheOffsets_); onChanged(); return this; } /** * repeated uint32 stripeCacheOffsets = 10 [packed = true]; */ public Builder clearStripeCacheOffsets() { stripeCacheOffsets_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000200); onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.Footer) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.Footer) private static final io.prestosql.orc.proto.DwrfProto.Footer DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.Footer(); } public static io.prestosql.orc.proto.DwrfProto.Footer getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser
PARSER = new io.prestosql.orc.protobuf.AbstractParser
() { public Footer parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new Footer(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser
parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser
getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.Footer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PostScriptOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.PostScript) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional uint64 footerLength = 1; */ boolean hasFooterLength(); /** * optional uint64 footerLength = 1; */ long getFooterLength(); /** * optional .com.facebook.hive.orc.CompressionKind compression = 2; */ boolean hasCompression(); /** * optional .com.facebook.hive.orc.CompressionKind compression = 2; */ io.prestosql.orc.proto.DwrfProto.CompressionKind getCompression(); /** * optional uint64 compressionBlockSize = 3; */ boolean hasCompressionBlockSize(); /** * optional uint64 compressionBlockSize = 3; */ long getCompressionBlockSize(); /** * optional uint32 writerVersion = 4; */ boolean hasWriterVersion(); /** * optional uint32 writerVersion = 4; */ int getWriterVersion(); /** * optional .com.facebook.hive.orc.StripeCacheMode cacheMode = 5; */ boolean hasCacheMode(); /** * optional .com.facebook.hive.orc.StripeCacheMode cacheMode = 5; */ io.prestosql.orc.proto.DwrfProto.StripeCacheMode getCacheMode(); /** * optional uint32 cacheSize = 6; */ boolean hasCacheSize(); /** * optional uint32 cacheSize = 6; */ int getCacheSize(); } /** *
   * Serialized length must be less that 255 bytes
   * 
* * Protobuf type {@code com.facebook.hive.orc.PostScript} */ public static final class PostScript extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.PostScript) PostScriptOrBuilder { // Use PostScript.newBuilder() to construct. private PostScript(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PostScript() { footerLength_ = 0L; compression_ = 0; compressionBlockSize_ = 0L; writerVersion_ = 0; cacheMode_ = 0; cacheSize_ = 0; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PostScript( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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; footerLength_ = input.readUInt64(); break; } case 16: { int rawValue = input.readEnum(); io.prestosql.orc.proto.DwrfProto.CompressionKind value = io.prestosql.orc.proto.DwrfProto.CompressionKind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; compression_ = rawValue; } break; } case 24: { bitField0_ |= 0x00000004; compressionBlockSize_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; writerVersion_ = input.readUInt32(); break; } case 40: { int rawValue = input.readEnum(); io.prestosql.orc.proto.DwrfProto.StripeCacheMode value = io.prestosql.orc.proto.DwrfProto.StripeCacheMode.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(5, rawValue); } else { bitField0_ |= 0x00000010; cacheMode_ = rawValue; } break; } case 48: { bitField0_ |= 0x00000020; cacheSize_ = input.readUInt32(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_PostScript_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_PostScript_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.PostScript.class, io.prestosql.orc.proto.DwrfProto.PostScript.Builder.class); } private int bitField0_; public static final int FOOTERLENGTH_FIELD_NUMBER = 1; private long footerLength_; /** * optional uint64 footerLength = 1; */ public boolean hasFooterLength() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 footerLength = 1; */ public long getFooterLength() { return footerLength_; } public static final int COMPRESSION_FIELD_NUMBER = 2; private int compression_; /** * optional .com.facebook.hive.orc.CompressionKind compression = 2; */ public boolean hasCompression() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .com.facebook.hive.orc.CompressionKind compression = 2; */ public io.prestosql.orc.proto.DwrfProto.CompressionKind getCompression() { io.prestosql.orc.proto.DwrfProto.CompressionKind result = io.prestosql.orc.proto.DwrfProto.CompressionKind.valueOf(compression_); return result == null ? io.prestosql.orc.proto.DwrfProto.CompressionKind.NONE : result; } public static final int COMPRESSIONBLOCKSIZE_FIELD_NUMBER = 3; private long compressionBlockSize_; /** * optional uint64 compressionBlockSize = 3; */ public boolean hasCompressionBlockSize() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 compressionBlockSize = 3; */ public long getCompressionBlockSize() { return compressionBlockSize_; } public static final int WRITERVERSION_FIELD_NUMBER = 4; private int writerVersion_; /** * optional uint32 writerVersion = 4; */ public boolean hasWriterVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 writerVersion = 4; */ public int getWriterVersion() { return writerVersion_; } public static final int CACHEMODE_FIELD_NUMBER = 5; private int cacheMode_; /** * optional .com.facebook.hive.orc.StripeCacheMode cacheMode = 5; */ public boolean hasCacheMode() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .com.facebook.hive.orc.StripeCacheMode cacheMode = 5; */ public io.prestosql.orc.proto.DwrfProto.StripeCacheMode getCacheMode() { io.prestosql.orc.proto.DwrfProto.StripeCacheMode result = io.prestosql.orc.proto.DwrfProto.StripeCacheMode.valueOf(cacheMode_); return result == null ? io.prestosql.orc.proto.DwrfProto.StripeCacheMode.NA : result; } public static final int CACHESIZE_FIELD_NUMBER = 6; private int cacheSize_; /** * optional uint32 cacheSize = 6; */ public boolean hasCacheSize() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint32 cacheSize = 6; */ public int getCacheSize() { return cacheSize_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, footerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, compression_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, compressionBlockSize_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(4, writerVersion_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeEnum(5, cacheMode_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeUInt32(6, cacheSize_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(1, footerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(2, compression_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(3, compressionBlockSize_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(4, writerVersion_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(5, cacheMode_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(6, cacheSize_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.PostScript)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.PostScript other = (io.prestosql.orc.proto.DwrfProto.PostScript) obj; boolean result = true; result = result && (hasFooterLength() == other.hasFooterLength()); if (hasFooterLength()) { result = result && (getFooterLength() == other.getFooterLength()); } result = result && (hasCompression() == other.hasCompression()); if (hasCompression()) { result = result && compression_ == other.compression_; } result = result && (hasCompressionBlockSize() == other.hasCompressionBlockSize()); if (hasCompressionBlockSize()) { result = result && (getCompressionBlockSize() == other.getCompressionBlockSize()); } result = result && (hasWriterVersion() == other.hasWriterVersion()); if (hasWriterVersion()) { result = result && (getWriterVersion() == other.getWriterVersion()); } result = result && (hasCacheMode() == other.hasCacheMode()); if (hasCacheMode()) { result = result && cacheMode_ == other.cacheMode_; } result = result && (hasCacheSize() == other.hasCacheSize()); if (hasCacheSize()) { result = result && (getCacheSize() == other.getCacheSize()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFooterLength()) { hash = (37 * hash) + FOOTERLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getFooterLength()); } if (hasCompression()) { hash = (37 * hash) + COMPRESSION_FIELD_NUMBER; hash = (53 * hash) + compression_; } if (hasCompressionBlockSize()) { hash = (37 * hash) + COMPRESSIONBLOCKSIZE_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getCompressionBlockSize()); } if (hasWriterVersion()) { hash = (37 * hash) + WRITERVERSION_FIELD_NUMBER; hash = (53 * hash) + getWriterVersion(); } if (hasCacheMode()) { hash = (37 * hash) + CACHEMODE_FIELD_NUMBER; hash = (53 * hash) + cacheMode_; } if (hasCacheSize()) { hash = (37 * hash) + CACHESIZE_FIELD_NUMBER; hash = (53 * hash) + getCacheSize(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.PostScript parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.PostScript parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.PostScript parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.PostScript parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.PostScript parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.PostScript parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.PostScript parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.PostScript parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.PostScript parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.PostScript parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.PostScript prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Serialized length must be less that 255 bytes
     * 
* * Protobuf type {@code com.facebook.hive.orc.PostScript} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.PostScript) io.prestosql.orc.proto.DwrfProto.PostScriptOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_PostScript_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_PostScript_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.PostScript.class, io.prestosql.orc.proto.DwrfProto.PostScript.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.PostScript.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); footerLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); compression_ = 0; bitField0_ = (bitField0_ & ~0x00000002); compressionBlockSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); writerVersion_ = 0; bitField0_ = (bitField0_ & ~0x00000008); cacheMode_ = 0; bitField0_ = (bitField0_ & ~0x00000010); cacheSize_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_PostScript_descriptor; } public io.prestosql.orc.proto.DwrfProto.PostScript getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.PostScript.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.PostScript build() { io.prestosql.orc.proto.DwrfProto.PostScript result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.PostScript buildPartial() { io.prestosql.orc.proto.DwrfProto.PostScript result = new io.prestosql.orc.proto.DwrfProto.PostScript(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.footerLength_ = footerLength_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.compression_ = compression_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.compressionBlockSize_ = compressionBlockSize_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.writerVersion_ = writerVersion_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.cacheMode_ = cacheMode_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } result.cacheSize_ = cacheSize_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.PostScript) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.PostScript)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.PostScript other) { if (other == io.prestosql.orc.proto.DwrfProto.PostScript.getDefaultInstance()) return this; if (other.hasFooterLength()) { setFooterLength(other.getFooterLength()); } if (other.hasCompression()) { setCompression(other.getCompression()); } if (other.hasCompressionBlockSize()) { setCompressionBlockSize(other.getCompressionBlockSize()); } if (other.hasWriterVersion()) { setWriterVersion(other.getWriterVersion()); } if (other.hasCacheMode()) { setCacheMode(other.getCacheMode()); } if (other.hasCacheSize()) { setCacheSize(other.getCacheSize()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.PostScript parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.PostScript) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long footerLength_ ; /** * optional uint64 footerLength = 1; */ public boolean hasFooterLength() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 footerLength = 1; */ public long getFooterLength() { return footerLength_; } /** * optional uint64 footerLength = 1; */ public Builder setFooterLength(long value) { bitField0_ |= 0x00000001; footerLength_ = value; onChanged(); return this; } /** * optional uint64 footerLength = 1; */ public Builder clearFooterLength() { bitField0_ = (bitField0_ & ~0x00000001); footerLength_ = 0L; onChanged(); return this; } private int compression_ = 0; /** * optional .com.facebook.hive.orc.CompressionKind compression = 2; */ public boolean hasCompression() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .com.facebook.hive.orc.CompressionKind compression = 2; */ public io.prestosql.orc.proto.DwrfProto.CompressionKind getCompression() { io.prestosql.orc.proto.DwrfProto.CompressionKind result = io.prestosql.orc.proto.DwrfProto.CompressionKind.valueOf(compression_); return result == null ? io.prestosql.orc.proto.DwrfProto.CompressionKind.NONE : result; } /** * optional .com.facebook.hive.orc.CompressionKind compression = 2; */ public Builder setCompression(io.prestosql.orc.proto.DwrfProto.CompressionKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; compression_ = value.getNumber(); onChanged(); return this; } /** * optional .com.facebook.hive.orc.CompressionKind compression = 2; */ public Builder clearCompression() { bitField0_ = (bitField0_ & ~0x00000002); compression_ = 0; onChanged(); return this; } private long compressionBlockSize_ ; /** * optional uint64 compressionBlockSize = 3; */ public boolean hasCompressionBlockSize() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 compressionBlockSize = 3; */ public long getCompressionBlockSize() { return compressionBlockSize_; } /** * optional uint64 compressionBlockSize = 3; */ public Builder setCompressionBlockSize(long value) { bitField0_ |= 0x00000004; compressionBlockSize_ = value; onChanged(); return this; } /** * optional uint64 compressionBlockSize = 3; */ public Builder clearCompressionBlockSize() { bitField0_ = (bitField0_ & ~0x00000004); compressionBlockSize_ = 0L; onChanged(); return this; } private int writerVersion_ ; /** * optional uint32 writerVersion = 4; */ public boolean hasWriterVersion() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 writerVersion = 4; */ public int getWriterVersion() { return writerVersion_; } /** * optional uint32 writerVersion = 4; */ public Builder setWriterVersion(int value) { bitField0_ |= 0x00000008; writerVersion_ = value; onChanged(); return this; } /** * optional uint32 writerVersion = 4; */ public Builder clearWriterVersion() { bitField0_ = (bitField0_ & ~0x00000008); writerVersion_ = 0; onChanged(); return this; } private int cacheMode_ = 0; /** * optional .com.facebook.hive.orc.StripeCacheMode cacheMode = 5; */ public boolean hasCacheMode() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .com.facebook.hive.orc.StripeCacheMode cacheMode = 5; */ public io.prestosql.orc.proto.DwrfProto.StripeCacheMode getCacheMode() { io.prestosql.orc.proto.DwrfProto.StripeCacheMode result = io.prestosql.orc.proto.DwrfProto.StripeCacheMode.valueOf(cacheMode_); return result == null ? io.prestosql.orc.proto.DwrfProto.StripeCacheMode.NA : result; } /** * optional .com.facebook.hive.orc.StripeCacheMode cacheMode = 5; */ public Builder setCacheMode(io.prestosql.orc.proto.DwrfProto.StripeCacheMode value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; cacheMode_ = value.getNumber(); onChanged(); return this; } /** * optional .com.facebook.hive.orc.StripeCacheMode cacheMode = 5; */ public Builder clearCacheMode() { bitField0_ = (bitField0_ & ~0x00000010); cacheMode_ = 0; onChanged(); return this; } private int cacheSize_ ; /** * optional uint32 cacheSize = 6; */ public boolean hasCacheSize() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint32 cacheSize = 6; */ public int getCacheSize() { return cacheSize_; } /** * optional uint32 cacheSize = 6; */ public Builder setCacheSize(int value) { bitField0_ |= 0x00000020; cacheSize_ = value; onChanged(); return this; } /** * optional uint32 cacheSize = 6; */ public Builder clearCacheSize() { bitField0_ = (bitField0_ & ~0x00000020); cacheSize_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.PostScript) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.PostScript) private static final io.prestosql.orc.proto.DwrfProto.PostScript DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.PostScript(); } public static io.prestosql.orc.proto.DwrfProto.PostScript getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public PostScript parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new PostScript(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.PostScript getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TypeStorageOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.TypeStorage) io.prestosql.orc.protobuf.MessageOrBuilder { /** * required uint32 streamId = 1; */ boolean hasStreamId(); /** * required uint32 streamId = 1; */ int getStreamId(); /** * required .com.facebook.hive.orc.PrimitiveType source = 2; */ boolean hasSource(); /** * required .com.facebook.hive.orc.PrimitiveType source = 2; */ io.prestosql.orc.proto.DwrfProto.PrimitiveType getSource(); /** * required .com.facebook.hive.orc.PrimitiveType storage = 3; */ boolean hasStorage(); /** * required .com.facebook.hive.orc.PrimitiveType storage = 3; */ io.prestosql.orc.proto.DwrfProto.PrimitiveType getStorage(); } /** * Protobuf type {@code com.facebook.hive.orc.TypeStorage} */ public static final class TypeStorage extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.TypeStorage) TypeStorageOrBuilder { // Use TypeStorage.newBuilder() to construct. private TypeStorage(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TypeStorage() { streamId_ = 0; source_ = 0; storage_ = 0; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TypeStorage( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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; streamId_ = input.readUInt32(); break; } case 16: { int rawValue = input.readEnum(); io.prestosql.orc.proto.DwrfProto.PrimitiveType value = io.prestosql.orc.proto.DwrfProto.PrimitiveType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; source_ = rawValue; } break; } case 24: { int rawValue = input.readEnum(); io.prestosql.orc.proto.DwrfProto.PrimitiveType value = io.prestosql.orc.proto.DwrfProto.PrimitiveType.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(3, rawValue); } else { bitField0_ |= 0x00000004; storage_ = rawValue; } break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_TypeStorage_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_TypeStorage_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.TypeStorage.class, io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder.class); } private int bitField0_; public static final int STREAMID_FIELD_NUMBER = 1; private int streamId_; /** * required uint32 streamId = 1; */ public boolean hasStreamId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint32 streamId = 1; */ public int getStreamId() { return streamId_; } public static final int SOURCE_FIELD_NUMBER = 2; private int source_; /** * required .com.facebook.hive.orc.PrimitiveType source = 2; */ public boolean hasSource() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required .com.facebook.hive.orc.PrimitiveType source = 2; */ public io.prestosql.orc.proto.DwrfProto.PrimitiveType getSource() { io.prestosql.orc.proto.DwrfProto.PrimitiveType result = io.prestosql.orc.proto.DwrfProto.PrimitiveType.valueOf(source_); return result == null ? io.prestosql.orc.proto.DwrfProto.PrimitiveType.VOID : result; } public static final int STORAGE_FIELD_NUMBER = 3; private int storage_; /** * required .com.facebook.hive.orc.PrimitiveType storage = 3; */ public boolean hasStorage() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required .com.facebook.hive.orc.PrimitiveType storage = 3; */ public io.prestosql.orc.proto.DwrfProto.PrimitiveType getStorage() { io.prestosql.orc.proto.DwrfProto.PrimitiveType result = io.prestosql.orc.proto.DwrfProto.PrimitiveType.valueOf(storage_); return result == null ? io.prestosql.orc.proto.DwrfProto.PrimitiveType.VOID : result; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; if (!hasStreamId()) { memoizedIsInitialized = 0; return false; } if (!hasSource()) { memoizedIsInitialized = 0; return false; } if (!hasStorage()) { memoizedIsInitialized = 0; return false; } memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, streamId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, source_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeEnum(3, storage_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(1, streamId_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(2, source_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(3, storage_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.TypeStorage)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.TypeStorage other = (io.prestosql.orc.proto.DwrfProto.TypeStorage) obj; boolean result = true; result = result && (hasStreamId() == other.hasStreamId()); if (hasStreamId()) { result = result && (getStreamId() == other.getStreamId()); } result = result && (hasSource() == other.hasSource()); if (hasSource()) { result = result && source_ == other.source_; } result = result && (hasStorage() == other.hasStorage()); if (hasStorage()) { result = result && storage_ == other.storage_; } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasStreamId()) { hash = (37 * hash) + STREAMID_FIELD_NUMBER; hash = (53 * hash) + getStreamId(); } if (hasSource()) { hash = (37 * hash) + SOURCE_FIELD_NUMBER; hash = (53 * hash) + source_; } if (hasStorage()) { hash = (37 * hash) + STORAGE_FIELD_NUMBER; hash = (53 * hash) + storage_; } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.TypeStorage parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.TypeStorage parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.TypeStorage parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.TypeStorage parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.TypeStorage parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.TypeStorage parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.TypeStorage parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.TypeStorage parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.TypeStorage parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.TypeStorage parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.TypeStorage prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.TypeStorage} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.TypeStorage) io.prestosql.orc.proto.DwrfProto.TypeStorageOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_TypeStorage_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_TypeStorage_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.TypeStorage.class, io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.TypeStorage.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); streamId_ = 0; bitField0_ = (bitField0_ & ~0x00000001); source_ = 0; bitField0_ = (bitField0_ & ~0x00000002); storage_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_TypeStorage_descriptor; } public io.prestosql.orc.proto.DwrfProto.TypeStorage getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.TypeStorage.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.TypeStorage build() { io.prestosql.orc.proto.DwrfProto.TypeStorage result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.TypeStorage buildPartial() { io.prestosql.orc.proto.DwrfProto.TypeStorage result = new io.prestosql.orc.proto.DwrfProto.TypeStorage(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.streamId_ = streamId_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.source_ = source_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.storage_ = storage_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.TypeStorage) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.TypeStorage)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.TypeStorage other) { if (other == io.prestosql.orc.proto.DwrfProto.TypeStorage.getDefaultInstance()) return this; if (other.hasStreamId()) { setStreamId(other.getStreamId()); } if (other.hasSource()) { setSource(other.getSource()); } if (other.hasStorage()) { setStorage(other.getStorage()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { if (!hasStreamId()) { return false; } if (!hasSource()) { return false; } if (!hasStorage()) { return false; } return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.TypeStorage parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.TypeStorage) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int streamId_ ; /** * required uint32 streamId = 1; */ public boolean hasStreamId() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * required uint32 streamId = 1; */ public int getStreamId() { return streamId_; } /** * required uint32 streamId = 1; */ public Builder setStreamId(int value) { bitField0_ |= 0x00000001; streamId_ = value; onChanged(); return this; } /** * required uint32 streamId = 1; */ public Builder clearStreamId() { bitField0_ = (bitField0_ & ~0x00000001); streamId_ = 0; onChanged(); return this; } private int source_ = 0; /** * required .com.facebook.hive.orc.PrimitiveType source = 2; */ public boolean hasSource() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * required .com.facebook.hive.orc.PrimitiveType source = 2; */ public io.prestosql.orc.proto.DwrfProto.PrimitiveType getSource() { io.prestosql.orc.proto.DwrfProto.PrimitiveType result = io.prestosql.orc.proto.DwrfProto.PrimitiveType.valueOf(source_); return result == null ? io.prestosql.orc.proto.DwrfProto.PrimitiveType.VOID : result; } /** * required .com.facebook.hive.orc.PrimitiveType source = 2; */ public Builder setSource(io.prestosql.orc.proto.DwrfProto.PrimitiveType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; source_ = value.getNumber(); onChanged(); return this; } /** * required .com.facebook.hive.orc.PrimitiveType source = 2; */ public Builder clearSource() { bitField0_ = (bitField0_ & ~0x00000002); source_ = 0; onChanged(); return this; } private int storage_ = 0; /** * required .com.facebook.hive.orc.PrimitiveType storage = 3; */ public boolean hasStorage() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * required .com.facebook.hive.orc.PrimitiveType storage = 3; */ public io.prestosql.orc.proto.DwrfProto.PrimitiveType getStorage() { io.prestosql.orc.proto.DwrfProto.PrimitiveType result = io.prestosql.orc.proto.DwrfProto.PrimitiveType.valueOf(storage_); return result == null ? io.prestosql.orc.proto.DwrfProto.PrimitiveType.VOID : result; } /** * required .com.facebook.hive.orc.PrimitiveType storage = 3; */ public Builder setStorage(io.prestosql.orc.proto.DwrfProto.PrimitiveType value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; storage_ = value.getNumber(); onChanged(); return this; } /** * required .com.facebook.hive.orc.PrimitiveType storage = 3; */ public Builder clearStorage() { bitField0_ = (bitField0_ & ~0x00000004); storage_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.TypeStorage) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.TypeStorage) private static final io.prestosql.orc.proto.DwrfProto.TypeStorage DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.TypeStorage(); } public static io.prestosql.orc.proto.DwrfProto.TypeStorage getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public TypeStorage parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new TypeStorage(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.TypeStorage getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TypeStorageListOrBuilder extends // @@protoc_insertion_point(interface_extends:com.facebook.hive.orc.TypeStorageList) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ java.util.List getTypesList(); /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ io.prestosql.orc.proto.DwrfProto.TypeStorage getTypes(int index); /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ int getTypesCount(); /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ java.util.List getTypesOrBuilderList(); /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ io.prestosql.orc.proto.DwrfProto.TypeStorageOrBuilder getTypesOrBuilder( int index); } /** * Protobuf type {@code com.facebook.hive.orc.TypeStorageList} */ public static final class TypeStorageList extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:com.facebook.hive.orc.TypeStorageList) TypeStorageListOrBuilder { // Use TypeStorageList.newBuilder() to construct. private TypeStorageList(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TypeStorageList() { types_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TypeStorageList( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.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)) { types_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } types_.add( input.readMessage(io.prestosql.orc.proto.DwrfProto.TypeStorage.PARSER, extensionRegistry)); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { types_ = java.util.Collections.unmodifiableList(types_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_TypeStorageList_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_TypeStorageList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.TypeStorageList.class, io.prestosql.orc.proto.DwrfProto.TypeStorageList.Builder.class); } public static final int TYPES_FIELD_NUMBER = 1; private java.util.List types_; /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public java.util.List getTypesList() { return types_; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public java.util.List getTypesOrBuilderList() { return types_; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public int getTypesCount() { return types_.size(); } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public io.prestosql.orc.proto.DwrfProto.TypeStorage getTypes(int index) { return types_.get(index); } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public io.prestosql.orc.proto.DwrfProto.TypeStorageOrBuilder getTypesOrBuilder( int index) { return types_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; for (int i = 0; i < getTypesCount(); i++) { if (!getTypes(i).isInitialized()) { memoizedIsInitialized = 0; return false; } } memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < types_.size(); i++) { output.writeMessage(1, types_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < types_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(1, types_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.DwrfProto.TypeStorageList)) { return super.equals(obj); } io.prestosql.orc.proto.DwrfProto.TypeStorageList other = (io.prestosql.orc.proto.DwrfProto.TypeStorageList) obj; boolean result = true; result = result && getTypesList() .equals(other.getTypesList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getTypesCount() > 0) { hash = (37 * hash) + TYPES_FIELD_NUMBER; hash = (53 * hash) + getTypesList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.DwrfProto.TypeStorageList prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code com.facebook.hive.orc.TypeStorageList} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:com.facebook.hive.orc.TypeStorageList) io.prestosql.orc.proto.DwrfProto.TypeStorageListOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_TypeStorageList_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_TypeStorageList_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.DwrfProto.TypeStorageList.class, io.prestosql.orc.proto.DwrfProto.TypeStorageList.Builder.class); } // Construct using io.prestosql.orc.proto.DwrfProto.TypeStorageList.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getTypesFieldBuilder(); } } public Builder clear() { super.clear(); if (typesBuilder_ == null) { types_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { typesBuilder_.clear(); } return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.DwrfProto.internal_static_com_facebook_hive_orc_TypeStorageList_descriptor; } public io.prestosql.orc.proto.DwrfProto.TypeStorageList getDefaultInstanceForType() { return io.prestosql.orc.proto.DwrfProto.TypeStorageList.getDefaultInstance(); } public io.prestosql.orc.proto.DwrfProto.TypeStorageList build() { io.prestosql.orc.proto.DwrfProto.TypeStorageList result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.DwrfProto.TypeStorageList buildPartial() { io.prestosql.orc.proto.DwrfProto.TypeStorageList result = new io.prestosql.orc.proto.DwrfProto.TypeStorageList(this); int from_bitField0_ = bitField0_; if (typesBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { types_ = java.util.Collections.unmodifiableList(types_); bitField0_ = (bitField0_ & ~0x00000001); } result.types_ = types_; } else { result.types_ = typesBuilder_.build(); } onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.DwrfProto.TypeStorageList) { return mergeFrom((io.prestosql.orc.proto.DwrfProto.TypeStorageList)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.DwrfProto.TypeStorageList other) { if (other == io.prestosql.orc.proto.DwrfProto.TypeStorageList.getDefaultInstance()) return this; if (typesBuilder_ == null) { if (!other.types_.isEmpty()) { if (types_.isEmpty()) { types_ = other.types_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureTypesIsMutable(); types_.addAll(other.types_); } onChanged(); } } else { if (!other.types_.isEmpty()) { if (typesBuilder_.isEmpty()) { typesBuilder_.dispose(); typesBuilder_ = null; types_ = other.types_; bitField0_ = (bitField0_ & ~0x00000001); typesBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTypesFieldBuilder() : null; } else { typesBuilder_.addAllMessages(other.types_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { for (int i = 0; i < getTypesCount(); i++) { if (!getTypes(i).isInitialized()) { return false; } } return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.DwrfProto.TypeStorageList parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.DwrfProto.TypeStorageList) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List types_ = java.util.Collections.emptyList(); private void ensureTypesIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { types_ = new java.util.ArrayList(types_); bitField0_ |= 0x00000001; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.TypeStorage, io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder, io.prestosql.orc.proto.DwrfProto.TypeStorageOrBuilder> typesBuilder_; /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public java.util.List getTypesList() { if (typesBuilder_ == null) { return java.util.Collections.unmodifiableList(types_); } else { return typesBuilder_.getMessageList(); } } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public int getTypesCount() { if (typesBuilder_ == null) { return types_.size(); } else { return typesBuilder_.getCount(); } } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public io.prestosql.orc.proto.DwrfProto.TypeStorage getTypes(int index) { if (typesBuilder_ == null) { return types_.get(index); } else { return typesBuilder_.getMessage(index); } } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public Builder setTypes( int index, io.prestosql.orc.proto.DwrfProto.TypeStorage value) { if (typesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.set(index, value); onChanged(); } else { typesBuilder_.setMessage(index, value); } return this; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public Builder setTypes( int index, io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.set(index, builderForValue.build()); onChanged(); } else { typesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public Builder addTypes(io.prestosql.orc.proto.DwrfProto.TypeStorage value) { if (typesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.add(value); onChanged(); } else { typesBuilder_.addMessage(value); } return this; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public Builder addTypes( int index, io.prestosql.orc.proto.DwrfProto.TypeStorage value) { if (typesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.add(index, value); onChanged(); } else { typesBuilder_.addMessage(index, value); } return this; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public Builder addTypes( io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.add(builderForValue.build()); onChanged(); } else { typesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public Builder addTypes( int index, io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.add(index, builderForValue.build()); onChanged(); } else { typesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public Builder addAllTypes( java.lang.Iterable values) { if (typesBuilder_ == null) { ensureTypesIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, types_); onChanged(); } else { typesBuilder_.addAllMessages(values); } return this; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public Builder clearTypes() { if (typesBuilder_ == null) { types_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { typesBuilder_.clear(); } return this; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public Builder removeTypes(int index) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.remove(index); onChanged(); } else { typesBuilder_.remove(index); } return this; } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder getTypesBuilder( int index) { return getTypesFieldBuilder().getBuilder(index); } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public io.prestosql.orc.proto.DwrfProto.TypeStorageOrBuilder getTypesOrBuilder( int index) { if (typesBuilder_ == null) { return types_.get(index); } else { return typesBuilder_.getMessageOrBuilder(index); } } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public java.util.List getTypesOrBuilderList() { if (typesBuilder_ != null) { return typesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(types_); } } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder addTypesBuilder() { return getTypesFieldBuilder().addBuilder( io.prestosql.orc.proto.DwrfProto.TypeStorage.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder addTypesBuilder( int index) { return getTypesFieldBuilder().addBuilder( index, io.prestosql.orc.proto.DwrfProto.TypeStorage.getDefaultInstance()); } /** * repeated .com.facebook.hive.orc.TypeStorage types = 1; */ public java.util.List getTypesBuilderList() { return getTypesFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.TypeStorage, io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder, io.prestosql.orc.proto.DwrfProto.TypeStorageOrBuilder> getTypesFieldBuilder() { if (typesBuilder_ == null) { typesBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.DwrfProto.TypeStorage, io.prestosql.orc.proto.DwrfProto.TypeStorage.Builder, io.prestosql.orc.proto.DwrfProto.TypeStorageOrBuilder>( types_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); types_ = null; } return typesBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:com.facebook.hive.orc.TypeStorageList) } // @@protoc_insertion_point(class_scope:com.facebook.hive.orc.TypeStorageList) private static final io.prestosql.orc.proto.DwrfProto.TypeStorageList DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.DwrfProto.TypeStorageList(); } public static io.prestosql.orc.proto.DwrfProto.TypeStorageList getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public TypeStorageList parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new TypeStorageList(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.DwrfProto.TypeStorageList getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_IntegerStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_IntegerStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_DoubleStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_DoubleStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_StringStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_StringStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_BucketStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_BucketStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_BinaryStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_BinaryStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_ColumnStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_ColumnStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_RowIndexEntry_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_RowIndexEntry_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_RowIndex_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_RowIndex_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_BloomFilter_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_BloomFilter_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_BloomFilterIndex_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_BloomFilterIndex_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_Stream_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_Stream_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_KeyInfo_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_KeyInfo_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_ColumnEncoding_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_ColumnEncoding_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_StripeFooter_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_StripeFooter_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_Type_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_Type_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_StripeInformation_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_StripeInformation_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_UserMetadataItem_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_UserMetadataItem_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_Footer_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_Footer_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_PostScript_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_PostScript_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_TypeStorage_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_TypeStorage_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_com_facebook_hive_orc_TypeStorageList_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_com_facebook_hive_orc_TypeStorageList_fieldAccessorTable; public static io.prestosql.orc.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static io.prestosql.orc.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\020dwrf_proto.proto\022\025com.facebook.hive.or" + "c\"B\n\021IntegerStatistics\022\017\n\007minimum\030\001 \001(\022\022" + "\017\n\007maximum\030\002 \001(\022\022\013\n\003sum\030\003 \001(\022\"A\n\020DoubleS" + "tatistics\022\017\n\007minimum\030\001 \001(\001\022\017\n\007maximum\030\002 " + "\001(\001\022\013\n\003sum\030\003 \001(\001\"A\n\020StringStatistics\022\017\n\007" + "minimum\030\001 \001(\t\022\017\n\007maximum\030\002 \001(\t\022\013\n\003sum\030\003 " + "\001(\022\"%\n\020BucketStatistics\022\021\n\005count\030\001 \003(\004B\002" + "\020\001\"\037\n\020BinaryStatistics\022\013\n\003sum\030\001 \001(\022\"\210\003\n\020" + "ColumnStatistics\022\026\n\016numberOfValues\030\001 \001(\004" + "\022?\n\rintStatistics\030\002 \001(\0132(.com.facebook.h", "ive.orc.IntegerStatistics\022A\n\020doubleStati" + "stics\030\003 \001(\0132\'.com.facebook.hive.orc.Doub" + "leStatistics\022A\n\020stringStatistics\030\004 \001(\0132\'" + ".com.facebook.hive.orc.StringStatistics\022" + "A\n\020bucketStatistics\030\005 \001(\0132\'.com.facebook" + ".hive.orc.BucketStatistics\022\017\n\007hasNull\030\006 " + "\001(\010\022A\n\020binaryStatistics\030\007 \001(\0132\'.com.face" + "book.hive.orc.BinaryStatistics\"c\n\rRowInd" + "exEntry\022\025\n\tpositions\030\001 \003(\004B\002\020\001\022;\n\nstatis" + "tics\030\002 \001(\0132\'.com.facebook.hive.orc.Colum", "nStatistics\"?\n\010RowIndex\0223\n\005entry\030\001 \003(\0132$" + ".com.facebook.hive.orc.RowIndexEntry\"K\n\013" + "BloomFilter\022\030\n\020numHashFunctions\030\001 \001(\r\022\016\n" + "\006bitset\030\002 \003(\006\022\022\n\nutf8bitset\030\003 \001(\014\"K\n\020Blo" + "omFilterIndex\0227\n\013bloomFilter\030\001 \003(\0132\".com" + ".facebook.hive.orc.BloomFilter\"\344\002\n\006Strea" + "m\0220\n\004kind\030\001 \002(\0162\".com.facebook.hive.orc." + "Stream.Kind\022\016\n\006column\030\002 \001(\r\022\016\n\006length\030\003 " + "\001(\004\022\026\n\010useVInts\030\004 \001(\010:\004true\022\020\n\010sequence\030" + "\006 \001(\r\"\335\001\n\004Kind\022\013\n\007PRESENT\020\000\022\010\n\004DATA\020\001\022\n\n", "\006LENGTH\020\002\022\023\n\017DICTIONARY_DATA\020\003\022\024\n\020DICTIO" + "NARY_COUNT\020\004\022\r\n\tNANO_DATA\020\005\022\r\n\tROW_INDEX" + "\020\006\022\021\n\rIN_DICTIONARY\020\007\022\025\n\021STRIDE_DICTIONA" + "RY\020\010\022\034\n\030STRIDE_DICTIONARY_LENGTH\020\t\022\025\n\021BL" + "OOM_FILTER_UTF8\020\n\022\n\n\006IN_MAP\020\013\"+\n\007KeyInfo" + "\022\016\n\006intKey\030\001 \001(\003\022\020\n\010bytesKey\030\002 \001(\014\"\205\002\n\016C" + "olumnEncoding\0228\n\004kind\030\001 \002(\0162*.com.facebo" + "ok.hive.orc.ColumnEncoding.Kind\022\026\n\016dicti" + "onarySize\030\002 \001(\r\022\016\n\006column\030\003 \001(\r\022\020\n\010seque" + "nce\030\004 \001(\r\022+\n\003key\030\005 \001(\0132\036.com.facebook.hi", "ve.orc.KeyInfo\"R\n\004Kind\022\n\n\006DIRECT\020\000\022\016\n\nDI" + "CTIONARY\020\001\022\r\n\tDIRECT_V2\020\002\022\021\n\rDICTIONARY_" + "V2\020\003\022\014\n\010MAP_FLAT\020\004\"v\n\014StripeFooter\022.\n\007st" + "reams\030\001 \003(\0132\035.com.facebook.hive.orc.Stre" + "am\0226\n\007columns\030\002 \003(\0132%.com.facebook.hive." + "orc.ColumnEncoding\"\206\002\n\004Type\022.\n\004kind\030\001 \002(" + "\0162 .com.facebook.hive.orc.Type.Kind\022\024\n\010s" + "ubtypes\030\002 \003(\rB\002\020\001\022\022\n\nfieldNames\030\003 \003(\t\"\243\001" + "\n\004Kind\022\013\n\007BOOLEAN\020\000\022\010\n\004BYTE\020\001\022\t\n\005SHORT\020\002" + "\022\007\n\003INT\020\003\022\010\n\004LONG\020\004\022\t\n\005FLOAT\020\005\022\n\n\006DOUBLE", "\020\006\022\n\n\006STRING\020\007\022\n\n\006BINARY\020\010\022\r\n\tTIMESTAMP\020" + "\t\022\010\n\004LIST\020\n\022\007\n\003MAP\020\013\022\n\n\006STRUCT\020\014\022\t\n\005UNIO" + "N\020\r\"\215\001\n\021StripeInformation\022\016\n\006offset\030\001 \001(" + "\004\022\023\n\013indexLength\030\002 \001(\004\022\022\n\ndataLength\030\003 \001" + "(\004\022\024\n\014footerLength\030\004 \001(\004\022\024\n\014numberOfRows" + "\030\005 \001(\004\022\023\n\013rawDataSize\030\006 \001(\004\"/\n\020UserMetad" + "ataItem\022\014\n\004name\030\001 \002(\t\022\r\n\005value\030\002 \002(\014\"\367\002\n" + "\006Footer\022\024\n\014headerLength\030\001 \001(\004\022\025\n\rcontent" + "Length\030\002 \001(\004\0229\n\007stripes\030\003 \003(\0132(.com.face" + "book.hive.orc.StripeInformation\022*\n\005types", "\030\004 \003(\0132\033.com.facebook.hive.orc.Type\0229\n\010m" + "etadata\030\005 \003(\0132\'.com.facebook.hive.orc.Us" + "erMetadataItem\022\024\n\014numberOfRows\030\006 \001(\004\022;\n\n" + "statistics\030\007 \003(\0132\'.com.facebook.hive.orc" + ".ColumnStatistics\022\026\n\016rowIndexStride\030\010 \001(" + "\r\022\023\n\013rawDataSize\030\t \001(\004\022\036\n\022stripeCacheOff" + "sets\030\n \003(\rB\002\020\001\"\342\001\n\nPostScript\022\024\n\014footerL" + "ength\030\001 \001(\004\022;\n\013compression\030\002 \001(\0162&.com.f" + "acebook.hive.orc.CompressionKind\022\034\n\024comp" + "ressionBlockSize\030\003 \001(\004\022\025\n\rwriterVersion\030", "\004 \001(\r\0229\n\tcacheMode\030\005 \001(\0162&.com.facebook." + "hive.orc.StripeCacheMode\022\021\n\tcacheSize\030\006 " + "\001(\r\"\214\001\n\013TypeStorage\022\020\n\010streamId\030\001 \002(\r\0224\n" + "\006source\030\002 \002(\0162$.com.facebook.hive.orc.Pr" + "imitiveType\0225\n\007storage\030\003 \002(\0162$.com.faceb" + "ook.hive.orc.PrimitiveType\"D\n\017TypeStorag" + "eList\0221\n\005types\030\001 \003(\0132\".com.facebook.hive" + ".orc.TypeStorage*M\n\017CompressionKind\022\010\n\004N" + "ONE\020\000\022\010\n\004ZLIB\020\001\022\n\n\006SNAPPY\020\002\022\007\n\003LZO\020\003\022\010\n\004" + "ZSTD\020\004\022\007\n\003LZ4\020\005*:\n\017StripeCacheMode\022\006\n\002NA", "\020\000\022\t\n\005INDEX\020\001\022\n\n\006FOOTER\020\002\022\010\n\004BOTH\020\003*\367\001\n\r" + "PrimitiveType\022\010\n\004VOID\020\000\022\013\n\007BOOLEAN\020\001\022\010\n\004" + "BYTE\020\002\022\t\n\005SHORT\020\003\022\007\n\003INT\020\004\022\010\n\004LONG\020\005\022\t\n\005" + "FLOAT\020\006\022\n\n\006DOUBLE\020\007\022\n\n\006STRING\020\010\022\010\n\004DATE\020" + "\t\022\r\n\tTIMESTAMP\020\n\022\n\n\006BINARY\020\013\022\013\n\007DECIMAL\020" + "\014\022\013\n\007VARCHAR\020\r\022\010\n\004CHAR\020\016\022\027\n\023INTERVAL_YEA" + "R_MONTH\020\017\022\025\n\021INTERVAL_DAY_TIME\020\020\022\013\n\007UNKN" + "OWN\020\021B\030\n\026io.prestosql.orc.proto" }; io.prestosql.orc.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new io.prestosql.orc.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public io.prestosql.orc.protobuf.ExtensionRegistry assignDescriptors( io.prestosql.orc.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; io.prestosql.orc.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new io.prestosql.orc.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_com_facebook_hive_orc_IntegerStatistics_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_com_facebook_hive_orc_IntegerStatistics_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_IntegerStatistics_descriptor, new java.lang.String[] { "Minimum", "Maximum", "Sum", }); internal_static_com_facebook_hive_orc_DoubleStatistics_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_com_facebook_hive_orc_DoubleStatistics_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_DoubleStatistics_descriptor, new java.lang.String[] { "Minimum", "Maximum", "Sum", }); internal_static_com_facebook_hive_orc_StringStatistics_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_com_facebook_hive_orc_StringStatistics_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_StringStatistics_descriptor, new java.lang.String[] { "Minimum", "Maximum", "Sum", }); internal_static_com_facebook_hive_orc_BucketStatistics_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_com_facebook_hive_orc_BucketStatistics_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_BucketStatistics_descriptor, new java.lang.String[] { "Count", }); internal_static_com_facebook_hive_orc_BinaryStatistics_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_com_facebook_hive_orc_BinaryStatistics_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_BinaryStatistics_descriptor, new java.lang.String[] { "Sum", }); internal_static_com_facebook_hive_orc_ColumnStatistics_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_com_facebook_hive_orc_ColumnStatistics_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_ColumnStatistics_descriptor, new java.lang.String[] { "NumberOfValues", "IntStatistics", "DoubleStatistics", "StringStatistics", "BucketStatistics", "HasNull", "BinaryStatistics", }); internal_static_com_facebook_hive_orc_RowIndexEntry_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_com_facebook_hive_orc_RowIndexEntry_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_RowIndexEntry_descriptor, new java.lang.String[] { "Positions", "Statistics", }); internal_static_com_facebook_hive_orc_RowIndex_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_com_facebook_hive_orc_RowIndex_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_RowIndex_descriptor, new java.lang.String[] { "Entry", }); internal_static_com_facebook_hive_orc_BloomFilter_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_com_facebook_hive_orc_BloomFilter_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_BloomFilter_descriptor, new java.lang.String[] { "NumHashFunctions", "Bitset", "Utf8Bitset", }); internal_static_com_facebook_hive_orc_BloomFilterIndex_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_com_facebook_hive_orc_BloomFilterIndex_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_BloomFilterIndex_descriptor, new java.lang.String[] { "BloomFilter", }); internal_static_com_facebook_hive_orc_Stream_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_com_facebook_hive_orc_Stream_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_Stream_descriptor, new java.lang.String[] { "Kind", "Column", "Length", "UseVInts", "Sequence", }); internal_static_com_facebook_hive_orc_KeyInfo_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_com_facebook_hive_orc_KeyInfo_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_KeyInfo_descriptor, new java.lang.String[] { "IntKey", "BytesKey", }); internal_static_com_facebook_hive_orc_ColumnEncoding_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_com_facebook_hive_orc_ColumnEncoding_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_ColumnEncoding_descriptor, new java.lang.String[] { "Kind", "DictionarySize", "Column", "Sequence", "Key", }); internal_static_com_facebook_hive_orc_StripeFooter_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_com_facebook_hive_orc_StripeFooter_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_StripeFooter_descriptor, new java.lang.String[] { "Streams", "Columns", }); internal_static_com_facebook_hive_orc_Type_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_com_facebook_hive_orc_Type_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_Type_descriptor, new java.lang.String[] { "Kind", "Subtypes", "FieldNames", }); internal_static_com_facebook_hive_orc_StripeInformation_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_com_facebook_hive_orc_StripeInformation_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_StripeInformation_descriptor, new java.lang.String[] { "Offset", "IndexLength", "DataLength", "FooterLength", "NumberOfRows", "RawDataSize", }); internal_static_com_facebook_hive_orc_UserMetadataItem_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_com_facebook_hive_orc_UserMetadataItem_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_UserMetadataItem_descriptor, new java.lang.String[] { "Name", "Value", }); internal_static_com_facebook_hive_orc_Footer_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_com_facebook_hive_orc_Footer_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_Footer_descriptor, new java.lang.String[] { "HeaderLength", "ContentLength", "Stripes", "Types", "Metadata", "NumberOfRows", "Statistics", "RowIndexStride", "RawDataSize", "StripeCacheOffsets", }); internal_static_com_facebook_hive_orc_PostScript_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_com_facebook_hive_orc_PostScript_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_PostScript_descriptor, new java.lang.String[] { "FooterLength", "Compression", "CompressionBlockSize", "WriterVersion", "CacheMode", "CacheSize", }); internal_static_com_facebook_hive_orc_TypeStorage_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_com_facebook_hive_orc_TypeStorage_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_TypeStorage_descriptor, new java.lang.String[] { "StreamId", "Source", "Storage", }); internal_static_com_facebook_hive_orc_TypeStorageList_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_com_facebook_hive_orc_TypeStorageList_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_com_facebook_hive_orc_TypeStorageList_descriptor, new java.lang.String[] { "Types", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2025 Weber Informatics LLC | Privacy Policy