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

org.apache.orc.OrcProto Maven / Gradle / Ivy

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

package org.apache.orc;

public final class OrcProto {
  private OrcProto() {}
  public static void registerAllExtensions(
      com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistry registry) {
  }
  /**
   * Protobuf enum {@code orc.proto.CompressionKind}
   */
  public enum CompressionKind
      implements com.facebook.presto.hive.$internal.com.google.protobuf.ProtocolMessageEnum {
    /**
     * NONE = 0;
     */
    NONE(0, 0),
    /**
     * ZLIB = 1;
     */
    ZLIB(1, 1),
    /**
     * SNAPPY = 2;
     */
    SNAPPY(2, 2),
    /**
     * LZO = 3;
     */
    LZO(3, 3),
    /**
     * LZ4 = 4;
     */
    LZ4(4, 4),
    /**
     * ZSTD = 5;
     */
    ZSTD(5, 5),
    ;

    /**
     * NONE = 0;
     */
    public static final int NONE_VALUE = 0;
    /**
     * ZLIB = 1;
     */
    public static final int ZLIB_VALUE = 1;
    /**
     * SNAPPY = 2;
     */
    public static final int SNAPPY_VALUE = 2;
    /**
     * LZO = 3;
     */
    public static final int LZO_VALUE = 3;
    /**
     * LZ4 = 4;
     */
    public static final int LZ4_VALUE = 4;
    /**
     * ZSTD = 5;
     */
    public static final int ZSTD_VALUE = 5;


    public final int getNumber() { return value; }

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

    public static com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap
        internalGetValueMap() {
      return internalValueMap;
    }
    private static com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap
        internalValueMap =
          new com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap() {
            public CompressionKind findValueByNumber(int number) {
              return CompressionKind.valueOf(number);
            }
          };

    public final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor
        getValueDescriptor() {
      return getDescriptor().getValues().get(index);
    }
    public final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptorForType() {
      return getDescriptor();
    }
    public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor
        getDescriptor() {
      return org.apache.orc.OrcProto.getDescriptor().getEnumTypes().get(0);
    }

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

    public static CompressionKind valueOf(
        com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int index;
    private final int value;

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

    // @@protoc_insertion_point(enum_scope:orc.proto.CompressionKind)
  }

  public interface IntegerStatisticsOrBuilder
      extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder {

    // optional sint64 minimum = 1;
    /**
     * optional sint64 minimum = 1;
     */
    boolean hasMinimum();
    /**
     * optional sint64 minimum = 1;
     */
    long getMinimum();

    // optional sint64 maximum = 2;
    /**
     * optional sint64 maximum = 2;
     */
    boolean hasMaximum();
    /**
     * optional sint64 maximum = 2;
     */
    long getMaximum();

    // optional sint64 sum = 3;
    /**
     * optional sint64 sum = 3;
     */
    boolean hasSum();
    /**
     * optional sint64 sum = 3;
     */
    long getSum();
  }
  /**
   * Protobuf type {@code orc.proto.IntegerStatistics}
   */
  public static final class IntegerStatistics extends
      com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage
      implements IntegerStatisticsOrBuilder {
    // Use IntegerStatistics.newBuilder() to construct.
    private IntegerStatistics(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private IntegerStatistics(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final IntegerStatistics defaultInstance;
    public static IntegerStatistics getDefaultInstance() {
      return defaultInstance;
    }

    public IntegerStatistics getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private IntegerStatistics(
        com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 8: {
              bitField0_ |= 0x00000001;
              minimum_ = input.readSInt64();
              break;
            }
            case 16: {
              bitField0_ |= 0x00000002;
              maximum_ = input.readSInt64();
              break;
            }
            case 24: {
              bitField0_ |= 0x00000004;
              sum_ = input.readSInt64();
              break;
            }
          }
        }
      } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_descriptor;
    }

    protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.orc.OrcProto.IntegerStatistics.class, org.apache.orc.OrcProto.IntegerStatistics.Builder.class);
    }

    public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER =
        new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() {
      public IntegerStatistics parsePartialFrom(
          com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
          com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
        return new IntegerStatistics(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    private int bitField0_;
    // optional sint64 minimum = 1;
    public static final int MINIMUM_FIELD_NUMBER = 1;
    private long minimum_;
    /**
     * optional sint64 minimum = 1;
     */
    public boolean hasMinimum() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * optional sint64 minimum = 1;
     */
    public long getMinimum() {
      return minimum_;
    }

    // optional sint64 maximum = 2;
    public static final int MAXIMUM_FIELD_NUMBER = 2;
    private long maximum_;
    /**
     * optional sint64 maximum = 2;
     */
    public boolean hasMaximum() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * optional sint64 maximum = 2;
     */
    public long getMaximum() {
      return maximum_;
    }

    // optional sint64 sum = 3;
    public static final int SUM_FIELD_NUMBER = 3;
    private long sum_;
    /**
     * optional sint64 sum = 3;
     */
    public boolean hasSum() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * optional sint64 sum = 3;
     */
    public long getSum() {
      return sum_;
    }

    private void initFields() {
      minimum_ = 0L;
      maximum_ = 0L;
      sum_ = 0L;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeSInt64(1, minimum_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeSInt64(2, maximum_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeSInt64(3, sum_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream
          .computeSInt64Size(1, minimum_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream
          .computeSInt64Size(2, maximum_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream
          .computeSInt64Size(3, sum_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
        com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data)
        throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
        com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(byte[] data)
        throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
        byte[] data,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
        java.io.InputStream input,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static org.apache.orc.OrcProto.IntegerStatistics parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static org.apache.orc.OrcProto.IntegerStatistics parseDelimitedFrom(
        java.io.InputStream input,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
        com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.apache.orc.OrcProto.IntegerStatistics parseFrom(
        com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(org.apache.orc.OrcProto.IntegerStatistics prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code orc.proto.IntegerStatistics}
     */
    public static final class Builder extends
        com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
       implements org.apache.orc.OrcProto.IntegerStatisticsOrBuilder {
      public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_descriptor;
      }

      protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.orc.OrcProto.IntegerStatistics.class, org.apache.orc.OrcProto.IntegerStatistics.Builder.class);
      }

      // Construct using org.apache.orc.OrcProto.IntegerStatistics.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        minimum_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000001);
        maximum_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000002);
        sum_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.orc.OrcProto.internal_static_orc_proto_IntegerStatistics_descriptor;
      }

      public org.apache.orc.OrcProto.IntegerStatistics getDefaultInstanceForType() {
        return org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance();
      }

      public org.apache.orc.OrcProto.IntegerStatistics build() {
        org.apache.orc.OrcProto.IntegerStatistics result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public org.apache.orc.OrcProto.IntegerStatistics buildPartial() {
        org.apache.orc.OrcProto.IntegerStatistics result = new org.apache.orc.OrcProto.IntegerStatistics(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.minimum_ = minimum_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.maximum_ = maximum_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.sum_ = sum_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) {
        if (other instanceof org.apache.orc.OrcProto.IntegerStatistics) {
          return mergeFrom((org.apache.orc.OrcProto.IntegerStatistics)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.orc.OrcProto.IntegerStatistics other) {
        if (other == org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance()) return this;
        if (other.hasMinimum()) {
          setMinimum(other.getMinimum());
        }
        if (other.hasMaximum()) {
          setMaximum(other.getMaximum());
        }
        if (other.hasSum()) {
          setSum(other.getSum());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
          com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.apache.orc.OrcProto.IntegerStatistics parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.apache.orc.OrcProto.IntegerStatistics) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // optional sint64 minimum = 1;
      private long minimum_ ;
      /**
       * optional sint64 minimum = 1;
       */
      public boolean hasMinimum() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional sint64 minimum = 1;
       */
      public long getMinimum() {
        return minimum_;
      }
      /**
       * optional sint64 minimum = 1;
       */
      public Builder setMinimum(long value) {
        bitField0_ |= 0x00000001;
        minimum_ = value;
        onChanged();
        return this;
      }
      /**
       * optional sint64 minimum = 1;
       */
      public Builder clearMinimum() {
        bitField0_ = (bitField0_ & ~0x00000001);
        minimum_ = 0L;
        onChanged();
        return this;
      }

      // optional sint64 maximum = 2;
      private long maximum_ ;
      /**
       * optional sint64 maximum = 2;
       */
      public boolean hasMaximum() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * optional sint64 maximum = 2;
       */
      public long getMaximum() {
        return maximum_;
      }
      /**
       * optional sint64 maximum = 2;
       */
      public Builder setMaximum(long value) {
        bitField0_ |= 0x00000002;
        maximum_ = value;
        onChanged();
        return this;
      }
      /**
       * optional sint64 maximum = 2;
       */
      public Builder clearMaximum() {
        bitField0_ = (bitField0_ & ~0x00000002);
        maximum_ = 0L;
        onChanged();
        return this;
      }

      // optional sint64 sum = 3;
      private long sum_ ;
      /**
       * optional sint64 sum = 3;
       */
      public boolean hasSum() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * optional sint64 sum = 3;
       */
      public long getSum() {
        return sum_;
      }
      /**
       * optional sint64 sum = 3;
       */
      public Builder setSum(long value) {
        bitField0_ |= 0x00000004;
        sum_ = value;
        onChanged();
        return this;
      }
      /**
       * optional sint64 sum = 3;
       */
      public Builder clearSum() {
        bitField0_ = (bitField0_ & ~0x00000004);
        sum_ = 0L;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:orc.proto.IntegerStatistics)
    }

    static {
      defaultInstance = new IntegerStatistics(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:orc.proto.IntegerStatistics)
  }

  public interface DoubleStatisticsOrBuilder
      extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder {

    // optional double minimum = 1;
    /**
     * optional double minimum = 1;
     */
    boolean hasMinimum();
    /**
     * optional double minimum = 1;
     */
    double getMinimum();

    // optional double maximum = 2;
    /**
     * optional double maximum = 2;
     */
    boolean hasMaximum();
    /**
     * optional double maximum = 2;
     */
    double getMaximum();

    // optional double sum = 3;
    /**
     * optional double sum = 3;
     */
    boolean hasSum();
    /**
     * optional double sum = 3;
     */
    double getSum();
  }
  /**
   * Protobuf type {@code orc.proto.DoubleStatistics}
   */
  public static final class DoubleStatistics extends
      com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage
      implements DoubleStatisticsOrBuilder {
    // Use DoubleStatistics.newBuilder() to construct.
    private DoubleStatistics(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) {
      super(builder);
      this.unknownFields = builder.getUnknownFields();
    }
    private DoubleStatistics(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); }

    private static final DoubleStatistics defaultInstance;
    public static DoubleStatistics getDefaultInstance() {
      return defaultInstance;
    }

    public DoubleStatistics getDefaultInstanceForType() {
      return defaultInstance;
    }

    private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields;
    @java.lang.Override
    public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet
        getUnknownFields() {
      return this.unknownFields;
    }
    private DoubleStatistics(
        com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
      initFields();
      int mutable_bitField0_ = 0;
      com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields =
          com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder();
      try {
        boolean done = false;
        while (!done) {
          int tag = input.readTag();
          switch (tag) {
            case 0:
              done = true;
              break;
            default: {
              if (!parseUnknownField(input, unknownFields,
                                     extensionRegistry, tag)) {
                done = true;
              }
              break;
            }
            case 9: {
              bitField0_ |= 0x00000001;
              minimum_ = input.readDouble();
              break;
            }
            case 17: {
              bitField0_ |= 0x00000002;
              maximum_ = input.readDouble();
              break;
            }
            case 25: {
              bitField0_ |= 0x00000004;
              sum_ = input.readDouble();
              break;
            }
          }
        }
      } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
        throw e.setUnfinishedMessage(this);
      } catch (java.io.IOException e) {
        throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException(
            e.getMessage()).setUnfinishedMessage(this);
      } finally {
        this.unknownFields = unknownFields.build();
        makeExtensionsImmutable();
      }
    }
    public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_descriptor;
    }

    protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              org.apache.orc.OrcProto.DoubleStatistics.class, org.apache.orc.OrcProto.DoubleStatistics.Builder.class);
    }

    public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER =
        new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() {
      public DoubleStatistics parsePartialFrom(
          com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
          com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
        return new DoubleStatistics(input, extensionRegistry);
      }
    };

    @java.lang.Override
    public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    private int bitField0_;
    // optional double minimum = 1;
    public static final int MINIMUM_FIELD_NUMBER = 1;
    private double minimum_;
    /**
     * optional double minimum = 1;
     */
    public boolean hasMinimum() {
      return ((bitField0_ & 0x00000001) == 0x00000001);
    }
    /**
     * optional double minimum = 1;
     */
    public double getMinimum() {
      return minimum_;
    }

    // optional double maximum = 2;
    public static final int MAXIMUM_FIELD_NUMBER = 2;
    private double maximum_;
    /**
     * optional double maximum = 2;
     */
    public boolean hasMaximum() {
      return ((bitField0_ & 0x00000002) == 0x00000002);
    }
    /**
     * optional double maximum = 2;
     */
    public double getMaximum() {
      return maximum_;
    }

    // optional double sum = 3;
    public static final int SUM_FIELD_NUMBER = 3;
    private double sum_;
    /**
     * optional double sum = 3;
     */
    public boolean hasSum() {
      return ((bitField0_ & 0x00000004) == 0x00000004);
    }
    /**
     * optional double sum = 3;
     */
    public double getSum() {
      return sum_;
    }

    private void initFields() {
      minimum_ = 0D;
      maximum_ = 0D;
      sum_ = 0D;
    }
    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized != -1) return isInitialized == 1;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      getSerializedSize();
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeDouble(1, minimum_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeDouble(2, maximum_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeDouble(3, sum_);
      }
      getUnknownFields().writeTo(output);
    }

    private int memoizedSerializedSize = -1;
    public int getSerializedSize() {
      int size = memoizedSerializedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream
          .computeDoubleSize(1, minimum_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream
          .computeDoubleSize(2, maximum_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream
          .computeDoubleSize(3, sum_);
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSerializedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    protected java.lang.Object writeReplace()
        throws java.io.ObjectStreamException {
      return super.writeReplace();
    }

    public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
        com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data)
        throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
        com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(byte[] data)
        throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
        byte[] data,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
        java.io.InputStream input,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }
    public static org.apache.orc.OrcProto.DoubleStatistics parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input);
    }
    public static org.apache.orc.OrcProto.DoubleStatistics parseDelimitedFrom(
        java.io.InputStream input,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseDelimitedFrom(input, extensionRegistry);
    }
    public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
        com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return PARSER.parseFrom(input);
    }
    public static org.apache.orc.OrcProto.DoubleStatistics parseFrom(
        com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
        com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return PARSER.parseFrom(input, extensionRegistry);
    }

    public static Builder newBuilder() { return Builder.create(); }
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder(org.apache.orc.OrcProto.DoubleStatistics prototype) {
      return newBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() { return newBuilder(this); }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code orc.proto.DoubleStatistics}
     */
    public static final class Builder extends
        com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder
       implements org.apache.orc.OrcProto.DoubleStatisticsOrBuilder {
      public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_descriptor;
      }

      protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                org.apache.orc.OrcProto.DoubleStatistics.class, org.apache.orc.OrcProto.DoubleStatistics.Builder.class);
      }

      // Construct using org.apache.orc.OrcProto.DoubleStatistics.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) {
        }
      }
      private static Builder create() {
        return new Builder();
      }

      public Builder clear() {
        super.clear();
        minimum_ = 0D;
        bitField0_ = (bitField0_ & ~0x00000001);
        maximum_ = 0D;
        bitField0_ = (bitField0_ & ~0x00000002);
        sum_ = 0D;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public Builder clone() {
        return create().mergeFrom(buildPartial());
      }

      public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return org.apache.orc.OrcProto.internal_static_orc_proto_DoubleStatistics_descriptor;
      }

      public org.apache.orc.OrcProto.DoubleStatistics getDefaultInstanceForType() {
        return org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance();
      }

      public org.apache.orc.OrcProto.DoubleStatistics build() {
        org.apache.orc.OrcProto.DoubleStatistics result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      public org.apache.orc.OrcProto.DoubleStatistics buildPartial() {
        org.apache.orc.OrcProto.DoubleStatistics result = new org.apache.orc.OrcProto.DoubleStatistics(this);
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) == 0x00000001)) {
          to_bitField0_ |= 0x00000001;
        }
        result.minimum_ = minimum_;
        if (((from_bitField0_ & 0x00000002) == 0x00000002)) {
          to_bitField0_ |= 0x00000002;
        }
        result.maximum_ = maximum_;
        if (((from_bitField0_ & 0x00000004) == 0x00000004)) {
          to_bitField0_ |= 0x00000004;
        }
        result.sum_ = sum_;
        result.bitField0_ = to_bitField0_;
        onBuilt();
        return result;
      }

      public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) {
        if (other instanceof org.apache.orc.OrcProto.DoubleStatistics) {
          return mergeFrom((org.apache.orc.OrcProto.DoubleStatistics)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(org.apache.orc.OrcProto.DoubleStatistics other) {
        if (other == org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance()) return this;
        if (other.hasMinimum()) {
          setMinimum(other.getMinimum());
        }
        if (other.hasMaximum()) {
          setMaximum(other.getMaximum());
        }
        if (other.hasSum()) {
          setSum(other.getSum());
        }
        this.mergeUnknownFields(other.getUnknownFields());
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input,
          com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        org.apache.orc.OrcProto.DoubleStatistics parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (org.apache.orc.OrcProto.DoubleStatistics) e.getUnfinishedMessage();
          throw e;
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

      // optional double minimum = 1;
      private double minimum_ ;
      /**
       * optional double minimum = 1;
       */
      public boolean hasMinimum() {
        return ((bitField0_ & 0x00000001) == 0x00000001);
      }
      /**
       * optional double minimum = 1;
       */
      public double getMinimum() {
        return minimum_;
      }
      /**
       * optional double minimum = 1;
       */
      public Builder setMinimum(double value) {
        bitField0_ |= 0x00000001;
        minimum_ = value;
        onChanged();
        return this;
      }
      /**
       * optional double minimum = 1;
       */
      public Builder clearMinimum() {
        bitField0_ = (bitField0_ & ~0x00000001);
        minimum_ = 0D;
        onChanged();
        return this;
      }

      // optional double maximum = 2;
      private double maximum_ ;
      /**
       * optional double maximum = 2;
       */
      public boolean hasMaximum() {
        return ((bitField0_ & 0x00000002) == 0x00000002);
      }
      /**
       * optional double maximum = 2;
       */
      public double getMaximum() {
        return maximum_;
      }
      /**
       * optional double maximum = 2;
       */
      public Builder setMaximum(double value) {
        bitField0_ |= 0x00000002;
        maximum_ = value;
        onChanged();
        return this;
      }
      /**
       * optional double maximum = 2;
       */
      public Builder clearMaximum() {
        bitField0_ = (bitField0_ & ~0x00000002);
        maximum_ = 0D;
        onChanged();
        return this;
      }

      // optional double sum = 3;
      private double sum_ ;
      /**
       * optional double sum = 3;
       */
      public boolean hasSum() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * optional double sum = 3;
       */
      public double getSum() {
        return sum_;
      }
      /**
       * optional double sum = 3;
       */
      public Builder setSum(double value) {
        bitField0_ |= 0x00000004;
        sum_ = value;
        onChanged();
        return this;
      }
      /**
       * optional double sum = 3;
       */
      public Builder clearSum() {
        bitField0_ = (bitField0_ & ~0x00000004);
        sum_ = 0D;
        onChanged();
        return this;
      }

      // @@protoc_insertion_point(builder_scope:orc.proto.DoubleStatistics)
    }

    static {
      defaultInstance = new DoubleStatistics(true);
      defaultInstance.initFields();
    }

    // @@protoc_insertion_point(class_scope:orc.proto.DoubleStatistics)
  }

  public interface StringStatisticsOrBuilder
      extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder {

    // optional string minimum = 1;
    /**
     * optional string minimum = 1;
     */
    boolean hasMinimum();
    /**
     * optional string minimum = 1;
     */
    java.lang.String getMinimum();
    /**
     * optional string minimum = 1;
     */
    com.facebook.presto.hive.$internal.com.google.protobuf.ByteString
        getMinimumBytes();

    // optional string maximum = 2;
    /**
     * optional string maximum = 2;
     */
    boolean hasMaximum();
    /**
     * optional string maximum = 2;
     */
    java.lang.String getMaximum();
    /**
     * optional string maximum = 2;
     */
    com.facebook.presto.hive.$internal.com.google.protobuf.ByteString
        getMaximumBytes();

    // optional sint64 sum = 3;
    /**
     * optional sint64 sum = 3;
     *
     * 
     * sum will store the total length of all strings in a stripe
     * 
*/ boolean hasSum(); /** * optional sint64 sum = 3; * *
     * sum will store the total length of all strings in a stripe
     * 
*/ long getSum(); } /** * Protobuf type {@code orc.proto.StringStatistics} */ public static final class StringStatistics extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements StringStatisticsOrBuilder { // Use StringStatistics.newBuilder() to construct. private StringStatistics(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StringStatistics(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StringStatistics defaultInstance; public static StringStatistics getDefaultInstance() { return defaultInstance; } public StringStatistics getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringStatistics( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; minimum_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; maximum_ = input.readBytes(); break; } case 24: { bitField0_ |= 0x00000004; sum_ = input.readSInt64(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.StringStatistics.class, org.apache.orc.OrcProto.StringStatistics.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public StringStatistics parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new StringStatistics(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string minimum = 1; public static final int MINIMUM_FIELD_NUMBER = 1; private java.lang.Object minimum_; /** * optional string minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string minimum = 1; */ public java.lang.String getMinimum() { java.lang.Object ref = minimum_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString bs = (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { minimum_ = s; } return s; } } /** * optional string minimum = 1; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMinimumBytes() { java.lang.Object ref = minimum_; if (ref instanceof java.lang.String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minimum_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } // optional string maximum = 2; public static final int MAXIMUM_FIELD_NUMBER = 2; private java.lang.Object maximum_; /** * optional string maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string maximum = 2; */ public java.lang.String getMaximum() { java.lang.Object ref = maximum_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString bs = (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { maximum_ = s; } return s; } } /** * optional string maximum = 2; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMaximumBytes() { java.lang.Object ref = maximum_; if (ref instanceof java.lang.String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); maximum_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } // optional sint64 sum = 3; public static final int SUM_FIELD_NUMBER = 3; private long sum_; /** * optional sint64 sum = 3; * *
     * sum will store the total length of all strings in a stripe
     * 
*/ public boolean hasSum() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional sint64 sum = 3; * *
     * sum will store the total length of all strings in a stripe
     * 
*/ public long getSum() { return sum_; } private void initFields() { minimum_ = ""; maximum_ = ""; sum_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getMinimumBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getMaximumBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeSInt64(3, sum_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(1, getMinimumBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(2, getMaximumBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeSInt64Size(3, sum_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.StringStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.StringStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.StringStatistics parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.StringStatistics parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.StringStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.StringStatistics parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.StringStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.StringStatistics parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.StringStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.StringStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.StringStatistics prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.StringStatistics} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.StringStatisticsOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.StringStatistics.class, org.apache.orc.OrcProto.StringStatistics.Builder.class); } // Construct using org.apache.orc.OrcProto.StringStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); minimum_ = ""; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = ""; bitField0_ = (bitField0_ & ~0x00000002); sum_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_StringStatistics_descriptor; } public org.apache.orc.OrcProto.StringStatistics getDefaultInstanceForType() { return org.apache.orc.OrcProto.StringStatistics.getDefaultInstance(); } public org.apache.orc.OrcProto.StringStatistics build() { org.apache.orc.OrcProto.StringStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.StringStatistics buildPartial() { org.apache.orc.OrcProto.StringStatistics result = new org.apache.orc.OrcProto.StringStatistics(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.minimum_ = minimum_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.maximum_ = maximum_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.sum_ = sum_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.StringStatistics) { return mergeFrom((org.apache.orc.OrcProto.StringStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.StringStatistics other) { if (other == org.apache.orc.OrcProto.StringStatistics.getDefaultInstance()) return this; if (other.hasMinimum()) { bitField0_ |= 0x00000001; minimum_ = other.minimum_; onChanged(); } if (other.hasMaximum()) { bitField0_ |= 0x00000002; maximum_ = other.maximum_; onChanged(); } if (other.hasSum()) { setSum(other.getSum()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.StringStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.StringStatistics) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string minimum = 1; private java.lang.Object minimum_ = ""; /** * optional string minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string minimum = 1; */ public java.lang.String getMinimum() { java.lang.Object ref = minimum_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref) .toStringUtf8(); minimum_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string minimum = 1; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMinimumBytes() { java.lang.Object ref = minimum_; if (ref instanceof String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minimum_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } /** * optional string minimum = 1; */ public Builder setMinimum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } /** * optional string minimum = 1; */ public Builder clearMinimum() { bitField0_ = (bitField0_ & ~0x00000001); minimum_ = getDefaultInstance().getMinimum(); onChanged(); return this; } /** * optional string minimum = 1; */ public Builder setMinimumBytes( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } // optional string maximum = 2; private java.lang.Object maximum_ = ""; /** * optional string maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string maximum = 2; */ public java.lang.String getMaximum() { java.lang.Object ref = maximum_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref) .toStringUtf8(); maximum_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string maximum = 2; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMaximumBytes() { java.lang.Object ref = maximum_; if (ref instanceof String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); maximum_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } /** * optional string maximum = 2; */ public Builder setMaximum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } /** * optional string maximum = 2; */ public Builder clearMaximum() { bitField0_ = (bitField0_ & ~0x00000002); maximum_ = getDefaultInstance().getMaximum(); onChanged(); return this; } /** * optional string maximum = 2; */ public Builder setMaximumBytes( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } // optional sint64 sum = 3; private long sum_ ; /** * optional sint64 sum = 3; * *
       * sum will store the total length of all strings in a stripe
       * 
*/ public boolean hasSum() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional sint64 sum = 3; * *
       * sum will store the total length of all strings in a stripe
       * 
*/ public long getSum() { return sum_; } /** * optional sint64 sum = 3; * *
       * sum will store the total length of all strings in a stripe
       * 
*/ public Builder setSum(long value) { bitField0_ |= 0x00000004; sum_ = value; onChanged(); return this; } /** * optional sint64 sum = 3; * *
       * sum will store the total length of all strings in a stripe
       * 
*/ public Builder clearSum() { bitField0_ = (bitField0_ & ~0x00000004); sum_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.StringStatistics) } static { defaultInstance = new StringStatistics(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.StringStatistics) } public interface BucketStatisticsOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // repeated uint64 count = 1 [packed = true]; /** * repeated uint64 count = 1 [packed = true]; */ java.util.List getCountList(); /** * repeated uint64 count = 1 [packed = true]; */ int getCountCount(); /** * repeated uint64 count = 1 [packed = true]; */ long getCount(int index); } /** * Protobuf type {@code orc.proto.BucketStatistics} */ public static final class BucketStatistics extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements BucketStatisticsOrBuilder { // Use BucketStatistics.newBuilder() to construct. private BucketStatistics(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BucketStatistics(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BucketStatistics defaultInstance; public static BucketStatistics getDefaultInstance() { return defaultInstance; } public BucketStatistics getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BucketStatistics( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { count_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } count_.add(input.readUInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { count_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { count_.add(input.readUInt64()); } input.popLimit(limit); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { count_ = java.util.Collections.unmodifiableList(count_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_BucketStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_BucketStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.BucketStatistics.class, org.apache.orc.OrcProto.BucketStatistics.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public BucketStatistics parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new BucketStatistics(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated uint64 count = 1 [packed = true]; public static final int COUNT_FIELD_NUMBER = 1; private java.util.List count_; /** * repeated uint64 count = 1 [packed = true]; */ public java.util.List getCountList() { return count_; } /** * repeated uint64 count = 1 [packed = true]; */ public int getCountCount() { return count_.size(); } /** * repeated uint64 count = 1 [packed = true]; */ public long getCount(int index) { return count_.get(index); } private int countMemoizedSerializedSize = -1; private void initFields() { count_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getCountList().size() > 0) { output.writeRawVarint32(10); output.writeRawVarint32(countMemoizedSerializedSize); } for (int i = 0; i < count_.size(); i++) { output.writeUInt64NoTag(count_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < count_.size(); i++) { dataSize += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(count_.get(i)); } size += dataSize; if (!getCountList().isEmpty()) { size += 1; size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } countMemoizedSerializedSize = dataSize; } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.BucketStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.BucketStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.BucketStatistics parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.BucketStatistics parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.BucketStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.BucketStatistics parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.BucketStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.BucketStatistics parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.BucketStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.BucketStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.BucketStatistics prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.BucketStatistics} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.BucketStatisticsOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_BucketStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_BucketStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.BucketStatistics.class, org.apache.orc.OrcProto.BucketStatistics.Builder.class); } // Construct using org.apache.orc.OrcProto.BucketStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); count_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_BucketStatistics_descriptor; } public org.apache.orc.OrcProto.BucketStatistics getDefaultInstanceForType() { return org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance(); } public org.apache.orc.OrcProto.BucketStatistics build() { org.apache.orc.OrcProto.BucketStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.BucketStatistics buildPartial() { org.apache.orc.OrcProto.BucketStatistics result = new org.apache.orc.OrcProto.BucketStatistics(this); int from_bitField0_ = bitField0_; if (((bitField0_ & 0x00000001) == 0x00000001)) { count_ = java.util.Collections.unmodifiableList(count_); bitField0_ = (bitField0_ & ~0x00000001); } result.count_ = count_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.BucketStatistics) { return mergeFrom((org.apache.orc.OrcProto.BucketStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.BucketStatistics other) { if (other == org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance()) return this; if (!other.count_.isEmpty()) { if (count_.isEmpty()) { count_ = other.count_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureCountIsMutable(); count_.addAll(other.count_); } onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.BucketStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.BucketStatistics) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated uint64 count = 1 [packed = true]; private java.util.List count_ = java.util.Collections.emptyList(); private void ensureCountIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { count_ = new java.util.ArrayList(count_); bitField0_ |= 0x00000001; } } /** * repeated uint64 count = 1 [packed = true]; */ public java.util.List getCountList() { return java.util.Collections.unmodifiableList(count_); } /** * repeated uint64 count = 1 [packed = true]; */ public int getCountCount() { return count_.size(); } /** * repeated uint64 count = 1 [packed = true]; */ public long getCount(int index) { return count_.get(index); } /** * repeated uint64 count = 1 [packed = true]; */ public Builder setCount( int index, long value) { ensureCountIsMutable(); count_.set(index, value); onChanged(); return this; } /** * repeated uint64 count = 1 [packed = true]; */ public Builder addCount(long value) { ensureCountIsMutable(); count_.add(value); onChanged(); return this; } /** * repeated uint64 count = 1 [packed = true]; */ public Builder addAllCount( java.lang.Iterable values) { ensureCountIsMutable(); super.addAll(values, count_); onChanged(); return this; } /** * repeated uint64 count = 1 [packed = true]; */ public Builder clearCount() { count_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.BucketStatistics) } static { defaultInstance = new BucketStatistics(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.BucketStatistics) } public interface DecimalStatisticsOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional string minimum = 1; /** * optional string minimum = 1; */ boolean hasMinimum(); /** * optional string minimum = 1; */ java.lang.String getMinimum(); /** * optional string minimum = 1; */ com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMinimumBytes(); // optional string maximum = 2; /** * optional string maximum = 2; */ boolean hasMaximum(); /** * optional string maximum = 2; */ java.lang.String getMaximum(); /** * optional string maximum = 2; */ com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMaximumBytes(); // optional string sum = 3; /** * optional string sum = 3; */ boolean hasSum(); /** * optional string sum = 3; */ java.lang.String getSum(); /** * optional string sum = 3; */ com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getSumBytes(); } /** * Protobuf type {@code orc.proto.DecimalStatistics} */ public static final class DecimalStatistics extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements DecimalStatisticsOrBuilder { // Use DecimalStatistics.newBuilder() to construct. private DecimalStatistics(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DecimalStatistics(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DecimalStatistics defaultInstance; public static DecimalStatistics getDefaultInstance() { return defaultInstance; } public DecimalStatistics getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DecimalStatistics( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; minimum_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; maximum_ = input.readBytes(); break; } case 26: { bitField0_ |= 0x00000004; sum_ = input.readBytes(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.DecimalStatistics.class, org.apache.orc.OrcProto.DecimalStatistics.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public DecimalStatistics parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new DecimalStatistics(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string minimum = 1; public static final int MINIMUM_FIELD_NUMBER = 1; private java.lang.Object minimum_; /** * optional string minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string minimum = 1; */ public java.lang.String getMinimum() { java.lang.Object ref = minimum_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString bs = (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { minimum_ = s; } return s; } } /** * optional string minimum = 1; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMinimumBytes() { java.lang.Object ref = minimum_; if (ref instanceof java.lang.String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minimum_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } // optional string maximum = 2; public static final int MAXIMUM_FIELD_NUMBER = 2; private java.lang.Object maximum_; /** * optional string maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string maximum = 2; */ public java.lang.String getMaximum() { java.lang.Object ref = maximum_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString bs = (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { maximum_ = s; } return s; } } /** * optional string maximum = 2; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMaximumBytes() { java.lang.Object ref = maximum_; if (ref instanceof java.lang.String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); maximum_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } // optional string sum = 3; public static final int SUM_FIELD_NUMBER = 3; private java.lang.Object sum_; /** * optional string sum = 3; */ public boolean hasSum() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string sum = 3; */ public java.lang.String getSum() { java.lang.Object ref = sum_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString bs = (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { sum_ = s; } return s; } } /** * optional string sum = 3; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getSumBytes() { java.lang.Object ref = sum_; if (ref instanceof java.lang.String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sum_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } private void initFields() { minimum_ = ""; maximum_ = ""; sum_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getMinimumBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, getMaximumBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeBytes(3, getSumBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(1, getMinimumBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(2, getMaximumBytes()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(3, getSumBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.DecimalStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.DecimalStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.DecimalStatistics parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.DecimalStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.DecimalStatistics parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.DecimalStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.DecimalStatistics parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.DecimalStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.DecimalStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.DecimalStatistics prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.DecimalStatistics} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.DecimalStatisticsOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.DecimalStatistics.class, org.apache.orc.OrcProto.DecimalStatistics.Builder.class); } // Construct using org.apache.orc.OrcProto.DecimalStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); minimum_ = ""; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = ""; bitField0_ = (bitField0_ & ~0x00000002); sum_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_DecimalStatistics_descriptor; } public org.apache.orc.OrcProto.DecimalStatistics getDefaultInstanceForType() { return org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance(); } public org.apache.orc.OrcProto.DecimalStatistics build() { org.apache.orc.OrcProto.DecimalStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.DecimalStatistics buildPartial() { org.apache.orc.OrcProto.DecimalStatistics result = new org.apache.orc.OrcProto.DecimalStatistics(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.minimum_ = minimum_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.maximum_ = maximum_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.sum_ = sum_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.DecimalStatistics) { return mergeFrom((org.apache.orc.OrcProto.DecimalStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.DecimalStatistics other) { if (other == org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance()) return this; if (other.hasMinimum()) { bitField0_ |= 0x00000001; minimum_ = other.minimum_; onChanged(); } if (other.hasMaximum()) { bitField0_ |= 0x00000002; maximum_ = other.maximum_; onChanged(); } if (other.hasSum()) { bitField0_ |= 0x00000004; sum_ = other.sum_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.DecimalStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.DecimalStatistics) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string minimum = 1; private java.lang.Object minimum_ = ""; /** * optional string minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string minimum = 1; */ public java.lang.String getMinimum() { java.lang.Object ref = minimum_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref) .toStringUtf8(); minimum_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string minimum = 1; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMinimumBytes() { java.lang.Object ref = minimum_; if (ref instanceof String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minimum_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } /** * optional string minimum = 1; */ public Builder setMinimum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } /** * optional string minimum = 1; */ public Builder clearMinimum() { bitField0_ = (bitField0_ & ~0x00000001); minimum_ = getDefaultInstance().getMinimum(); onChanged(); return this; } /** * optional string minimum = 1; */ public Builder setMinimumBytes( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } // optional string maximum = 2; private java.lang.Object maximum_ = ""; /** * optional string maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string maximum = 2; */ public java.lang.String getMaximum() { java.lang.Object ref = maximum_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref) .toStringUtf8(); maximum_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string maximum = 2; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMaximumBytes() { java.lang.Object ref = maximum_; if (ref instanceof String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); maximum_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } /** * optional string maximum = 2; */ public Builder setMaximum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } /** * optional string maximum = 2; */ public Builder clearMaximum() { bitField0_ = (bitField0_ & ~0x00000002); maximum_ = getDefaultInstance().getMaximum(); onChanged(); return this; } /** * optional string maximum = 2; */ public Builder setMaximumBytes( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } // optional string sum = 3; private java.lang.Object sum_ = ""; /** * optional string sum = 3; */ public boolean hasSum() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string sum = 3; */ public java.lang.String getSum() { java.lang.Object ref = sum_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref) .toStringUtf8(); sum_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string sum = 3; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getSumBytes() { java.lang.Object ref = sum_; if (ref instanceof String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sum_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } /** * optional string sum = 3; */ public Builder setSum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; sum_ = value; onChanged(); return this; } /** * optional string sum = 3; */ public Builder clearSum() { bitField0_ = (bitField0_ & ~0x00000004); sum_ = getDefaultInstance().getSum(); onChanged(); return this; } /** * optional string sum = 3; */ public Builder setSumBytes( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; sum_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.DecimalStatistics) } static { defaultInstance = new DecimalStatistics(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.DecimalStatistics) } public interface DateStatisticsOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional sint32 minimum = 1; /** * optional sint32 minimum = 1; * *
     * min,max values saved as days since epoch
     * 
*/ boolean hasMinimum(); /** * optional sint32 minimum = 1; * *
     * min,max values saved as days since epoch
     * 
*/ int getMinimum(); // optional sint32 maximum = 2; /** * optional sint32 maximum = 2; */ boolean hasMaximum(); /** * optional sint32 maximum = 2; */ int getMaximum(); } /** * Protobuf type {@code orc.proto.DateStatistics} */ public static final class DateStatistics extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements DateStatisticsOrBuilder { // Use DateStatistics.newBuilder() to construct. private DateStatistics(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private DateStatistics(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final DateStatistics defaultInstance; public static DateStatistics getDefaultInstance() { return defaultInstance; } public DateStatistics getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DateStatistics( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; minimum_ = input.readSInt32(); break; } case 16: { bitField0_ |= 0x00000002; maximum_ = input.readSInt32(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.DateStatistics.class, org.apache.orc.OrcProto.DateStatistics.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public DateStatistics parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new DateStatistics(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional sint32 minimum = 1; public static final int MINIMUM_FIELD_NUMBER = 1; private int minimum_; /** * optional sint32 minimum = 1; * *
     * min,max values saved as days since epoch
     * 
*/ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional sint32 minimum = 1; * *
     * min,max values saved as days since epoch
     * 
*/ public int getMinimum() { return minimum_; } // optional sint32 maximum = 2; public static final int MAXIMUM_FIELD_NUMBER = 2; private int maximum_; /** * optional sint32 maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional sint32 maximum = 2; */ public int getMaximum() { return maximum_; } private void initFields() { minimum_ = 0; maximum_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeSInt32(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeSInt32(2, maximum_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeSInt32Size(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeSInt32Size(2, maximum_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.DateStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.DateStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.DateStatistics parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.DateStatistics parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.DateStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.DateStatistics parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.DateStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.DateStatistics parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.DateStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.DateStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.DateStatistics prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.DateStatistics} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.DateStatisticsOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.DateStatistics.class, org.apache.orc.OrcProto.DateStatistics.Builder.class); } // Construct using org.apache.orc.OrcProto.DateStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); minimum_ = 0; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_DateStatistics_descriptor; } public org.apache.orc.OrcProto.DateStatistics getDefaultInstanceForType() { return org.apache.orc.OrcProto.DateStatistics.getDefaultInstance(); } public org.apache.orc.OrcProto.DateStatistics build() { org.apache.orc.OrcProto.DateStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.DateStatistics buildPartial() { org.apache.orc.OrcProto.DateStatistics result = new org.apache.orc.OrcProto.DateStatistics(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.minimum_ = minimum_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.maximum_ = maximum_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.DateStatistics) { return mergeFrom((org.apache.orc.OrcProto.DateStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.DateStatistics other) { if (other == org.apache.orc.OrcProto.DateStatistics.getDefaultInstance()) return this; if (other.hasMinimum()) { setMinimum(other.getMinimum()); } if (other.hasMaximum()) { setMaximum(other.getMaximum()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.DateStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.DateStatistics) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional sint32 minimum = 1; private int minimum_ ; /** * optional sint32 minimum = 1; * *
       * min,max values saved as days since epoch
       * 
*/ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional sint32 minimum = 1; * *
       * min,max values saved as days since epoch
       * 
*/ public int getMinimum() { return minimum_; } /** * optional sint32 minimum = 1; * *
       * min,max values saved as days since epoch
       * 
*/ public Builder setMinimum(int value) { bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } /** * optional sint32 minimum = 1; * *
       * min,max values saved as days since epoch
       * 
*/ public Builder clearMinimum() { bitField0_ = (bitField0_ & ~0x00000001); minimum_ = 0; onChanged(); return this; } // optional sint32 maximum = 2; private int maximum_ ; /** * optional sint32 maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional sint32 maximum = 2; */ public int getMaximum() { return maximum_; } /** * optional sint32 maximum = 2; */ public Builder setMaximum(int value) { bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } /** * optional sint32 maximum = 2; */ public Builder clearMaximum() { bitField0_ = (bitField0_ & ~0x00000002); maximum_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.DateStatistics) } static { defaultInstance = new DateStatistics(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.DateStatistics) } public interface TimestampStatisticsOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional sint64 minimum = 1; /** * optional sint64 minimum = 1; * *
     * min,max values saved as milliseconds since epoch
     * 
*/ boolean hasMinimum(); /** * optional sint64 minimum = 1; * *
     * min,max values saved as milliseconds since epoch
     * 
*/ long getMinimum(); // optional sint64 maximum = 2; /** * optional sint64 maximum = 2; */ boolean hasMaximum(); /** * optional sint64 maximum = 2; */ long getMaximum(); // optional sint64 minimumUtc = 3; /** * optional sint64 minimumUtc = 3; */ boolean hasMinimumUtc(); /** * optional sint64 minimumUtc = 3; */ long getMinimumUtc(); // optional sint64 maximumUtc = 4; /** * optional sint64 maximumUtc = 4; */ boolean hasMaximumUtc(); /** * optional sint64 maximumUtc = 4; */ long getMaximumUtc(); } /** * Protobuf type {@code orc.proto.TimestampStatistics} */ public static final class TimestampStatistics extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements TimestampStatisticsOrBuilder { // Use TimestampStatistics.newBuilder() to construct. private TimestampStatistics(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private TimestampStatistics(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final TimestampStatistics defaultInstance; public static TimestampStatistics getDefaultInstance() { return defaultInstance; } public TimestampStatistics getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TimestampStatistics( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; minimum_ = input.readSInt64(); break; } case 16: { bitField0_ |= 0x00000002; maximum_ = input.readSInt64(); break; } case 24: { bitField0_ |= 0x00000004; minimumUtc_ = input.readSInt64(); break; } case 32: { bitField0_ |= 0x00000008; maximumUtc_ = input.readSInt64(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.TimestampStatistics.class, org.apache.orc.OrcProto.TimestampStatistics.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public TimestampStatistics parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new TimestampStatistics(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional sint64 minimum = 1; public static final int MINIMUM_FIELD_NUMBER = 1; private long minimum_; /** * optional sint64 minimum = 1; * *
     * min,max values saved as milliseconds since epoch
     * 
*/ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional sint64 minimum = 1; * *
     * min,max values saved as milliseconds since epoch
     * 
*/ public long getMinimum() { return minimum_; } // optional sint64 maximum = 2; public static final int MAXIMUM_FIELD_NUMBER = 2; private long maximum_; /** * optional sint64 maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional sint64 maximum = 2; */ public long getMaximum() { return maximum_; } // optional sint64 minimumUtc = 3; public static final int MINIMUMUTC_FIELD_NUMBER = 3; private long minimumUtc_; /** * optional sint64 minimumUtc = 3; */ public boolean hasMinimumUtc() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional sint64 minimumUtc = 3; */ public long getMinimumUtc() { return minimumUtc_; } // optional sint64 maximumUtc = 4; public static final int MAXIMUMUTC_FIELD_NUMBER = 4; private long maximumUtc_; /** * optional sint64 maximumUtc = 4; */ public boolean hasMaximumUtc() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional sint64 maximumUtc = 4; */ public long getMaximumUtc() { return maximumUtc_; } private void initFields() { minimum_ = 0L; maximum_ = 0L; minimumUtc_ = 0L; maximumUtc_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeSInt64(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeSInt64(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeSInt64(3, minimumUtc_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeSInt64(4, maximumUtc_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeSInt64Size(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeSInt64Size(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeSInt64Size(3, minimumUtc_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeSInt64Size(4, maximumUtc_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.TimestampStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.TimestampStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.TimestampStatistics parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.TimestampStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.TimestampStatistics parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.TimestampStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.TimestampStatistics parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.TimestampStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.TimestampStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.TimestampStatistics prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.TimestampStatistics} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.TimestampStatisticsOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.TimestampStatistics.class, org.apache.orc.OrcProto.TimestampStatistics.Builder.class); } // Construct using org.apache.orc.OrcProto.TimestampStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); minimum_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); minimumUtc_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); maximumUtc_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_TimestampStatistics_descriptor; } public org.apache.orc.OrcProto.TimestampStatistics getDefaultInstanceForType() { return org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance(); } public org.apache.orc.OrcProto.TimestampStatistics build() { org.apache.orc.OrcProto.TimestampStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.TimestampStatistics buildPartial() { org.apache.orc.OrcProto.TimestampStatistics result = new org.apache.orc.OrcProto.TimestampStatistics(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.minimum_ = minimum_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.maximum_ = maximum_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.minimumUtc_ = minimumUtc_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.maximumUtc_ = maximumUtc_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.TimestampStatistics) { return mergeFrom((org.apache.orc.OrcProto.TimestampStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.TimestampStatistics other) { if (other == org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance()) return this; if (other.hasMinimum()) { setMinimum(other.getMinimum()); } if (other.hasMaximum()) { setMaximum(other.getMaximum()); } if (other.hasMinimumUtc()) { setMinimumUtc(other.getMinimumUtc()); } if (other.hasMaximumUtc()) { setMaximumUtc(other.getMaximumUtc()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.TimestampStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.TimestampStatistics) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional sint64 minimum = 1; private long minimum_ ; /** * optional sint64 minimum = 1; * *
       * min,max values saved as milliseconds since epoch
       * 
*/ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional sint64 minimum = 1; * *
       * min,max values saved as milliseconds since epoch
       * 
*/ public long getMinimum() { return minimum_; } /** * optional sint64 minimum = 1; * *
       * min,max values saved as milliseconds since epoch
       * 
*/ public Builder setMinimum(long value) { bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } /** * optional sint64 minimum = 1; * *
       * min,max values saved as milliseconds since epoch
       * 
*/ public Builder clearMinimum() { bitField0_ = (bitField0_ & ~0x00000001); minimum_ = 0L; onChanged(); return this; } // optional sint64 maximum = 2; private long maximum_ ; /** * optional sint64 maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional sint64 maximum = 2; */ public long getMaximum() { return maximum_; } /** * optional sint64 maximum = 2; */ public Builder setMaximum(long value) { bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } /** * optional sint64 maximum = 2; */ public Builder clearMaximum() { bitField0_ = (bitField0_ & ~0x00000002); maximum_ = 0L; onChanged(); return this; } // optional sint64 minimumUtc = 3; private long minimumUtc_ ; /** * optional sint64 minimumUtc = 3; */ public boolean hasMinimumUtc() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional sint64 minimumUtc = 3; */ public long getMinimumUtc() { return minimumUtc_; } /** * optional sint64 minimumUtc = 3; */ public Builder setMinimumUtc(long value) { bitField0_ |= 0x00000004; minimumUtc_ = value; onChanged(); return this; } /** * optional sint64 minimumUtc = 3; */ public Builder clearMinimumUtc() { bitField0_ = (bitField0_ & ~0x00000004); minimumUtc_ = 0L; onChanged(); return this; } // optional sint64 maximumUtc = 4; private long maximumUtc_ ; /** * optional sint64 maximumUtc = 4; */ public boolean hasMaximumUtc() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional sint64 maximumUtc = 4; */ public long getMaximumUtc() { return maximumUtc_; } /** * optional sint64 maximumUtc = 4; */ public Builder setMaximumUtc(long value) { bitField0_ |= 0x00000008; maximumUtc_ = value; onChanged(); return this; } /** * optional sint64 maximumUtc = 4; */ public Builder clearMaximumUtc() { bitField0_ = (bitField0_ & ~0x00000008); maximumUtc_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.TimestampStatistics) } static { defaultInstance = new TimestampStatistics(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.TimestampStatistics) } public interface BinaryStatisticsOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional sint64 sum = 1; /** * optional sint64 sum = 1; * *
     * sum will store the total binary blob length in a stripe
     * 
*/ boolean hasSum(); /** * optional sint64 sum = 1; * *
     * sum will store the total binary blob length in a stripe
     * 
*/ long getSum(); } /** * Protobuf type {@code orc.proto.BinaryStatistics} */ public static final class BinaryStatistics extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements BinaryStatisticsOrBuilder { // Use BinaryStatistics.newBuilder() to construct. private BinaryStatistics(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BinaryStatistics(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BinaryStatistics defaultInstance; public static BinaryStatistics getDefaultInstance() { return defaultInstance; } public BinaryStatistics getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BinaryStatistics( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; sum_ = input.readSInt64(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.BinaryStatistics.class, org.apache.orc.OrcProto.BinaryStatistics.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public BinaryStatistics parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new BinaryStatistics(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional sint64 sum = 1; public static final int SUM_FIELD_NUMBER = 1; private long sum_; /** * optional sint64 sum = 1; * *
     * sum will store the total binary blob length in a stripe
     * 
*/ public boolean hasSum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional sint64 sum = 1; * *
     * sum will store the total binary blob length in a stripe
     * 
*/ public long getSum() { return sum_; } private void initFields() { sum_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeSInt64(1, sum_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeSInt64Size(1, sum_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.BinaryStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.BinaryStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.BinaryStatistics parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.BinaryStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.BinaryStatistics prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.BinaryStatistics} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.BinaryStatisticsOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.BinaryStatistics.class, org.apache.orc.OrcProto.BinaryStatistics.Builder.class); } // Construct using org.apache.orc.OrcProto.BinaryStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); sum_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_BinaryStatistics_descriptor; } public org.apache.orc.OrcProto.BinaryStatistics getDefaultInstanceForType() { return org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance(); } public org.apache.orc.OrcProto.BinaryStatistics build() { org.apache.orc.OrcProto.BinaryStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.BinaryStatistics buildPartial() { org.apache.orc.OrcProto.BinaryStatistics result = new org.apache.orc.OrcProto.BinaryStatistics(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.sum_ = sum_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.BinaryStatistics) { return mergeFrom((org.apache.orc.OrcProto.BinaryStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.BinaryStatistics other) { if (other == org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance()) return this; if (other.hasSum()) { setSum(other.getSum()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.BinaryStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.BinaryStatistics) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional sint64 sum = 1; private long sum_ ; /** * optional sint64 sum = 1; * *
       * sum will store the total binary blob length in a stripe
       * 
*/ public boolean hasSum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional sint64 sum = 1; * *
       * sum will store the total binary blob length in a stripe
       * 
*/ public long getSum() { return sum_; } /** * optional sint64 sum = 1; * *
       * sum will store the total binary blob length in a stripe
       * 
*/ public Builder setSum(long value) { bitField0_ |= 0x00000001; sum_ = value; onChanged(); return this; } /** * optional sint64 sum = 1; * *
       * sum will store the total binary blob length in a stripe
       * 
*/ public Builder clearSum() { bitField0_ = (bitField0_ & ~0x00000001); sum_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.BinaryStatistics) } static { defaultInstance = new BinaryStatistics(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.BinaryStatistics) } public interface ColumnStatisticsOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional uint64 numberOfValues = 1; /** * optional uint64 numberOfValues = 1; */ boolean hasNumberOfValues(); /** * optional uint64 numberOfValues = 1; */ long getNumberOfValues(); // optional .orc.proto.IntegerStatistics intStatistics = 2; /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ boolean hasIntStatistics(); /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ org.apache.orc.OrcProto.IntegerStatistics getIntStatistics(); /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ org.apache.orc.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder(); // optional .orc.proto.DoubleStatistics doubleStatistics = 3; /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ boolean hasDoubleStatistics(); /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ org.apache.orc.OrcProto.DoubleStatistics getDoubleStatistics(); /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ org.apache.orc.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder(); // optional .orc.proto.StringStatistics stringStatistics = 4; /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ boolean hasStringStatistics(); /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ org.apache.orc.OrcProto.StringStatistics getStringStatistics(); /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ org.apache.orc.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder(); // optional .orc.proto.BucketStatistics bucketStatistics = 5; /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ boolean hasBucketStatistics(); /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ org.apache.orc.OrcProto.BucketStatistics getBucketStatistics(); /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ org.apache.orc.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder(); // optional .orc.proto.DecimalStatistics decimalStatistics = 6; /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ boolean hasDecimalStatistics(); /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ org.apache.orc.OrcProto.DecimalStatistics getDecimalStatistics(); /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ org.apache.orc.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder(); // optional .orc.proto.DateStatistics dateStatistics = 7; /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ boolean hasDateStatistics(); /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ org.apache.orc.OrcProto.DateStatistics getDateStatistics(); /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ org.apache.orc.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder(); // optional .orc.proto.BinaryStatistics binaryStatistics = 8; /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ boolean hasBinaryStatistics(); /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ org.apache.orc.OrcProto.BinaryStatistics getBinaryStatistics(); /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ org.apache.orc.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder(); // optional .orc.proto.TimestampStatistics timestampStatistics = 9; /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ boolean hasTimestampStatistics(); /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ org.apache.orc.OrcProto.TimestampStatistics getTimestampStatistics(); /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ org.apache.orc.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder(); // optional bool hasNull = 10; /** * optional bool hasNull = 10; */ boolean hasHasNull(); /** * optional bool hasNull = 10; */ boolean getHasNull(); } /** * Protobuf type {@code orc.proto.ColumnStatistics} */ public static final class ColumnStatistics extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements ColumnStatisticsOrBuilder { // Use ColumnStatistics.newBuilder() to construct. private ColumnStatistics(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ColumnStatistics(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ColumnStatistics defaultInstance; public static ColumnStatistics getDefaultInstance() { return defaultInstance; } public ColumnStatistics getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnStatistics( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; numberOfValues_ = input.readUInt64(); break; } case 18: { org.apache.orc.OrcProto.IntegerStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = intStatistics_.toBuilder(); } intStatistics_ = input.readMessage(org.apache.orc.OrcProto.IntegerStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(intStatistics_); intStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { org.apache.orc.OrcProto.DoubleStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = doubleStatistics_.toBuilder(); } doubleStatistics_ = input.readMessage(org.apache.orc.OrcProto.DoubleStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(doubleStatistics_); doubleStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { org.apache.orc.OrcProto.StringStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = stringStatistics_.toBuilder(); } stringStatistics_ = input.readMessage(org.apache.orc.OrcProto.StringStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(stringStatistics_); stringStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { org.apache.orc.OrcProto.BucketStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = bucketStatistics_.toBuilder(); } bucketStatistics_ = input.readMessage(org.apache.orc.OrcProto.BucketStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(bucketStatistics_); bucketStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { org.apache.orc.OrcProto.DecimalStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = decimalStatistics_.toBuilder(); } decimalStatistics_ = input.readMessage(org.apache.orc.OrcProto.DecimalStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(decimalStatistics_); decimalStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 58: { org.apache.orc.OrcProto.DateStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = dateStatistics_.toBuilder(); } dateStatistics_ = input.readMessage(org.apache.orc.OrcProto.DateStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dateStatistics_); dateStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 66: { org.apache.orc.OrcProto.BinaryStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000080) == 0x00000080)) { subBuilder = binaryStatistics_.toBuilder(); } binaryStatistics_ = input.readMessage(org.apache.orc.OrcProto.BinaryStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(binaryStatistics_); binaryStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 74: { org.apache.orc.OrcProto.TimestampStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = timestampStatistics_.toBuilder(); } timestampStatistics_ = input.readMessage(org.apache.orc.OrcProto.TimestampStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timestampStatistics_); timestampStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 80: { bitField0_ |= 0x00000200; hasNull_ = input.readBool(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.ColumnStatistics.class, org.apache.orc.OrcProto.ColumnStatistics.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public ColumnStatistics parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new ColumnStatistics(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional uint64 numberOfValues = 1; public static final int NUMBEROFVALUES_FIELD_NUMBER = 1; private long numberOfValues_; /** * optional uint64 numberOfValues = 1; */ public boolean hasNumberOfValues() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 numberOfValues = 1; */ public long getNumberOfValues() { return numberOfValues_; } // optional .orc.proto.IntegerStatistics intStatistics = 2; public static final int INTSTATISTICS_FIELD_NUMBER = 2; private org.apache.orc.OrcProto.IntegerStatistics intStatistics_; /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public boolean hasIntStatistics() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public org.apache.orc.OrcProto.IntegerStatistics getIntStatistics() { return intStatistics_; } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public org.apache.orc.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder() { return intStatistics_; } // optional .orc.proto.DoubleStatistics doubleStatistics = 3; public static final int DOUBLESTATISTICS_FIELD_NUMBER = 3; private org.apache.orc.OrcProto.DoubleStatistics doubleStatistics_; /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public boolean hasDoubleStatistics() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public org.apache.orc.OrcProto.DoubleStatistics getDoubleStatistics() { return doubleStatistics_; } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public org.apache.orc.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder() { return doubleStatistics_; } // optional .orc.proto.StringStatistics stringStatistics = 4; public static final int STRINGSTATISTICS_FIELD_NUMBER = 4; private org.apache.orc.OrcProto.StringStatistics stringStatistics_; /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public boolean hasStringStatistics() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public org.apache.orc.OrcProto.StringStatistics getStringStatistics() { return stringStatistics_; } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public org.apache.orc.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder() { return stringStatistics_; } // optional .orc.proto.BucketStatistics bucketStatistics = 5; public static final int BUCKETSTATISTICS_FIELD_NUMBER = 5; private org.apache.orc.OrcProto.BucketStatistics bucketStatistics_; /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public boolean hasBucketStatistics() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public org.apache.orc.OrcProto.BucketStatistics getBucketStatistics() { return bucketStatistics_; } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public org.apache.orc.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder() { return bucketStatistics_; } // optional .orc.proto.DecimalStatistics decimalStatistics = 6; public static final int DECIMALSTATISTICS_FIELD_NUMBER = 6; private org.apache.orc.OrcProto.DecimalStatistics decimalStatistics_; /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public boolean hasDecimalStatistics() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public org.apache.orc.OrcProto.DecimalStatistics getDecimalStatistics() { return decimalStatistics_; } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public org.apache.orc.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder() { return decimalStatistics_; } // optional .orc.proto.DateStatistics dateStatistics = 7; public static final int DATESTATISTICS_FIELD_NUMBER = 7; private org.apache.orc.OrcProto.DateStatistics dateStatistics_; /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public boolean hasDateStatistics() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public org.apache.orc.OrcProto.DateStatistics getDateStatistics() { return dateStatistics_; } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public org.apache.orc.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder() { return dateStatistics_; } // optional .orc.proto.BinaryStatistics binaryStatistics = 8; public static final int BINARYSTATISTICS_FIELD_NUMBER = 8; private org.apache.orc.OrcProto.BinaryStatistics binaryStatistics_; /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public boolean hasBinaryStatistics() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public org.apache.orc.OrcProto.BinaryStatistics getBinaryStatistics() { return binaryStatistics_; } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public org.apache.orc.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder() { return binaryStatistics_; } // optional .orc.proto.TimestampStatistics timestampStatistics = 9; public static final int TIMESTAMPSTATISTICS_FIELD_NUMBER = 9; private org.apache.orc.OrcProto.TimestampStatistics timestampStatistics_; /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public boolean hasTimestampStatistics() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public org.apache.orc.OrcProto.TimestampStatistics getTimestampStatistics() { return timestampStatistics_; } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public org.apache.orc.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder() { return timestampStatistics_; } // optional bool hasNull = 10; public static final int HASNULL_FIELD_NUMBER = 10; private boolean hasNull_; /** * optional bool hasNull = 10; */ public boolean hasHasNull() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional bool hasNull = 10; */ public boolean getHasNull() { return hasNull_; } private void initFields() { numberOfValues_ = 0L; intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance(); doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance(); stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance(); bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance(); decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance(); dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance(); binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance(); timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance(); hasNull_ = false; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, numberOfValues_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, intStatistics_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, doubleStatistics_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, stringStatistics_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, bucketStatistics_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(6, decimalStatistics_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(7, dateStatistics_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(8, binaryStatistics_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeMessage(9, timestampStatistics_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeBool(10, hasNull_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(1, numberOfValues_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(2, intStatistics_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(3, doubleStatistics_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(4, stringStatistics_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(5, bucketStatistics_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(6, decimalStatistics_); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(7, dateStatistics_); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(8, binaryStatistics_); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(9, timestampStatistics_); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBoolSize(10, hasNull_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.ColumnStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.ColumnStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.ColumnStatistics parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.ColumnStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.ColumnStatistics parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.ColumnStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.ColumnStatistics parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.ColumnStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.ColumnStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.ColumnStatistics prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.ColumnStatistics} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.ColumnStatisticsOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.ColumnStatistics.class, org.apache.orc.OrcProto.ColumnStatistics.Builder.class); } // Construct using org.apache.orc.OrcProto.ColumnStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getIntStatisticsFieldBuilder(); getDoubleStatisticsFieldBuilder(); getStringStatisticsFieldBuilder(); getBucketStatisticsFieldBuilder(); getDecimalStatisticsFieldBuilder(); getDateStatisticsFieldBuilder(); getBinaryStatisticsFieldBuilder(); getTimestampStatisticsFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); numberOfValues_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); if (intStatisticsBuilder_ == null) { intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance(); } else { intStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (doubleStatisticsBuilder_ == null) { doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance(); } else { doubleStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (stringStatisticsBuilder_ == null) { stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance(); } else { stringStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (bucketStatisticsBuilder_ == null) { bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance(); } else { bucketStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (decimalStatisticsBuilder_ == null) { decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance(); } else { decimalStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (dateStatisticsBuilder_ == null) { dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance(); } else { dateStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (binaryStatisticsBuilder_ == null) { binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance(); } else { binaryStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (timestampStatisticsBuilder_ == null) { timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance(); } else { timestampStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); hasNull_ = false; bitField0_ = (bitField0_ & ~0x00000200); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnStatistics_descriptor; } public org.apache.orc.OrcProto.ColumnStatistics getDefaultInstanceForType() { return org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance(); } public org.apache.orc.OrcProto.ColumnStatistics build() { org.apache.orc.OrcProto.ColumnStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.ColumnStatistics buildPartial() { org.apache.orc.OrcProto.ColumnStatistics result = new org.apache.orc.OrcProto.ColumnStatistics(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.numberOfValues_ = numberOfValues_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (intStatisticsBuilder_ == null) { result.intStatistics_ = intStatistics_; } else { result.intStatistics_ = intStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (doubleStatisticsBuilder_ == null) { result.doubleStatistics_ = doubleStatistics_; } else { result.doubleStatistics_ = doubleStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (stringStatisticsBuilder_ == null) { result.stringStatistics_ = stringStatistics_; } else { result.stringStatistics_ = stringStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (bucketStatisticsBuilder_ == null) { result.bucketStatistics_ = bucketStatistics_; } else { result.bucketStatistics_ = bucketStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } if (decimalStatisticsBuilder_ == null) { result.decimalStatistics_ = decimalStatistics_; } else { result.decimalStatistics_ = decimalStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } if (dateStatisticsBuilder_ == null) { result.dateStatistics_ = dateStatistics_; } else { result.dateStatistics_ = dateStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } if (binaryStatisticsBuilder_ == null) { result.binaryStatistics_ = binaryStatistics_; } else { result.binaryStatistics_ = binaryStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } if (timestampStatisticsBuilder_ == null) { result.timestampStatistics_ = timestampStatistics_; } else { result.timestampStatistics_ = timestampStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.hasNull_ = hasNull_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.ColumnStatistics) { return mergeFrom((org.apache.orc.OrcProto.ColumnStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.ColumnStatistics other) { if (other == org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance()) return this; if (other.hasNumberOfValues()) { setNumberOfValues(other.getNumberOfValues()); } if (other.hasIntStatistics()) { mergeIntStatistics(other.getIntStatistics()); } if (other.hasDoubleStatistics()) { mergeDoubleStatistics(other.getDoubleStatistics()); } if (other.hasStringStatistics()) { mergeStringStatistics(other.getStringStatistics()); } if (other.hasBucketStatistics()) { mergeBucketStatistics(other.getBucketStatistics()); } if (other.hasDecimalStatistics()) { mergeDecimalStatistics(other.getDecimalStatistics()); } if (other.hasDateStatistics()) { mergeDateStatistics(other.getDateStatistics()); } if (other.hasBinaryStatistics()) { mergeBinaryStatistics(other.getBinaryStatistics()); } if (other.hasTimestampStatistics()) { mergeTimestampStatistics(other.getTimestampStatistics()); } if (other.hasHasNull()) { setHasNull(other.getHasNull()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.ColumnStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.ColumnStatistics) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional uint64 numberOfValues = 1; private long numberOfValues_ ; /** * optional uint64 numberOfValues = 1; */ public boolean hasNumberOfValues() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 numberOfValues = 1; */ public long getNumberOfValues() { return numberOfValues_; } /** * optional uint64 numberOfValues = 1; */ public Builder setNumberOfValues(long value) { bitField0_ |= 0x00000001; numberOfValues_ = value; onChanged(); return this; } /** * optional uint64 numberOfValues = 1; */ public Builder clearNumberOfValues() { bitField0_ = (bitField0_ & ~0x00000001); numberOfValues_ = 0L; onChanged(); return this; } // optional .orc.proto.IntegerStatistics intStatistics = 2; private org.apache.orc.OrcProto.IntegerStatistics intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.IntegerStatistics, org.apache.orc.OrcProto.IntegerStatistics.Builder, org.apache.orc.OrcProto.IntegerStatisticsOrBuilder> intStatisticsBuilder_; /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public boolean hasIntStatistics() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public org.apache.orc.OrcProto.IntegerStatistics getIntStatistics() { if (intStatisticsBuilder_ == null) { return intStatistics_; } else { return intStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public Builder setIntStatistics(org.apache.orc.OrcProto.IntegerStatistics value) { if (intStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } intStatistics_ = value; onChanged(); } else { intStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public Builder setIntStatistics( org.apache.orc.OrcProto.IntegerStatistics.Builder builderForValue) { if (intStatisticsBuilder_ == null) { intStatistics_ = builderForValue.build(); onChanged(); } else { intStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public Builder mergeIntStatistics(org.apache.orc.OrcProto.IntegerStatistics value) { if (intStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && intStatistics_ != org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance()) { intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.newBuilder(intStatistics_).mergeFrom(value).buildPartial(); } else { intStatistics_ = value; } onChanged(); } else { intStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public Builder clearIntStatistics() { if (intStatisticsBuilder_ == null) { intStatistics_ = org.apache.orc.OrcProto.IntegerStatistics.getDefaultInstance(); onChanged(); } else { intStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public org.apache.orc.OrcProto.IntegerStatistics.Builder getIntStatisticsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getIntStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public org.apache.orc.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder() { if (intStatisticsBuilder_ != null) { return intStatisticsBuilder_.getMessageOrBuilder(); } else { return intStatistics_; } } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.IntegerStatistics, org.apache.orc.OrcProto.IntegerStatistics.Builder, org.apache.orc.OrcProto.IntegerStatisticsOrBuilder> getIntStatisticsFieldBuilder() { if (intStatisticsBuilder_ == null) { intStatisticsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.IntegerStatistics, org.apache.orc.OrcProto.IntegerStatistics.Builder, org.apache.orc.OrcProto.IntegerStatisticsOrBuilder>( intStatistics_, getParentForChildren(), isClean()); intStatistics_ = null; } return intStatisticsBuilder_; } // optional .orc.proto.DoubleStatistics doubleStatistics = 3; private org.apache.orc.OrcProto.DoubleStatistics doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.DoubleStatistics, org.apache.orc.OrcProto.DoubleStatistics.Builder, org.apache.orc.OrcProto.DoubleStatisticsOrBuilder> doubleStatisticsBuilder_; /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public boolean hasDoubleStatistics() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public org.apache.orc.OrcProto.DoubleStatistics getDoubleStatistics() { if (doubleStatisticsBuilder_ == null) { return doubleStatistics_; } else { return doubleStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public Builder setDoubleStatistics(org.apache.orc.OrcProto.DoubleStatistics value) { if (doubleStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } doubleStatistics_ = value; onChanged(); } else { doubleStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000004; return this; } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public Builder setDoubleStatistics( org.apache.orc.OrcProto.DoubleStatistics.Builder builderForValue) { if (doubleStatisticsBuilder_ == null) { doubleStatistics_ = builderForValue.build(); onChanged(); } else { doubleStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000004; return this; } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public Builder mergeDoubleStatistics(org.apache.orc.OrcProto.DoubleStatistics value) { if (doubleStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && doubleStatistics_ != org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance()) { doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.newBuilder(doubleStatistics_).mergeFrom(value).buildPartial(); } else { doubleStatistics_ = value; } onChanged(); } else { doubleStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000004; return this; } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public Builder clearDoubleStatistics() { if (doubleStatisticsBuilder_ == null) { doubleStatistics_ = org.apache.orc.OrcProto.DoubleStatistics.getDefaultInstance(); onChanged(); } else { doubleStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public org.apache.orc.OrcProto.DoubleStatistics.Builder getDoubleStatisticsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDoubleStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public org.apache.orc.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder() { if (doubleStatisticsBuilder_ != null) { return doubleStatisticsBuilder_.getMessageOrBuilder(); } else { return doubleStatistics_; } } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.DoubleStatistics, org.apache.orc.OrcProto.DoubleStatistics.Builder, org.apache.orc.OrcProto.DoubleStatisticsOrBuilder> getDoubleStatisticsFieldBuilder() { if (doubleStatisticsBuilder_ == null) { doubleStatisticsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.DoubleStatistics, org.apache.orc.OrcProto.DoubleStatistics.Builder, org.apache.orc.OrcProto.DoubleStatisticsOrBuilder>( doubleStatistics_, getParentForChildren(), isClean()); doubleStatistics_ = null; } return doubleStatisticsBuilder_; } // optional .orc.proto.StringStatistics stringStatistics = 4; private org.apache.orc.OrcProto.StringStatistics stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.StringStatistics, org.apache.orc.OrcProto.StringStatistics.Builder, org.apache.orc.OrcProto.StringStatisticsOrBuilder> stringStatisticsBuilder_; /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public boolean hasStringStatistics() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public org.apache.orc.OrcProto.StringStatistics getStringStatistics() { if (stringStatisticsBuilder_ == null) { return stringStatistics_; } else { return stringStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public Builder setStringStatistics(org.apache.orc.OrcProto.StringStatistics value) { if (stringStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } stringStatistics_ = value; onChanged(); } else { stringStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000008; return this; } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public Builder setStringStatistics( org.apache.orc.OrcProto.StringStatistics.Builder builderForValue) { if (stringStatisticsBuilder_ == null) { stringStatistics_ = builderForValue.build(); onChanged(); } else { stringStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000008; return this; } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public Builder mergeStringStatistics(org.apache.orc.OrcProto.StringStatistics value) { if (stringStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && stringStatistics_ != org.apache.orc.OrcProto.StringStatistics.getDefaultInstance()) { stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.newBuilder(stringStatistics_).mergeFrom(value).buildPartial(); } else { stringStatistics_ = value; } onChanged(); } else { stringStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000008; return this; } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public Builder clearStringStatistics() { if (stringStatisticsBuilder_ == null) { stringStatistics_ = org.apache.orc.OrcProto.StringStatistics.getDefaultInstance(); onChanged(); } else { stringStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public org.apache.orc.OrcProto.StringStatistics.Builder getStringStatisticsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStringStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public org.apache.orc.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder() { if (stringStatisticsBuilder_ != null) { return stringStatisticsBuilder_.getMessageOrBuilder(); } else { return stringStatistics_; } } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.StringStatistics, org.apache.orc.OrcProto.StringStatistics.Builder, org.apache.orc.OrcProto.StringStatisticsOrBuilder> getStringStatisticsFieldBuilder() { if (stringStatisticsBuilder_ == null) { stringStatisticsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.StringStatistics, org.apache.orc.OrcProto.StringStatistics.Builder, org.apache.orc.OrcProto.StringStatisticsOrBuilder>( stringStatistics_, getParentForChildren(), isClean()); stringStatistics_ = null; } return stringStatisticsBuilder_; } // optional .orc.proto.BucketStatistics bucketStatistics = 5; private org.apache.orc.OrcProto.BucketStatistics bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.BucketStatistics, org.apache.orc.OrcProto.BucketStatistics.Builder, org.apache.orc.OrcProto.BucketStatisticsOrBuilder> bucketStatisticsBuilder_; /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public boolean hasBucketStatistics() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public org.apache.orc.OrcProto.BucketStatistics getBucketStatistics() { if (bucketStatisticsBuilder_ == null) { return bucketStatistics_; } else { return bucketStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public Builder setBucketStatistics(org.apache.orc.OrcProto.BucketStatistics value) { if (bucketStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } bucketStatistics_ = value; onChanged(); } else { bucketStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000010; return this; } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public Builder setBucketStatistics( org.apache.orc.OrcProto.BucketStatistics.Builder builderForValue) { if (bucketStatisticsBuilder_ == null) { bucketStatistics_ = builderForValue.build(); onChanged(); } else { bucketStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000010; return this; } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public Builder mergeBucketStatistics(org.apache.orc.OrcProto.BucketStatistics value) { if (bucketStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && bucketStatistics_ != org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance()) { bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.newBuilder(bucketStatistics_).mergeFrom(value).buildPartial(); } else { bucketStatistics_ = value; } onChanged(); } else { bucketStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000010; return this; } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public Builder clearBucketStatistics() { if (bucketStatisticsBuilder_ == null) { bucketStatistics_ = org.apache.orc.OrcProto.BucketStatistics.getDefaultInstance(); onChanged(); } else { bucketStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public org.apache.orc.OrcProto.BucketStatistics.Builder getBucketStatisticsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getBucketStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public org.apache.orc.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder() { if (bucketStatisticsBuilder_ != null) { return bucketStatisticsBuilder_.getMessageOrBuilder(); } else { return bucketStatistics_; } } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.BucketStatistics, org.apache.orc.OrcProto.BucketStatistics.Builder, org.apache.orc.OrcProto.BucketStatisticsOrBuilder> getBucketStatisticsFieldBuilder() { if (bucketStatisticsBuilder_ == null) { bucketStatisticsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.BucketStatistics, org.apache.orc.OrcProto.BucketStatistics.Builder, org.apache.orc.OrcProto.BucketStatisticsOrBuilder>( bucketStatistics_, getParentForChildren(), isClean()); bucketStatistics_ = null; } return bucketStatisticsBuilder_; } // optional .orc.proto.DecimalStatistics decimalStatistics = 6; private org.apache.orc.OrcProto.DecimalStatistics decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.DecimalStatistics, org.apache.orc.OrcProto.DecimalStatistics.Builder, org.apache.orc.OrcProto.DecimalStatisticsOrBuilder> decimalStatisticsBuilder_; /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public boolean hasDecimalStatistics() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public org.apache.orc.OrcProto.DecimalStatistics getDecimalStatistics() { if (decimalStatisticsBuilder_ == null) { return decimalStatistics_; } else { return decimalStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public Builder setDecimalStatistics(org.apache.orc.OrcProto.DecimalStatistics value) { if (decimalStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } decimalStatistics_ = value; onChanged(); } else { decimalStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000020; return this; } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public Builder setDecimalStatistics( org.apache.orc.OrcProto.DecimalStatistics.Builder builderForValue) { if (decimalStatisticsBuilder_ == null) { decimalStatistics_ = builderForValue.build(); onChanged(); } else { decimalStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000020; return this; } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public Builder mergeDecimalStatistics(org.apache.orc.OrcProto.DecimalStatistics value) { if (decimalStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && decimalStatistics_ != org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance()) { decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.newBuilder(decimalStatistics_).mergeFrom(value).buildPartial(); } else { decimalStatistics_ = value; } onChanged(); } else { decimalStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000020; return this; } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public Builder clearDecimalStatistics() { if (decimalStatisticsBuilder_ == null) { decimalStatistics_ = org.apache.orc.OrcProto.DecimalStatistics.getDefaultInstance(); onChanged(); } else { decimalStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public org.apache.orc.OrcProto.DecimalStatistics.Builder getDecimalStatisticsBuilder() { bitField0_ |= 0x00000020; onChanged(); return getDecimalStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public org.apache.orc.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder() { if (decimalStatisticsBuilder_ != null) { return decimalStatisticsBuilder_.getMessageOrBuilder(); } else { return decimalStatistics_; } } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.DecimalStatistics, org.apache.orc.OrcProto.DecimalStatistics.Builder, org.apache.orc.OrcProto.DecimalStatisticsOrBuilder> getDecimalStatisticsFieldBuilder() { if (decimalStatisticsBuilder_ == null) { decimalStatisticsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.DecimalStatistics, org.apache.orc.OrcProto.DecimalStatistics.Builder, org.apache.orc.OrcProto.DecimalStatisticsOrBuilder>( decimalStatistics_, getParentForChildren(), isClean()); decimalStatistics_ = null; } return decimalStatisticsBuilder_; } // optional .orc.proto.DateStatistics dateStatistics = 7; private org.apache.orc.OrcProto.DateStatistics dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.DateStatistics, org.apache.orc.OrcProto.DateStatistics.Builder, org.apache.orc.OrcProto.DateStatisticsOrBuilder> dateStatisticsBuilder_; /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public boolean hasDateStatistics() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public org.apache.orc.OrcProto.DateStatistics getDateStatistics() { if (dateStatisticsBuilder_ == null) { return dateStatistics_; } else { return dateStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public Builder setDateStatistics(org.apache.orc.OrcProto.DateStatistics value) { if (dateStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } dateStatistics_ = value; onChanged(); } else { dateStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000040; return this; } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public Builder setDateStatistics( org.apache.orc.OrcProto.DateStatistics.Builder builderForValue) { if (dateStatisticsBuilder_ == null) { dateStatistics_ = builderForValue.build(); onChanged(); } else { dateStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000040; return this; } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public Builder mergeDateStatistics(org.apache.orc.OrcProto.DateStatistics value) { if (dateStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && dateStatistics_ != org.apache.orc.OrcProto.DateStatistics.getDefaultInstance()) { dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.newBuilder(dateStatistics_).mergeFrom(value).buildPartial(); } else { dateStatistics_ = value; } onChanged(); } else { dateStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000040; return this; } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public Builder clearDateStatistics() { if (dateStatisticsBuilder_ == null) { dateStatistics_ = org.apache.orc.OrcProto.DateStatistics.getDefaultInstance(); onChanged(); } else { dateStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public org.apache.orc.OrcProto.DateStatistics.Builder getDateStatisticsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getDateStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public org.apache.orc.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder() { if (dateStatisticsBuilder_ != null) { return dateStatisticsBuilder_.getMessageOrBuilder(); } else { return dateStatistics_; } } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.DateStatistics, org.apache.orc.OrcProto.DateStatistics.Builder, org.apache.orc.OrcProto.DateStatisticsOrBuilder> getDateStatisticsFieldBuilder() { if (dateStatisticsBuilder_ == null) { dateStatisticsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.DateStatistics, org.apache.orc.OrcProto.DateStatistics.Builder, org.apache.orc.OrcProto.DateStatisticsOrBuilder>( dateStatistics_, getParentForChildren(), isClean()); dateStatistics_ = null; } return dateStatisticsBuilder_; } // optional .orc.proto.BinaryStatistics binaryStatistics = 8; private org.apache.orc.OrcProto.BinaryStatistics binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.BinaryStatistics, org.apache.orc.OrcProto.BinaryStatistics.Builder, org.apache.orc.OrcProto.BinaryStatisticsOrBuilder> binaryStatisticsBuilder_; /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public boolean hasBinaryStatistics() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public org.apache.orc.OrcProto.BinaryStatistics getBinaryStatistics() { if (binaryStatisticsBuilder_ == null) { return binaryStatistics_; } else { return binaryStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public Builder setBinaryStatistics(org.apache.orc.OrcProto.BinaryStatistics value) { if (binaryStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } binaryStatistics_ = value; onChanged(); } else { binaryStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000080; return this; } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public Builder setBinaryStatistics( org.apache.orc.OrcProto.BinaryStatistics.Builder builderForValue) { if (binaryStatisticsBuilder_ == null) { binaryStatistics_ = builderForValue.build(); onChanged(); } else { binaryStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000080; return this; } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public Builder mergeBinaryStatistics(org.apache.orc.OrcProto.BinaryStatistics value) { if (binaryStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && binaryStatistics_ != org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance()) { binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.newBuilder(binaryStatistics_).mergeFrom(value).buildPartial(); } else { binaryStatistics_ = value; } onChanged(); } else { binaryStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000080; return this; } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public Builder clearBinaryStatistics() { if (binaryStatisticsBuilder_ == null) { binaryStatistics_ = org.apache.orc.OrcProto.BinaryStatistics.getDefaultInstance(); onChanged(); } else { binaryStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public org.apache.orc.OrcProto.BinaryStatistics.Builder getBinaryStatisticsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getBinaryStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public org.apache.orc.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder() { if (binaryStatisticsBuilder_ != null) { return binaryStatisticsBuilder_.getMessageOrBuilder(); } else { return binaryStatistics_; } } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.BinaryStatistics, org.apache.orc.OrcProto.BinaryStatistics.Builder, org.apache.orc.OrcProto.BinaryStatisticsOrBuilder> getBinaryStatisticsFieldBuilder() { if (binaryStatisticsBuilder_ == null) { binaryStatisticsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.BinaryStatistics, org.apache.orc.OrcProto.BinaryStatistics.Builder, org.apache.orc.OrcProto.BinaryStatisticsOrBuilder>( binaryStatistics_, getParentForChildren(), isClean()); binaryStatistics_ = null; } return binaryStatisticsBuilder_; } // optional .orc.proto.TimestampStatistics timestampStatistics = 9; private org.apache.orc.OrcProto.TimestampStatistics timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.TimestampStatistics, org.apache.orc.OrcProto.TimestampStatistics.Builder, org.apache.orc.OrcProto.TimestampStatisticsOrBuilder> timestampStatisticsBuilder_; /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public boolean hasTimestampStatistics() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public org.apache.orc.OrcProto.TimestampStatistics getTimestampStatistics() { if (timestampStatisticsBuilder_ == null) { return timestampStatistics_; } else { return timestampStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public Builder setTimestampStatistics(org.apache.orc.OrcProto.TimestampStatistics value) { if (timestampStatisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } timestampStatistics_ = value; onChanged(); } else { timestampStatisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000100; return this; } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public Builder setTimestampStatistics( org.apache.orc.OrcProto.TimestampStatistics.Builder builderForValue) { if (timestampStatisticsBuilder_ == null) { timestampStatistics_ = builderForValue.build(); onChanged(); } else { timestampStatisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000100; return this; } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public Builder mergeTimestampStatistics(org.apache.orc.OrcProto.TimestampStatistics value) { if (timestampStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && timestampStatistics_ != org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance()) { timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.newBuilder(timestampStatistics_).mergeFrom(value).buildPartial(); } else { timestampStatistics_ = value; } onChanged(); } else { timestampStatisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000100; return this; } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public Builder clearTimestampStatistics() { if (timestampStatisticsBuilder_ == null) { timestampStatistics_ = org.apache.orc.OrcProto.TimestampStatistics.getDefaultInstance(); onChanged(); } else { timestampStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public org.apache.orc.OrcProto.TimestampStatistics.Builder getTimestampStatisticsBuilder() { bitField0_ |= 0x00000100; onChanged(); return getTimestampStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public org.apache.orc.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder() { if (timestampStatisticsBuilder_ != null) { return timestampStatisticsBuilder_.getMessageOrBuilder(); } else { return timestampStatistics_; } } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.TimestampStatistics, org.apache.orc.OrcProto.TimestampStatistics.Builder, org.apache.orc.OrcProto.TimestampStatisticsOrBuilder> getTimestampStatisticsFieldBuilder() { if (timestampStatisticsBuilder_ == null) { timestampStatisticsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.TimestampStatistics, org.apache.orc.OrcProto.TimestampStatistics.Builder, org.apache.orc.OrcProto.TimestampStatisticsOrBuilder>( timestampStatistics_, getParentForChildren(), isClean()); timestampStatistics_ = null; } return timestampStatisticsBuilder_; } // optional bool hasNull = 10; private boolean hasNull_ ; /** * optional bool hasNull = 10; */ public boolean hasHasNull() { return ((bitField0_ & 0x00000200) == 0x00000200); } /** * optional bool hasNull = 10; */ public boolean getHasNull() { return hasNull_; } /** * optional bool hasNull = 10; */ public Builder setHasNull(boolean value) { bitField0_ |= 0x00000200; hasNull_ = value; onChanged(); return this; } /** * optional bool hasNull = 10; */ public Builder clearHasNull() { bitField0_ = (bitField0_ & ~0x00000200); hasNull_ = false; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.ColumnStatistics) } static { defaultInstance = new ColumnStatistics(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.ColumnStatistics) } public interface RowIndexEntryOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // repeated uint64 positions = 1 [packed = true]; /** * repeated uint64 positions = 1 [packed = true]; */ java.util.List getPositionsList(); /** * repeated uint64 positions = 1 [packed = true]; */ int getPositionsCount(); /** * repeated uint64 positions = 1 [packed = true]; */ long getPositions(int index); // optional .orc.proto.ColumnStatistics statistics = 2; /** * optional .orc.proto.ColumnStatistics statistics = 2; */ boolean hasStatistics(); /** * optional .orc.proto.ColumnStatistics statistics = 2; */ org.apache.orc.OrcProto.ColumnStatistics getStatistics(); /** * optional .orc.proto.ColumnStatistics statistics = 2; */ org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder(); } /** * Protobuf type {@code orc.proto.RowIndexEntry} */ public static final class RowIndexEntry extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements RowIndexEntryOrBuilder { // Use RowIndexEntry.newBuilder() to construct. private RowIndexEntry(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RowIndexEntry(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final RowIndexEntry defaultInstance; public static RowIndexEntry getDefaultInstance() { return defaultInstance; } public RowIndexEntry getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RowIndexEntry( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { positions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } positions_.add(input.readUInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { positions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { positions_.add(input.readUInt64()); } input.popLimit(limit); break; } case 18: { org.apache.orc.OrcProto.ColumnStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = statistics_.toBuilder(); } statistics_ = input.readMessage(org.apache.orc.OrcProto.ColumnStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(statistics_); statistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { positions_ = java.util.Collections.unmodifiableList(positions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndexEntry_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndexEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.RowIndexEntry.class, org.apache.orc.OrcProto.RowIndexEntry.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public RowIndexEntry parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new RowIndexEntry(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // repeated uint64 positions = 1 [packed = true]; public static final int POSITIONS_FIELD_NUMBER = 1; private java.util.List positions_; /** * repeated uint64 positions = 1 [packed = true]; */ public java.util.List getPositionsList() { return positions_; } /** * repeated uint64 positions = 1 [packed = true]; */ public int getPositionsCount() { return positions_.size(); } /** * repeated uint64 positions = 1 [packed = true]; */ public long getPositions(int index) { return positions_.get(index); } private int positionsMemoizedSerializedSize = -1; // optional .orc.proto.ColumnStatistics statistics = 2; public static final int STATISTICS_FIELD_NUMBER = 2; private org.apache.orc.OrcProto.ColumnStatistics statistics_; /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public boolean hasStatistics() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public org.apache.orc.OrcProto.ColumnStatistics getStatistics() { return statistics_; } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder() { return statistics_; } private void initFields() { positions_ = java.util.Collections.emptyList(); statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getPositionsList().size() > 0) { output.writeRawVarint32(10); output.writeRawVarint32(positionsMemoizedSerializedSize); } for (int i = 0; i < positions_.size(); i++) { output.writeUInt64NoTag(positions_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(2, statistics_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < positions_.size(); i++) { dataSize += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64SizeNoTag(positions_.get(i)); } size += dataSize; if (!getPositionsList().isEmpty()) { size += 1; size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } positionsMemoizedSerializedSize = dataSize; } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(2, statistics_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.RowIndexEntry parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.RowIndexEntry parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.RowIndexEntry parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.RowIndexEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.RowIndexEntry parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.RowIndexEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.RowIndexEntry parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.RowIndexEntry parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.RowIndexEntry parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.RowIndexEntry prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.RowIndexEntry} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.RowIndexEntryOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndexEntry_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndexEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.RowIndexEntry.class, org.apache.orc.OrcProto.RowIndexEntry.Builder.class); } // Construct using org.apache.orc.OrcProto.RowIndexEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getStatisticsFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); positions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); if (statisticsBuilder_ == null) { statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance(); } else { statisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndexEntry_descriptor; } public org.apache.orc.OrcProto.RowIndexEntry getDefaultInstanceForType() { return org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance(); } public org.apache.orc.OrcProto.RowIndexEntry build() { org.apache.orc.OrcProto.RowIndexEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.RowIndexEntry buildPartial() { org.apache.orc.OrcProto.RowIndexEntry result = new org.apache.orc.OrcProto.RowIndexEntry(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { positions_ = java.util.Collections.unmodifiableList(positions_); bitField0_ = (bitField0_ & ~0x00000001); } result.positions_ = positions_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000001; } if (statisticsBuilder_ == null) { result.statistics_ = statistics_; } else { result.statistics_ = statisticsBuilder_.build(); } result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.RowIndexEntry) { return mergeFrom((org.apache.orc.OrcProto.RowIndexEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.RowIndexEntry other) { if (other == org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance()) return this; if (!other.positions_.isEmpty()) { if (positions_.isEmpty()) { positions_ = other.positions_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensurePositionsIsMutable(); positions_.addAll(other.positions_); } onChanged(); } if (other.hasStatistics()) { mergeStatistics(other.getStatistics()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.RowIndexEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.RowIndexEntry) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated uint64 positions = 1 [packed = true]; private java.util.List positions_ = java.util.Collections.emptyList(); private void ensurePositionsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { positions_ = new java.util.ArrayList(positions_); bitField0_ |= 0x00000001; } } /** * repeated uint64 positions = 1 [packed = true]; */ public java.util.List getPositionsList() { return java.util.Collections.unmodifiableList(positions_); } /** * repeated uint64 positions = 1 [packed = true]; */ public int getPositionsCount() { return positions_.size(); } /** * repeated uint64 positions = 1 [packed = true]; */ public long getPositions(int index) { return positions_.get(index); } /** * repeated uint64 positions = 1 [packed = true]; */ public Builder setPositions( int index, long value) { ensurePositionsIsMutable(); positions_.set(index, value); onChanged(); return this; } /** * repeated uint64 positions = 1 [packed = true]; */ public Builder addPositions(long value) { ensurePositionsIsMutable(); positions_.add(value); onChanged(); return this; } /** * repeated uint64 positions = 1 [packed = true]; */ public Builder addAllPositions( java.lang.Iterable values) { ensurePositionsIsMutable(); super.addAll(values, positions_); onChanged(); return this; } /** * repeated uint64 positions = 1 [packed = true]; */ public Builder clearPositions() { positions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } // optional .orc.proto.ColumnStatistics statistics = 2; private org.apache.orc.OrcProto.ColumnStatistics statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder> statisticsBuilder_; /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public boolean hasStatistics() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public org.apache.orc.OrcProto.ColumnStatistics getStatistics() { if (statisticsBuilder_ == null) { return statistics_; } else { return statisticsBuilder_.getMessage(); } } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public Builder setStatistics(org.apache.orc.OrcProto.ColumnStatistics value) { if (statisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } statistics_ = value; onChanged(); } else { statisticsBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public Builder setStatistics( org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) { if (statisticsBuilder_ == null) { statistics_ = builderForValue.build(); onChanged(); } else { statisticsBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public Builder mergeStatistics(org.apache.orc.OrcProto.ColumnStatistics value) { if (statisticsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && statistics_ != org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance()) { statistics_ = org.apache.orc.OrcProto.ColumnStatistics.newBuilder(statistics_).mergeFrom(value).buildPartial(); } else { statistics_ = value; } onChanged(); } else { statisticsBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public Builder clearStatistics() { if (statisticsBuilder_ == null) { statistics_ = org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance(); onChanged(); } else { statisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public org.apache.orc.OrcProto.ColumnStatistics.Builder getStatisticsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder() { if (statisticsBuilder_ != null) { return statisticsBuilder_.getMessageOrBuilder(); } else { return statistics_; } } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder> getStatisticsFieldBuilder() { if (statisticsBuilder_ == null) { statisticsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>( statistics_, getParentForChildren(), isClean()); statistics_ = null; } return statisticsBuilder_; } // @@protoc_insertion_point(builder_scope:orc.proto.RowIndexEntry) } static { defaultInstance = new RowIndexEntry(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.RowIndexEntry) } public interface RowIndexOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // repeated .orc.proto.RowIndexEntry entry = 1; /** * repeated .orc.proto.RowIndexEntry entry = 1; */ java.util.List getEntryList(); /** * repeated .orc.proto.RowIndexEntry entry = 1; */ org.apache.orc.OrcProto.RowIndexEntry getEntry(int index); /** * repeated .orc.proto.RowIndexEntry entry = 1; */ int getEntryCount(); /** * repeated .orc.proto.RowIndexEntry entry = 1; */ java.util.List getEntryOrBuilderList(); /** * repeated .orc.proto.RowIndexEntry entry = 1; */ org.apache.orc.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder( int index); } /** * Protobuf type {@code orc.proto.RowIndex} */ public static final class RowIndex extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements RowIndexOrBuilder { // Use RowIndex.newBuilder() to construct. private RowIndex(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private RowIndex(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final RowIndex defaultInstance; public static RowIndex getDefaultInstance() { return defaultInstance; } public RowIndex getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RowIndex( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } entry_.add(input.readMessage(org.apache.orc.OrcProto.RowIndexEntry.PARSER, extensionRegistry)); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = java.util.Collections.unmodifiableList(entry_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndex_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.RowIndex.class, org.apache.orc.OrcProto.RowIndex.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public RowIndex parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new RowIndex(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated .orc.proto.RowIndexEntry entry = 1; public static final int ENTRY_FIELD_NUMBER = 1; private java.util.List entry_; /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public java.util.List getEntryList() { return entry_; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public java.util.List getEntryOrBuilderList() { return entry_; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public int getEntryCount() { return entry_.size(); } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public org.apache.orc.OrcProto.RowIndexEntry getEntry(int index) { return entry_.get(index); } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public org.apache.orc.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder( int index) { return entry_.get(index); } private void initFields() { entry_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < entry_.size(); i++) { output.writeMessage(1, entry_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < entry_.size(); i++) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(1, entry_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.RowIndex parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.RowIndex parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.RowIndex parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.RowIndex parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.RowIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.RowIndex parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.RowIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.RowIndex parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.RowIndex parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.RowIndex parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.RowIndex prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.RowIndex} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.RowIndexOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndex_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.RowIndex.class, org.apache.orc.OrcProto.RowIndex.Builder.class); } // Construct using org.apache.orc.OrcProto.RowIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getEntryFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { entryBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_RowIndex_descriptor; } public org.apache.orc.OrcProto.RowIndex getDefaultInstanceForType() { return org.apache.orc.OrcProto.RowIndex.getDefaultInstance(); } public org.apache.orc.OrcProto.RowIndex build() { org.apache.orc.OrcProto.RowIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.RowIndex buildPartial() { org.apache.orc.OrcProto.RowIndex result = new org.apache.orc.OrcProto.RowIndex(this); int from_bitField0_ = bitField0_; if (entryBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { entry_ = java.util.Collections.unmodifiableList(entry_); bitField0_ = (bitField0_ & ~0x00000001); } result.entry_ = entry_; } else { result.entry_ = entryBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.RowIndex) { return mergeFrom((org.apache.orc.OrcProto.RowIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.RowIndex other) { if (other == org.apache.orc.OrcProto.RowIndex.getDefaultInstance()) return this; if (entryBuilder_ == null) { if (!other.entry_.isEmpty()) { if (entry_.isEmpty()) { entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntryIsMutable(); entry_.addAll(other.entry_); } onChanged(); } } else { if (!other.entry_.isEmpty()) { if (entryBuilder_.isEmpty()) { entryBuilder_.dispose(); entryBuilder_ = null; entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000001); entryBuilder_ = com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.RowIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.RowIndex) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .orc.proto.RowIndexEntry entry = 1; private java.util.List entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { entry_ = new java.util.ArrayList(entry_); bitField0_ |= 0x00000001; } } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.RowIndexEntry, org.apache.orc.OrcProto.RowIndexEntry.Builder, org.apache.orc.OrcProto.RowIndexEntryOrBuilder> entryBuilder_; /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public java.util.List getEntryList() { if (entryBuilder_ == null) { return java.util.Collections.unmodifiableList(entry_); } else { return entryBuilder_.getMessageList(); } } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public int getEntryCount() { if (entryBuilder_ == null) { return entry_.size(); } else { return entryBuilder_.getCount(); } } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public org.apache.orc.OrcProto.RowIndexEntry getEntry(int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessage(index); } } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public Builder setEntry( int index, org.apache.orc.OrcProto.RowIndexEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.set(index, value); onChanged(); } else { entryBuilder_.setMessage(index, value); } return this; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public Builder setEntry( int index, org.apache.orc.OrcProto.RowIndexEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.set(index, builderForValue.build()); onChanged(); } else { entryBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public Builder addEntry(org.apache.orc.OrcProto.RowIndexEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(value); onChanged(); } else { entryBuilder_.addMessage(value); } return this; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public Builder addEntry( int index, org.apache.orc.OrcProto.RowIndexEntry value) { if (entryBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureEntryIsMutable(); entry_.add(index, value); onChanged(); } else { entryBuilder_.addMessage(index, value); } return this; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public Builder addEntry( org.apache.orc.OrcProto.RowIndexEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public Builder addEntry( int index, org.apache.orc.OrcProto.RowIndexEntry.Builder builderForValue) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.add(index, builderForValue.build()); onChanged(); } else { entryBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public Builder addAllEntry( java.lang.Iterable values) { if (entryBuilder_ == null) { ensureEntryIsMutable(); super.addAll(values, entry_); onChanged(); } else { entryBuilder_.addAllMessages(values); } return this; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public Builder clearEntry() { if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { entryBuilder_.clear(); } return this; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public Builder removeEntry(int index) { if (entryBuilder_ == null) { ensureEntryIsMutable(); entry_.remove(index); onChanged(); } else { entryBuilder_.remove(index); } return this; } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public org.apache.orc.OrcProto.RowIndexEntry.Builder getEntryBuilder( int index) { return getEntryFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public org.apache.orc.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder( int index) { if (entryBuilder_ == null) { return entry_.get(index); } else { return entryBuilder_.getMessageOrBuilder(index); } } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public java.util.List getEntryOrBuilderList() { if (entryBuilder_ != null) { return entryBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(entry_); } } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public org.apache.orc.OrcProto.RowIndexEntry.Builder addEntryBuilder() { return getEntryFieldBuilder().addBuilder( org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance()); } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public org.apache.orc.OrcProto.RowIndexEntry.Builder addEntryBuilder( int index) { return getEntryFieldBuilder().addBuilder( index, org.apache.orc.OrcProto.RowIndexEntry.getDefaultInstance()); } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public java.util.List getEntryBuilderList() { return getEntryFieldBuilder().getBuilderList(); } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.RowIndexEntry, org.apache.orc.OrcProto.RowIndexEntry.Builder, org.apache.orc.OrcProto.RowIndexEntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.RowIndexEntry, org.apache.orc.OrcProto.RowIndexEntry.Builder, org.apache.orc.OrcProto.RowIndexEntryOrBuilder>( entry_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } // @@protoc_insertion_point(builder_scope:orc.proto.RowIndex) } static { defaultInstance = new RowIndex(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.RowIndex) } public interface BloomFilterOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional uint32 numHashFunctions = 1; /** * optional uint32 numHashFunctions = 1; */ boolean hasNumHashFunctions(); /** * optional uint32 numHashFunctions = 1; */ int getNumHashFunctions(); // repeated fixed64 bitset = 2; /** * repeated fixed64 bitset = 2; */ java.util.List getBitsetList(); /** * repeated fixed64 bitset = 2; */ int getBitsetCount(); /** * repeated fixed64 bitset = 2; */ long getBitset(int index); // optional bytes utf8bitset = 3; /** * optional bytes utf8bitset = 3; */ boolean hasUtf8Bitset(); /** * optional bytes utf8bitset = 3; */ com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getUtf8Bitset(); } /** * Protobuf type {@code orc.proto.BloomFilter} */ public static final class BloomFilter extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements BloomFilterOrBuilder { // Use BloomFilter.newBuilder() to construct. private BloomFilter(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BloomFilter(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BloomFilter defaultInstance; public static BloomFilter getDefaultInstance() { return defaultInstance; } public BloomFilter getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BloomFilter( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; numHashFunctions_ = input.readUInt32(); break; } case 17: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { bitset_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } bitset_.add(input.readFixed64()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { bitset_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { bitset_.add(input.readFixed64()); } input.popLimit(limit); break; } case 26: { bitField0_ |= 0x00000002; utf8Bitset_ = input.readBytes(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { bitset_ = java.util.Collections.unmodifiableList(bitset_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilter_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.BloomFilter.class, org.apache.orc.OrcProto.BloomFilter.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public BloomFilter parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new BloomFilter(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional uint32 numHashFunctions = 1; public static final int NUMHASHFUNCTIONS_FIELD_NUMBER = 1; private int numHashFunctions_; /** * optional uint32 numHashFunctions = 1; */ public boolean hasNumHashFunctions() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint32 numHashFunctions = 1; */ public int getNumHashFunctions() { return numHashFunctions_; } // repeated fixed64 bitset = 2; public static final int BITSET_FIELD_NUMBER = 2; private java.util.List bitset_; /** * repeated fixed64 bitset = 2; */ public java.util.List getBitsetList() { return bitset_; } /** * repeated fixed64 bitset = 2; */ public int getBitsetCount() { return bitset_.size(); } /** * repeated fixed64 bitset = 2; */ public long getBitset(int index) { return bitset_.get(index); } // optional bytes utf8bitset = 3; public static final int UTF8BITSET_FIELD_NUMBER = 3; private com.facebook.presto.hive.$internal.com.google.protobuf.ByteString utf8Bitset_; /** * optional bytes utf8bitset = 3; */ public boolean hasUtf8Bitset() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes utf8bitset = 3; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getUtf8Bitset() { return utf8Bitset_; } private void initFields() { numHashFunctions_ = 0; bitset_ = java.util.Collections.emptyList(); utf8Bitset_ = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, numHashFunctions_); } for (int i = 0; i < bitset_.size(); i++) { output.writeFixed64(2, bitset_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(3, utf8Bitset_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32Size(1, numHashFunctions_); } { int dataSize = 0; dataSize = 8 * getBitsetList().size(); size += dataSize; size += 1 * getBitsetList().size(); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(3, utf8Bitset_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.BloomFilter parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.BloomFilter parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.BloomFilter parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.BloomFilter parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.BloomFilter parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.BloomFilter parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.BloomFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.BloomFilter parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.BloomFilter parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.BloomFilter parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.BloomFilter prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.BloomFilter} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.BloomFilterOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilter_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.BloomFilter.class, org.apache.orc.OrcProto.BloomFilter.Builder.class); } // Construct using org.apache.orc.OrcProto.BloomFilter.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); numHashFunctions_ = 0; bitField0_ = (bitField0_ & ~0x00000001); bitset_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); utf8Bitset_ = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilter_descriptor; } public org.apache.orc.OrcProto.BloomFilter getDefaultInstanceForType() { return org.apache.orc.OrcProto.BloomFilter.getDefaultInstance(); } public org.apache.orc.OrcProto.BloomFilter build() { org.apache.orc.OrcProto.BloomFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.BloomFilter buildPartial() { org.apache.orc.OrcProto.BloomFilter result = new org.apache.orc.OrcProto.BloomFilter(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.numHashFunctions_ = numHashFunctions_; if (((bitField0_ & 0x00000002) == 0x00000002)) { bitset_ = java.util.Collections.unmodifiableList(bitset_); bitField0_ = (bitField0_ & ~0x00000002); } result.bitset_ = bitset_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000002; } result.utf8Bitset_ = utf8Bitset_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.BloomFilter) { return mergeFrom((org.apache.orc.OrcProto.BloomFilter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.BloomFilter other) { if (other == org.apache.orc.OrcProto.BloomFilter.getDefaultInstance()) return this; if (other.hasNumHashFunctions()) { setNumHashFunctions(other.getNumHashFunctions()); } if (!other.bitset_.isEmpty()) { if (bitset_.isEmpty()) { bitset_ = other.bitset_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureBitsetIsMutable(); bitset_.addAll(other.bitset_); } onChanged(); } if (other.hasUtf8Bitset()) { setUtf8Bitset(other.getUtf8Bitset()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.BloomFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.BloomFilter) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional uint32 numHashFunctions = 1; private int numHashFunctions_ ; /** * optional uint32 numHashFunctions = 1; */ public boolean hasNumHashFunctions() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint32 numHashFunctions = 1; */ public int getNumHashFunctions() { return numHashFunctions_; } /** * optional uint32 numHashFunctions = 1; */ public Builder setNumHashFunctions(int value) { bitField0_ |= 0x00000001; numHashFunctions_ = value; onChanged(); return this; } /** * optional uint32 numHashFunctions = 1; */ public Builder clearNumHashFunctions() { bitField0_ = (bitField0_ & ~0x00000001); numHashFunctions_ = 0; onChanged(); return this; } // repeated fixed64 bitset = 2; private java.util.List bitset_ = java.util.Collections.emptyList(); private void ensureBitsetIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { bitset_ = new java.util.ArrayList(bitset_); bitField0_ |= 0x00000002; } } /** * repeated fixed64 bitset = 2; */ public java.util.List getBitsetList() { return java.util.Collections.unmodifiableList(bitset_); } /** * repeated fixed64 bitset = 2; */ public int getBitsetCount() { return bitset_.size(); } /** * repeated fixed64 bitset = 2; */ public long getBitset(int index) { return bitset_.get(index); } /** * repeated fixed64 bitset = 2; */ public Builder setBitset( int index, long value) { ensureBitsetIsMutable(); bitset_.set(index, value); onChanged(); return this; } /** * repeated fixed64 bitset = 2; */ public Builder addBitset(long value) { ensureBitsetIsMutable(); bitset_.add(value); onChanged(); return this; } /** * repeated fixed64 bitset = 2; */ public Builder addAllBitset( java.lang.Iterable values) { ensureBitsetIsMutable(); super.addAll(values, bitset_); onChanged(); return this; } /** * repeated fixed64 bitset = 2; */ public Builder clearBitset() { bitset_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } // optional bytes utf8bitset = 3; private com.facebook.presto.hive.$internal.com.google.protobuf.ByteString utf8Bitset_ = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.EMPTY; /** * optional bytes utf8bitset = 3; */ public boolean hasUtf8Bitset() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bytes utf8bitset = 3; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getUtf8Bitset() { return utf8Bitset_; } /** * optional bytes utf8bitset = 3; */ public Builder setUtf8Bitset(com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; utf8Bitset_ = value; onChanged(); return this; } /** * optional bytes utf8bitset = 3; */ public Builder clearUtf8Bitset() { bitField0_ = (bitField0_ & ~0x00000004); utf8Bitset_ = getDefaultInstance().getUtf8Bitset(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.BloomFilter) } static { defaultInstance = new BloomFilter(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.BloomFilter) } public interface BloomFilterIndexOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // repeated .orc.proto.BloomFilter bloomFilter = 1; /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ java.util.List getBloomFilterList(); /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ org.apache.orc.OrcProto.BloomFilter getBloomFilter(int index); /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ int getBloomFilterCount(); /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ java.util.List getBloomFilterOrBuilderList(); /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ org.apache.orc.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder( int index); } /** * Protobuf type {@code orc.proto.BloomFilterIndex} */ public static final class BloomFilterIndex extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements BloomFilterIndexOrBuilder { // Use BloomFilterIndex.newBuilder() to construct. private BloomFilterIndex(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private BloomFilterIndex(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final BloomFilterIndex defaultInstance; public static BloomFilterIndex getDefaultInstance() { return defaultInstance; } public BloomFilterIndex getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BloomFilterIndex( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { bloomFilter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } bloomFilter_.add(input.readMessage(org.apache.orc.OrcProto.BloomFilter.PARSER, extensionRegistry)); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { bloomFilter_ = java.util.Collections.unmodifiableList(bloomFilter_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilterIndex_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilterIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.BloomFilterIndex.class, org.apache.orc.OrcProto.BloomFilterIndex.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public BloomFilterIndex parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new BloomFilterIndex(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated .orc.proto.BloomFilter bloomFilter = 1; public static final int BLOOMFILTER_FIELD_NUMBER = 1; private java.util.List bloomFilter_; /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterList() { return bloomFilter_; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterOrBuilderList() { return bloomFilter_; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public int getBloomFilterCount() { return bloomFilter_.size(); } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public org.apache.orc.OrcProto.BloomFilter getBloomFilter(int index) { return bloomFilter_.get(index); } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public org.apache.orc.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder( int index) { return bloomFilter_.get(index); } private void initFields() { bloomFilter_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < bloomFilter_.size(); i++) { output.writeMessage(1, bloomFilter_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < bloomFilter_.size(); i++) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(1, bloomFilter_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.BloomFilterIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.BloomFilterIndex parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.BloomFilterIndex parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.BloomFilterIndex prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.BloomFilterIndex} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.BloomFilterIndexOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilterIndex_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilterIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.BloomFilterIndex.class, org.apache.orc.OrcProto.BloomFilterIndex.Builder.class); } // Construct using org.apache.orc.OrcProto.BloomFilterIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getBloomFilterFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (bloomFilterBuilder_ == null) { bloomFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { bloomFilterBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_BloomFilterIndex_descriptor; } public org.apache.orc.OrcProto.BloomFilterIndex getDefaultInstanceForType() { return org.apache.orc.OrcProto.BloomFilterIndex.getDefaultInstance(); } public org.apache.orc.OrcProto.BloomFilterIndex build() { org.apache.orc.OrcProto.BloomFilterIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.BloomFilterIndex buildPartial() { org.apache.orc.OrcProto.BloomFilterIndex result = new org.apache.orc.OrcProto.BloomFilterIndex(this); int from_bitField0_ = bitField0_; if (bloomFilterBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { bloomFilter_ = java.util.Collections.unmodifiableList(bloomFilter_); bitField0_ = (bitField0_ & ~0x00000001); } result.bloomFilter_ = bloomFilter_; } else { result.bloomFilter_ = bloomFilterBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.BloomFilterIndex) { return mergeFrom((org.apache.orc.OrcProto.BloomFilterIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.BloomFilterIndex other) { if (other == org.apache.orc.OrcProto.BloomFilterIndex.getDefaultInstance()) return this; if (bloomFilterBuilder_ == null) { if (!other.bloomFilter_.isEmpty()) { if (bloomFilter_.isEmpty()) { bloomFilter_ = other.bloomFilter_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureBloomFilterIsMutable(); bloomFilter_.addAll(other.bloomFilter_); } onChanged(); } } else { if (!other.bloomFilter_.isEmpty()) { if (bloomFilterBuilder_.isEmpty()) { bloomFilterBuilder_.dispose(); bloomFilterBuilder_ = null; bloomFilter_ = other.bloomFilter_; bitField0_ = (bitField0_ & ~0x00000001); bloomFilterBuilder_ = com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getBloomFilterFieldBuilder() : null; } else { bloomFilterBuilder_.addAllMessages(other.bloomFilter_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.BloomFilterIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.BloomFilterIndex) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .orc.proto.BloomFilter bloomFilter = 1; private java.util.List bloomFilter_ = java.util.Collections.emptyList(); private void ensureBloomFilterIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { bloomFilter_ = new java.util.ArrayList(bloomFilter_); bitField0_ |= 0x00000001; } } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.BloomFilter, org.apache.orc.OrcProto.BloomFilter.Builder, org.apache.orc.OrcProto.BloomFilterOrBuilder> bloomFilterBuilder_; /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterList() { if (bloomFilterBuilder_ == null) { return java.util.Collections.unmodifiableList(bloomFilter_); } else { return bloomFilterBuilder_.getMessageList(); } } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public int getBloomFilterCount() { if (bloomFilterBuilder_ == null) { return bloomFilter_.size(); } else { return bloomFilterBuilder_.getCount(); } } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public org.apache.orc.OrcProto.BloomFilter getBloomFilter(int index) { if (bloomFilterBuilder_ == null) { return bloomFilter_.get(index); } else { return bloomFilterBuilder_.getMessage(index); } } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public Builder setBloomFilter( int index, org.apache.orc.OrcProto.BloomFilter value) { if (bloomFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBloomFilterIsMutable(); bloomFilter_.set(index, value); onChanged(); } else { bloomFilterBuilder_.setMessage(index, value); } return this; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public Builder setBloomFilter( int index, org.apache.orc.OrcProto.BloomFilter.Builder builderForValue) { if (bloomFilterBuilder_ == null) { ensureBloomFilterIsMutable(); bloomFilter_.set(index, builderForValue.build()); onChanged(); } else { bloomFilterBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public Builder addBloomFilter(org.apache.orc.OrcProto.BloomFilter value) { if (bloomFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBloomFilterIsMutable(); bloomFilter_.add(value); onChanged(); } else { bloomFilterBuilder_.addMessage(value); } return this; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public Builder addBloomFilter( int index, org.apache.orc.OrcProto.BloomFilter value) { if (bloomFilterBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureBloomFilterIsMutable(); bloomFilter_.add(index, value); onChanged(); } else { bloomFilterBuilder_.addMessage(index, value); } return this; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public Builder addBloomFilter( org.apache.orc.OrcProto.BloomFilter.Builder builderForValue) { if (bloomFilterBuilder_ == null) { ensureBloomFilterIsMutable(); bloomFilter_.add(builderForValue.build()); onChanged(); } else { bloomFilterBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public Builder addBloomFilter( int index, org.apache.orc.OrcProto.BloomFilter.Builder builderForValue) { if (bloomFilterBuilder_ == null) { ensureBloomFilterIsMutable(); bloomFilter_.add(index, builderForValue.build()); onChanged(); } else { bloomFilterBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public Builder addAllBloomFilter( java.lang.Iterable values) { if (bloomFilterBuilder_ == null) { ensureBloomFilterIsMutable(); super.addAll(values, bloomFilter_); onChanged(); } else { bloomFilterBuilder_.addAllMessages(values); } return this; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public Builder clearBloomFilter() { if (bloomFilterBuilder_ == null) { bloomFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { bloomFilterBuilder_.clear(); } return this; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public Builder removeBloomFilter(int index) { if (bloomFilterBuilder_ == null) { ensureBloomFilterIsMutable(); bloomFilter_.remove(index); onChanged(); } else { bloomFilterBuilder_.remove(index); } return this; } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public org.apache.orc.OrcProto.BloomFilter.Builder getBloomFilterBuilder( int index) { return getBloomFilterFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public org.apache.orc.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder( int index) { if (bloomFilterBuilder_ == null) { return bloomFilter_.get(index); } else { return bloomFilterBuilder_.getMessageOrBuilder(index); } } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterOrBuilderList() { if (bloomFilterBuilder_ != null) { return bloomFilterBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(bloomFilter_); } } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public org.apache.orc.OrcProto.BloomFilter.Builder addBloomFilterBuilder() { return getBloomFilterFieldBuilder().addBuilder( org.apache.orc.OrcProto.BloomFilter.getDefaultInstance()); } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public org.apache.orc.OrcProto.BloomFilter.Builder addBloomFilterBuilder( int index) { return getBloomFilterFieldBuilder().addBuilder( index, org.apache.orc.OrcProto.BloomFilter.getDefaultInstance()); } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterBuilderList() { return getBloomFilterFieldBuilder().getBuilderList(); } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.BloomFilter, org.apache.orc.OrcProto.BloomFilter.Builder, org.apache.orc.OrcProto.BloomFilterOrBuilder> getBloomFilterFieldBuilder() { if (bloomFilterBuilder_ == null) { bloomFilterBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.BloomFilter, org.apache.orc.OrcProto.BloomFilter.Builder, org.apache.orc.OrcProto.BloomFilterOrBuilder>( bloomFilter_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); bloomFilter_ = null; } return bloomFilterBuilder_; } // @@protoc_insertion_point(builder_scope:orc.proto.BloomFilterIndex) } static { defaultInstance = new BloomFilterIndex(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.BloomFilterIndex) } public interface StreamOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional .orc.proto.Stream.Kind kind = 1; /** * optional .orc.proto.Stream.Kind kind = 1; */ boolean hasKind(); /** * optional .orc.proto.Stream.Kind kind = 1; */ org.apache.orc.OrcProto.Stream.Kind getKind(); // optional uint32 column = 2; /** * optional uint32 column = 2; */ boolean hasColumn(); /** * optional uint32 column = 2; */ int getColumn(); // optional uint64 length = 3; /** * optional uint64 length = 3; */ boolean hasLength(); /** * optional uint64 length = 3; */ long getLength(); } /** * Protobuf type {@code orc.proto.Stream} */ public static final class Stream extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements StreamOrBuilder { // Use Stream.newBuilder() to construct. private Stream(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Stream(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Stream defaultInstance; public static Stream getDefaultInstance() { return defaultInstance; } public Stream getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Stream( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); org.apache.orc.OrcProto.Stream.Kind value = org.apache.orc.OrcProto.Stream.Kind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; kind_ = value; } break; } case 16: { bitField0_ |= 0x00000002; column_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; length_ = input.readUInt64(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.Stream.class, org.apache.orc.OrcProto.Stream.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public Stream parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new Stream(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code orc.proto.Stream.Kind} * *
     * if you add new index stream kinds, you need to make sure to update
     * StreamName to ensure it is added to the stripe in the right area
     * 
*/ public enum Kind implements com.facebook.presto.hive.$internal.com.google.protobuf.ProtocolMessageEnum { /** * PRESENT = 0; */ PRESENT(0, 0), /** * DATA = 1; */ DATA(1, 1), /** * LENGTH = 2; */ LENGTH(2, 2), /** * DICTIONARY_DATA = 3; */ DICTIONARY_DATA(3, 3), /** * DICTIONARY_COUNT = 4; */ DICTIONARY_COUNT(4, 4), /** * SECONDARY = 5; */ SECONDARY(5, 5), /** * ROW_INDEX = 6; */ ROW_INDEX(6, 6), /** * BLOOM_FILTER = 7; */ BLOOM_FILTER(7, 7), /** * BLOOM_FILTER_UTF8 = 8; */ BLOOM_FILTER_UTF8(8, 8), ; /** * PRESENT = 0; */ public static final int PRESENT_VALUE = 0; /** * DATA = 1; */ public static final int DATA_VALUE = 1; /** * LENGTH = 2; */ public static final int LENGTH_VALUE = 2; /** * DICTIONARY_DATA = 3; */ public static final int DICTIONARY_DATA_VALUE = 3; /** * DICTIONARY_COUNT = 4; */ public static final int DICTIONARY_COUNT_VALUE = 4; /** * SECONDARY = 5; */ public static final int SECONDARY_VALUE = 5; /** * ROW_INDEX = 6; */ public static final int ROW_INDEX_VALUE = 6; /** * BLOOM_FILTER = 7; */ public static final int BLOOM_FILTER_VALUE = 7; /** * BLOOM_FILTER_UTF8 = 8; */ public static final int BLOOM_FILTER_UTF8_VALUE = 8; public final int getNumber() { return value; } public static Kind valueOf(int value) { switch (value) { case 0: return PRESENT; case 1: return DATA; case 2: return LENGTH; case 3: return DICTIONARY_DATA; case 4: return DICTIONARY_COUNT; case 5: return SECONDARY; case 6: return ROW_INDEX; case 7: return BLOOM_FILTER; case 8: return BLOOM_FILTER_UTF8; default: return null; } } public static com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap() { public Kind findValueByNumber(int number) { return Kind.valueOf(number); } }; public final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.apache.orc.OrcProto.Stream.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); public static Kind valueOf( com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private Kind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:orc.proto.Stream.Kind) } private int bitField0_; // optional .orc.proto.Stream.Kind kind = 1; public static final int KIND_FIELD_NUMBER = 1; private org.apache.orc.OrcProto.Stream.Kind kind_; /** * optional .orc.proto.Stream.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.Stream.Kind kind = 1; */ public org.apache.orc.OrcProto.Stream.Kind getKind() { return kind_; } // optional uint32 column = 2; public static final int COLUMN_FIELD_NUMBER = 2; private int column_; /** * optional uint32 column = 2; */ public boolean hasColumn() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint32 column = 2; */ public int getColumn() { return column_; } // optional uint64 length = 3; public static final int LENGTH_FIELD_NUMBER = 3; private long length_; /** * optional uint64 length = 3; */ public boolean hasLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 length = 3; */ public long getLength() { return length_; } private void initFields() { kind_ = org.apache.orc.OrcProto.Stream.Kind.PRESENT; column_ = 0; length_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, kind_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, column_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, length_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeEnumSize(1, kind_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32Size(2, column_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(3, length_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.Stream parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.Stream parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.Stream parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.Stream parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.Stream parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.Stream parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.Stream parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.Stream parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.Stream parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.Stream parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.Stream prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.Stream} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.StreamOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.Stream.class, org.apache.orc.OrcProto.Stream.Builder.class); } // Construct using org.apache.orc.OrcProto.Stream.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); kind_ = org.apache.orc.OrcProto.Stream.Kind.PRESENT; bitField0_ = (bitField0_ & ~0x00000001); column_ = 0; bitField0_ = (bitField0_ & ~0x00000002); length_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_Stream_descriptor; } public org.apache.orc.OrcProto.Stream getDefaultInstanceForType() { return org.apache.orc.OrcProto.Stream.getDefaultInstance(); } public org.apache.orc.OrcProto.Stream build() { org.apache.orc.OrcProto.Stream result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.Stream buildPartial() { org.apache.orc.OrcProto.Stream result = new org.apache.orc.OrcProto.Stream(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.kind_ = kind_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.column_ = column_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.length_ = length_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.Stream) { return mergeFrom((org.apache.orc.OrcProto.Stream)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.Stream other) { if (other == org.apache.orc.OrcProto.Stream.getDefaultInstance()) return this; if (other.hasKind()) { setKind(other.getKind()); } if (other.hasColumn()) { setColumn(other.getColumn()); } if (other.hasLength()) { setLength(other.getLength()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.Stream parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.Stream) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .orc.proto.Stream.Kind kind = 1; private org.apache.orc.OrcProto.Stream.Kind kind_ = org.apache.orc.OrcProto.Stream.Kind.PRESENT; /** * optional .orc.proto.Stream.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.Stream.Kind kind = 1; */ public org.apache.orc.OrcProto.Stream.Kind getKind() { return kind_; } /** * optional .orc.proto.Stream.Kind kind = 1; */ public Builder setKind(org.apache.orc.OrcProto.Stream.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value; onChanged(); return this; } /** * optional .orc.proto.Stream.Kind kind = 1; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = org.apache.orc.OrcProto.Stream.Kind.PRESENT; onChanged(); return this; } // optional uint32 column = 2; private int column_ ; /** * optional uint32 column = 2; */ public boolean hasColumn() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint32 column = 2; */ public int getColumn() { return column_; } /** * optional uint32 column = 2; */ public Builder setColumn(int value) { bitField0_ |= 0x00000002; column_ = value; onChanged(); return this; } /** * optional uint32 column = 2; */ public Builder clearColumn() { bitField0_ = (bitField0_ & ~0x00000002); column_ = 0; onChanged(); return this; } // optional uint64 length = 3; private long length_ ; /** * optional uint64 length = 3; */ public boolean hasLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 length = 3; */ public long getLength() { return length_; } /** * optional uint64 length = 3; */ public Builder setLength(long value) { bitField0_ |= 0x00000004; length_ = value; onChanged(); return this; } /** * optional uint64 length = 3; */ public Builder clearLength() { bitField0_ = (bitField0_ & ~0x00000004); length_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.Stream) } static { defaultInstance = new Stream(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.Stream) } public interface ColumnEncodingOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional .orc.proto.ColumnEncoding.Kind kind = 1; /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ boolean hasKind(); /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ org.apache.orc.OrcProto.ColumnEncoding.Kind getKind(); // optional uint32 dictionarySize = 2; /** * optional uint32 dictionarySize = 2; */ boolean hasDictionarySize(); /** * optional uint32 dictionarySize = 2; */ int getDictionarySize(); // optional uint32 bloomEncoding = 3; /** * optional uint32 bloomEncoding = 3; * *
     * The encoding of the bloom filters for this column:
     *   0 or missing = none or original
     *   1            = ORC-135 (utc for timestamps)
     * 
*/ boolean hasBloomEncoding(); /** * optional uint32 bloomEncoding = 3; * *
     * The encoding of the bloom filters for this column:
     *   0 or missing = none or original
     *   1            = ORC-135 (utc for timestamps)
     * 
*/ int getBloomEncoding(); } /** * Protobuf type {@code orc.proto.ColumnEncoding} */ public static final class ColumnEncoding extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements ColumnEncodingOrBuilder { // Use ColumnEncoding.newBuilder() to construct. private ColumnEncoding(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private ColumnEncoding(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final ColumnEncoding defaultInstance; public static ColumnEncoding getDefaultInstance() { return defaultInstance; } public ColumnEncoding getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnEncoding( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); org.apache.orc.OrcProto.ColumnEncoding.Kind value = org.apache.orc.OrcProto.ColumnEncoding.Kind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; kind_ = value; } break; } case 16: { bitField0_ |= 0x00000002; dictionarySize_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; bloomEncoding_ = input.readUInt32(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.ColumnEncoding.class, org.apache.orc.OrcProto.ColumnEncoding.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public ColumnEncoding parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new ColumnEncoding(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code orc.proto.ColumnEncoding.Kind} */ public enum Kind implements com.facebook.presto.hive.$internal.com.google.protobuf.ProtocolMessageEnum { /** * DIRECT = 0; */ DIRECT(0, 0), /** * DICTIONARY = 1; */ DICTIONARY(1, 1), /** * DIRECT_V2 = 2; */ DIRECT_V2(2, 2), /** * DICTIONARY_V2 = 3; */ DICTIONARY_V2(3, 3), ; /** * DIRECT = 0; */ public static final int DIRECT_VALUE = 0; /** * DICTIONARY = 1; */ public static final int DICTIONARY_VALUE = 1; /** * DIRECT_V2 = 2; */ public static final int DIRECT_V2_VALUE = 2; /** * DICTIONARY_V2 = 3; */ public static final int DICTIONARY_V2_VALUE = 3; public final int getNumber() { return value; } public static Kind valueOf(int value) { switch (value) { case 0: return DIRECT; case 1: return DICTIONARY; case 2: return DIRECT_V2; case 3: return DICTIONARY_V2; default: return null; } } public static com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap() { public Kind findValueByNumber(int number) { return Kind.valueOf(number); } }; public final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.apache.orc.OrcProto.ColumnEncoding.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); public static Kind valueOf( com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private Kind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:orc.proto.ColumnEncoding.Kind) } private int bitField0_; // optional .orc.proto.ColumnEncoding.Kind kind = 1; public static final int KIND_FIELD_NUMBER = 1; private org.apache.orc.OrcProto.ColumnEncoding.Kind kind_; /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public org.apache.orc.OrcProto.ColumnEncoding.Kind getKind() { return kind_; } // optional uint32 dictionarySize = 2; public static final int DICTIONARYSIZE_FIELD_NUMBER = 2; private int dictionarySize_; /** * optional uint32 dictionarySize = 2; */ public boolean hasDictionarySize() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint32 dictionarySize = 2; */ public int getDictionarySize() { return dictionarySize_; } // optional uint32 bloomEncoding = 3; public static final int BLOOMENCODING_FIELD_NUMBER = 3; private int bloomEncoding_; /** * optional uint32 bloomEncoding = 3; * *
     * The encoding of the bloom filters for this column:
     *   0 or missing = none or original
     *   1            = ORC-135 (utc for timestamps)
     * 
*/ public boolean hasBloomEncoding() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint32 bloomEncoding = 3; * *
     * The encoding of the bloom filters for this column:
     *   0 or missing = none or original
     *   1            = ORC-135 (utc for timestamps)
     * 
*/ public int getBloomEncoding() { return bloomEncoding_; } private void initFields() { kind_ = org.apache.orc.OrcProto.ColumnEncoding.Kind.DIRECT; dictionarySize_ = 0; bloomEncoding_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, kind_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, dictionarySize_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, bloomEncoding_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeEnumSize(1, kind_.getNumber()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32Size(2, dictionarySize_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32Size(3, bloomEncoding_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.ColumnEncoding parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.ColumnEncoding parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.ColumnEncoding parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.ColumnEncoding parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.ColumnEncoding parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.ColumnEncoding parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.ColumnEncoding parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.ColumnEncoding parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.ColumnEncoding parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.ColumnEncoding prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.ColumnEncoding} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.ColumnEncodingOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.ColumnEncoding.class, org.apache.orc.OrcProto.ColumnEncoding.Builder.class); } // Construct using org.apache.orc.OrcProto.ColumnEncoding.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); kind_ = org.apache.orc.OrcProto.ColumnEncoding.Kind.DIRECT; bitField0_ = (bitField0_ & ~0x00000001); dictionarySize_ = 0; bitField0_ = (bitField0_ & ~0x00000002); bloomEncoding_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_ColumnEncoding_descriptor; } public org.apache.orc.OrcProto.ColumnEncoding getDefaultInstanceForType() { return org.apache.orc.OrcProto.ColumnEncoding.getDefaultInstance(); } public org.apache.orc.OrcProto.ColumnEncoding build() { org.apache.orc.OrcProto.ColumnEncoding result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.ColumnEncoding buildPartial() { org.apache.orc.OrcProto.ColumnEncoding result = new org.apache.orc.OrcProto.ColumnEncoding(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.kind_ = kind_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.dictionarySize_ = dictionarySize_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.bloomEncoding_ = bloomEncoding_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.ColumnEncoding) { return mergeFrom((org.apache.orc.OrcProto.ColumnEncoding)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.ColumnEncoding other) { if (other == org.apache.orc.OrcProto.ColumnEncoding.getDefaultInstance()) return this; if (other.hasKind()) { setKind(other.getKind()); } if (other.hasDictionarySize()) { setDictionarySize(other.getDictionarySize()); } if (other.hasBloomEncoding()) { setBloomEncoding(other.getBloomEncoding()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.ColumnEncoding parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.ColumnEncoding) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .orc.proto.ColumnEncoding.Kind kind = 1; private org.apache.orc.OrcProto.ColumnEncoding.Kind kind_ = org.apache.orc.OrcProto.ColumnEncoding.Kind.DIRECT; /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public org.apache.orc.OrcProto.ColumnEncoding.Kind getKind() { return kind_; } /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public Builder setKind(org.apache.orc.OrcProto.ColumnEncoding.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value; onChanged(); return this; } /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = org.apache.orc.OrcProto.ColumnEncoding.Kind.DIRECT; onChanged(); return this; } // optional uint32 dictionarySize = 2; private int dictionarySize_ ; /** * optional uint32 dictionarySize = 2; */ public boolean hasDictionarySize() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint32 dictionarySize = 2; */ public int getDictionarySize() { return dictionarySize_; } /** * optional uint32 dictionarySize = 2; */ public Builder setDictionarySize(int value) { bitField0_ |= 0x00000002; dictionarySize_ = value; onChanged(); return this; } /** * optional uint32 dictionarySize = 2; */ public Builder clearDictionarySize() { bitField0_ = (bitField0_ & ~0x00000002); dictionarySize_ = 0; onChanged(); return this; } // optional uint32 bloomEncoding = 3; private int bloomEncoding_ ; /** * optional uint32 bloomEncoding = 3; * *
       * The encoding of the bloom filters for this column:
       *   0 or missing = none or original
       *   1            = ORC-135 (utc for timestamps)
       * 
*/ public boolean hasBloomEncoding() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint32 bloomEncoding = 3; * *
       * The encoding of the bloom filters for this column:
       *   0 or missing = none or original
       *   1            = ORC-135 (utc for timestamps)
       * 
*/ public int getBloomEncoding() { return bloomEncoding_; } /** * optional uint32 bloomEncoding = 3; * *
       * The encoding of the bloom filters for this column:
       *   0 or missing = none or original
       *   1            = ORC-135 (utc for timestamps)
       * 
*/ public Builder setBloomEncoding(int value) { bitField0_ |= 0x00000004; bloomEncoding_ = value; onChanged(); return this; } /** * optional uint32 bloomEncoding = 3; * *
       * The encoding of the bloom filters for this column:
       *   0 or missing = none or original
       *   1            = ORC-135 (utc for timestamps)
       * 
*/ public Builder clearBloomEncoding() { bitField0_ = (bitField0_ & ~0x00000004); bloomEncoding_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.ColumnEncoding) } static { defaultInstance = new ColumnEncoding(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.ColumnEncoding) } public interface StripeFooterOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // repeated .orc.proto.Stream streams = 1; /** * repeated .orc.proto.Stream streams = 1; */ java.util.List getStreamsList(); /** * repeated .orc.proto.Stream streams = 1; */ org.apache.orc.OrcProto.Stream getStreams(int index); /** * repeated .orc.proto.Stream streams = 1; */ int getStreamsCount(); /** * repeated .orc.proto.Stream streams = 1; */ java.util.List getStreamsOrBuilderList(); /** * repeated .orc.proto.Stream streams = 1; */ org.apache.orc.OrcProto.StreamOrBuilder getStreamsOrBuilder( int index); // repeated .orc.proto.ColumnEncoding columns = 2; /** * repeated .orc.proto.ColumnEncoding columns = 2; */ java.util.List getColumnsList(); /** * repeated .orc.proto.ColumnEncoding columns = 2; */ org.apache.orc.OrcProto.ColumnEncoding getColumns(int index); /** * repeated .orc.proto.ColumnEncoding columns = 2; */ int getColumnsCount(); /** * repeated .orc.proto.ColumnEncoding columns = 2; */ java.util.List getColumnsOrBuilderList(); /** * repeated .orc.proto.ColumnEncoding columns = 2; */ org.apache.orc.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder( int index); // optional string writerTimezone = 3; /** * optional string writerTimezone = 3; */ boolean hasWriterTimezone(); /** * optional string writerTimezone = 3; */ java.lang.String getWriterTimezone(); /** * optional string writerTimezone = 3; */ com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getWriterTimezoneBytes(); } /** * Protobuf type {@code orc.proto.StripeFooter} */ public static final class StripeFooter extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements StripeFooterOrBuilder { // Use StripeFooter.newBuilder() to construct. private StripeFooter(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StripeFooter(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StripeFooter defaultInstance; public static StripeFooter getDefaultInstance() { return defaultInstance; } public StripeFooter getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StripeFooter( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { streams_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } streams_.add(input.readMessage(org.apache.orc.OrcProto.Stream.PARSER, extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { columns_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } columns_.add(input.readMessage(org.apache.orc.OrcProto.ColumnEncoding.PARSER, extensionRegistry)); break; } case 26: { bitField0_ |= 0x00000001; writerTimezone_ = input.readBytes(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { streams_ = java.util.Collections.unmodifiableList(streams_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { columns_ = java.util.Collections.unmodifiableList(columns_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeFooter_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeFooter_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.StripeFooter.class, org.apache.orc.OrcProto.StripeFooter.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public StripeFooter parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new StripeFooter(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // repeated .orc.proto.Stream streams = 1; public static final int STREAMS_FIELD_NUMBER = 1; private java.util.List streams_; /** * repeated .orc.proto.Stream streams = 1; */ public java.util.List getStreamsList() { return streams_; } /** * repeated .orc.proto.Stream streams = 1; */ public java.util.List getStreamsOrBuilderList() { return streams_; } /** * repeated .orc.proto.Stream streams = 1; */ public int getStreamsCount() { return streams_.size(); } /** * repeated .orc.proto.Stream streams = 1; */ public org.apache.orc.OrcProto.Stream getStreams(int index) { return streams_.get(index); } /** * repeated .orc.proto.Stream streams = 1; */ public org.apache.orc.OrcProto.StreamOrBuilder getStreamsOrBuilder( int index) { return streams_.get(index); } // repeated .orc.proto.ColumnEncoding columns = 2; public static final int COLUMNS_FIELD_NUMBER = 2; private java.util.List columns_; /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public java.util.List getColumnsList() { return columns_; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public java.util.List getColumnsOrBuilderList() { return columns_; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public int getColumnsCount() { return columns_.size(); } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public org.apache.orc.OrcProto.ColumnEncoding getColumns(int index) { return columns_.get(index); } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public org.apache.orc.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder( int index) { return columns_.get(index); } // optional string writerTimezone = 3; public static final int WRITERTIMEZONE_FIELD_NUMBER = 3; private java.lang.Object writerTimezone_; /** * optional string writerTimezone = 3; */ public boolean hasWriterTimezone() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string writerTimezone = 3; */ public java.lang.String getWriterTimezone() { java.lang.Object ref = writerTimezone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString bs = (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { writerTimezone_ = s; } return s; } } /** * optional string writerTimezone = 3; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getWriterTimezoneBytes() { java.lang.Object ref = writerTimezone_; if (ref instanceof java.lang.String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); writerTimezone_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } private void initFields() { streams_ = java.util.Collections.emptyList(); columns_ = java.util.Collections.emptyList(); writerTimezone_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < streams_.size(); i++) { output.writeMessage(1, streams_.get(i)); } for (int i = 0; i < columns_.size(); i++) { output.writeMessage(2, columns_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(3, getWriterTimezoneBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < streams_.size(); i++) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(1, streams_.get(i)); } for (int i = 0; i < columns_.size(); i++) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(2, columns_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(3, getWriterTimezoneBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.StripeFooter parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.StripeFooter parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.StripeFooter parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.StripeFooter parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.StripeFooter parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.StripeFooter parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.StripeFooter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.StripeFooter parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.StripeFooter parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.StripeFooter parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.StripeFooter prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.StripeFooter} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.StripeFooterOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeFooter_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeFooter_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.StripeFooter.class, org.apache.orc.OrcProto.StripeFooter.Builder.class); } // Construct using org.apache.orc.OrcProto.StripeFooter.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getStreamsFieldBuilder(); getColumnsFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (streamsBuilder_ == null) { streams_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { streamsBuilder_.clear(); } if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { columnsBuilder_.clear(); } writerTimezone_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeFooter_descriptor; } public org.apache.orc.OrcProto.StripeFooter getDefaultInstanceForType() { return org.apache.orc.OrcProto.StripeFooter.getDefaultInstance(); } public org.apache.orc.OrcProto.StripeFooter build() { org.apache.orc.OrcProto.StripeFooter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.StripeFooter buildPartial() { org.apache.orc.OrcProto.StripeFooter result = new org.apache.orc.OrcProto.StripeFooter(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (streamsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { streams_ = java.util.Collections.unmodifiableList(streams_); bitField0_ = (bitField0_ & ~0x00000001); } result.streams_ = streams_; } else { result.streams_ = streamsBuilder_.build(); } if (columnsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002)) { columns_ = java.util.Collections.unmodifiableList(columns_); bitField0_ = (bitField0_ & ~0x00000002); } result.columns_ = columns_; } else { result.columns_ = columnsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000001; } result.writerTimezone_ = writerTimezone_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.StripeFooter) { return mergeFrom((org.apache.orc.OrcProto.StripeFooter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.StripeFooter other) { if (other == org.apache.orc.OrcProto.StripeFooter.getDefaultInstance()) return this; if (streamsBuilder_ == null) { if (!other.streams_.isEmpty()) { if (streams_.isEmpty()) { streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStreamsIsMutable(); streams_.addAll(other.streams_); } onChanged(); } } else { if (!other.streams_.isEmpty()) { if (streamsBuilder_.isEmpty()) { streamsBuilder_.dispose(); streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000001); streamsBuilder_ = com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getStreamsFieldBuilder() : null; } else { streamsBuilder_.addAllMessages(other.streams_); } } } if (columnsBuilder_ == null) { if (!other.columns_.isEmpty()) { if (columns_.isEmpty()) { columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_); } onChanged(); } } else { if (!other.columns_.isEmpty()) { if (columnsBuilder_.isEmpty()) { columnsBuilder_.dispose(); columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000002); columnsBuilder_ = com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } if (other.hasWriterTimezone()) { bitField0_ |= 0x00000004; writerTimezone_ = other.writerTimezone_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.StripeFooter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.StripeFooter) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .orc.proto.Stream streams = 1; private java.util.List streams_ = java.util.Collections.emptyList(); private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { streams_ = new java.util.ArrayList(streams_); bitField0_ |= 0x00000001; } } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.Stream, org.apache.orc.OrcProto.Stream.Builder, org.apache.orc.OrcProto.StreamOrBuilder> streamsBuilder_; /** * repeated .orc.proto.Stream streams = 1; */ public java.util.List getStreamsList() { if (streamsBuilder_ == null) { return java.util.Collections.unmodifiableList(streams_); } else { return streamsBuilder_.getMessageList(); } } /** * repeated .orc.proto.Stream streams = 1; */ public int getStreamsCount() { if (streamsBuilder_ == null) { return streams_.size(); } else { return streamsBuilder_.getCount(); } } /** * repeated .orc.proto.Stream streams = 1; */ public org.apache.orc.OrcProto.Stream getStreams(int index) { if (streamsBuilder_ == null) { return streams_.get(index); } else { return streamsBuilder_.getMessage(index); } } /** * repeated .orc.proto.Stream streams = 1; */ public Builder setStreams( int index, org.apache.orc.OrcProto.Stream value) { if (streamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStreamsIsMutable(); streams_.set(index, value); onChanged(); } else { streamsBuilder_.setMessage(index, value); } return this; } /** * repeated .orc.proto.Stream streams = 1; */ public Builder setStreams( int index, org.apache.orc.OrcProto.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.set(index, builderForValue.build()); onChanged(); } else { streamsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.Stream streams = 1; */ public Builder addStreams(org.apache.orc.OrcProto.Stream value) { if (streamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStreamsIsMutable(); streams_.add(value); onChanged(); } else { streamsBuilder_.addMessage(value); } return this; } /** * repeated .orc.proto.Stream streams = 1; */ public Builder addStreams( int index, org.apache.orc.OrcProto.Stream value) { if (streamsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStreamsIsMutable(); streams_.add(index, value); onChanged(); } else { streamsBuilder_.addMessage(index, value); } return this; } /** * repeated .orc.proto.Stream streams = 1; */ public Builder addStreams( org.apache.orc.OrcProto.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.add(builderForValue.build()); onChanged(); } else { streamsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .orc.proto.Stream streams = 1; */ public Builder addStreams( int index, org.apache.orc.OrcProto.Stream.Builder builderForValue) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.add(index, builderForValue.build()); onChanged(); } else { streamsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.Stream streams = 1; */ public Builder addAllStreams( java.lang.Iterable values) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); super.addAll(values, streams_); onChanged(); } else { streamsBuilder_.addAllMessages(values); } return this; } /** * repeated .orc.proto.Stream streams = 1; */ public Builder clearStreams() { if (streamsBuilder_ == null) { streams_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { streamsBuilder_.clear(); } return this; } /** * repeated .orc.proto.Stream streams = 1; */ public Builder removeStreams(int index) { if (streamsBuilder_ == null) { ensureStreamsIsMutable(); streams_.remove(index); onChanged(); } else { streamsBuilder_.remove(index); } return this; } /** * repeated .orc.proto.Stream streams = 1; */ public org.apache.orc.OrcProto.Stream.Builder getStreamsBuilder( int index) { return getStreamsFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.Stream streams = 1; */ public org.apache.orc.OrcProto.StreamOrBuilder getStreamsOrBuilder( int index) { if (streamsBuilder_ == null) { return streams_.get(index); } else { return streamsBuilder_.getMessageOrBuilder(index); } } /** * repeated .orc.proto.Stream streams = 1; */ public java.util.List getStreamsOrBuilderList() { if (streamsBuilder_ != null) { return streamsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(streams_); } } /** * repeated .orc.proto.Stream streams = 1; */ public org.apache.orc.OrcProto.Stream.Builder addStreamsBuilder() { return getStreamsFieldBuilder().addBuilder( org.apache.orc.OrcProto.Stream.getDefaultInstance()); } /** * repeated .orc.proto.Stream streams = 1; */ public org.apache.orc.OrcProto.Stream.Builder addStreamsBuilder( int index) { return getStreamsFieldBuilder().addBuilder( index, org.apache.orc.OrcProto.Stream.getDefaultInstance()); } /** * repeated .orc.proto.Stream streams = 1; */ public java.util.List getStreamsBuilderList() { return getStreamsFieldBuilder().getBuilderList(); } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.Stream, org.apache.orc.OrcProto.Stream.Builder, org.apache.orc.OrcProto.StreamOrBuilder> getStreamsFieldBuilder() { if (streamsBuilder_ == null) { streamsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.Stream, org.apache.orc.OrcProto.Stream.Builder, org.apache.orc.OrcProto.StreamOrBuilder>( streams_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); streams_ = null; } return streamsBuilder_; } // repeated .orc.proto.ColumnEncoding columns = 2; private java.util.List columns_ = java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000002; } } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.ColumnEncoding, org.apache.orc.OrcProto.ColumnEncoding.Builder, org.apache.orc.OrcProto.ColumnEncodingOrBuilder> columnsBuilder_; /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public java.util.List getColumnsList() { if (columnsBuilder_ == null) { return java.util.Collections.unmodifiableList(columns_); } else { return columnsBuilder_.getMessageList(); } } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public int getColumnsCount() { if (columnsBuilder_ == null) { return columns_.size(); } else { return columnsBuilder_.getCount(); } } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public org.apache.orc.OrcProto.ColumnEncoding getColumns(int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessage(index); } } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public Builder setColumns( int index, org.apache.orc.OrcProto.ColumnEncoding value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.set(index, value); onChanged(); } else { columnsBuilder_.setMessage(index, value); } return this; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public Builder setColumns( int index, org.apache.orc.OrcProto.ColumnEncoding.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.set(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public Builder addColumns(org.apache.orc.OrcProto.ColumnEncoding value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(value); onChanged(); } else { columnsBuilder_.addMessage(value); } return this; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public Builder addColumns( int index, org.apache.orc.OrcProto.ColumnEncoding value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColumnsIsMutable(); columns_.add(index, value); onChanged(); } else { columnsBuilder_.addMessage(index, value); } return this; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public Builder addColumns( org.apache.orc.OrcProto.ColumnEncoding.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public Builder addColumns( int index, org.apache.orc.OrcProto.ColumnEncoding.Builder builderForValue) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.add(index, builderForValue.build()); onChanged(); } else { columnsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public Builder addAllColumns( java.lang.Iterable values) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); super.addAll(values, columns_); onChanged(); } else { columnsBuilder_.addAllMessages(values); } return this; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public Builder clearColumns() { if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); } else { columnsBuilder_.clear(); } return this; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public Builder removeColumns(int index) { if (columnsBuilder_ == null) { ensureColumnsIsMutable(); columns_.remove(index); onChanged(); } else { columnsBuilder_.remove(index); } return this; } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public org.apache.orc.OrcProto.ColumnEncoding.Builder getColumnsBuilder( int index) { return getColumnsFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public org.apache.orc.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder( int index) { if (columnsBuilder_ == null) { return columns_.get(index); } else { return columnsBuilder_.getMessageOrBuilder(index); } } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public java.util.List getColumnsOrBuilderList() { if (columnsBuilder_ != null) { return columnsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(columns_); } } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public org.apache.orc.OrcProto.ColumnEncoding.Builder addColumnsBuilder() { return getColumnsFieldBuilder().addBuilder( org.apache.orc.OrcProto.ColumnEncoding.getDefaultInstance()); } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public org.apache.orc.OrcProto.ColumnEncoding.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder().addBuilder( index, org.apache.orc.OrcProto.ColumnEncoding.getDefaultInstance()); } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public java.util.List getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.ColumnEncoding, org.apache.orc.OrcProto.ColumnEncoding.Builder, org.apache.orc.OrcProto.ColumnEncodingOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { columnsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.ColumnEncoding, org.apache.orc.OrcProto.ColumnEncoding.Builder, org.apache.orc.OrcProto.ColumnEncodingOrBuilder>( columns_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } // optional string writerTimezone = 3; private java.lang.Object writerTimezone_ = ""; /** * optional string writerTimezone = 3; */ public boolean hasWriterTimezone() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string writerTimezone = 3; */ public java.lang.String getWriterTimezone() { java.lang.Object ref = writerTimezone_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref) .toStringUtf8(); writerTimezone_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string writerTimezone = 3; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getWriterTimezoneBytes() { java.lang.Object ref = writerTimezone_; if (ref instanceof String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); writerTimezone_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } /** * optional string writerTimezone = 3; */ public Builder setWriterTimezone( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; writerTimezone_ = value; onChanged(); return this; } /** * optional string writerTimezone = 3; */ public Builder clearWriterTimezone() { bitField0_ = (bitField0_ & ~0x00000004); writerTimezone_ = getDefaultInstance().getWriterTimezone(); onChanged(); return this; } /** * optional string writerTimezone = 3; */ public Builder setWriterTimezoneBytes( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; writerTimezone_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.StripeFooter) } static { defaultInstance = new StripeFooter(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.StripeFooter) } public interface TypeOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional .orc.proto.Type.Kind kind = 1; /** * optional .orc.proto.Type.Kind kind = 1; */ boolean hasKind(); /** * optional .orc.proto.Type.Kind kind = 1; */ org.apache.orc.OrcProto.Type.Kind getKind(); // repeated uint32 subtypes = 2 [packed = true]; /** * repeated uint32 subtypes = 2 [packed = true]; */ java.util.List getSubtypesList(); /** * repeated uint32 subtypes = 2 [packed = true]; */ int getSubtypesCount(); /** * repeated uint32 subtypes = 2 [packed = true]; */ int getSubtypes(int index); // repeated string fieldNames = 3; /** * repeated string fieldNames = 3; */ java.util.List getFieldNamesList(); /** * repeated string fieldNames = 3; */ int getFieldNamesCount(); /** * repeated string fieldNames = 3; */ java.lang.String getFieldNames(int index); /** * repeated string fieldNames = 3; */ com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getFieldNamesBytes(int index); // optional uint32 maximumLength = 4; /** * optional uint32 maximumLength = 4; */ boolean hasMaximumLength(); /** * optional uint32 maximumLength = 4; */ int getMaximumLength(); // optional uint32 precision = 5; /** * optional uint32 precision = 5; */ boolean hasPrecision(); /** * optional uint32 precision = 5; */ int getPrecision(); // optional uint32 scale = 6; /** * optional uint32 scale = 6; */ boolean hasScale(); /** * optional uint32 scale = 6; */ int getScale(); } /** * Protobuf type {@code orc.proto.Type} */ public static final class Type extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements TypeOrBuilder { // Use Type.newBuilder() to construct. private Type(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Type(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Type defaultInstance; public static Type getDefaultInstance() { return defaultInstance; } public Type getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Type( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); org.apache.orc.OrcProto.Type.Kind value = org.apache.orc.OrcProto.Type.Kind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; kind_ = value; } break; } case 16: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { subtypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } subtypes_.add(input.readUInt32()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { subtypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { subtypes_.add(input.readUInt32()); } input.popLimit(limit); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { fieldNames_ = new com.facebook.presto.hive.$internal.com.google.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } fieldNames_.add(input.readBytes()); break; } case 32: { bitField0_ |= 0x00000002; maximumLength_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000004; precision_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000008; scale_ = input.readUInt32(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { subtypes_ = java.util.Collections.unmodifiableList(subtypes_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { fieldNames_ = new com.facebook.presto.hive.$internal.com.google.protobuf.UnmodifiableLazyStringList(fieldNames_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_Type_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_Type_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.Type.class, org.apache.orc.OrcProto.Type.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public Type parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new Type(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } /** * Protobuf enum {@code orc.proto.Type.Kind} */ public enum Kind implements com.facebook.presto.hive.$internal.com.google.protobuf.ProtocolMessageEnum { /** * BOOLEAN = 0; */ BOOLEAN(0, 0), /** * BYTE = 1; */ BYTE(1, 1), /** * SHORT = 2; */ SHORT(2, 2), /** * INT = 3; */ INT(3, 3), /** * LONG = 4; */ LONG(4, 4), /** * FLOAT = 5; */ FLOAT(5, 5), /** * DOUBLE = 6; */ DOUBLE(6, 6), /** * STRING = 7; */ STRING(7, 7), /** * BINARY = 8; */ BINARY(8, 8), /** * TIMESTAMP = 9; */ TIMESTAMP(9, 9), /** * LIST = 10; */ LIST(10, 10), /** * MAP = 11; */ MAP(11, 11), /** * STRUCT = 12; */ STRUCT(12, 12), /** * UNION = 13; */ UNION(13, 13), /** * DECIMAL = 14; */ DECIMAL(14, 14), /** * DATE = 15; */ DATE(15, 15), /** * VARCHAR = 16; */ VARCHAR(16, 16), /** * CHAR = 17; */ CHAR(17, 17), ; /** * BOOLEAN = 0; */ public static final int BOOLEAN_VALUE = 0; /** * BYTE = 1; */ public static final int BYTE_VALUE = 1; /** * SHORT = 2; */ public static final int SHORT_VALUE = 2; /** * INT = 3; */ public static final int INT_VALUE = 3; /** * LONG = 4; */ public static final int LONG_VALUE = 4; /** * FLOAT = 5; */ public static final int FLOAT_VALUE = 5; /** * DOUBLE = 6; */ public static final int DOUBLE_VALUE = 6; /** * STRING = 7; */ public static final int STRING_VALUE = 7; /** * BINARY = 8; */ public static final int BINARY_VALUE = 8; /** * TIMESTAMP = 9; */ public static final int TIMESTAMP_VALUE = 9; /** * LIST = 10; */ public static final int LIST_VALUE = 10; /** * MAP = 11; */ public static final int MAP_VALUE = 11; /** * STRUCT = 12; */ public static final int STRUCT_VALUE = 12; /** * UNION = 13; */ public static final int UNION_VALUE = 13; /** * DECIMAL = 14; */ public static final int DECIMAL_VALUE = 14; /** * DATE = 15; */ public static final int DATE_VALUE = 15; /** * VARCHAR = 16; */ public static final int VARCHAR_VALUE = 16; /** * CHAR = 17; */ public static final int CHAR_VALUE = 17; public final int getNumber() { return value; } public static Kind valueOf(int value) { switch (value) { case 0: return BOOLEAN; case 1: return BYTE; case 2: return SHORT; case 3: return INT; case 4: return LONG; case 5: return FLOAT; case 6: return DOUBLE; case 7: return STRING; case 8: return BINARY; case 9: return TIMESTAMP; case 10: return LIST; case 11: return MAP; case 12: return STRUCT; case 13: return UNION; case 14: return DECIMAL; case 15: return DATE; case 16: return VARCHAR; case 17: return CHAR; default: return null; } } public static com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap internalValueMap = new com.facebook.presto.hive.$internal.com.google.protobuf.Internal.EnumLiteMap() { public Kind findValueByNumber(int number) { return Kind.valueOf(number); } }; public final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(index); } public final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() { return org.apache.orc.OrcProto.Type.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); public static Kind valueOf( com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int index; private final int value; private Kind(int index, int value) { this.index = index; this.value = value; } // @@protoc_insertion_point(enum_scope:orc.proto.Type.Kind) } private int bitField0_; // optional .orc.proto.Type.Kind kind = 1; public static final int KIND_FIELD_NUMBER = 1; private org.apache.orc.OrcProto.Type.Kind kind_; /** * optional .orc.proto.Type.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.Type.Kind kind = 1; */ public org.apache.orc.OrcProto.Type.Kind getKind() { return kind_; } // repeated uint32 subtypes = 2 [packed = true]; public static final int SUBTYPES_FIELD_NUMBER = 2; private java.util.List subtypes_; /** * repeated uint32 subtypes = 2 [packed = true]; */ public java.util.List getSubtypesList() { return subtypes_; } /** * repeated uint32 subtypes = 2 [packed = true]; */ public int getSubtypesCount() { return subtypes_.size(); } /** * repeated uint32 subtypes = 2 [packed = true]; */ public int getSubtypes(int index) { return subtypes_.get(index); } private int subtypesMemoizedSerializedSize = -1; // repeated string fieldNames = 3; public static final int FIELDNAMES_FIELD_NUMBER = 3; private com.facebook.presto.hive.$internal.com.google.protobuf.LazyStringList fieldNames_; /** * repeated string fieldNames = 3; */ public java.util.List getFieldNamesList() { return fieldNames_; } /** * repeated string fieldNames = 3; */ public int getFieldNamesCount() { return fieldNames_.size(); } /** * repeated string fieldNames = 3; */ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** * repeated string fieldNames = 3; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } // optional uint32 maximumLength = 4; public static final int MAXIMUMLENGTH_FIELD_NUMBER = 4; private int maximumLength_; /** * optional uint32 maximumLength = 4; */ public boolean hasMaximumLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint32 maximumLength = 4; */ public int getMaximumLength() { return maximumLength_; } // optional uint32 precision = 5; public static final int PRECISION_FIELD_NUMBER = 5; private int precision_; /** * optional uint32 precision = 5; */ public boolean hasPrecision() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint32 precision = 5; */ public int getPrecision() { return precision_; } // optional uint32 scale = 6; public static final int SCALE_FIELD_NUMBER = 6; private int scale_; /** * optional uint32 scale = 6; */ public boolean hasScale() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 scale = 6; */ public int getScale() { return scale_; } private void initFields() { kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN; subtypes_ = java.util.Collections.emptyList(); fieldNames_ = com.facebook.presto.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY; maximumLength_ = 0; precision_ = 0; scale_ = 0; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, kind_.getNumber()); } if (getSubtypesList().size() > 0) { output.writeRawVarint32(18); output.writeRawVarint32(subtypesMemoizedSerializedSize); } for (int i = 0; i < subtypes_.size(); i++) { output.writeUInt32NoTag(subtypes_.get(i)); } for (int i = 0; i < fieldNames_.size(); i++) { output.writeBytes(3, fieldNames_.getByteString(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(4, maximumLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(5, precision_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(6, scale_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeEnumSize(1, kind_.getNumber()); } { int dataSize = 0; for (int i = 0; i < subtypes_.size(); i++) { dataSize += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(subtypes_.get(i)); } size += dataSize; if (!getSubtypesList().isEmpty()) { size += 1; size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } subtypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < fieldNames_.size(); i++) { dataSize += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSizeNoTag(fieldNames_.getByteString(i)); } size += dataSize; size += 1 * getFieldNamesList().size(); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32Size(4, maximumLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32Size(5, precision_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32Size(6, scale_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.Type parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.Type parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.Type parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.Type parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.Type parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.Type parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.Type parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.Type parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.Type parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.Type parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.Type prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.Type} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.TypeOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_Type_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_Type_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.Type.class, org.apache.orc.OrcProto.Type.Builder.class); } // Construct using org.apache.orc.OrcProto.Type.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN; bitField0_ = (bitField0_ & ~0x00000001); subtypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); fieldNames_ = com.facebook.presto.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); maximumLength_ = 0; bitField0_ = (bitField0_ & ~0x00000008); precision_ = 0; bitField0_ = (bitField0_ & ~0x00000010); scale_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_Type_descriptor; } public org.apache.orc.OrcProto.Type getDefaultInstanceForType() { return org.apache.orc.OrcProto.Type.getDefaultInstance(); } public org.apache.orc.OrcProto.Type build() { org.apache.orc.OrcProto.Type result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.Type buildPartial() { org.apache.orc.OrcProto.Type result = new org.apache.orc.OrcProto.Type(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.kind_ = kind_; if (((bitField0_ & 0x00000002) == 0x00000002)) { subtypes_ = java.util.Collections.unmodifiableList(subtypes_); bitField0_ = (bitField0_ & ~0x00000002); } result.subtypes_ = subtypes_; if (((bitField0_ & 0x00000004) == 0x00000004)) { fieldNames_ = new com.facebook.presto.hive.$internal.com.google.protobuf.UnmodifiableLazyStringList( fieldNames_); bitField0_ = (bitField0_ & ~0x00000004); } result.fieldNames_ = fieldNames_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000002; } result.maximumLength_ = maximumLength_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000004; } result.precision_ = precision_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000008; } result.scale_ = scale_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.Type) { return mergeFrom((org.apache.orc.OrcProto.Type)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.Type other) { if (other == org.apache.orc.OrcProto.Type.getDefaultInstance()) return this; if (other.hasKind()) { setKind(other.getKind()); } if (!other.subtypes_.isEmpty()) { if (subtypes_.isEmpty()) { subtypes_ = other.subtypes_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureSubtypesIsMutable(); subtypes_.addAll(other.subtypes_); } onChanged(); } if (!other.fieldNames_.isEmpty()) { if (fieldNames_.isEmpty()) { fieldNames_ = other.fieldNames_; bitField0_ = (bitField0_ & ~0x00000004); } else { ensureFieldNamesIsMutable(); fieldNames_.addAll(other.fieldNames_); } onChanged(); } if (other.hasMaximumLength()) { setMaximumLength(other.getMaximumLength()); } if (other.hasPrecision()) { setPrecision(other.getPrecision()); } if (other.hasScale()) { setScale(other.getScale()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.Type parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.Type) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .orc.proto.Type.Kind kind = 1; private org.apache.orc.OrcProto.Type.Kind kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN; /** * optional .orc.proto.Type.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.Type.Kind kind = 1; */ public org.apache.orc.OrcProto.Type.Kind getKind() { return kind_; } /** * optional .orc.proto.Type.Kind kind = 1; */ public Builder setKind(org.apache.orc.OrcProto.Type.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value; onChanged(); return this; } /** * optional .orc.proto.Type.Kind kind = 1; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = org.apache.orc.OrcProto.Type.Kind.BOOLEAN; onChanged(); return this; } // repeated uint32 subtypes = 2 [packed = true]; private java.util.List subtypes_ = java.util.Collections.emptyList(); private void ensureSubtypesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { subtypes_ = new java.util.ArrayList(subtypes_); bitField0_ |= 0x00000002; } } /** * repeated uint32 subtypes = 2 [packed = true]; */ public java.util.List getSubtypesList() { return java.util.Collections.unmodifiableList(subtypes_); } /** * repeated uint32 subtypes = 2 [packed = true]; */ public int getSubtypesCount() { return subtypes_.size(); } /** * repeated uint32 subtypes = 2 [packed = true]; */ public int getSubtypes(int index) { return subtypes_.get(index); } /** * repeated uint32 subtypes = 2 [packed = true]; */ public Builder setSubtypes( int index, int value) { ensureSubtypesIsMutable(); subtypes_.set(index, value); onChanged(); return this; } /** * repeated uint32 subtypes = 2 [packed = true]; */ public Builder addSubtypes(int value) { ensureSubtypesIsMutable(); subtypes_.add(value); onChanged(); return this; } /** * repeated uint32 subtypes = 2 [packed = true]; */ public Builder addAllSubtypes( java.lang.Iterable values) { ensureSubtypesIsMutable(); super.addAll(values, subtypes_); onChanged(); return this; } /** * repeated uint32 subtypes = 2 [packed = true]; */ public Builder clearSubtypes() { subtypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } // repeated string fieldNames = 3; private com.facebook.presto.hive.$internal.com.google.protobuf.LazyStringList fieldNames_ = com.facebook.presto.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY; private void ensureFieldNamesIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { fieldNames_ = new com.facebook.presto.hive.$internal.com.google.protobuf.LazyStringArrayList(fieldNames_); bitField0_ |= 0x00000004; } } /** * repeated string fieldNames = 3; */ public java.util.List getFieldNamesList() { return java.util.Collections.unmodifiableList(fieldNames_); } /** * repeated string fieldNames = 3; */ public int getFieldNamesCount() { return fieldNames_.size(); } /** * repeated string fieldNames = 3; */ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** * repeated string fieldNames = 3; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } /** * repeated string fieldNames = 3; */ public Builder setFieldNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.set(index, value); onChanged(); return this; } /** * repeated string fieldNames = 3; */ public Builder addFieldNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); return this; } /** * repeated string fieldNames = 3; */ public Builder addAllFieldNames( java.lang.Iterable values) { ensureFieldNamesIsMutable(); super.addAll(values, fieldNames_); onChanged(); return this; } /** * repeated string fieldNames = 3; */ public Builder clearFieldNames() { fieldNames_ = com.facebook.presto.hive.$internal.com.google.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * repeated string fieldNames = 3; */ public Builder addFieldNamesBytes( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); return this; } // optional uint32 maximumLength = 4; private int maximumLength_ ; /** * optional uint32 maximumLength = 4; */ public boolean hasMaximumLength() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 maximumLength = 4; */ public int getMaximumLength() { return maximumLength_; } /** * optional uint32 maximumLength = 4; */ public Builder setMaximumLength(int value) { bitField0_ |= 0x00000008; maximumLength_ = value; onChanged(); return this; } /** * optional uint32 maximumLength = 4; */ public Builder clearMaximumLength() { bitField0_ = (bitField0_ & ~0x00000008); maximumLength_ = 0; onChanged(); return this; } // optional uint32 precision = 5; private int precision_ ; /** * optional uint32 precision = 5; */ public boolean hasPrecision() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint32 precision = 5; */ public int getPrecision() { return precision_; } /** * optional uint32 precision = 5; */ public Builder setPrecision(int value) { bitField0_ |= 0x00000010; precision_ = value; onChanged(); return this; } /** * optional uint32 precision = 5; */ public Builder clearPrecision() { bitField0_ = (bitField0_ & ~0x00000010); precision_ = 0; onChanged(); return this; } // optional uint32 scale = 6; private int scale_ ; /** * optional uint32 scale = 6; */ public boolean hasScale() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint32 scale = 6; */ public int getScale() { return scale_; } /** * optional uint32 scale = 6; */ public Builder setScale(int value) { bitField0_ |= 0x00000020; scale_ = value; onChanged(); return this; } /** * optional uint32 scale = 6; */ public Builder clearScale() { bitField0_ = (bitField0_ & ~0x00000020); scale_ = 0; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.Type) } static { defaultInstance = new Type(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.Type) } public interface StripeInformationOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional uint64 offset = 1; /** * optional uint64 offset = 1; */ boolean hasOffset(); /** * optional uint64 offset = 1; */ long getOffset(); // optional uint64 indexLength = 2; /** * optional uint64 indexLength = 2; */ boolean hasIndexLength(); /** * optional uint64 indexLength = 2; */ long getIndexLength(); // optional uint64 dataLength = 3; /** * optional uint64 dataLength = 3; */ boolean hasDataLength(); /** * optional uint64 dataLength = 3; */ long getDataLength(); // optional uint64 footerLength = 4; /** * optional uint64 footerLength = 4; */ boolean hasFooterLength(); /** * optional uint64 footerLength = 4; */ long getFooterLength(); // optional uint64 numberOfRows = 5; /** * optional uint64 numberOfRows = 5; */ boolean hasNumberOfRows(); /** * optional uint64 numberOfRows = 5; */ long getNumberOfRows(); } /** * Protobuf type {@code orc.proto.StripeInformation} */ public static final class StripeInformation extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements StripeInformationOrBuilder { // Use StripeInformation.newBuilder() to construct. private StripeInformation(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StripeInformation(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StripeInformation defaultInstance; public static StripeInformation getDefaultInstance() { return defaultInstance; } public StripeInformation getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StripeInformation( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; offset_ = input.readUInt64(); break; } case 16: { bitField0_ |= 0x00000002; indexLength_ = input.readUInt64(); break; } case 24: { bitField0_ |= 0x00000004; dataLength_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; footerLength_ = input.readUInt64(); break; } case 40: { bitField0_ |= 0x00000010; numberOfRows_ = input.readUInt64(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.StripeInformation.class, org.apache.orc.OrcProto.StripeInformation.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public StripeInformation parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new StripeInformation(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional uint64 offset = 1; public static final int OFFSET_FIELD_NUMBER = 1; private long offset_; /** * optional uint64 offset = 1; */ public boolean hasOffset() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 offset = 1; */ public long getOffset() { return offset_; } // optional uint64 indexLength = 2; public static final int INDEXLENGTH_FIELD_NUMBER = 2; private long indexLength_; /** * optional uint64 indexLength = 2; */ public boolean hasIndexLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 indexLength = 2; */ public long getIndexLength() { return indexLength_; } // optional uint64 dataLength = 3; public static final int DATALENGTH_FIELD_NUMBER = 3; private long dataLength_; /** * optional uint64 dataLength = 3; */ public boolean hasDataLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 dataLength = 3; */ public long getDataLength() { return dataLength_; } // optional uint64 footerLength = 4; public static final int FOOTERLENGTH_FIELD_NUMBER = 4; private long footerLength_; /** * optional uint64 footerLength = 4; */ public boolean hasFooterLength() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 footerLength = 4; */ public long getFooterLength() { return footerLength_; } // optional uint64 numberOfRows = 5; public static final int NUMBEROFROWS_FIELD_NUMBER = 5; private long numberOfRows_; /** * optional uint64 numberOfRows = 5; */ public boolean hasNumberOfRows() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint64 numberOfRows = 5; */ public long getNumberOfRows() { return numberOfRows_; } private void initFields() { offset_ = 0L; indexLength_ = 0L; dataLength_ = 0L; footerLength_ = 0L; numberOfRows_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, offset_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(2, indexLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, dataLength_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, footerLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt64(5, numberOfRows_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(1, offset_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(2, indexLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(3, dataLength_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(4, footerLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(5, numberOfRows_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.StripeInformation parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.StripeInformation parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.StripeInformation parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.StripeInformation parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.StripeInformation parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.StripeInformation parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.StripeInformation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.StripeInformation parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.StripeInformation parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.StripeInformation parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.StripeInformation prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.StripeInformation} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.StripeInformationOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.StripeInformation.class, org.apache.orc.OrcProto.StripeInformation.Builder.class); } // Construct using org.apache.orc.OrcProto.StripeInformation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); offset_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); indexLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); dataLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); footerLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); numberOfRows_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeInformation_descriptor; } public org.apache.orc.OrcProto.StripeInformation getDefaultInstanceForType() { return org.apache.orc.OrcProto.StripeInformation.getDefaultInstance(); } public org.apache.orc.OrcProto.StripeInformation build() { org.apache.orc.OrcProto.StripeInformation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.StripeInformation buildPartial() { org.apache.orc.OrcProto.StripeInformation result = new org.apache.orc.OrcProto.StripeInformation(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.offset_ = offset_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.indexLength_ = indexLength_; if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.dataLength_ = dataLength_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.footerLength_ = footerLength_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.numberOfRows_ = numberOfRows_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.StripeInformation) { return mergeFrom((org.apache.orc.OrcProto.StripeInformation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.StripeInformation other) { if (other == org.apache.orc.OrcProto.StripeInformation.getDefaultInstance()) return this; if (other.hasOffset()) { setOffset(other.getOffset()); } if (other.hasIndexLength()) { setIndexLength(other.getIndexLength()); } if (other.hasDataLength()) { setDataLength(other.getDataLength()); } if (other.hasFooterLength()) { setFooterLength(other.getFooterLength()); } if (other.hasNumberOfRows()) { setNumberOfRows(other.getNumberOfRows()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.StripeInformation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.StripeInformation) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional uint64 offset = 1; private long offset_ ; /** * optional uint64 offset = 1; */ public boolean hasOffset() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 offset = 1; */ public long getOffset() { return offset_; } /** * optional uint64 offset = 1; */ public Builder setOffset(long value) { bitField0_ |= 0x00000001; offset_ = value; onChanged(); return this; } /** * optional uint64 offset = 1; */ public Builder clearOffset() { bitField0_ = (bitField0_ & ~0x00000001); offset_ = 0L; onChanged(); return this; } // optional uint64 indexLength = 2; private long indexLength_ ; /** * optional uint64 indexLength = 2; */ public boolean hasIndexLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 indexLength = 2; */ public long getIndexLength() { return indexLength_; } /** * optional uint64 indexLength = 2; */ public Builder setIndexLength(long value) { bitField0_ |= 0x00000002; indexLength_ = value; onChanged(); return this; } /** * optional uint64 indexLength = 2; */ public Builder clearIndexLength() { bitField0_ = (bitField0_ & ~0x00000002); indexLength_ = 0L; onChanged(); return this; } // optional uint64 dataLength = 3; private long dataLength_ ; /** * optional uint64 dataLength = 3; */ public boolean hasDataLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 dataLength = 3; */ public long getDataLength() { return dataLength_; } /** * optional uint64 dataLength = 3; */ public Builder setDataLength(long value) { bitField0_ |= 0x00000004; dataLength_ = value; onChanged(); return this; } /** * optional uint64 dataLength = 3; */ public Builder clearDataLength() { bitField0_ = (bitField0_ & ~0x00000004); dataLength_ = 0L; onChanged(); return this; } // optional uint64 footerLength = 4; private long footerLength_ ; /** * optional uint64 footerLength = 4; */ public boolean hasFooterLength() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 footerLength = 4; */ public long getFooterLength() { return footerLength_; } /** * optional uint64 footerLength = 4; */ public Builder setFooterLength(long value) { bitField0_ |= 0x00000008; footerLength_ = value; onChanged(); return this; } /** * optional uint64 footerLength = 4; */ public Builder clearFooterLength() { bitField0_ = (bitField0_ & ~0x00000008); footerLength_ = 0L; onChanged(); return this; } // optional uint64 numberOfRows = 5; private long numberOfRows_ ; /** * optional uint64 numberOfRows = 5; */ public boolean hasNumberOfRows() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint64 numberOfRows = 5; */ public long getNumberOfRows() { return numberOfRows_; } /** * optional uint64 numberOfRows = 5; */ public Builder setNumberOfRows(long value) { bitField0_ |= 0x00000010; numberOfRows_ = value; onChanged(); return this; } /** * optional uint64 numberOfRows = 5; */ public Builder clearNumberOfRows() { bitField0_ = (bitField0_ & ~0x00000010); numberOfRows_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.StripeInformation) } static { defaultInstance = new StripeInformation(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.StripeInformation) } public interface UserMetadataItemOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional string name = 1; /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getNameBytes(); // optional bytes value = 2; /** * optional bytes value = 2; */ boolean hasValue(); /** * optional bytes value = 2; */ com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getValue(); } /** * Protobuf type {@code orc.proto.UserMetadataItem} */ public static final class UserMetadataItem extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements UserMetadataItemOrBuilder { // Use UserMetadataItem.newBuilder() to construct. private UserMetadataItem(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private UserMetadataItem(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final UserMetadataItem defaultInstance; public static UserMetadataItem getDefaultInstance() { return defaultInstance; } public UserMetadataItem getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UserMetadataItem( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { bitField0_ |= 0x00000001; name_ = input.readBytes(); break; } case 18: { bitField0_ |= 0x00000002; value_ = input.readBytes(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.UserMetadataItem.class, org.apache.orc.OrcProto.UserMetadataItem.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public UserMetadataItem parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new UserMetadataItem(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional string name = 1; public static final int NAME_FIELD_NUMBER = 1; private java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString bs = (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } // optional bytes value = 2; public static final int VALUE_FIELD_NUMBER = 2; private com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value_; /** * optional bytes value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes value = 2; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getValue() { return value_; } private void initFields() { name_ = ""; value_ = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.EMPTY; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeBytes(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, value_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(1, getNameBytes()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(2, value_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.UserMetadataItem parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.UserMetadataItem parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.UserMetadataItem parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.UserMetadataItem parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.UserMetadataItem parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.UserMetadataItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.UserMetadataItem parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.UserMetadataItem parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.UserMetadataItem parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.UserMetadataItem prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.UserMetadataItem} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.UserMetadataItemOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.UserMetadataItem.class, org.apache.orc.OrcProto.UserMetadataItem.Builder.class); } // Construct using org.apache.orc.OrcProto.UserMetadataItem.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); value_ = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_UserMetadataItem_descriptor; } public org.apache.orc.OrcProto.UserMetadataItem getDefaultInstanceForType() { return org.apache.orc.OrcProto.UserMetadataItem.getDefaultInstance(); } public org.apache.orc.OrcProto.UserMetadataItem build() { org.apache.orc.OrcProto.UserMetadataItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.UserMetadataItem buildPartial() { org.apache.orc.OrcProto.UserMetadataItem result = new org.apache.orc.OrcProto.UserMetadataItem(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.name_ = name_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } result.value_ = value_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.UserMetadataItem) { return mergeFrom((org.apache.orc.OrcProto.UserMetadataItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.UserMetadataItem other) { if (other == org.apache.orc.OrcProto.UserMetadataItem.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.UserMetadataItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.UserMetadataItem) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional string name = 1; private java.lang.Object name_ = ""; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref) .toStringUtf8(); name_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } // optional bytes value = 2; private com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value_ = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.EMPTY; /** * optional bytes value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes value = 2; */ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getValue() { return value_; } /** * optional bytes value = 2; */ public Builder setValue(com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } /** * optional bytes value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.UserMetadataItem) } static { defaultInstance = new UserMetadataItem(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.UserMetadataItem) } public interface StripeStatisticsOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // repeated .orc.proto.ColumnStatistics colStats = 1; /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ java.util.List getColStatsList(); /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ org.apache.orc.OrcProto.ColumnStatistics getColStats(int index); /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ int getColStatsCount(); /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ java.util.List getColStatsOrBuilderList(); /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder( int index); } /** * Protobuf type {@code orc.proto.StripeStatistics} */ public static final class StripeStatistics extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements StripeStatisticsOrBuilder { // Use StripeStatistics.newBuilder() to construct. private StripeStatistics(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private StripeStatistics(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final StripeStatistics defaultInstance; public static StripeStatistics getDefaultInstance() { return defaultInstance; } public StripeStatistics getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StripeStatistics( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { colStats_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } colStats_.add(input.readMessage(org.apache.orc.OrcProto.ColumnStatistics.PARSER, extensionRegistry)); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { colStats_ = java.util.Collections.unmodifiableList(colStats_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.StripeStatistics.class, org.apache.orc.OrcProto.StripeStatistics.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public StripeStatistics parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new StripeStatistics(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated .orc.proto.ColumnStatistics colStats = 1; public static final int COLSTATS_FIELD_NUMBER = 1; private java.util.List colStats_; /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public java.util.List getColStatsList() { return colStats_; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public java.util.List getColStatsOrBuilderList() { return colStats_; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public int getColStatsCount() { return colStats_.size(); } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public org.apache.orc.OrcProto.ColumnStatistics getColStats(int index) { return colStats_.get(index); } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder( int index) { return colStats_.get(index); } private void initFields() { colStats_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < colStats_.size(); i++) { output.writeMessage(1, colStats_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < colStats_.size(); i++) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(1, colStats_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.StripeStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.StripeStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.StripeStatistics parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.StripeStatistics parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.StripeStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.StripeStatistics parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.StripeStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.StripeStatistics parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.StripeStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.StripeStatistics parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.StripeStatistics prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.StripeStatistics} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.StripeStatisticsOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeStatistics_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.StripeStatistics.class, org.apache.orc.OrcProto.StripeStatistics.Builder.class); } // Construct using org.apache.orc.OrcProto.StripeStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getColStatsFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (colStatsBuilder_ == null) { colStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { colStatsBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_StripeStatistics_descriptor; } public org.apache.orc.OrcProto.StripeStatistics getDefaultInstanceForType() { return org.apache.orc.OrcProto.StripeStatistics.getDefaultInstance(); } public org.apache.orc.OrcProto.StripeStatistics build() { org.apache.orc.OrcProto.StripeStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.StripeStatistics buildPartial() { org.apache.orc.OrcProto.StripeStatistics result = new org.apache.orc.OrcProto.StripeStatistics(this); int from_bitField0_ = bitField0_; if (colStatsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { colStats_ = java.util.Collections.unmodifiableList(colStats_); bitField0_ = (bitField0_ & ~0x00000001); } result.colStats_ = colStats_; } else { result.colStats_ = colStatsBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.StripeStatistics) { return mergeFrom((org.apache.orc.OrcProto.StripeStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.StripeStatistics other) { if (other == org.apache.orc.OrcProto.StripeStatistics.getDefaultInstance()) return this; if (colStatsBuilder_ == null) { if (!other.colStats_.isEmpty()) { if (colStats_.isEmpty()) { colStats_ = other.colStats_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureColStatsIsMutable(); colStats_.addAll(other.colStats_); } onChanged(); } } else { if (!other.colStats_.isEmpty()) { if (colStatsBuilder_.isEmpty()) { colStatsBuilder_.dispose(); colStatsBuilder_ = null; colStats_ = other.colStats_; bitField0_ = (bitField0_ & ~0x00000001); colStatsBuilder_ = com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getColStatsFieldBuilder() : null; } else { colStatsBuilder_.addAllMessages(other.colStats_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.StripeStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.StripeStatistics) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .orc.proto.ColumnStatistics colStats = 1; private java.util.List colStats_ = java.util.Collections.emptyList(); private void ensureColStatsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { colStats_ = new java.util.ArrayList(colStats_); bitField0_ |= 0x00000001; } } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder> colStatsBuilder_; /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public java.util.List getColStatsList() { if (colStatsBuilder_ == null) { return java.util.Collections.unmodifiableList(colStats_); } else { return colStatsBuilder_.getMessageList(); } } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public int getColStatsCount() { if (colStatsBuilder_ == null) { return colStats_.size(); } else { return colStatsBuilder_.getCount(); } } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public org.apache.orc.OrcProto.ColumnStatistics getColStats(int index) { if (colStatsBuilder_ == null) { return colStats_.get(index); } else { return colStatsBuilder_.getMessage(index); } } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public Builder setColStats( int index, org.apache.orc.OrcProto.ColumnStatistics value) { if (colStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColStatsIsMutable(); colStats_.set(index, value); onChanged(); } else { colStatsBuilder_.setMessage(index, value); } return this; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public Builder setColStats( int index, org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) { if (colStatsBuilder_ == null) { ensureColStatsIsMutable(); colStats_.set(index, builderForValue.build()); onChanged(); } else { colStatsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public Builder addColStats(org.apache.orc.OrcProto.ColumnStatistics value) { if (colStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColStatsIsMutable(); colStats_.add(value); onChanged(); } else { colStatsBuilder_.addMessage(value); } return this; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public Builder addColStats( int index, org.apache.orc.OrcProto.ColumnStatistics value) { if (colStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureColStatsIsMutable(); colStats_.add(index, value); onChanged(); } else { colStatsBuilder_.addMessage(index, value); } return this; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public Builder addColStats( org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) { if (colStatsBuilder_ == null) { ensureColStatsIsMutable(); colStats_.add(builderForValue.build()); onChanged(); } else { colStatsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public Builder addColStats( int index, org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) { if (colStatsBuilder_ == null) { ensureColStatsIsMutable(); colStats_.add(index, builderForValue.build()); onChanged(); } else { colStatsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public Builder addAllColStats( java.lang.Iterable values) { if (colStatsBuilder_ == null) { ensureColStatsIsMutable(); super.addAll(values, colStats_); onChanged(); } else { colStatsBuilder_.addAllMessages(values); } return this; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public Builder clearColStats() { if (colStatsBuilder_ == null) { colStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { colStatsBuilder_.clear(); } return this; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public Builder removeColStats(int index) { if (colStatsBuilder_ == null) { ensureColStatsIsMutable(); colStats_.remove(index); onChanged(); } else { colStatsBuilder_.remove(index); } return this; } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public org.apache.orc.OrcProto.ColumnStatistics.Builder getColStatsBuilder( int index) { return getColStatsFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder( int index) { if (colStatsBuilder_ == null) { return colStats_.get(index); } else { return colStatsBuilder_.getMessageOrBuilder(index); } } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public java.util.List getColStatsOrBuilderList() { if (colStatsBuilder_ != null) { return colStatsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(colStats_); } } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public org.apache.orc.OrcProto.ColumnStatistics.Builder addColStatsBuilder() { return getColStatsFieldBuilder().addBuilder( org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance()); } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public org.apache.orc.OrcProto.ColumnStatistics.Builder addColStatsBuilder( int index) { return getColStatsFieldBuilder().addBuilder( index, org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance()); } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public java.util.List getColStatsBuilderList() { return getColStatsFieldBuilder().getBuilderList(); } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder> getColStatsFieldBuilder() { if (colStatsBuilder_ == null) { colStatsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>( colStats_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); colStats_ = null; } return colStatsBuilder_; } // @@protoc_insertion_point(builder_scope:orc.proto.StripeStatistics) } static { defaultInstance = new StripeStatistics(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.StripeStatistics) } public interface MetadataOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // repeated .orc.proto.StripeStatistics stripeStats = 1; /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ java.util.List getStripeStatsList(); /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ org.apache.orc.OrcProto.StripeStatistics getStripeStats(int index); /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ int getStripeStatsCount(); /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ java.util.List getStripeStatsOrBuilderList(); /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ org.apache.orc.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder( int index); } /** * Protobuf type {@code orc.proto.Metadata} */ public static final class Metadata extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements MetadataOrBuilder { // Use Metadata.newBuilder() to construct. private Metadata(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Metadata(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Metadata defaultInstance; public static Metadata getDefaultInstance() { return defaultInstance; } public Metadata getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Metadata( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { stripeStats_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } stripeStats_.add(input.readMessage(org.apache.orc.OrcProto.StripeStatistics.PARSER, extensionRegistry)); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { stripeStats_ = java.util.Collections.unmodifiableList(stripeStats_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_Metadata_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.Metadata.class, org.apache.orc.OrcProto.Metadata.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public Metadata parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new Metadata(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } // repeated .orc.proto.StripeStatistics stripeStats = 1; public static final int STRIPESTATS_FIELD_NUMBER = 1; private java.util.List stripeStats_; /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public java.util.List getStripeStatsList() { return stripeStats_; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public java.util.List getStripeStatsOrBuilderList() { return stripeStats_; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public int getStripeStatsCount() { return stripeStats_.size(); } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public org.apache.orc.OrcProto.StripeStatistics getStripeStats(int index) { return stripeStats_.get(index); } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public org.apache.orc.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder( int index) { return stripeStats_.get(index); } private void initFields() { stripeStats_ = java.util.Collections.emptyList(); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); for (int i = 0; i < stripeStats_.size(); i++) { output.writeMessage(1, stripeStats_.get(i)); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; for (int i = 0; i < stripeStats_.size(); i++) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(1, stripeStats_.get(i)); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.Metadata parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.Metadata parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.Metadata parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.Metadata parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.Metadata parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.Metadata parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.Metadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.Metadata parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.Metadata parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.Metadata parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.Metadata prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.Metadata} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.MetadataOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_Metadata_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.Metadata.class, org.apache.orc.OrcProto.Metadata.Builder.class); } // Construct using org.apache.orc.OrcProto.Metadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getStripeStatsFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (stripeStatsBuilder_ == null) { stripeStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { stripeStatsBuilder_.clear(); } return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_Metadata_descriptor; } public org.apache.orc.OrcProto.Metadata getDefaultInstanceForType() { return org.apache.orc.OrcProto.Metadata.getDefaultInstance(); } public org.apache.orc.OrcProto.Metadata build() { org.apache.orc.OrcProto.Metadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.Metadata buildPartial() { org.apache.orc.OrcProto.Metadata result = new org.apache.orc.OrcProto.Metadata(this); int from_bitField0_ = bitField0_; if (stripeStatsBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001)) { stripeStats_ = java.util.Collections.unmodifiableList(stripeStats_); bitField0_ = (bitField0_ & ~0x00000001); } result.stripeStats_ = stripeStats_; } else { result.stripeStats_ = stripeStatsBuilder_.build(); } onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.Metadata) { return mergeFrom((org.apache.orc.OrcProto.Metadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.Metadata other) { if (other == org.apache.orc.OrcProto.Metadata.getDefaultInstance()) return this; if (stripeStatsBuilder_ == null) { if (!other.stripeStats_.isEmpty()) { if (stripeStats_.isEmpty()) { stripeStats_ = other.stripeStats_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStripeStatsIsMutable(); stripeStats_.addAll(other.stripeStats_); } onChanged(); } } else { if (!other.stripeStats_.isEmpty()) { if (stripeStatsBuilder_.isEmpty()) { stripeStatsBuilder_.dispose(); stripeStatsBuilder_ = null; stripeStats_ = other.stripeStats_; bitField0_ = (bitField0_ & ~0x00000001); stripeStatsBuilder_ = com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getStripeStatsFieldBuilder() : null; } else { stripeStatsBuilder_.addAllMessages(other.stripeStats_); } } } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.Metadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.Metadata) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // repeated .orc.proto.StripeStatistics stripeStats = 1; private java.util.List stripeStats_ = java.util.Collections.emptyList(); private void ensureStripeStatsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { stripeStats_ = new java.util.ArrayList(stripeStats_); bitField0_ |= 0x00000001; } } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.StripeStatistics, org.apache.orc.OrcProto.StripeStatistics.Builder, org.apache.orc.OrcProto.StripeStatisticsOrBuilder> stripeStatsBuilder_; /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public java.util.List getStripeStatsList() { if (stripeStatsBuilder_ == null) { return java.util.Collections.unmodifiableList(stripeStats_); } else { return stripeStatsBuilder_.getMessageList(); } } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public int getStripeStatsCount() { if (stripeStatsBuilder_ == null) { return stripeStats_.size(); } else { return stripeStatsBuilder_.getCount(); } } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public org.apache.orc.OrcProto.StripeStatistics getStripeStats(int index) { if (stripeStatsBuilder_ == null) { return stripeStats_.get(index); } else { return stripeStatsBuilder_.getMessage(index); } } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public Builder setStripeStats( int index, org.apache.orc.OrcProto.StripeStatistics value) { if (stripeStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStripeStatsIsMutable(); stripeStats_.set(index, value); onChanged(); } else { stripeStatsBuilder_.setMessage(index, value); } return this; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public Builder setStripeStats( int index, org.apache.orc.OrcProto.StripeStatistics.Builder builderForValue) { if (stripeStatsBuilder_ == null) { ensureStripeStatsIsMutable(); stripeStats_.set(index, builderForValue.build()); onChanged(); } else { stripeStatsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public Builder addStripeStats(org.apache.orc.OrcProto.StripeStatistics value) { if (stripeStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStripeStatsIsMutable(); stripeStats_.add(value); onChanged(); } else { stripeStatsBuilder_.addMessage(value); } return this; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public Builder addStripeStats( int index, org.apache.orc.OrcProto.StripeStatistics value) { if (stripeStatsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStripeStatsIsMutable(); stripeStats_.add(index, value); onChanged(); } else { stripeStatsBuilder_.addMessage(index, value); } return this; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public Builder addStripeStats( org.apache.orc.OrcProto.StripeStatistics.Builder builderForValue) { if (stripeStatsBuilder_ == null) { ensureStripeStatsIsMutable(); stripeStats_.add(builderForValue.build()); onChanged(); } else { stripeStatsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public Builder addStripeStats( int index, org.apache.orc.OrcProto.StripeStatistics.Builder builderForValue) { if (stripeStatsBuilder_ == null) { ensureStripeStatsIsMutable(); stripeStats_.add(index, builderForValue.build()); onChanged(); } else { stripeStatsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public Builder addAllStripeStats( java.lang.Iterable values) { if (stripeStatsBuilder_ == null) { ensureStripeStatsIsMutable(); super.addAll(values, stripeStats_); onChanged(); } else { stripeStatsBuilder_.addAllMessages(values); } return this; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public Builder clearStripeStats() { if (stripeStatsBuilder_ == null) { stripeStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); } else { stripeStatsBuilder_.clear(); } return this; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public Builder removeStripeStats(int index) { if (stripeStatsBuilder_ == null) { ensureStripeStatsIsMutable(); stripeStats_.remove(index); onChanged(); } else { stripeStatsBuilder_.remove(index); } return this; } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public org.apache.orc.OrcProto.StripeStatistics.Builder getStripeStatsBuilder( int index) { return getStripeStatsFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public org.apache.orc.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder( int index) { if (stripeStatsBuilder_ == null) { return stripeStats_.get(index); } else { return stripeStatsBuilder_.getMessageOrBuilder(index); } } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public java.util.List getStripeStatsOrBuilderList() { if (stripeStatsBuilder_ != null) { return stripeStatsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stripeStats_); } } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public org.apache.orc.OrcProto.StripeStatistics.Builder addStripeStatsBuilder() { return getStripeStatsFieldBuilder().addBuilder( org.apache.orc.OrcProto.StripeStatistics.getDefaultInstance()); } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public org.apache.orc.OrcProto.StripeStatistics.Builder addStripeStatsBuilder( int index) { return getStripeStatsFieldBuilder().addBuilder( index, org.apache.orc.OrcProto.StripeStatistics.getDefaultInstance()); } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public java.util.List getStripeStatsBuilderList() { return getStripeStatsFieldBuilder().getBuilderList(); } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.StripeStatistics, org.apache.orc.OrcProto.StripeStatistics.Builder, org.apache.orc.OrcProto.StripeStatisticsOrBuilder> getStripeStatsFieldBuilder() { if (stripeStatsBuilder_ == null) { stripeStatsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.StripeStatistics, org.apache.orc.OrcProto.StripeStatistics.Builder, org.apache.orc.OrcProto.StripeStatisticsOrBuilder>( stripeStats_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); stripeStats_ = null; } return stripeStatsBuilder_; } // @@protoc_insertion_point(builder_scope:orc.proto.Metadata) } static { defaultInstance = new Metadata(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.Metadata) } public interface FooterOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional uint64 headerLength = 1; /** * optional uint64 headerLength = 1; */ boolean hasHeaderLength(); /** * optional uint64 headerLength = 1; */ long getHeaderLength(); // optional uint64 contentLength = 2; /** * optional uint64 contentLength = 2; */ boolean hasContentLength(); /** * optional uint64 contentLength = 2; */ long getContentLength(); // repeated .orc.proto.StripeInformation stripes = 3; /** * repeated .orc.proto.StripeInformation stripes = 3; */ java.util.List getStripesList(); /** * repeated .orc.proto.StripeInformation stripes = 3; */ org.apache.orc.OrcProto.StripeInformation getStripes(int index); /** * repeated .orc.proto.StripeInformation stripes = 3; */ int getStripesCount(); /** * repeated .orc.proto.StripeInformation stripes = 3; */ java.util.List getStripesOrBuilderList(); /** * repeated .orc.proto.StripeInformation stripes = 3; */ org.apache.orc.OrcProto.StripeInformationOrBuilder getStripesOrBuilder( int index); // repeated .orc.proto.Type types = 4; /** * repeated .orc.proto.Type types = 4; */ java.util.List getTypesList(); /** * repeated .orc.proto.Type types = 4; */ org.apache.orc.OrcProto.Type getTypes(int index); /** * repeated .orc.proto.Type types = 4; */ int getTypesCount(); /** * repeated .orc.proto.Type types = 4; */ java.util.List getTypesOrBuilderList(); /** * repeated .orc.proto.Type types = 4; */ org.apache.orc.OrcProto.TypeOrBuilder getTypesOrBuilder( int index); // repeated .orc.proto.UserMetadataItem metadata = 5; /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ java.util.List getMetadataList(); /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ org.apache.orc.OrcProto.UserMetadataItem getMetadata(int index); /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ int getMetadataCount(); /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ java.util.List getMetadataOrBuilderList(); /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ org.apache.orc.OrcProto.UserMetadataItemOrBuilder getMetadataOrBuilder( int index); // optional uint64 numberOfRows = 6; /** * optional uint64 numberOfRows = 6; */ boolean hasNumberOfRows(); /** * optional uint64 numberOfRows = 6; */ long getNumberOfRows(); // repeated .orc.proto.ColumnStatistics statistics = 7; /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ java.util.List getStatisticsList(); /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ org.apache.orc.OrcProto.ColumnStatistics getStatistics(int index); /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ int getStatisticsCount(); /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ java.util.List getStatisticsOrBuilderList(); /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder( int index); // optional uint32 rowIndexStride = 8; /** * optional uint32 rowIndexStride = 8; */ boolean hasRowIndexStride(); /** * optional uint32 rowIndexStride = 8; */ int getRowIndexStride(); } /** * Protobuf type {@code orc.proto.Footer} */ public static final class Footer extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements FooterOrBuilder { // Use Footer.newBuilder() to construct. private Footer(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private Footer(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final Footer defaultInstance; public static Footer getDefaultInstance() { return defaultInstance; } public Footer getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Footer( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; headerLength_ = input.readUInt64(); break; } case 16: { bitField0_ |= 0x00000002; contentLength_ = input.readUInt64(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { stripes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } stripes_.add(input.readMessage(org.apache.orc.OrcProto.StripeInformation.PARSER, extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { types_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } types_.add(input.readMessage(org.apache.orc.OrcProto.Type.PARSER, extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { metadata_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } metadata_.add(input.readMessage(org.apache.orc.OrcProto.UserMetadataItem.PARSER, extensionRegistry)); break; } case 48: { bitField0_ |= 0x00000004; numberOfRows_ = input.readUInt64(); break; } case 58: { if (!((mutable_bitField0_ & 0x00000040) == 0x00000040)) { statistics_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000040; } statistics_.add(input.readMessage(org.apache.orc.OrcProto.ColumnStatistics.PARSER, extensionRegistry)); break; } case 64: { bitField0_ |= 0x00000008; rowIndexStride_ = input.readUInt32(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { stripes_ = java.util.Collections.unmodifiableList(stripes_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { types_ = java.util.Collections.unmodifiableList(types_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { metadata_ = java.util.Collections.unmodifiableList(metadata_); } if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { statistics_ = java.util.Collections.unmodifiableList(statistics_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_Footer_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_Footer_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.Footer.class, org.apache.orc.OrcProto.Footer.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser
PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser
() { public Footer parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new Footer(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser
getParserForType() { return PARSER; } private int bitField0_; // optional uint64 headerLength = 1; 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_; } // optional uint64 contentLength = 2; 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_; } // repeated .orc.proto.StripeInformation stripes = 3; public static final int STRIPES_FIELD_NUMBER = 3; private java.util.List stripes_; /** * repeated .orc.proto.StripeInformation stripes = 3; */ public java.util.List getStripesList() { return stripes_; } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public java.util.List getStripesOrBuilderList() { return stripes_; } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public int getStripesCount() { return stripes_.size(); } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public org.apache.orc.OrcProto.StripeInformation getStripes(int index) { return stripes_.get(index); } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public org.apache.orc.OrcProto.StripeInformationOrBuilder getStripesOrBuilder( int index) { return stripes_.get(index); } // repeated .orc.proto.Type types = 4; public static final int TYPES_FIELD_NUMBER = 4; private java.util.List types_; /** * repeated .orc.proto.Type types = 4; */ public java.util.List getTypesList() { return types_; } /** * repeated .orc.proto.Type types = 4; */ public java.util.List getTypesOrBuilderList() { return types_; } /** * repeated .orc.proto.Type types = 4; */ public int getTypesCount() { return types_.size(); } /** * repeated .orc.proto.Type types = 4; */ public org.apache.orc.OrcProto.Type getTypes(int index) { return types_.get(index); } /** * repeated .orc.proto.Type types = 4; */ public org.apache.orc.OrcProto.TypeOrBuilder getTypesOrBuilder( int index) { return types_.get(index); } // repeated .orc.proto.UserMetadataItem metadata = 5; public static final int METADATA_FIELD_NUMBER = 5; private java.util.List metadata_; /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public java.util.List getMetadataList() { return metadata_; } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public java.util.List getMetadataOrBuilderList() { return metadata_; } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public int getMetadataCount() { return metadata_.size(); } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public org.apache.orc.OrcProto.UserMetadataItem getMetadata(int index) { return metadata_.get(index); } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public org.apache.orc.OrcProto.UserMetadataItemOrBuilder getMetadataOrBuilder( int index) { return metadata_.get(index); } // optional uint64 numberOfRows = 6; 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_; } // repeated .orc.proto.ColumnStatistics statistics = 7; public static final int STATISTICS_FIELD_NUMBER = 7; private java.util.List statistics_; /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsList() { return statistics_; } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsOrBuilderList() { return statistics_; } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public int getStatisticsCount() { return statistics_.size(); } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public org.apache.orc.OrcProto.ColumnStatistics getStatistics(int index) { return statistics_.get(index); } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder( int index) { return statistics_.get(index); } // optional uint32 rowIndexStride = 8; 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_; } private void initFields() { 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; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.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_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(1, headerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(2, contentLength_); } for (int i = 0; i < stripes_.size(); i++) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(3, stripes_.get(i)); } for (int i = 0; i < types_.size(); i++) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(4, types_.get(i)); } for (int i = 0; i < metadata_.size(); i++) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(5, metadata_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(6, numberOfRows_); } for (int i = 0; i < statistics_.size(); i++) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(7, statistics_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32Size(8, rowIndexStride_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.Footer parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.Footer parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.Footer parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.Footer parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.Footer parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.Footer parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.Footer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.Footer parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.Footer parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.Footer parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.Footer prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.Footer} */ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.FooterOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_Footer_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_Footer_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.Footer.class, org.apache.orc.OrcProto.Footer.Builder.class); } // Construct using org.apache.orc.OrcProto.Footer.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getStripesFieldBuilder(); getTypesFieldBuilder(); getMetadataFieldBuilder(); getStatisticsFieldBuilder(); } } private static Builder create() { return new Builder(); } 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); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_Footer_descriptor; } public org.apache.orc.OrcProto.Footer getDefaultInstanceForType() { return org.apache.orc.OrcProto.Footer.getDefaultInstance(); } public org.apache.orc.OrcProto.Footer build() { org.apache.orc.OrcProto.Footer result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.Footer buildPartial() { org.apache.orc.OrcProto.Footer result = new org.apache.orc.OrcProto.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_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.Footer) { return mergeFrom((org.apache.orc.OrcProto.Footer)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.Footer other) { if (other == org.apache.orc.OrcProto.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_ = com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.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_ = com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.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_ = com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.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_ = com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders ? getStatisticsFieldBuilder() : null; } else { statisticsBuilder_.addAllMessages(other.statistics_); } } } if (other.hasRowIndexStride()) { setRowIndexStride(other.getRowIndexStride()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.Footer parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.Footer) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional uint64 headerLength = 1; 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; } // optional uint64 contentLength = 2; 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; } // repeated .orc.proto.StripeInformation stripes = 3; 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 com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.StripeInformation, org.apache.orc.OrcProto.StripeInformation.Builder, org.apache.orc.OrcProto.StripeInformationOrBuilder> stripesBuilder_; /** * repeated .orc.proto.StripeInformation stripes = 3; */ public java.util.List getStripesList() { if (stripesBuilder_ == null) { return java.util.Collections.unmodifiableList(stripes_); } else { return stripesBuilder_.getMessageList(); } } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public int getStripesCount() { if (stripesBuilder_ == null) { return stripes_.size(); } else { return stripesBuilder_.getCount(); } } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public org.apache.orc.OrcProto.StripeInformation getStripes(int index) { if (stripesBuilder_ == null) { return stripes_.get(index); } else { return stripesBuilder_.getMessage(index); } } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public Builder setStripes( int index, org.apache.orc.OrcProto.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 .orc.proto.StripeInformation stripes = 3; */ public Builder setStripes( int index, org.apache.orc.OrcProto.StripeInformation.Builder builderForValue) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.set(index, builderForValue.build()); onChanged(); } else { stripesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public Builder addStripes(org.apache.orc.OrcProto.StripeInformation value) { if (stripesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStripesIsMutable(); stripes_.add(value); onChanged(); } else { stripesBuilder_.addMessage(value); } return this; } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public Builder addStripes( int index, org.apache.orc.OrcProto.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 .orc.proto.StripeInformation stripes = 3; */ public Builder addStripes( org.apache.orc.OrcProto.StripeInformation.Builder builderForValue) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.add(builderForValue.build()); onChanged(); } else { stripesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public Builder addStripes( int index, org.apache.orc.OrcProto.StripeInformation.Builder builderForValue) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.add(index, builderForValue.build()); onChanged(); } else { stripesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public Builder addAllStripes( java.lang.Iterable values) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); super.addAll(values, stripes_); onChanged(); } else { stripesBuilder_.addAllMessages(values); } return this; } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public Builder clearStripes() { if (stripesBuilder_ == null) { stripes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); onChanged(); } else { stripesBuilder_.clear(); } return this; } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public Builder removeStripes(int index) { if (stripesBuilder_ == null) { ensureStripesIsMutable(); stripes_.remove(index); onChanged(); } else { stripesBuilder_.remove(index); } return this; } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public org.apache.orc.OrcProto.StripeInformation.Builder getStripesBuilder( int index) { return getStripesFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public org.apache.orc.OrcProto.StripeInformationOrBuilder getStripesOrBuilder( int index) { if (stripesBuilder_ == null) { return stripes_.get(index); } else { return stripesBuilder_.getMessageOrBuilder(index); } } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public java.util.List getStripesOrBuilderList() { if (stripesBuilder_ != null) { return stripesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(stripes_); } } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public org.apache.orc.OrcProto.StripeInformation.Builder addStripesBuilder() { return getStripesFieldBuilder().addBuilder( org.apache.orc.OrcProto.StripeInformation.getDefaultInstance()); } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public org.apache.orc.OrcProto.StripeInformation.Builder addStripesBuilder( int index) { return getStripesFieldBuilder().addBuilder( index, org.apache.orc.OrcProto.StripeInformation.getDefaultInstance()); } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public java.util.List getStripesBuilderList() { return getStripesFieldBuilder().getBuilderList(); } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.StripeInformation, org.apache.orc.OrcProto.StripeInformation.Builder, org.apache.orc.OrcProto.StripeInformationOrBuilder> getStripesFieldBuilder() { if (stripesBuilder_ == null) { stripesBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.StripeInformation, org.apache.orc.OrcProto.StripeInformation.Builder, org.apache.orc.OrcProto.StripeInformationOrBuilder>( stripes_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); stripes_ = null; } return stripesBuilder_; } // repeated .orc.proto.Type types = 4; 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 com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.Type, org.apache.orc.OrcProto.Type.Builder, org.apache.orc.OrcProto.TypeOrBuilder> typesBuilder_; /** * repeated .orc.proto.Type types = 4; */ public java.util.List getTypesList() { if (typesBuilder_ == null) { return java.util.Collections.unmodifiableList(types_); } else { return typesBuilder_.getMessageList(); } } /** * repeated .orc.proto.Type types = 4; */ public int getTypesCount() { if (typesBuilder_ == null) { return types_.size(); } else { return typesBuilder_.getCount(); } } /** * repeated .orc.proto.Type types = 4; */ public org.apache.orc.OrcProto.Type getTypes(int index) { if (typesBuilder_ == null) { return types_.get(index); } else { return typesBuilder_.getMessage(index); } } /** * repeated .orc.proto.Type types = 4; */ public Builder setTypes( int index, org.apache.orc.OrcProto.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 .orc.proto.Type types = 4; */ public Builder setTypes( int index, org.apache.orc.OrcProto.Type.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.set(index, builderForValue.build()); onChanged(); } else { typesBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.Type types = 4; */ public Builder addTypes(org.apache.orc.OrcProto.Type value) { if (typesBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureTypesIsMutable(); types_.add(value); onChanged(); } else { typesBuilder_.addMessage(value); } return this; } /** * repeated .orc.proto.Type types = 4; */ public Builder addTypes( int index, org.apache.orc.OrcProto.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 .orc.proto.Type types = 4; */ public Builder addTypes( org.apache.orc.OrcProto.Type.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.add(builderForValue.build()); onChanged(); } else { typesBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .orc.proto.Type types = 4; */ public Builder addTypes( int index, org.apache.orc.OrcProto.Type.Builder builderForValue) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.add(index, builderForValue.build()); onChanged(); } else { typesBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.Type types = 4; */ public Builder addAllTypes( java.lang.Iterable values) { if (typesBuilder_ == null) { ensureTypesIsMutable(); super.addAll(values, types_); onChanged(); } else { typesBuilder_.addAllMessages(values); } return this; } /** * repeated .orc.proto.Type types = 4; */ public Builder clearTypes() { if (typesBuilder_ == null) { types_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); } else { typesBuilder_.clear(); } return this; } /** * repeated .orc.proto.Type types = 4; */ public Builder removeTypes(int index) { if (typesBuilder_ == null) { ensureTypesIsMutable(); types_.remove(index); onChanged(); } else { typesBuilder_.remove(index); } return this; } /** * repeated .orc.proto.Type types = 4; */ public org.apache.orc.OrcProto.Type.Builder getTypesBuilder( int index) { return getTypesFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.Type types = 4; */ public org.apache.orc.OrcProto.TypeOrBuilder getTypesOrBuilder( int index) { if (typesBuilder_ == null) { return types_.get(index); } else { return typesBuilder_.getMessageOrBuilder(index); } } /** * repeated .orc.proto.Type types = 4; */ public java.util.List getTypesOrBuilderList() { if (typesBuilder_ != null) { return typesBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(types_); } } /** * repeated .orc.proto.Type types = 4; */ public org.apache.orc.OrcProto.Type.Builder addTypesBuilder() { return getTypesFieldBuilder().addBuilder( org.apache.orc.OrcProto.Type.getDefaultInstance()); } /** * repeated .orc.proto.Type types = 4; */ public org.apache.orc.OrcProto.Type.Builder addTypesBuilder( int index) { return getTypesFieldBuilder().addBuilder( index, org.apache.orc.OrcProto.Type.getDefaultInstance()); } /** * repeated .orc.proto.Type types = 4; */ public java.util.List getTypesBuilderList() { return getTypesFieldBuilder().getBuilderList(); } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.Type, org.apache.orc.OrcProto.Type.Builder, org.apache.orc.OrcProto.TypeOrBuilder> getTypesFieldBuilder() { if (typesBuilder_ == null) { typesBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.Type, org.apache.orc.OrcProto.Type.Builder, org.apache.orc.OrcProto.TypeOrBuilder>( types_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); types_ = null; } return typesBuilder_; } // repeated .orc.proto.UserMetadataItem metadata = 5; 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 com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.UserMetadataItem, org.apache.orc.OrcProto.UserMetadataItem.Builder, org.apache.orc.OrcProto.UserMetadataItemOrBuilder> metadataBuilder_; /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public java.util.List getMetadataList() { if (metadataBuilder_ == null) { return java.util.Collections.unmodifiableList(metadata_); } else { return metadataBuilder_.getMessageList(); } } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public int getMetadataCount() { if (metadataBuilder_ == null) { return metadata_.size(); } else { return metadataBuilder_.getCount(); } } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public org.apache.orc.OrcProto.UserMetadataItem getMetadata(int index) { if (metadataBuilder_ == null) { return metadata_.get(index); } else { return metadataBuilder_.getMessage(index); } } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public Builder setMetadata( int index, org.apache.orc.OrcProto.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 .orc.proto.UserMetadataItem metadata = 5; */ public Builder setMetadata( int index, org.apache.orc.OrcProto.UserMetadataItem.Builder builderForValue) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); metadata_.set(index, builderForValue.build()); onChanged(); } else { metadataBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public Builder addMetadata(org.apache.orc.OrcProto.UserMetadataItem value) { if (metadataBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureMetadataIsMutable(); metadata_.add(value); onChanged(); } else { metadataBuilder_.addMessage(value); } return this; } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public Builder addMetadata( int index, org.apache.orc.OrcProto.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 .orc.proto.UserMetadataItem metadata = 5; */ public Builder addMetadata( org.apache.orc.OrcProto.UserMetadataItem.Builder builderForValue) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); metadata_.add(builderForValue.build()); onChanged(); } else { metadataBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public Builder addMetadata( int index, org.apache.orc.OrcProto.UserMetadataItem.Builder builderForValue) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); metadata_.add(index, builderForValue.build()); onChanged(); } else { metadataBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public Builder addAllMetadata( java.lang.Iterable values) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); super.addAll(values, metadata_); onChanged(); } else { metadataBuilder_.addAllMessages(values); } return this; } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public Builder clearMetadata() { if (metadataBuilder_ == null) { metadata_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); onChanged(); } else { metadataBuilder_.clear(); } return this; } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public Builder removeMetadata(int index) { if (metadataBuilder_ == null) { ensureMetadataIsMutable(); metadata_.remove(index); onChanged(); } else { metadataBuilder_.remove(index); } return this; } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public org.apache.orc.OrcProto.UserMetadataItem.Builder getMetadataBuilder( int index) { return getMetadataFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public org.apache.orc.OrcProto.UserMetadataItemOrBuilder getMetadataOrBuilder( int index) { if (metadataBuilder_ == null) { return metadata_.get(index); } else { return metadataBuilder_.getMessageOrBuilder(index); } } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public java.util.List getMetadataOrBuilderList() { if (metadataBuilder_ != null) { return metadataBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(metadata_); } } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public org.apache.orc.OrcProto.UserMetadataItem.Builder addMetadataBuilder() { return getMetadataFieldBuilder().addBuilder( org.apache.orc.OrcProto.UserMetadataItem.getDefaultInstance()); } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public org.apache.orc.OrcProto.UserMetadataItem.Builder addMetadataBuilder( int index) { return getMetadataFieldBuilder().addBuilder( index, org.apache.orc.OrcProto.UserMetadataItem.getDefaultInstance()); } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public java.util.List getMetadataBuilderList() { return getMetadataFieldBuilder().getBuilderList(); } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.UserMetadataItem, org.apache.orc.OrcProto.UserMetadataItem.Builder, org.apache.orc.OrcProto.UserMetadataItemOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.UserMetadataItem, org.apache.orc.OrcProto.UserMetadataItem.Builder, org.apache.orc.OrcProto.UserMetadataItemOrBuilder>( metadata_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } // optional uint64 numberOfRows = 6; 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; } // repeated .orc.proto.ColumnStatistics statistics = 7; 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 com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder> statisticsBuilder_; /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsList() { if (statisticsBuilder_ == null) { return java.util.Collections.unmodifiableList(statistics_); } else { return statisticsBuilder_.getMessageList(); } } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public int getStatisticsCount() { if (statisticsBuilder_ == null) { return statistics_.size(); } else { return statisticsBuilder_.getCount(); } } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public org.apache.orc.OrcProto.ColumnStatistics getStatistics(int index) { if (statisticsBuilder_ == null) { return statistics_.get(index); } else { return statisticsBuilder_.getMessage(index); } } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public Builder setStatistics( int index, org.apache.orc.OrcProto.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 .orc.proto.ColumnStatistics statistics = 7; */ public Builder setStatistics( int index, org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) { if (statisticsBuilder_ == null) { ensureStatisticsIsMutable(); statistics_.set(index, builderForValue.build()); onChanged(); } else { statisticsBuilder_.setMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public Builder addStatistics(org.apache.orc.OrcProto.ColumnStatistics value) { if (statisticsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } ensureStatisticsIsMutable(); statistics_.add(value); onChanged(); } else { statisticsBuilder_.addMessage(value); } return this; } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public Builder addStatistics( int index, org.apache.orc.OrcProto.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 .orc.proto.ColumnStatistics statistics = 7; */ public Builder addStatistics( org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) { if (statisticsBuilder_ == null) { ensureStatisticsIsMutable(); statistics_.add(builderForValue.build()); onChanged(); } else { statisticsBuilder_.addMessage(builderForValue.build()); } return this; } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public Builder addStatistics( int index, org.apache.orc.OrcProto.ColumnStatistics.Builder builderForValue) { if (statisticsBuilder_ == null) { ensureStatisticsIsMutable(); statistics_.add(index, builderForValue.build()); onChanged(); } else { statisticsBuilder_.addMessage(index, builderForValue.build()); } return this; } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public Builder addAllStatistics( java.lang.Iterable values) { if (statisticsBuilder_ == null) { ensureStatisticsIsMutable(); super.addAll(values, statistics_); onChanged(); } else { statisticsBuilder_.addAllMessages(values); } return this; } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public Builder clearStatistics() { if (statisticsBuilder_ == null) { statistics_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); onChanged(); } else { statisticsBuilder_.clear(); } return this; } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public Builder removeStatistics(int index) { if (statisticsBuilder_ == null) { ensureStatisticsIsMutable(); statistics_.remove(index); onChanged(); } else { statisticsBuilder_.remove(index); } return this; } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public org.apache.orc.OrcProto.ColumnStatistics.Builder getStatisticsBuilder( int index) { return getStatisticsFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public org.apache.orc.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder( int index) { if (statisticsBuilder_ == null) { return statistics_.get(index); } else { return statisticsBuilder_.getMessageOrBuilder(index); } } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsOrBuilderList() { if (statisticsBuilder_ != null) { return statisticsBuilder_.getMessageOrBuilderList(); } else { return java.util.Collections.unmodifiableList(statistics_); } } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public org.apache.orc.OrcProto.ColumnStatistics.Builder addStatisticsBuilder() { return getStatisticsFieldBuilder().addBuilder( org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance()); } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public org.apache.orc.OrcProto.ColumnStatistics.Builder addStatisticsBuilder( int index) { return getStatisticsFieldBuilder().addBuilder( index, org.apache.orc.OrcProto.ColumnStatistics.getDefaultInstance()); } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsBuilderList() { return getStatisticsFieldBuilder().getBuilderList(); } private com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder> getStatisticsFieldBuilder() { if (statisticsBuilder_ == null) { statisticsBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.RepeatedFieldBuilder< org.apache.orc.OrcProto.ColumnStatistics, org.apache.orc.OrcProto.ColumnStatistics.Builder, org.apache.orc.OrcProto.ColumnStatisticsOrBuilder>( statistics_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); statistics_ = null; } return statisticsBuilder_; } // optional uint32 rowIndexStride = 8; 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; } // @@protoc_insertion_point(builder_scope:orc.proto.Footer) } static { defaultInstance = new Footer(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.Footer) } public interface PostScriptOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional uint64 footerLength = 1; /** * optional uint64 footerLength = 1; */ boolean hasFooterLength(); /** * optional uint64 footerLength = 1; */ long getFooterLength(); // optional .orc.proto.CompressionKind compression = 2; /** * optional .orc.proto.CompressionKind compression = 2; */ boolean hasCompression(); /** * optional .orc.proto.CompressionKind compression = 2; */ org.apache.orc.OrcProto.CompressionKind getCompression(); // optional uint64 compressionBlockSize = 3; /** * optional uint64 compressionBlockSize = 3; */ boolean hasCompressionBlockSize(); /** * optional uint64 compressionBlockSize = 3; */ long getCompressionBlockSize(); // repeated uint32 version = 4 [packed = true]; /** * repeated uint32 version = 4 [packed = true]; * *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
*/ java.util.List getVersionList(); /** * repeated uint32 version = 4 [packed = true]; * *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
*/ int getVersionCount(); /** * repeated uint32 version = 4 [packed = true]; * *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
*/ int getVersion(int index); // optional uint64 metadataLength = 5; /** * optional uint64 metadataLength = 5; */ boolean hasMetadataLength(); /** * optional uint64 metadataLength = 5; */ long getMetadataLength(); // optional uint32 writerVersion = 6; /** * optional uint32 writerVersion = 6; * *
     * Version of the writer:
     *   0 (or missing) = original
     *   1 = HIVE-8732 fixed
     *   2 = HIVE-4243 fixed
     *   3 = HIVE-12055 fixed
     *   4 = HIVE-13083 fixed
     *   5 = ORC-101 fixed
     *   6 = ORC-135 fixed
     * 
*/ boolean hasWriterVersion(); /** * optional uint32 writerVersion = 6; * *
     * Version of the writer:
     *   0 (or missing) = original
     *   1 = HIVE-8732 fixed
     *   2 = HIVE-4243 fixed
     *   3 = HIVE-12055 fixed
     *   4 = HIVE-13083 fixed
     *   5 = ORC-101 fixed
     *   6 = ORC-135 fixed
     * 
*/ int getWriterVersion(); // optional string magic = 8000; /** * optional string magic = 8000; * *
     * Leave this last in the record
     * 
*/ boolean hasMagic(); /** * optional string magic = 8000; * *
     * Leave this last in the record
     * 
*/ java.lang.String getMagic(); /** * optional string magic = 8000; * *
     * Leave this last in the record
     * 
*/ com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMagicBytes(); } /** * Protobuf type {@code orc.proto.PostScript} * *
   * Serialized length must be less that 255 bytes
   * 
*/ public static final class PostScript extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements PostScriptOrBuilder { // Use PostScript.newBuilder() to construct. private PostScript(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private PostScript(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final PostScript defaultInstance; public static PostScript getDefaultInstance() { return defaultInstance; } public PostScript getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PostScript( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; footerLength_ = input.readUInt64(); break; } case 16: { int rawValue = input.readEnum(); org.apache.orc.OrcProto.CompressionKind value = org.apache.orc.OrcProto.CompressionKind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; compression_ = value; } break; } case 24: { bitField0_ |= 0x00000004; compressionBlockSize_ = input.readUInt64(); break; } case 32: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { version_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } version_.add(input.readUInt32()); break; } case 34: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000008) == 0x00000008) && input.getBytesUntilLimit() > 0) { version_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } while (input.getBytesUntilLimit() > 0) { version_.add(input.readUInt32()); } input.popLimit(limit); break; } case 40: { bitField0_ |= 0x00000008; metadataLength_ = input.readUInt64(); break; } case 48: { bitField0_ |= 0x00000010; writerVersion_ = input.readUInt32(); break; } case 64002: { bitField0_ |= 0x00000020; magic_ = input.readBytes(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { version_ = java.util.Collections.unmodifiableList(version_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_PostScript_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_PostScript_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.PostScript.class, org.apache.orc.OrcProto.PostScript.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public PostScript parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new PostScript(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional uint64 footerLength = 1; 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_; } // optional .orc.proto.CompressionKind compression = 2; public static final int COMPRESSION_FIELD_NUMBER = 2; private org.apache.orc.OrcProto.CompressionKind compression_; /** * optional .orc.proto.CompressionKind compression = 2; */ public boolean hasCompression() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.CompressionKind compression = 2; */ public org.apache.orc.OrcProto.CompressionKind getCompression() { return compression_; } // optional uint64 compressionBlockSize = 3; 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_; } // repeated uint32 version = 4 [packed = true]; public static final int VERSION_FIELD_NUMBER = 4; private java.util.List version_; /** * repeated uint32 version = 4 [packed = true]; * *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
*/ public java.util.List getVersionList() { return version_; } /** * repeated uint32 version = 4 [packed = true]; * *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
*/ public int getVersionCount() { return version_.size(); } /** * repeated uint32 version = 4 [packed = true]; * *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
*/ public int getVersion(int index) { return version_.get(index); } private int versionMemoizedSerializedSize = -1; // optional uint64 metadataLength = 5; public static final int METADATALENGTH_FIELD_NUMBER = 5; private long metadataLength_; /** * optional uint64 metadataLength = 5; */ public boolean hasMetadataLength() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 metadataLength = 5; */ public long getMetadataLength() { return metadataLength_; } // optional uint32 writerVersion = 6; public static final int WRITERVERSION_FIELD_NUMBER = 6; private int writerVersion_; /** * optional uint32 writerVersion = 6; * *
     * Version of the writer:
     *   0 (or missing) = original
     *   1 = HIVE-8732 fixed
     *   2 = HIVE-4243 fixed
     *   3 = HIVE-12055 fixed
     *   4 = HIVE-13083 fixed
     *   5 = ORC-101 fixed
     *   6 = ORC-135 fixed
     * 
*/ public boolean hasWriterVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint32 writerVersion = 6; * *
     * Version of the writer:
     *   0 (or missing) = original
     *   1 = HIVE-8732 fixed
     *   2 = HIVE-4243 fixed
     *   3 = HIVE-12055 fixed
     *   4 = HIVE-13083 fixed
     *   5 = ORC-101 fixed
     *   6 = ORC-135 fixed
     * 
*/ public int getWriterVersion() { return writerVersion_; } // optional string magic = 8000; public static final int MAGIC_FIELD_NUMBER = 8000; private java.lang.Object magic_; /** * optional string magic = 8000; * *
     * Leave this last in the record
     * 
*/ public boolean hasMagic() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional string magic = 8000; * *
     * Leave this last in the record
     * 
*/ public java.lang.String getMagic() { java.lang.Object ref = magic_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString bs = (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { magic_ = s; } return s; } } /** * optional string magic = 8000; * *
     * Leave this last in the record
     * 
*/ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMagicBytes() { java.lang.Object ref = magic_; if (ref instanceof java.lang.String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); magic_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } private void initFields() { footerLength_ = 0L; compression_ = org.apache.orc.OrcProto.CompressionKind.NONE; compressionBlockSize_ = 0L; version_ = java.util.Collections.emptyList(); metadataLength_ = 0L; writerVersion_ = 0; magic_ = ""; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, footerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, compression_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, compressionBlockSize_); } if (getVersionList().size() > 0) { output.writeRawVarint32(34); output.writeRawVarint32(versionMemoizedSerializedSize); } for (int i = 0; i < version_.size(); i++) { output.writeUInt32NoTag(version_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(5, metadataLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(6, writerVersion_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeBytes(8000, getMagicBytes()); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(1, footerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeEnumSize(2, compression_.getNumber()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(3, compressionBlockSize_); } { int dataSize = 0; for (int i = 0; i < version_.size(); i++) { dataSize += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32SizeNoTag(version_.get(i)); } size += dataSize; if (!getVersionList().isEmpty()) { size += 1; size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } versionMemoizedSerializedSize = dataSize; } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(5, metadataLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt32Size(6, writerVersion_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeBytesSize(8000, getMagicBytes()); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.PostScript parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.PostScript parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.PostScript parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.PostScript parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.PostScript parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.PostScript parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.PostScript parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.PostScript parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.PostScript parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.PostScript parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.PostScript prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.PostScript} * *
     * Serialized length must be less that 255 bytes
     * 
*/ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.PostScriptOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_PostScript_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_PostScript_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.PostScript.class, org.apache.orc.OrcProto.PostScript.Builder.class); } // Construct using org.apache.orc.OrcProto.PostScript.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); footerLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); compression_ = org.apache.orc.OrcProto.CompressionKind.NONE; bitField0_ = (bitField0_ & ~0x00000002); compressionBlockSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); version_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); metadataLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); writerVersion_ = 0; bitField0_ = (bitField0_ & ~0x00000020); magic_ = ""; bitField0_ = (bitField0_ & ~0x00000040); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_PostScript_descriptor; } public org.apache.orc.OrcProto.PostScript getDefaultInstanceForType() { return org.apache.orc.OrcProto.PostScript.getDefaultInstance(); } public org.apache.orc.OrcProto.PostScript build() { org.apache.orc.OrcProto.PostScript result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.PostScript buildPartial() { org.apache.orc.OrcProto.PostScript result = new org.apache.orc.OrcProto.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 (((bitField0_ & 0x00000008) == 0x00000008)) { version_ = java.util.Collections.unmodifiableList(version_); bitField0_ = (bitField0_ & ~0x00000008); } result.version_ = version_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000008; } result.metadataLength_ = metadataLength_; if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000010; } result.writerVersion_ = writerVersion_; if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000020; } result.magic_ = magic_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.PostScript) { return mergeFrom((org.apache.orc.OrcProto.PostScript)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.PostScript other) { if (other == org.apache.orc.OrcProto.PostScript.getDefaultInstance()) return this; if (other.hasFooterLength()) { setFooterLength(other.getFooterLength()); } if (other.hasCompression()) { setCompression(other.getCompression()); } if (other.hasCompressionBlockSize()) { setCompressionBlockSize(other.getCompressionBlockSize()); } if (!other.version_.isEmpty()) { if (version_.isEmpty()) { version_ = other.version_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureVersionIsMutable(); version_.addAll(other.version_); } onChanged(); } if (other.hasMetadataLength()) { setMetadataLength(other.getMetadataLength()); } if (other.hasWriterVersion()) { setWriterVersion(other.getWriterVersion()); } if (other.hasMagic()) { bitField0_ |= 0x00000040; magic_ = other.magic_; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.PostScript parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.PostScript) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional uint64 footerLength = 1; 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; } // optional .orc.proto.CompressionKind compression = 2; private org.apache.orc.OrcProto.CompressionKind compression_ = org.apache.orc.OrcProto.CompressionKind.NONE; /** * optional .orc.proto.CompressionKind compression = 2; */ public boolean hasCompression() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.CompressionKind compression = 2; */ public org.apache.orc.OrcProto.CompressionKind getCompression() { return compression_; } /** * optional .orc.proto.CompressionKind compression = 2; */ public Builder setCompression(org.apache.orc.OrcProto.CompressionKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; compression_ = value; onChanged(); return this; } /** * optional .orc.proto.CompressionKind compression = 2; */ public Builder clearCompression() { bitField0_ = (bitField0_ & ~0x00000002); compression_ = org.apache.orc.OrcProto.CompressionKind.NONE; onChanged(); return this; } // optional uint64 compressionBlockSize = 3; 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; } // repeated uint32 version = 4 [packed = true]; private java.util.List version_ = java.util.Collections.emptyList(); private void ensureVersionIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { version_ = new java.util.ArrayList(version_); bitField0_ |= 0x00000008; } } /** * repeated uint32 version = 4 [packed = true]; * *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
*/ public java.util.List getVersionList() { return java.util.Collections.unmodifiableList(version_); } /** * repeated uint32 version = 4 [packed = true]; * *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
*/ public int getVersionCount() { return version_.size(); } /** * repeated uint32 version = 4 [packed = true]; * *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
*/ public int getVersion(int index) { return version_.get(index); } /** * repeated uint32 version = 4 [packed = true]; * *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
*/ public Builder setVersion( int index, int value) { ensureVersionIsMutable(); version_.set(index, value); onChanged(); return this; } /** * repeated uint32 version = 4 [packed = true]; * *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
*/ public Builder addVersion(int value) { ensureVersionIsMutable(); version_.add(value); onChanged(); return this; } /** * repeated uint32 version = 4 [packed = true]; * *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
*/ public Builder addAllVersion( java.lang.Iterable values) { ensureVersionIsMutable(); super.addAll(values, version_); onChanged(); return this; } /** * repeated uint32 version = 4 [packed = true]; * *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
*/ public Builder clearVersion() { version_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } // optional uint64 metadataLength = 5; private long metadataLength_ ; /** * optional uint64 metadataLength = 5; */ public boolean hasMetadataLength() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint64 metadataLength = 5; */ public long getMetadataLength() { return metadataLength_; } /** * optional uint64 metadataLength = 5; */ public Builder setMetadataLength(long value) { bitField0_ |= 0x00000010; metadataLength_ = value; onChanged(); return this; } /** * optional uint64 metadataLength = 5; */ public Builder clearMetadataLength() { bitField0_ = (bitField0_ & ~0x00000010); metadataLength_ = 0L; onChanged(); return this; } // optional uint32 writerVersion = 6; private int writerVersion_ ; /** * optional uint32 writerVersion = 6; * *
       * Version of the writer:
       *   0 (or missing) = original
       *   1 = HIVE-8732 fixed
       *   2 = HIVE-4243 fixed
       *   3 = HIVE-12055 fixed
       *   4 = HIVE-13083 fixed
       *   5 = ORC-101 fixed
       *   6 = ORC-135 fixed
       * 
*/ public boolean hasWriterVersion() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint32 writerVersion = 6; * *
       * Version of the writer:
       *   0 (or missing) = original
       *   1 = HIVE-8732 fixed
       *   2 = HIVE-4243 fixed
       *   3 = HIVE-12055 fixed
       *   4 = HIVE-13083 fixed
       *   5 = ORC-101 fixed
       *   6 = ORC-135 fixed
       * 
*/ public int getWriterVersion() { return writerVersion_; } /** * optional uint32 writerVersion = 6; * *
       * Version of the writer:
       *   0 (or missing) = original
       *   1 = HIVE-8732 fixed
       *   2 = HIVE-4243 fixed
       *   3 = HIVE-12055 fixed
       *   4 = HIVE-13083 fixed
       *   5 = ORC-101 fixed
       *   6 = ORC-135 fixed
       * 
*/ public Builder setWriterVersion(int value) { bitField0_ |= 0x00000020; writerVersion_ = value; onChanged(); return this; } /** * optional uint32 writerVersion = 6; * *
       * Version of the writer:
       *   0 (or missing) = original
       *   1 = HIVE-8732 fixed
       *   2 = HIVE-4243 fixed
       *   3 = HIVE-12055 fixed
       *   4 = HIVE-13083 fixed
       *   5 = ORC-101 fixed
       *   6 = ORC-135 fixed
       * 
*/ public Builder clearWriterVersion() { bitField0_ = (bitField0_ & ~0x00000020); writerVersion_ = 0; onChanged(); return this; } // optional string magic = 8000; private java.lang.Object magic_ = ""; /** * optional string magic = 8000; * *
       * Leave this last in the record
       * 
*/ public boolean hasMagic() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional string magic = 8000; * *
       * Leave this last in the record
       * 
*/ public java.lang.String getMagic() { java.lang.Object ref = magic_; if (!(ref instanceof java.lang.String)) { java.lang.String s = ((com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref) .toStringUtf8(); magic_ = s; return s; } else { return (java.lang.String) ref; } } /** * optional string magic = 8000; * *
       * Leave this last in the record
       * 
*/ public com.facebook.presto.hive.$internal.com.google.protobuf.ByteString getMagicBytes() { java.lang.Object ref = magic_; if (ref instanceof String) { com.facebook.presto.hive.$internal.com.google.protobuf.ByteString b = com.facebook.presto.hive.$internal.com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); magic_ = b; return b; } else { return (com.facebook.presto.hive.$internal.com.google.protobuf.ByteString) ref; } } /** * optional string magic = 8000; * *
       * Leave this last in the record
       * 
*/ public Builder setMagic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; magic_ = value; onChanged(); return this; } /** * optional string magic = 8000; * *
       * Leave this last in the record
       * 
*/ public Builder clearMagic() { bitField0_ = (bitField0_ & ~0x00000040); magic_ = getDefaultInstance().getMagic(); onChanged(); return this; } /** * optional string magic = 8000; * *
       * Leave this last in the record
       * 
*/ public Builder setMagicBytes( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; magic_ = value; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.PostScript) } static { defaultInstance = new PostScript(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.PostScript) } public interface FileTailOrBuilder extends com.facebook.presto.hive.$internal.com.google.protobuf.MessageOrBuilder { // optional .orc.proto.PostScript postscript = 1; /** * optional .orc.proto.PostScript postscript = 1; */ boolean hasPostscript(); /** * optional .orc.proto.PostScript postscript = 1; */ org.apache.orc.OrcProto.PostScript getPostscript(); /** * optional .orc.proto.PostScript postscript = 1; */ org.apache.orc.OrcProto.PostScriptOrBuilder getPostscriptOrBuilder(); // optional .orc.proto.Footer footer = 2; /** * optional .orc.proto.Footer footer = 2; */ boolean hasFooter(); /** * optional .orc.proto.Footer footer = 2; */ org.apache.orc.OrcProto.Footer getFooter(); /** * optional .orc.proto.Footer footer = 2; */ org.apache.orc.OrcProto.FooterOrBuilder getFooterOrBuilder(); // optional uint64 fileLength = 3; /** * optional uint64 fileLength = 3; */ boolean hasFileLength(); /** * optional uint64 fileLength = 3; */ long getFileLength(); // optional uint64 postscriptLength = 4; /** * optional uint64 postscriptLength = 4; */ boolean hasPostscriptLength(); /** * optional uint64 postscriptLength = 4; */ long getPostscriptLength(); } /** * Protobuf type {@code orc.proto.FileTail} * *
   * The contents of the file tail that must be serialized.
   * This gets serialized as part of OrcSplit, also used by footer cache.
   * 
*/ public static final class FileTail extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage implements FileTailOrBuilder { // Use FileTail.newBuilder() to construct. private FileTail(com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder builder) { super(builder); this.unknownFields = builder.getUnknownFields(); } private FileTail(boolean noInit) { this.unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.getDefaultInstance(); } private static final FileTail defaultInstance; public static FileTail getDefaultInstance() { return defaultInstance; } public FileTail getDefaultInstanceForType() { return defaultInstance; } private final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet unknownFields; @java.lang.Override public final com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FileTail( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { initFields(); int mutable_bitField0_ = 0; com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.Builder unknownFields = com.facebook.presto.hive.$internal.com.google.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { org.apache.orc.OrcProto.PostScript.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = postscript_.toBuilder(); } postscript_ = input.readMessage(org.apache.orc.OrcProto.PostScript.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(postscript_); postscript_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { org.apache.orc.OrcProto.Footer.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = footer_.toBuilder(); } footer_ = input.readMessage(org.apache.orc.OrcProto.Footer.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(footer_); footer_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 24: { bitField0_ |= 0x00000004; fileLength_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; postscriptLength_ = input.readUInt64(); break; } } } } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException( e.getMessage()).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_FileTail_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_FileTail_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.FileTail.class, org.apache.orc.OrcProto.FileTail.Builder.class); } public static com.facebook.presto.hive.$internal.com.google.protobuf.Parser PARSER = new com.facebook.presto.hive.$internal.com.google.protobuf.AbstractParser() { public FileTail parsePartialFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return new FileTail(input, extensionRegistry); } }; @java.lang.Override public com.facebook.presto.hive.$internal.com.google.protobuf.Parser getParserForType() { return PARSER; } private int bitField0_; // optional .orc.proto.PostScript postscript = 1; public static final int POSTSCRIPT_FIELD_NUMBER = 1; private org.apache.orc.OrcProto.PostScript postscript_; /** * optional .orc.proto.PostScript postscript = 1; */ public boolean hasPostscript() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.PostScript postscript = 1; */ public org.apache.orc.OrcProto.PostScript getPostscript() { return postscript_; } /** * optional .orc.proto.PostScript postscript = 1; */ public org.apache.orc.OrcProto.PostScriptOrBuilder getPostscriptOrBuilder() { return postscript_; } // optional .orc.proto.Footer footer = 2; public static final int FOOTER_FIELD_NUMBER = 2; private org.apache.orc.OrcProto.Footer footer_; /** * optional .orc.proto.Footer footer = 2; */ public boolean hasFooter() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.Footer footer = 2; */ public org.apache.orc.OrcProto.Footer getFooter() { return footer_; } /** * optional .orc.proto.Footer footer = 2; */ public org.apache.orc.OrcProto.FooterOrBuilder getFooterOrBuilder() { return footer_; } // optional uint64 fileLength = 3; public static final int FILELENGTH_FIELD_NUMBER = 3; private long fileLength_; /** * optional uint64 fileLength = 3; */ public boolean hasFileLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 fileLength = 3; */ public long getFileLength() { return fileLength_; } // optional uint64 postscriptLength = 4; public static final int POSTSCRIPTLENGTH_FIELD_NUMBER = 4; private long postscriptLength_; /** * optional uint64 postscriptLength = 4; */ public boolean hasPostscriptLength() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 postscriptLength = 4; */ public long getPostscriptLength() { return postscriptLength_; } private void initFields() { postscript_ = org.apache.orc.OrcProto.PostScript.getDefaultInstance(); footer_ = org.apache.orc.OrcProto.Footer.getDefaultInstance(); fileLength_ = 0L; postscriptLength_ = 0L; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized != -1) return isInitialized == 1; memoizedIsInitialized = 1; return true; } public void writeTo(com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, postscript_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, footer_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, fileLength_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, postscriptLength_); } getUnknownFields().writeTo(output); } private int memoizedSerializedSize = -1; public int getSerializedSize() { int size = memoizedSerializedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(1, postscript_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeMessageSize(2, footer_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(3, fileLength_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += com.facebook.presto.hive.$internal.com.google.protobuf.CodedOutputStream .computeUInt64Size(4, postscriptLength_); } size += getUnknownFields().getSerializedSize(); memoizedSerializedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override protected java.lang.Object writeReplace() throws java.io.ObjectStreamException { return super.writeReplace(); } public static org.apache.orc.OrcProto.FileTail parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.FileTail parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.ByteString data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.FileTail parseFrom(byte[] data) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static org.apache.orc.OrcProto.FileTail parseFrom( byte[] data, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static org.apache.orc.OrcProto.FileTail parseFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.FileTail parseFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.FileTail parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return PARSER.parseDelimitedFrom(input); } public static org.apache.orc.OrcProto.FileTail parseDelimitedFrom( java.io.InputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseDelimitedFrom(input, extensionRegistry); } public static org.apache.orc.OrcProto.FileTail parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input) throws java.io.IOException { return PARSER.parseFrom(input); } public static org.apache.orc.OrcProto.FileTail parseFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return PARSER.parseFrom(input, extensionRegistry); } public static Builder newBuilder() { return Builder.create(); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder(org.apache.orc.OrcProto.FileTail prototype) { return newBuilder().mergeFrom(prototype); } public Builder toBuilder() { return newBuilder(this); } @java.lang.Override protected Builder newBuilderForType( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.FileTail} * *
     * The contents of the file tail that must be serialized.
     * This gets serialized as part of OrcSplit, also used by footer cache.
     * 
*/ public static final class Builder extends com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.Builder implements org.apache.orc.OrcProto.FileTailOrBuilder { public static final com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptor() { return org.apache.orc.OrcProto.internal_static_orc_proto_FileTail_descriptor; } protected com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable() { return org.apache.orc.OrcProto.internal_static_orc_proto_FileTail_fieldAccessorTable .ensureFieldAccessorsInitialized( org.apache.orc.OrcProto.FileTail.class, org.apache.orc.OrcProto.FileTail.Builder.class); } // Construct using org.apache.orc.OrcProto.FileTail.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.alwaysUseFieldBuilders) { getPostscriptFieldBuilder(); getFooterFieldBuilder(); } } private static Builder create() { return new Builder(); } public Builder clear() { super.clear(); if (postscriptBuilder_ == null) { postscript_ = org.apache.orc.OrcProto.PostScript.getDefaultInstance(); } else { postscriptBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (footerBuilder_ == null) { footer_ = org.apache.orc.OrcProto.Footer.getDefaultInstance(); } else { footerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); fileLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); postscriptLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); return this; } public Builder clone() { return create().mergeFrom(buildPartial()); } public com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return org.apache.orc.OrcProto.internal_static_orc_proto_FileTail_descriptor; } public org.apache.orc.OrcProto.FileTail getDefaultInstanceForType() { return org.apache.orc.OrcProto.FileTail.getDefaultInstance(); } public org.apache.orc.OrcProto.FileTail build() { org.apache.orc.OrcProto.FileTail result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public org.apache.orc.OrcProto.FileTail buildPartial() { org.apache.orc.OrcProto.FileTail result = new org.apache.orc.OrcProto.FileTail(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } if (postscriptBuilder_ == null) { result.postscript_ = postscript_; } else { result.postscript_ = postscriptBuilder_.build(); } if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (footerBuilder_ == null) { result.footer_ = footer_; } else { result.footer_ = footerBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } result.fileLength_ = fileLength_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.postscriptLength_ = postscriptLength_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder mergeFrom(com.facebook.presto.hive.$internal.com.google.protobuf.Message other) { if (other instanceof org.apache.orc.OrcProto.FileTail) { return mergeFrom((org.apache.orc.OrcProto.FileTail)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(org.apache.orc.OrcProto.FileTail other) { if (other == org.apache.orc.OrcProto.FileTail.getDefaultInstance()) return this; if (other.hasPostscript()) { mergePostscript(other.getPostscript()); } if (other.hasFooter()) { mergeFooter(other.getFooter()); } if (other.hasFileLength()) { setFileLength(other.getFileLength()); } if (other.hasPostscriptLength()) { setPostscriptLength(other.getPostscriptLength()); } this.mergeUnknownFields(other.getUnknownFields()); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( com.facebook.presto.hive.$internal.com.google.protobuf.CodedInputStream input, com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { org.apache.orc.OrcProto.FileTail parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (com.facebook.presto.hive.$internal.com.google.protobuf.InvalidProtocolBufferException e) { parsedMessage = (org.apache.orc.OrcProto.FileTail) e.getUnfinishedMessage(); throw e; } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; // optional .orc.proto.PostScript postscript = 1; private org.apache.orc.OrcProto.PostScript postscript_ = org.apache.orc.OrcProto.PostScript.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.PostScript, org.apache.orc.OrcProto.PostScript.Builder, org.apache.orc.OrcProto.PostScriptOrBuilder> postscriptBuilder_; /** * optional .orc.proto.PostScript postscript = 1; */ public boolean hasPostscript() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.PostScript postscript = 1; */ public org.apache.orc.OrcProto.PostScript getPostscript() { if (postscriptBuilder_ == null) { return postscript_; } else { return postscriptBuilder_.getMessage(); } } /** * optional .orc.proto.PostScript postscript = 1; */ public Builder setPostscript(org.apache.orc.OrcProto.PostScript value) { if (postscriptBuilder_ == null) { if (value == null) { throw new NullPointerException(); } postscript_ = value; onChanged(); } else { postscriptBuilder_.setMessage(value); } bitField0_ |= 0x00000001; return this; } /** * optional .orc.proto.PostScript postscript = 1; */ public Builder setPostscript( org.apache.orc.OrcProto.PostScript.Builder builderForValue) { if (postscriptBuilder_ == null) { postscript_ = builderForValue.build(); onChanged(); } else { postscriptBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000001; return this; } /** * optional .orc.proto.PostScript postscript = 1; */ public Builder mergePostscript(org.apache.orc.OrcProto.PostScript value) { if (postscriptBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && postscript_ != org.apache.orc.OrcProto.PostScript.getDefaultInstance()) { postscript_ = org.apache.orc.OrcProto.PostScript.newBuilder(postscript_).mergeFrom(value).buildPartial(); } else { postscript_ = value; } onChanged(); } else { postscriptBuilder_.mergeFrom(value); } bitField0_ |= 0x00000001; return this; } /** * optional .orc.proto.PostScript postscript = 1; */ public Builder clearPostscript() { if (postscriptBuilder_ == null) { postscript_ = org.apache.orc.OrcProto.PostScript.getDefaultInstance(); onChanged(); } else { postscriptBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .orc.proto.PostScript postscript = 1; */ public org.apache.orc.OrcProto.PostScript.Builder getPostscriptBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPostscriptFieldBuilder().getBuilder(); } /** * optional .orc.proto.PostScript postscript = 1; */ public org.apache.orc.OrcProto.PostScriptOrBuilder getPostscriptOrBuilder() { if (postscriptBuilder_ != null) { return postscriptBuilder_.getMessageOrBuilder(); } else { return postscript_; } } /** * optional .orc.proto.PostScript postscript = 1; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.PostScript, org.apache.orc.OrcProto.PostScript.Builder, org.apache.orc.OrcProto.PostScriptOrBuilder> getPostscriptFieldBuilder() { if (postscriptBuilder_ == null) { postscriptBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.PostScript, org.apache.orc.OrcProto.PostScript.Builder, org.apache.orc.OrcProto.PostScriptOrBuilder>( postscript_, getParentForChildren(), isClean()); postscript_ = null; } return postscriptBuilder_; } // optional .orc.proto.Footer footer = 2; private org.apache.orc.OrcProto.Footer footer_ = org.apache.orc.OrcProto.Footer.getDefaultInstance(); private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.Footer, org.apache.orc.OrcProto.Footer.Builder, org.apache.orc.OrcProto.FooterOrBuilder> footerBuilder_; /** * optional .orc.proto.Footer footer = 2; */ public boolean hasFooter() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.Footer footer = 2; */ public org.apache.orc.OrcProto.Footer getFooter() { if (footerBuilder_ == null) { return footer_; } else { return footerBuilder_.getMessage(); } } /** * optional .orc.proto.Footer footer = 2; */ public Builder setFooter(org.apache.orc.OrcProto.Footer value) { if (footerBuilder_ == null) { if (value == null) { throw new NullPointerException(); } footer_ = value; onChanged(); } else { footerBuilder_.setMessage(value); } bitField0_ |= 0x00000002; return this; } /** * optional .orc.proto.Footer footer = 2; */ public Builder setFooter( org.apache.orc.OrcProto.Footer.Builder builderForValue) { if (footerBuilder_ == null) { footer_ = builderForValue.build(); onChanged(); } else { footerBuilder_.setMessage(builderForValue.build()); } bitField0_ |= 0x00000002; return this; } /** * optional .orc.proto.Footer footer = 2; */ public Builder mergeFooter(org.apache.orc.OrcProto.Footer value) { if (footerBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && footer_ != org.apache.orc.OrcProto.Footer.getDefaultInstance()) { footer_ = org.apache.orc.OrcProto.Footer.newBuilder(footer_).mergeFrom(value).buildPartial(); } else { footer_ = value; } onChanged(); } else { footerBuilder_.mergeFrom(value); } bitField0_ |= 0x00000002; return this; } /** * optional .orc.proto.Footer footer = 2; */ public Builder clearFooter() { if (footerBuilder_ == null) { footer_ = org.apache.orc.OrcProto.Footer.getDefaultInstance(); onChanged(); } else { footerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .orc.proto.Footer footer = 2; */ public org.apache.orc.OrcProto.Footer.Builder getFooterBuilder() { bitField0_ |= 0x00000002; onChanged(); return getFooterFieldBuilder().getBuilder(); } /** * optional .orc.proto.Footer footer = 2; */ public org.apache.orc.OrcProto.FooterOrBuilder getFooterOrBuilder() { if (footerBuilder_ != null) { return footerBuilder_.getMessageOrBuilder(); } else { return footer_; } } /** * optional .orc.proto.Footer footer = 2; */ private com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.Footer, org.apache.orc.OrcProto.Footer.Builder, org.apache.orc.OrcProto.FooterOrBuilder> getFooterFieldBuilder() { if (footerBuilder_ == null) { footerBuilder_ = new com.facebook.presto.hive.$internal.com.google.protobuf.SingleFieldBuilder< org.apache.orc.OrcProto.Footer, org.apache.orc.OrcProto.Footer.Builder, org.apache.orc.OrcProto.FooterOrBuilder>( footer_, getParentForChildren(), isClean()); footer_ = null; } return footerBuilder_; } // optional uint64 fileLength = 3; private long fileLength_ ; /** * optional uint64 fileLength = 3; */ public boolean hasFileLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 fileLength = 3; */ public long getFileLength() { return fileLength_; } /** * optional uint64 fileLength = 3; */ public Builder setFileLength(long value) { bitField0_ |= 0x00000004; fileLength_ = value; onChanged(); return this; } /** * optional uint64 fileLength = 3; */ public Builder clearFileLength() { bitField0_ = (bitField0_ & ~0x00000004); fileLength_ = 0L; onChanged(); return this; } // optional uint64 postscriptLength = 4; private long postscriptLength_ ; /** * optional uint64 postscriptLength = 4; */ public boolean hasPostscriptLength() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 postscriptLength = 4; */ public long getPostscriptLength() { return postscriptLength_; } /** * optional uint64 postscriptLength = 4; */ public Builder setPostscriptLength(long value) { bitField0_ |= 0x00000008; postscriptLength_ = value; onChanged(); return this; } /** * optional uint64 postscriptLength = 4; */ public Builder clearPostscriptLength() { bitField0_ = (bitField0_ & ~0x00000008); postscriptLength_ = 0L; onChanged(); return this; } // @@protoc_insertion_point(builder_scope:orc.proto.FileTail) } static { defaultInstance = new FileTail(true); defaultInstance.initFields(); } // @@protoc_insertion_point(class_scope:orc.proto.FileTail) } private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_IntegerStatistics_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_IntegerStatistics_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_DoubleStatistics_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_DoubleStatistics_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_StringStatistics_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_StringStatistics_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_BucketStatistics_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_BucketStatistics_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_DecimalStatistics_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_DecimalStatistics_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_DateStatistics_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_DateStatistics_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_TimestampStatistics_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_TimestampStatistics_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_BinaryStatistics_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_BinaryStatistics_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_ColumnStatistics_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_ColumnStatistics_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_RowIndexEntry_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_RowIndexEntry_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_RowIndex_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_RowIndex_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_BloomFilter_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_BloomFilter_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_BloomFilterIndex_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_BloomFilterIndex_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_Stream_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_Stream_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_ColumnEncoding_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_ColumnEncoding_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_StripeFooter_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_StripeFooter_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_Type_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_Type_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_StripeInformation_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_StripeInformation_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_UserMetadataItem_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_UserMetadataItem_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_StripeStatistics_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_StripeStatistics_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_Metadata_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_Metadata_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_Footer_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_Footer_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_PostScript_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_PostScript_fieldAccessorTable; private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.Descriptor internal_static_orc_proto_FileTail_descriptor; private static com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable internal_static_orc_proto_FileTail_fieldAccessorTable; public static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\017orc_proto.proto\022\torc.proto\"B\n\021IntegerS" + "tatistics\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\020DoubleStatistics\022\017\n\007" + "minimum\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\007minimum\030\001 \001(\t" + "\022\017\n\007maximum\030\002 \001(\t\022\013\n\003sum\030\003 \001(\022\"%\n\020Bucket" + "Statistics\022\021\n\005count\030\001 \003(\004B\002\020\001\"B\n\021Decimal" + "Statistics\022\017\n\007minimum\030\001 \001(\t\022\017\n\007maximum\030\002" + " \001(\t\022\013\n\003sum\030\003 \001(\t\"2\n\016DateStatistics\022\017\n\007m" + "inimum\030\001 \001(\021\022\017\n\007maximum\030\002 \001(\021\"_\n\023Timesta", "mpStatistics\022\017\n\007minimum\030\001 \001(\022\022\017\n\007maximum" + "\030\002 \001(\022\022\022\n\nminimumUtc\030\003 \001(\022\022\022\n\nmaximumUtc" + "\030\004 \001(\022\"\037\n\020BinaryStatistics\022\013\n\003sum\030\001 \001(\022\"" + "\365\003\n\020ColumnStatistics\022\026\n\016numberOfValues\030\001" + " \001(\004\0223\n\rintStatistics\030\002 \001(\0132\034.orc.proto." + "IntegerStatistics\0225\n\020doubleStatistics\030\003 " + "\001(\0132\033.orc.proto.DoubleStatistics\0225\n\020stri" + "ngStatistics\030\004 \001(\0132\033.orc.proto.StringSta" + "tistics\0225\n\020bucketStatistics\030\005 \001(\0132\033.orc." + "proto.BucketStatistics\0227\n\021decimalStatist", "ics\030\006 \001(\0132\034.orc.proto.DecimalStatistics\022" + "1\n\016dateStatistics\030\007 \001(\0132\031.orc.proto.Date" + "Statistics\0225\n\020binaryStatistics\030\010 \001(\0132\033.o" + "rc.proto.BinaryStatistics\022;\n\023timestampSt" + "atistics\030\t \001(\0132\036.orc.proto.TimestampStat" + "istics\022\017\n\007hasNull\030\n \001(\010\"W\n\rRowIndexEntry" + "\022\025\n\tpositions\030\001 \003(\004B\002\020\001\022/\n\nstatistics\030\002 " + "\001(\0132\033.orc.proto.ColumnStatistics\"3\n\010RowI" + "ndex\022\'\n\005entry\030\001 \003(\0132\030.orc.proto.RowIndex" + "Entry\"K\n\013BloomFilter\022\030\n\020numHashFunctions", "\030\001 \001(\r\022\016\n\006bitset\030\002 \003(\006\022\022\n\nutf8bitset\030\003 \001" + "(\014\"?\n\020BloomFilterIndex\022+\n\013bloomFilter\030\001 " + "\003(\0132\026.orc.proto.BloomFilter\"\354\001\n\006Stream\022$" + "\n\004kind\030\001 \001(\0162\026.orc.proto.Stream.Kind\022\016\n\006" + "column\030\002 \001(\r\022\016\n\006length\030\003 \001(\004\"\233\001\n\004Kind\022\013\n" + "\007PRESENT\020\000\022\010\n\004DATA\020\001\022\n\n\006LENGTH\020\002\022\023\n\017DICT" + "IONARY_DATA\020\003\022\024\n\020DICTIONARY_COUNT\020\004\022\r\n\tS" + "ECONDARY\020\005\022\r\n\tROW_INDEX\020\006\022\020\n\014BLOOM_FILTE" + "R\020\007\022\025\n\021BLOOM_FILTER_UTF8\020\010\"\263\001\n\016ColumnEnc" + "oding\022,\n\004kind\030\001 \001(\0162\036.orc.proto.ColumnEn", "coding.Kind\022\026\n\016dictionarySize\030\002 \001(\r\022\025\n\rb" + "loomEncoding\030\003 \001(\r\"D\n\004Kind\022\n\n\006DIRECT\020\000\022\016" + "\n\nDICTIONARY\020\001\022\r\n\tDIRECT_V2\020\002\022\021\n\rDICTION" + "ARY_V2\020\003\"v\n\014StripeFooter\022\"\n\007streams\030\001 \003(" + "\0132\021.orc.proto.Stream\022*\n\007columns\030\002 \003(\0132\031." + "orc.proto.ColumnEncoding\022\026\n\016writerTimezo" + "ne\030\003 \001(\t\"\341\002\n\004Type\022\"\n\004kind\030\001 \001(\0162\024.orc.pr" + "oto.Type.Kind\022\024\n\010subtypes\030\002 \003(\rB\002\020\001\022\022\n\nf" + "ieldNames\030\003 \003(\t\022\025\n\rmaximumLength\030\004 \001(\r\022\021" + "\n\tprecision\030\005 \001(\r\022\r\n\005scale\030\006 \001(\r\"\321\001\n\004Kin", "d\022\013\n\007BOOLEAN\020\000\022\010\n\004BYTE\020\001\022\t\n\005SHORT\020\002\022\007\n\003I" + "NT\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\004" + "LIST\020\n\022\007\n\003MAP\020\013\022\n\n\006STRUCT\020\014\022\t\n\005UNION\020\r\022\013" + "\n\007DECIMAL\020\016\022\010\n\004DATE\020\017\022\013\n\007VARCHAR\020\020\022\010\n\004CH" + "AR\020\021\"x\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\"/\n\020UserMetadataItem\022\014\n\004name\030\001 \001(\t" + "\022\r\n\005value\030\002 \001(\014\"A\n\020StripeStatistics\022-\n\010c", "olStats\030\001 \003(\0132\033.orc.proto.ColumnStatisti" + "cs\"<\n\010Metadata\0220\n\013stripeStats\030\001 \003(\0132\033.or" + "c.proto.StripeStatistics\"\222\002\n\006Footer\022\024\n\014h" + "eaderLength\030\001 \001(\004\022\025\n\rcontentLength\030\002 \001(\004" + "\022-\n\007stripes\030\003 \003(\0132\034.orc.proto.StripeInfo" + "rmation\022\036\n\005types\030\004 \003(\0132\017.orc.proto.Type\022" + "-\n\010metadata\030\005 \003(\0132\033.orc.proto.UserMetada" + "taItem\022\024\n\014numberOfRows\030\006 \001(\004\022/\n\nstatisti" + "cs\030\007 \003(\0132\033.orc.proto.ColumnStatistics\022\026\n" + "\016rowIndexStride\030\010 \001(\r\"\305\001\n\nPostScript\022\024\n\014", "footerLength\030\001 \001(\004\022/\n\013compression\030\002 \001(\0162" + "\032.orc.proto.CompressionKind\022\034\n\024compressi" + "onBlockSize\030\003 \001(\004\022\023\n\007version\030\004 \003(\rB\002\020\001\022\026" + "\n\016metadataLength\030\005 \001(\004\022\025\n\rwriterVersion\030" + "\006 \001(\r\022\016\n\005magic\030\300> \001(\t\"\206\001\n\010FileTail\022)\n\npo" + "stscript\030\001 \001(\0132\025.orc.proto.PostScript\022!\n" + "\006footer\030\002 \001(\0132\021.orc.proto.Footer\022\022\n\nfile" + "Length\030\003 \001(\004\022\030\n\020postscriptLength\030\004 \001(\004*M" + "\n\017CompressionKind\022\010\n\004NONE\020\000\022\010\n\004ZLIB\020\001\022\n\n" + "\006SNAPPY\020\002\022\007\n\003LZO\020\003\022\007\n\003LZ4\020\004\022\010\n\004ZSTD\020\005B\020\n", "\016org.apache.orc" }; com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner() { public com.facebook.presto.hive.$internal.com.google.protobuf.ExtensionRegistry assignDescriptors( com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor root) { descriptor = root; internal_static_orc_proto_IntegerStatistics_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_orc_proto_IntegerStatistics_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_IntegerStatistics_descriptor, new java.lang.String[] { "Minimum", "Maximum", "Sum", }); internal_static_orc_proto_DoubleStatistics_descriptor = getDescriptor().getMessageTypes().get(1); internal_static_orc_proto_DoubleStatistics_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_DoubleStatistics_descriptor, new java.lang.String[] { "Minimum", "Maximum", "Sum", }); internal_static_orc_proto_StringStatistics_descriptor = getDescriptor().getMessageTypes().get(2); internal_static_orc_proto_StringStatistics_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_StringStatistics_descriptor, new java.lang.String[] { "Minimum", "Maximum", "Sum", }); internal_static_orc_proto_BucketStatistics_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_orc_proto_BucketStatistics_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_BucketStatistics_descriptor, new java.lang.String[] { "Count", }); internal_static_orc_proto_DecimalStatistics_descriptor = getDescriptor().getMessageTypes().get(4); internal_static_orc_proto_DecimalStatistics_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_DecimalStatistics_descriptor, new java.lang.String[] { "Minimum", "Maximum", "Sum", }); internal_static_orc_proto_DateStatistics_descriptor = getDescriptor().getMessageTypes().get(5); internal_static_orc_proto_DateStatistics_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_DateStatistics_descriptor, new java.lang.String[] { "Minimum", "Maximum", }); internal_static_orc_proto_TimestampStatistics_descriptor = getDescriptor().getMessageTypes().get(6); internal_static_orc_proto_TimestampStatistics_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_TimestampStatistics_descriptor, new java.lang.String[] { "Minimum", "Maximum", "MinimumUtc", "MaximumUtc", }); internal_static_orc_proto_BinaryStatistics_descriptor = getDescriptor().getMessageTypes().get(7); internal_static_orc_proto_BinaryStatistics_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_BinaryStatistics_descriptor, new java.lang.String[] { "Sum", }); internal_static_orc_proto_ColumnStatistics_descriptor = getDescriptor().getMessageTypes().get(8); internal_static_orc_proto_ColumnStatistics_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_ColumnStatistics_descriptor, new java.lang.String[] { "NumberOfValues", "IntStatistics", "DoubleStatistics", "StringStatistics", "BucketStatistics", "DecimalStatistics", "DateStatistics", "BinaryStatistics", "TimestampStatistics", "HasNull", }); internal_static_orc_proto_RowIndexEntry_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_orc_proto_RowIndexEntry_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_RowIndexEntry_descriptor, new java.lang.String[] { "Positions", "Statistics", }); internal_static_orc_proto_RowIndex_descriptor = getDescriptor().getMessageTypes().get(10); internal_static_orc_proto_RowIndex_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_RowIndex_descriptor, new java.lang.String[] { "Entry", }); internal_static_orc_proto_BloomFilter_descriptor = getDescriptor().getMessageTypes().get(11); internal_static_orc_proto_BloomFilter_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_BloomFilter_descriptor, new java.lang.String[] { "NumHashFunctions", "Bitset", "Utf8Bitset", }); internal_static_orc_proto_BloomFilterIndex_descriptor = getDescriptor().getMessageTypes().get(12); internal_static_orc_proto_BloomFilterIndex_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_BloomFilterIndex_descriptor, new java.lang.String[] { "BloomFilter", }); internal_static_orc_proto_Stream_descriptor = getDescriptor().getMessageTypes().get(13); internal_static_orc_proto_Stream_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_Stream_descriptor, new java.lang.String[] { "Kind", "Column", "Length", }); internal_static_orc_proto_ColumnEncoding_descriptor = getDescriptor().getMessageTypes().get(14); internal_static_orc_proto_ColumnEncoding_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_ColumnEncoding_descriptor, new java.lang.String[] { "Kind", "DictionarySize", "BloomEncoding", }); internal_static_orc_proto_StripeFooter_descriptor = getDescriptor().getMessageTypes().get(15); internal_static_orc_proto_StripeFooter_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_StripeFooter_descriptor, new java.lang.String[] { "Streams", "Columns", "WriterTimezone", }); internal_static_orc_proto_Type_descriptor = getDescriptor().getMessageTypes().get(16); internal_static_orc_proto_Type_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_Type_descriptor, new java.lang.String[] { "Kind", "Subtypes", "FieldNames", "MaximumLength", "Precision", "Scale", }); internal_static_orc_proto_StripeInformation_descriptor = getDescriptor().getMessageTypes().get(17); internal_static_orc_proto_StripeInformation_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_StripeInformation_descriptor, new java.lang.String[] { "Offset", "IndexLength", "DataLength", "FooterLength", "NumberOfRows", }); internal_static_orc_proto_UserMetadataItem_descriptor = getDescriptor().getMessageTypes().get(18); internal_static_orc_proto_UserMetadataItem_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_UserMetadataItem_descriptor, new java.lang.String[] { "Name", "Value", }); internal_static_orc_proto_StripeStatistics_descriptor = getDescriptor().getMessageTypes().get(19); internal_static_orc_proto_StripeStatistics_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_StripeStatistics_descriptor, new java.lang.String[] { "ColStats", }); internal_static_orc_proto_Metadata_descriptor = getDescriptor().getMessageTypes().get(20); internal_static_orc_proto_Metadata_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_Metadata_descriptor, new java.lang.String[] { "StripeStats", }); internal_static_orc_proto_Footer_descriptor = getDescriptor().getMessageTypes().get(21); internal_static_orc_proto_Footer_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_Footer_descriptor, new java.lang.String[] { "HeaderLength", "ContentLength", "Stripes", "Types", "Metadata", "NumberOfRows", "Statistics", "RowIndexStride", }); internal_static_orc_proto_PostScript_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_orc_proto_PostScript_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_PostScript_descriptor, new java.lang.String[] { "FooterLength", "Compression", "CompressionBlockSize", "Version", "MetadataLength", "WriterVersion", "Magic", }); internal_static_orc_proto_FileTail_descriptor = getDescriptor().getMessageTypes().get(23); internal_static_orc_proto_FileTail_fieldAccessorTable = new com.facebook.presto.hive.$internal.com.google.protobuf.GeneratedMessage.FieldAccessorTable( internal_static_orc_proto_FileTail_descriptor, new java.lang.String[] { "Postscript", "Footer", "FileLength", "PostscriptLength", }); return null; } }; com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new com.facebook.presto.hive.$internal.com.google.protobuf.Descriptors.FileDescriptor[] { }, assigner); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy