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

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

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

package io.prestosql.orc.proto;

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

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

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

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

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

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

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

    public static CompressionKind valueOf(
        io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor desc) {
      if (desc.getType() != getDescriptor()) {
        throw new java.lang.IllegalArgumentException(
          "EnumValueDescriptor is not for this type.");
      }
      return VALUES[desc.getIndex()];
    }

    private final int value;

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

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

  public interface IntegerStatisticsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:orc.proto.IntegerStatistics)
      io.prestosql.orc.protobuf.MessageOrBuilder {

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

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

    /**
     * optional sint64 sum = 3;
     */
    boolean hasSum();
    /**
     * optional sint64 sum = 3;
     */
    long getSum();
  }
  /**
   * Protobuf type {@code orc.proto.IntegerStatistics}
   */
  public  static final class IntegerStatistics extends
      io.prestosql.orc.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:orc.proto.IntegerStatistics)
      IntegerStatisticsOrBuilder {
    // Use IntegerStatistics.newBuilder() to construct.
    private IntegerStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private IntegerStatistics() {
      minimum_ = 0L;
      maximum_ = 0L;
      sum_ = 0L;
    }

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

    protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_IntegerStatistics_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.prestosql.orc.proto.OrcProto.IntegerStatistics.class, io.prestosql.orc.proto.OrcProto.IntegerStatistics.Builder.class);
    }

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

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

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

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeSInt64(1, minimum_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeSInt64(2, maximum_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeSInt64(3, sum_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += io.prestosql.orc.protobuf.CodedOutputStream
          .computeSInt64Size(1, minimum_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += io.prestosql.orc.protobuf.CodedOutputStream
          .computeSInt64Size(2, maximum_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += io.prestosql.orc.protobuf.CodedOutputStream
          .computeSInt64Size(3, sum_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.prestosql.orc.proto.OrcProto.IntegerStatistics)) {
        return super.equals(obj);
      }
      io.prestosql.orc.proto.OrcProto.IntegerStatistics other = (io.prestosql.orc.proto.OrcProto.IntegerStatistics) obj;

      boolean result = true;
      result = result && (hasMinimum() == other.hasMinimum());
      if (hasMinimum()) {
        result = result && (getMinimum()
            == other.getMinimum());
      }
      result = result && (hasMaximum() == other.hasMaximum());
      if (hasMaximum()) {
        result = result && (getMaximum()
            == other.getMaximum());
      }
      result = result && (hasSum() == other.hasSum());
      if (hasSum()) {
        result = result && (getSum()
            == other.getSum());
      }
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasMinimum()) {
        hash = (37 * hash) + MINIMUM_FIELD_NUMBER;
        hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong(
            getMinimum());
      }
      if (hasMaximum()) {
        hash = (37 * hash) + MAXIMUM_FIELD_NUMBER;
        hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong(
            getMaximum());
      }
      if (hasSum()) {
        hash = (37 * hash) + SUM_FIELD_NUMBER;
        hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong(
            getSum());
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics parseFrom(
        io.prestosql.orc.protobuf.ByteString data)
        throws io.prestosql.orc.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics parseFrom(
        io.prestosql.orc.protobuf.ByteString data,
        io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
        throws io.prestosql.orc.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics parseFrom(byte[] data)
        throws io.prestosql.orc.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics parseFrom(
        byte[] data,
        io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
        throws io.prestosql.orc.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics parseFrom(
        java.io.InputStream input,
        io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics parseDelimitedFrom(
        java.io.InputStream input,
        io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics parseFrom(
        io.prestosql.orc.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics parseFrom(
        io.prestosql.orc.protobuf.CodedInputStream input,
        io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.IntegerStatistics prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code orc.proto.IntegerStatistics}
     */
    public static final class Builder extends
        io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:orc.proto.IntegerStatistics)
        io.prestosql.orc.proto.OrcProto.IntegerStatisticsOrBuilder {
      public static final io.prestosql.orc.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_IntegerStatistics_descriptor;
      }

      protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_IntegerStatistics_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.prestosql.orc.proto.OrcProto.IntegerStatistics.class, io.prestosql.orc.proto.OrcProto.IntegerStatistics.Builder.class);
      }

      // Construct using io.prestosql.orc.proto.OrcProto.IntegerStatistics.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (io.prestosql.orc.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        minimum_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000001);
        maximum_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000002);
        sum_ = 0L;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public io.prestosql.orc.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_IntegerStatistics_descriptor;
      }

      public io.prestosql.orc.proto.OrcProto.IntegerStatistics getDefaultInstanceForType() {
        return io.prestosql.orc.proto.OrcProto.IntegerStatistics.getDefaultInstance();
      }

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

      public io.prestosql.orc.proto.OrcProto.IntegerStatistics buildPartial() {
        io.prestosql.orc.proto.OrcProto.IntegerStatistics result = new io.prestosql.orc.proto.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 clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) {
        if (other instanceof io.prestosql.orc.proto.OrcProto.IntegerStatistics) {
          return mergeFrom((io.prestosql.orc.proto.OrcProto.IntegerStatistics)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.IntegerStatistics other) {
        if (other == io.prestosql.orc.proto.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.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          io.prestosql.orc.protobuf.CodedInputStream input,
          io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        io.prestosql.orc.proto.OrcProto.IntegerStatistics parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (io.prestosql.orc.proto.OrcProto.IntegerStatistics) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

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

      private long sum_ ;
      /**
       * optional sint64 sum = 3;
       */
      public boolean hasSum() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * optional sint64 sum = 3;
       */
      public long getSum() {
        return sum_;
      }
      /**
       * optional sint64 sum = 3;
       */
      public Builder setSum(long value) {
        bitField0_ |= 0x00000004;
        sum_ = value;
        onChanged();
        return this;
      }
      /**
       * optional sint64 sum = 3;
       */
      public Builder clearSum() {
        bitField0_ = (bitField0_ & ~0x00000004);
        sum_ = 0L;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


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

    // @@protoc_insertion_point(class_scope:orc.proto.IntegerStatistics)
    private static final io.prestosql.orc.proto.OrcProto.IntegerStatistics DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.IntegerStatistics();
    }

    public static io.prestosql.orc.proto.OrcProto.IntegerStatistics getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser
        PARSER = new io.prestosql.orc.protobuf.AbstractParser() {
      public IntegerStatistics parsePartialFrom(
          io.prestosql.orc.protobuf.CodedInputStream input,
          io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
          throws io.prestosql.orc.protobuf.InvalidProtocolBufferException {
          return new IntegerStatistics(input, extensionRegistry);
      }
    };

    public static io.prestosql.orc.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public io.prestosql.orc.protobuf.Parser getParserForType() {
      return PARSER;
    }

    public io.prestosql.orc.proto.OrcProto.IntegerStatistics getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface DoubleStatisticsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:orc.proto.DoubleStatistics)
      io.prestosql.orc.protobuf.MessageOrBuilder {

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

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

    /**
     * optional double sum = 3;
     */
    boolean hasSum();
    /**
     * optional double sum = 3;
     */
    double getSum();
  }
  /**
   * Protobuf type {@code orc.proto.DoubleStatistics}
   */
  public  static final class DoubleStatistics extends
      io.prestosql.orc.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:orc.proto.DoubleStatistics)
      DoubleStatisticsOrBuilder {
    // Use DoubleStatistics.newBuilder() to construct.
    private DoubleStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private DoubleStatistics() {
      minimum_ = 0D;
      maximum_ = 0D;
      sum_ = 0D;
    }

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

    protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DoubleStatistics_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.prestosql.orc.proto.OrcProto.DoubleStatistics.class, io.prestosql.orc.proto.OrcProto.DoubleStatistics.Builder.class);
    }

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

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

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

    private byte memoizedIsInitialized = -1;
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        output.writeDouble(1, minimum_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        output.writeDouble(2, maximum_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        output.writeDouble(3, sum_);
      }
      unknownFields.writeTo(output);
    }

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

      size = 0;
      if (((bitField0_ & 0x00000001) == 0x00000001)) {
        size += io.prestosql.orc.protobuf.CodedOutputStream
          .computeDoubleSize(1, minimum_);
      }
      if (((bitField0_ & 0x00000002) == 0x00000002)) {
        size += io.prestosql.orc.protobuf.CodedOutputStream
          .computeDoubleSize(2, maximum_);
      }
      if (((bitField0_ & 0x00000004) == 0x00000004)) {
        size += io.prestosql.orc.protobuf.CodedOutputStream
          .computeDoubleSize(3, sum_);
      }
      size += unknownFields.getSerializedSize();
      memoizedSize = size;
      return size;
    }

    private static final long serialVersionUID = 0L;
    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.prestosql.orc.proto.OrcProto.DoubleStatistics)) {
        return super.equals(obj);
      }
      io.prestosql.orc.proto.OrcProto.DoubleStatistics other = (io.prestosql.orc.proto.OrcProto.DoubleStatistics) obj;

      boolean result = true;
      result = result && (hasMinimum() == other.hasMinimum());
      if (hasMinimum()) {
        result = result && (
            java.lang.Double.doubleToLongBits(getMinimum())
            == java.lang.Double.doubleToLongBits(
                other.getMinimum()));
      }
      result = result && (hasMaximum() == other.hasMaximum());
      if (hasMaximum()) {
        result = result && (
            java.lang.Double.doubleToLongBits(getMaximum())
            == java.lang.Double.doubleToLongBits(
                other.getMaximum()));
      }
      result = result && (hasSum() == other.hasSum());
      if (hasSum()) {
        result = result && (
            java.lang.Double.doubleToLongBits(getSum())
            == java.lang.Double.doubleToLongBits(
                other.getSum()));
      }
      result = result && unknownFields.equals(other.unknownFields);
      return result;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasMinimum()) {
        hash = (37 * hash) + MINIMUM_FIELD_NUMBER;
        hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong(
            java.lang.Double.doubleToLongBits(getMinimum()));
      }
      if (hasMaximum()) {
        hash = (37 * hash) + MAXIMUM_FIELD_NUMBER;
        hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong(
            java.lang.Double.doubleToLongBits(getMaximum()));
      }
      if (hasSum()) {
        hash = (37 * hash) + SUM_FIELD_NUMBER;
        hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong(
            java.lang.Double.doubleToLongBits(getSum()));
      }
      hash = (29 * hash) + unknownFields.hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics parseFrom(
        io.prestosql.orc.protobuf.ByteString data)
        throws io.prestosql.orc.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics parseFrom(
        io.prestosql.orc.protobuf.ByteString data,
        io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
        throws io.prestosql.orc.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics parseFrom(byte[] data)
        throws io.prestosql.orc.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics parseFrom(
        byte[] data,
        io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
        throws io.prestosql.orc.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics parseFrom(
        java.io.InputStream input,
        io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }
    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics parseDelimitedFrom(
        java.io.InputStream input,
        io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics parseFrom(
        io.prestosql.orc.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics parseFrom(
        io.prestosql.orc.protobuf.CodedInputStream input,
        io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return io.prestosql.orc.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.DoubleStatistics prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code orc.proto.DoubleStatistics}
     */
    public static final class Builder extends
        io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:orc.proto.DoubleStatistics)
        io.prestosql.orc.proto.OrcProto.DoubleStatisticsOrBuilder {
      public static final io.prestosql.orc.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DoubleStatistics_descriptor;
      }

      protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DoubleStatistics_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.prestosql.orc.proto.OrcProto.DoubleStatistics.class, io.prestosql.orc.proto.OrcProto.DoubleStatistics.Builder.class);
      }

      // Construct using io.prestosql.orc.proto.OrcProto.DoubleStatistics.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (io.prestosql.orc.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
        }
      }
      public Builder clear() {
        super.clear();
        minimum_ = 0D;
        bitField0_ = (bitField0_ & ~0x00000001);
        maximum_ = 0D;
        bitField0_ = (bitField0_ & ~0x00000002);
        sum_ = 0D;
        bitField0_ = (bitField0_ & ~0x00000004);
        return this;
      }

      public io.prestosql.orc.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DoubleStatistics_descriptor;
      }

      public io.prestosql.orc.proto.OrcProto.DoubleStatistics getDefaultInstanceForType() {
        return io.prestosql.orc.proto.OrcProto.DoubleStatistics.getDefaultInstance();
      }

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

      public io.prestosql.orc.proto.OrcProto.DoubleStatistics buildPartial() {
        io.prestosql.orc.proto.OrcProto.DoubleStatistics result = new io.prestosql.orc.proto.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 clone() {
        return (Builder) super.clone();
      }
      public Builder setField(
          io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.setField(field, value);
      }
      public Builder clearField(
          io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) {
        return (Builder) super.clearField(field);
      }
      public Builder clearOneof(
          io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) {
        return (Builder) super.clearOneof(oneof);
      }
      public Builder setRepeatedField(
          io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field,
          int index, Object value) {
        return (Builder) super.setRepeatedField(field, index, value);
      }
      public Builder addRepeatedField(
          io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field,
          Object value) {
        return (Builder) super.addRepeatedField(field, value);
      }
      public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) {
        if (other instanceof io.prestosql.orc.proto.OrcProto.DoubleStatistics) {
          return mergeFrom((io.prestosql.orc.proto.OrcProto.DoubleStatistics)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.DoubleStatistics other) {
        if (other == io.prestosql.orc.proto.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.unknownFields);
        onChanged();
        return this;
      }

      public final boolean isInitialized() {
        return true;
      }

      public Builder mergeFrom(
          io.prestosql.orc.protobuf.CodedInputStream input,
          io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        io.prestosql.orc.proto.OrcProto.DoubleStatistics parsedMessage = null;
        try {
          parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry);
        } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) {
          parsedMessage = (io.prestosql.orc.proto.OrcProto.DoubleStatistics) e.getUnfinishedMessage();
          throw e.unwrapIOException();
        } finally {
          if (parsedMessage != null) {
            mergeFrom(parsedMessage);
          }
        }
        return this;
      }
      private int bitField0_;

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

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

      private double sum_ ;
      /**
       * optional double sum = 3;
       */
      public boolean hasSum() {
        return ((bitField0_ & 0x00000004) == 0x00000004);
      }
      /**
       * optional double sum = 3;
       */
      public double getSum() {
        return sum_;
      }
      /**
       * optional double sum = 3;
       */
      public Builder setSum(double value) {
        bitField0_ |= 0x00000004;
        sum_ = value;
        onChanged();
        return this;
      }
      /**
       * optional double sum = 3;
       */
      public Builder clearSum() {
        bitField0_ = (bitField0_ & ~0x00000004);
        sum_ = 0D;
        onChanged();
        return this;
      }
      public final Builder setUnknownFields(
          final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      public final Builder mergeUnknownFields(
          final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


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

    // @@protoc_insertion_point(class_scope:orc.proto.DoubleStatistics)
    private static final io.prestosql.orc.proto.OrcProto.DoubleStatistics DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.DoubleStatistics();
    }

    public static io.prestosql.orc.proto.OrcProto.DoubleStatistics getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser
        PARSER = new io.prestosql.orc.protobuf.AbstractParser() {
      public DoubleStatistics parsePartialFrom(
          io.prestosql.orc.protobuf.CodedInputStream input,
          io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry)
          throws io.prestosql.orc.protobuf.InvalidProtocolBufferException {
          return new DoubleStatistics(input, extensionRegistry);
      }
    };

    public static io.prestosql.orc.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public io.prestosql.orc.protobuf.Parser getParserForType() {
      return PARSER;
    }

    public io.prestosql.orc.proto.OrcProto.DoubleStatistics getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface StringStatisticsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:orc.proto.StringStatistics)
      io.prestosql.orc.protobuf.MessageOrBuilder {

    /**
     * optional string minimum = 1;
     */
    boolean hasMinimum();
    /**
     * optional string minimum = 1;
     */
    java.lang.String getMinimum();
    /**
     * optional string minimum = 1;
     */
    io.prestosql.orc.protobuf.ByteString
        getMinimumBytes();

    /**
     * optional string maximum = 2;
     */
    boolean hasMaximum();
    /**
     * optional string maximum = 2;
     */
    java.lang.String getMaximum();
    /**
     * optional string maximum = 2;
     */
    io.prestosql.orc.protobuf.ByteString
        getMaximumBytes();

    /**
     * 
     * sum will store the total length of all strings in a stripe
     * 
* * optional sint64 sum = 3; */ boolean hasSum(); /** *
     * sum will store the total length of all strings in a stripe
     * 
* * optional sint64 sum = 3; */ long getSum(); /** *
     * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
     * bound instead of the minimum or maximum values above.
     * 
* * optional string lowerBound = 4; */ boolean hasLowerBound(); /** *
     * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
     * bound instead of the minimum or maximum values above.
     * 
* * optional string lowerBound = 4; */ java.lang.String getLowerBound(); /** *
     * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
     * bound instead of the minimum or maximum values above.
     * 
* * optional string lowerBound = 4; */ io.prestosql.orc.protobuf.ByteString getLowerBoundBytes(); /** * optional string upperBound = 5; */ boolean hasUpperBound(); /** * optional string upperBound = 5; */ java.lang.String getUpperBound(); /** * optional string upperBound = 5; */ io.prestosql.orc.protobuf.ByteString getUpperBoundBytes(); } /** * Protobuf type {@code orc.proto.StringStatistics} */ public static final class StringStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.StringStatistics) StringStatisticsOrBuilder { // Use StringStatistics.newBuilder() to construct. private StringStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StringStatistics() { minimum_ = ""; maximum_ = ""; sum_ = 0L; lowerBound_ = ""; upperBound_ = ""; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StringStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; minimum_ = bs; break; } case 18: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; maximum_ = bs; break; } case 24: { bitField0_ |= 0x00000004; sum_ = input.readSInt64(); break; } case 34: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000008; lowerBound_ = bs; break; } case 42: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000010; upperBound_ = bs; break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StringStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StringStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.StringStatistics.class, io.prestosql.orc.proto.OrcProto.StringStatistics.Builder.class); } private int bitField0_; public static final int MINIMUM_FIELD_NUMBER = 1; private volatile java.lang.Object minimum_; /** * optional string minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string minimum = 1; */ public java.lang.String getMinimum() { java.lang.Object ref = minimum_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { minimum_ = s; } return s; } } /** * optional string minimum = 1; */ public io.prestosql.orc.protobuf.ByteString getMinimumBytes() { java.lang.Object ref = minimum_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minimum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } public static final int MAXIMUM_FIELD_NUMBER = 2; private volatile java.lang.Object maximum_; /** * optional string maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string maximum = 2; */ public java.lang.String getMaximum() { java.lang.Object ref = maximum_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { maximum_ = s; } return s; } } /** * optional string maximum = 2; */ public io.prestosql.orc.protobuf.ByteString getMaximumBytes() { java.lang.Object ref = maximum_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); maximum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } public static final int SUM_FIELD_NUMBER = 3; private long sum_; /** *
     * sum will store the total length of all strings in a stripe
     * 
* * optional sint64 sum = 3; */ public boolean hasSum() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     * sum will store the total length of all strings in a stripe
     * 
* * optional sint64 sum = 3; */ public long getSum() { return sum_; } public static final int LOWERBOUND_FIELD_NUMBER = 4; private volatile java.lang.Object lowerBound_; /** *
     * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
     * bound instead of the minimum or maximum values above.
     * 
* * optional string lowerBound = 4; */ public boolean hasLowerBound() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
     * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
     * bound instead of the minimum or maximum values above.
     * 
* * optional string lowerBound = 4; */ public java.lang.String getLowerBound() { java.lang.Object ref = lowerBound_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { lowerBound_ = s; } return s; } } /** *
     * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
     * bound instead of the minimum or maximum values above.
     * 
* * optional string lowerBound = 4; */ public io.prestosql.orc.protobuf.ByteString getLowerBoundBytes() { java.lang.Object ref = lowerBound_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lowerBound_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } public static final int UPPERBOUND_FIELD_NUMBER = 5; private volatile java.lang.Object upperBound_; /** * optional string upperBound = 5; */ public boolean hasUpperBound() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string upperBound = 5; */ public java.lang.String getUpperBound() { java.lang.Object ref = upperBound_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { upperBound_ = s; } return s; } } /** * optional string upperBound = 5; */ public io.prestosql.orc.protobuf.ByteString getUpperBoundBytes() { java.lang.Object ref = upperBound_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); upperBound_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeSInt64(3, sum_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 4, lowerBound_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 5, upperBound_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(3, sum_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(4, lowerBound_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(5, upperBound_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.StringStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.StringStatistics other = (io.prestosql.orc.proto.OrcProto.StringStatistics) obj; boolean result = true; result = result && (hasMinimum() == other.hasMinimum()); if (hasMinimum()) { result = result && getMinimum() .equals(other.getMinimum()); } result = result && (hasMaximum() == other.hasMaximum()); if (hasMaximum()) { result = result && getMaximum() .equals(other.getMaximum()); } result = result && (hasSum() == other.hasSum()); if (hasSum()) { result = result && (getSum() == other.getSum()); } result = result && (hasLowerBound() == other.hasLowerBound()); if (hasLowerBound()) { result = result && getLowerBound() .equals(other.getLowerBound()); } result = result && (hasUpperBound() == other.hasUpperBound()); if (hasUpperBound()) { result = result && getUpperBound() .equals(other.getUpperBound()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMinimum()) { hash = (37 * hash) + MINIMUM_FIELD_NUMBER; hash = (53 * hash) + getMinimum().hashCode(); } if (hasMaximum()) { hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; hash = (53 * hash) + getMaximum().hashCode(); } if (hasSum()) { hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getSum()); } if (hasLowerBound()) { hash = (37 * hash) + LOWERBOUND_FIELD_NUMBER; hash = (53 * hash) + getLowerBound().hashCode(); } if (hasUpperBound()) { hash = (37 * hash) + UPPERBOUND_FIELD_NUMBER; hash = (53 * hash) + getUpperBound().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.StringStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.StringStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StringStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.StringStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StringStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StringStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StringStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StringStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StringStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StringStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.StringStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.StringStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.StringStatistics) io.prestosql.orc.proto.OrcProto.StringStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StringStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StringStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.StringStatistics.class, io.prestosql.orc.proto.OrcProto.StringStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.StringStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); minimum_ = ""; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = ""; bitField0_ = (bitField0_ & ~0x00000002); sum_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); lowerBound_ = ""; bitField0_ = (bitField0_ & ~0x00000008); upperBound_ = ""; bitField0_ = (bitField0_ & ~0x00000010); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StringStatistics_descriptor; } public io.prestosql.orc.proto.OrcProto.StringStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.StringStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.StringStatistics build() { io.prestosql.orc.proto.OrcProto.StringStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.StringStatistics buildPartial() { io.prestosql.orc.proto.OrcProto.StringStatistics result = new io.prestosql.orc.proto.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_; if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } result.lowerBound_ = lowerBound_; if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } result.upperBound_ = upperBound_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.StringStatistics) { return mergeFrom((io.prestosql.orc.proto.OrcProto.StringStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.StringStatistics other) { if (other == io.prestosql.orc.proto.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()); } if (other.hasLowerBound()) { bitField0_ |= 0x00000008; lowerBound_ = other.lowerBound_; onChanged(); } if (other.hasUpperBound()) { bitField0_ |= 0x00000010; upperBound_ = other.upperBound_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.StringStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.StringStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object minimum_ = ""; /** * optional string minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string minimum = 1; */ public java.lang.String getMinimum() { java.lang.Object ref = minimum_; if (!(ref instanceof java.lang.String)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { minimum_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string minimum = 1; */ public io.prestosql.orc.protobuf.ByteString getMinimumBytes() { java.lang.Object ref = minimum_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minimum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** * optional string minimum = 1; */ public Builder setMinimum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } /** * optional string minimum = 1; */ public Builder clearMinimum() { bitField0_ = (bitField0_ & ~0x00000001); minimum_ = getDefaultInstance().getMinimum(); onChanged(); return this; } /** * optional string minimum = 1; */ public Builder setMinimumBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } private java.lang.Object maximum_ = ""; /** * optional string maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string maximum = 2; */ public java.lang.String getMaximum() { java.lang.Object ref = maximum_; if (!(ref instanceof java.lang.String)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { maximum_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string maximum = 2; */ public io.prestosql.orc.protobuf.ByteString getMaximumBytes() { java.lang.Object ref = maximum_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); maximum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** * optional string maximum = 2; */ public Builder setMaximum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } /** * optional string maximum = 2; */ public Builder clearMaximum() { bitField0_ = (bitField0_ & ~0x00000002); maximum_ = getDefaultInstance().getMaximum(); onChanged(); return this; } /** * optional string maximum = 2; */ public Builder setMaximumBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } private long sum_ ; /** *
       * sum will store the total length of all strings in a stripe
       * 
* * optional sint64 sum = 3; */ public boolean hasSum() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       * sum will store the total length of all strings in a stripe
       * 
* * optional sint64 sum = 3; */ public long getSum() { return sum_; } /** *
       * sum will store the total length of all strings in a stripe
       * 
* * optional sint64 sum = 3; */ public Builder setSum(long value) { bitField0_ |= 0x00000004; sum_ = value; onChanged(); return this; } /** *
       * sum will store the total length of all strings in a stripe
       * 
* * optional sint64 sum = 3; */ public Builder clearSum() { bitField0_ = (bitField0_ & ~0x00000004); sum_ = 0L; onChanged(); return this; } private java.lang.Object lowerBound_ = ""; /** *
       * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
       * bound instead of the minimum or maximum values above.
       * 
* * optional string lowerBound = 4; */ public boolean hasLowerBound() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** *
       * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
       * bound instead of the minimum or maximum values above.
       * 
* * optional string lowerBound = 4; */ public java.lang.String getLowerBound() { java.lang.Object ref = lowerBound_; if (!(ref instanceof java.lang.String)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { lowerBound_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
       * bound instead of the minimum or maximum values above.
       * 
* * optional string lowerBound = 4; */ public io.prestosql.orc.protobuf.ByteString getLowerBoundBytes() { java.lang.Object ref = lowerBound_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); lowerBound_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** *
       * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
       * bound instead of the minimum or maximum values above.
       * 
* * optional string lowerBound = 4; */ public Builder setLowerBound( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; lowerBound_ = value; onChanged(); return this; } /** *
       * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
       * bound instead of the minimum or maximum values above.
       * 
* * optional string lowerBound = 4; */ public Builder clearLowerBound() { bitField0_ = (bitField0_ & ~0x00000008); lowerBound_ = getDefaultInstance().getLowerBound(); onChanged(); return this; } /** *
       * If the minimum or maximum value was longer than 1024 bytes, store a lower or upper
       * bound instead of the minimum or maximum values above.
       * 
* * optional string lowerBound = 4; */ public Builder setLowerBoundBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000008; lowerBound_ = value; onChanged(); return this; } private java.lang.Object upperBound_ = ""; /** * optional string upperBound = 5; */ public boolean hasUpperBound() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional string upperBound = 5; */ public java.lang.String getUpperBound() { java.lang.Object ref = upperBound_; if (!(ref instanceof java.lang.String)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { upperBound_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string upperBound = 5; */ public io.prestosql.orc.protobuf.ByteString getUpperBoundBytes() { java.lang.Object ref = upperBound_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); upperBound_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** * optional string upperBound = 5; */ public Builder setUpperBound( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; upperBound_ = value; onChanged(); return this; } /** * optional string upperBound = 5; */ public Builder clearUpperBound() { bitField0_ = (bitField0_ & ~0x00000010); upperBound_ = getDefaultInstance().getUpperBound(); onChanged(); return this; } /** * optional string upperBound = 5; */ public Builder setUpperBoundBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000010; upperBound_ = value; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.StringStatistics) } // @@protoc_insertion_point(class_scope:orc.proto.StringStatistics) private static final io.prestosql.orc.proto.OrcProto.StringStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.StringStatistics(); } public static io.prestosql.orc.proto.OrcProto.StringStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public StringStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new StringStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.StringStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BucketStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.BucketStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated uint64 count = 1 [packed = true]; */ java.util.List getCountList(); /** * repeated uint64 count = 1 [packed = true]; */ int getCountCount(); /** * repeated uint64 count = 1 [packed = true]; */ long getCount(int index); } /** * Protobuf type {@code orc.proto.BucketStatistics} */ public static final class BucketStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.BucketStatistics) BucketStatisticsOrBuilder { // Use BucketStatistics.newBuilder() to construct. private BucketStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BucketStatistics() { count_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BucketStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { count_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } count_.add(input.readUInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { count_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { count_.add(input.readUInt64()); } input.popLimit(limit); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { count_ = java.util.Collections.unmodifiableList(count_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BucketStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BucketStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.BucketStatistics.class, io.prestosql.orc.proto.OrcProto.BucketStatistics.Builder.class); } public static final int COUNT_FIELD_NUMBER = 1; private java.util.List count_; /** * repeated uint64 count = 1 [packed = true]; */ public java.util.List getCountList() { return count_; } /** * repeated uint64 count = 1 [packed = true]; */ public int getCountCount() { return count_.size(); } /** * repeated uint64 count = 1 [packed = true]; */ public long getCount(int index) { return count_.get(index); } private int countMemoizedSerializedSize = -1; private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getCountList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(countMemoizedSerializedSize); } for (int i = 0; i < count_.size(); i++) { output.writeUInt64NoTag(count_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < count_.size(); i++) { dataSize += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64SizeNoTag(count_.get(i)); } size += dataSize; if (!getCountList().isEmpty()) { size += 1; size += io.prestosql.orc.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } countMemoizedSerializedSize = dataSize; } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.BucketStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.BucketStatistics other = (io.prestosql.orc.proto.OrcProto.BucketStatistics) obj; boolean result = true; result = result && getCountList() .equals(other.getCountList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getCountCount() > 0) { hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCountList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.BucketStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.BucketStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BucketStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.BucketStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BucketStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BucketStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BucketStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BucketStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BucketStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BucketStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.BucketStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.BucketStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.BucketStatistics) io.prestosql.orc.proto.OrcProto.BucketStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BucketStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BucketStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.BucketStatistics.class, io.prestosql.orc.proto.OrcProto.BucketStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.BucketStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); count_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BucketStatistics_descriptor; } public io.prestosql.orc.proto.OrcProto.BucketStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.BucketStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.BucketStatistics build() { io.prestosql.orc.proto.OrcProto.BucketStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.BucketStatistics buildPartial() { io.prestosql.orc.proto.OrcProto.BucketStatistics result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.BucketStatistics) { return mergeFrom((io.prestosql.orc.proto.OrcProto.BucketStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.BucketStatistics other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.BucketStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.BucketStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List count_ = java.util.Collections.emptyList(); private void ensureCountIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { count_ = new java.util.ArrayList(count_); bitField0_ |= 0x00000001; } } /** * repeated uint64 count = 1 [packed = true]; */ public java.util.List getCountList() { return java.util.Collections.unmodifiableList(count_); } /** * repeated uint64 count = 1 [packed = true]; */ public int getCountCount() { return count_.size(); } /** * repeated uint64 count = 1 [packed = true]; */ public long getCount(int index) { return count_.get(index); } /** * repeated uint64 count = 1 [packed = true]; */ public Builder setCount( int index, long value) { ensureCountIsMutable(); count_.set(index, value); onChanged(); return this; } /** * repeated uint64 count = 1 [packed = true]; */ public Builder addCount(long value) { ensureCountIsMutable(); count_.add(value); onChanged(); return this; } /** * repeated uint64 count = 1 [packed = true]; */ public Builder addAllCount( java.lang.Iterable values) { ensureCountIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, count_); onChanged(); return this; } /** * repeated uint64 count = 1 [packed = true]; */ public Builder clearCount() { count_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.BucketStatistics) } // @@protoc_insertion_point(class_scope:orc.proto.BucketStatistics) private static final io.prestosql.orc.proto.OrcProto.BucketStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.BucketStatistics(); } public static io.prestosql.orc.proto.OrcProto.BucketStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public BucketStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new BucketStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.BucketStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DecimalStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.DecimalStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional string minimum = 1; */ boolean hasMinimum(); /** * optional string minimum = 1; */ java.lang.String getMinimum(); /** * optional string minimum = 1; */ io.prestosql.orc.protobuf.ByteString getMinimumBytes(); /** * optional string maximum = 2; */ boolean hasMaximum(); /** * optional string maximum = 2; */ java.lang.String getMaximum(); /** * optional string maximum = 2; */ io.prestosql.orc.protobuf.ByteString getMaximumBytes(); /** * optional string sum = 3; */ boolean hasSum(); /** * optional string sum = 3; */ java.lang.String getSum(); /** * optional string sum = 3; */ io.prestosql.orc.protobuf.ByteString getSumBytes(); } /** * Protobuf type {@code orc.proto.DecimalStatistics} */ public static final class DecimalStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.DecimalStatistics) DecimalStatisticsOrBuilder { // Use DecimalStatistics.newBuilder() to construct. private DecimalStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DecimalStatistics() { minimum_ = ""; maximum_ = ""; sum_ = ""; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DecimalStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; minimum_ = bs; break; } case 18: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000002; maximum_ = bs; break; } case 26: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000004; sum_ = bs; break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DecimalStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DecimalStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.DecimalStatistics.class, io.prestosql.orc.proto.OrcProto.DecimalStatistics.Builder.class); } private int bitField0_; public static final int MINIMUM_FIELD_NUMBER = 1; private volatile java.lang.Object minimum_; /** * optional string minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string minimum = 1; */ public java.lang.String getMinimum() { java.lang.Object ref = minimum_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { minimum_ = s; } return s; } } /** * optional string minimum = 1; */ public io.prestosql.orc.protobuf.ByteString getMinimumBytes() { java.lang.Object ref = minimum_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minimum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } public static final int MAXIMUM_FIELD_NUMBER = 2; private volatile java.lang.Object maximum_; /** * optional string maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string maximum = 2; */ public java.lang.String getMaximum() { java.lang.Object ref = maximum_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { maximum_ = s; } return s; } } /** * optional string maximum = 2; */ public io.prestosql.orc.protobuf.ByteString getMaximumBytes() { java.lang.Object ref = maximum_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); maximum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } public static final int SUM_FIELD_NUMBER = 3; private volatile java.lang.Object sum_; /** * optional string sum = 3; */ public boolean hasSum() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional string sum = 3; */ public java.lang.String getSum() { java.lang.Object ref = sum_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { sum_ = s; } return s; } } /** * optional string sum = 3; */ public io.prestosql.orc.protobuf.ByteString getSumBytes() { java.lang.Object ref = sum_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 3, sum_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(3, sum_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.DecimalStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.DecimalStatistics other = (io.prestosql.orc.proto.OrcProto.DecimalStatistics) obj; boolean result = true; result = result && (hasMinimum() == other.hasMinimum()); if (hasMinimum()) { result = result && getMinimum() .equals(other.getMinimum()); } result = result && (hasMaximum() == other.hasMaximum()); if (hasMaximum()) { result = result && getMaximum() .equals(other.getMaximum()); } result = result && (hasSum() == other.hasSum()); if (hasSum()) { result = result && getSum() .equals(other.getSum()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMinimum()) { hash = (37 * hash) + MINIMUM_FIELD_NUMBER; hash = (53 * hash) + getMinimum().hashCode(); } if (hasMaximum()) { hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; hash = (53 * hash) + getMaximum().hashCode(); } if (hasSum()) { hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + getSum().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.DecimalStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.DecimalStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.DecimalStatistics) io.prestosql.orc.proto.OrcProto.DecimalStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DecimalStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DecimalStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.DecimalStatistics.class, io.prestosql.orc.proto.OrcProto.DecimalStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.DecimalStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); minimum_ = ""; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = ""; bitField0_ = (bitField0_ & ~0x00000002); sum_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DecimalStatistics_descriptor; } public io.prestosql.orc.proto.OrcProto.DecimalStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.DecimalStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.DecimalStatistics build() { io.prestosql.orc.proto.OrcProto.DecimalStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.DecimalStatistics buildPartial() { io.prestosql.orc.proto.OrcProto.DecimalStatistics result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.DecimalStatistics) { return mergeFrom((io.prestosql.orc.proto.OrcProto.DecimalStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.DecimalStatistics other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.DecimalStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.DecimalStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.lang.Object minimum_ = ""; /** * optional string minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string minimum = 1; */ public java.lang.String getMinimum() { java.lang.Object ref = minimum_; if (!(ref instanceof java.lang.String)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { minimum_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string minimum = 1; */ public io.prestosql.orc.protobuf.ByteString getMinimumBytes() { java.lang.Object ref = minimum_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); minimum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** * optional string minimum = 1; */ public Builder setMinimum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } /** * optional string minimum = 1; */ public Builder clearMinimum() { bitField0_ = (bitField0_ & ~0x00000001); minimum_ = getDefaultInstance().getMinimum(); onChanged(); return this; } /** * optional string minimum = 1; */ public Builder setMinimumBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } private java.lang.Object maximum_ = ""; /** * optional string maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional string maximum = 2; */ public java.lang.String getMaximum() { java.lang.Object ref = maximum_; if (!(ref instanceof java.lang.String)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { maximum_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string maximum = 2; */ public io.prestosql.orc.protobuf.ByteString getMaximumBytes() { java.lang.Object ref = maximum_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); maximum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** * optional string maximum = 2; */ public Builder setMaximum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } /** * optional string maximum = 2; */ public Builder clearMaximum() { bitField0_ = (bitField0_ & ~0x00000002); maximum_ = getDefaultInstance().getMaximum(); onChanged(); return this; } /** * optional string maximum = 2; */ public Builder setMaximumBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } private 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)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { sum_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string sum = 3; */ public io.prestosql.orc.protobuf.ByteString getSumBytes() { java.lang.Object ref = sum_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); sum_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** * optional string sum = 3; */ public Builder setSum( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; sum_ = value; onChanged(); return this; } /** * optional string sum = 3; */ public Builder clearSum() { bitField0_ = (bitField0_ & ~0x00000004); sum_ = getDefaultInstance().getSum(); onChanged(); return this; } /** * optional string sum = 3; */ public Builder setSumBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; sum_ = value; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.DecimalStatistics) } // @@protoc_insertion_point(class_scope:orc.proto.DecimalStatistics) private static final io.prestosql.orc.proto.OrcProto.DecimalStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.DecimalStatistics(); } public static io.prestosql.orc.proto.OrcProto.DecimalStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public DecimalStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new DecimalStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.DecimalStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface DateStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.DateStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** *
     * min,max values saved as days since epoch
     * 
* * optional sint32 minimum = 1; */ boolean hasMinimum(); /** *
     * min,max values saved as days since epoch
     * 
* * optional sint32 minimum = 1; */ int getMinimum(); /** * optional sint32 maximum = 2; */ boolean hasMaximum(); /** * optional sint32 maximum = 2; */ int getMaximum(); } /** * Protobuf type {@code orc.proto.DateStatistics} */ public static final class DateStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.DateStatistics) DateStatisticsOrBuilder { // Use DateStatistics.newBuilder() to construct. private DateStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private DateStatistics() { minimum_ = 0; maximum_ = 0; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private DateStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; minimum_ = input.readSInt32(); break; } case 16: { bitField0_ |= 0x00000002; maximum_ = input.readSInt32(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DateStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DateStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.DateStatistics.class, io.prestosql.orc.proto.OrcProto.DateStatistics.Builder.class); } private int bitField0_; public static final int MINIMUM_FIELD_NUMBER = 1; private int minimum_; /** *
     * min,max values saved as days since epoch
     * 
* * optional sint32 minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * min,max values saved as days since epoch
     * 
* * optional sint32 minimum = 1; */ public int getMinimum() { return minimum_; } 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 byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeSInt32(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeSInt32(2, maximum_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt32Size(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt32Size(2, maximum_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.DateStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.DateStatistics other = (io.prestosql.orc.proto.OrcProto.DateStatistics) obj; boolean result = true; result = result && (hasMinimum() == other.hasMinimum()); if (hasMinimum()) { result = result && (getMinimum() == other.getMinimum()); } result = result && (hasMaximum() == other.hasMaximum()); if (hasMaximum()) { result = result && (getMaximum() == other.getMaximum()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMinimum()) { hash = (37 * hash) + MINIMUM_FIELD_NUMBER; hash = (53 * hash) + getMinimum(); } if (hasMaximum()) { hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; hash = (53 * hash) + getMaximum(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.DateStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.DateStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.DateStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.DateStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.DateStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.DateStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.DateStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.DateStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.DateStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.DateStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.DateStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.DateStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.DateStatistics) io.prestosql.orc.proto.OrcProto.DateStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DateStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DateStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.DateStatistics.class, io.prestosql.orc.proto.OrcProto.DateStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.DateStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); minimum_ = 0; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = 0; bitField0_ = (bitField0_ & ~0x00000002); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_DateStatistics_descriptor; } public io.prestosql.orc.proto.OrcProto.DateStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.DateStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.DateStatistics build() { io.prestosql.orc.proto.OrcProto.DateStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.DateStatistics buildPartial() { io.prestosql.orc.proto.OrcProto.DateStatistics result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.DateStatistics) { return mergeFrom((io.prestosql.orc.proto.OrcProto.DateStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.DateStatistics other) { if (other == io.prestosql.orc.proto.OrcProto.DateStatistics.getDefaultInstance()) return this; if (other.hasMinimum()) { setMinimum(other.getMinimum()); } if (other.hasMaximum()) { setMaximum(other.getMaximum()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.DateStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.DateStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int minimum_ ; /** *
       * min,max values saved as days since epoch
       * 
* * optional sint32 minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * min,max values saved as days since epoch
       * 
* * optional sint32 minimum = 1; */ public int getMinimum() { return minimum_; } /** *
       * min,max values saved as days since epoch
       * 
* * optional sint32 minimum = 1; */ public Builder setMinimum(int value) { bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } /** *
       * min,max values saved as days since epoch
       * 
* * optional sint32 minimum = 1; */ public Builder clearMinimum() { bitField0_ = (bitField0_ & ~0x00000001); minimum_ = 0; onChanged(); return this; } 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; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.DateStatistics) } // @@protoc_insertion_point(class_scope:orc.proto.DateStatistics) private static final io.prestosql.orc.proto.OrcProto.DateStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.DateStatistics(); } public static io.prestosql.orc.proto.OrcProto.DateStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public DateStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new DateStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.DateStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TimestampStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.TimestampStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** *
     * min,max values saved as milliseconds since epoch
     * 
* * optional sint64 minimum = 1; */ boolean hasMinimum(); /** *
     * min,max values saved as milliseconds since epoch
     * 
* * optional sint64 minimum = 1; */ long getMinimum(); /** * optional sint64 maximum = 2; */ boolean hasMaximum(); /** * optional sint64 maximum = 2; */ long getMaximum(); /** * optional sint64 minimumUtc = 3; */ boolean hasMinimumUtc(); /** * optional sint64 minimumUtc = 3; */ long getMinimumUtc(); /** * optional sint64 maximumUtc = 4; */ boolean hasMaximumUtc(); /** * optional sint64 maximumUtc = 4; */ long getMaximumUtc(); } /** * Protobuf type {@code orc.proto.TimestampStatistics} */ public static final class TimestampStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.TimestampStatistics) TimestampStatisticsOrBuilder { // Use TimestampStatistics.newBuilder() to construct. private TimestampStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private TimestampStatistics() { minimum_ = 0L; maximum_ = 0L; minimumUtc_ = 0L; maximumUtc_ = 0L; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private TimestampStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; minimum_ = input.readSInt64(); break; } case 16: { bitField0_ |= 0x00000002; maximum_ = input.readSInt64(); break; } case 24: { bitField0_ |= 0x00000004; minimumUtc_ = input.readSInt64(); break; } case 32: { bitField0_ |= 0x00000008; maximumUtc_ = input.readSInt64(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_TimestampStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_TimestampStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.TimestampStatistics.class, io.prestosql.orc.proto.OrcProto.TimestampStatistics.Builder.class); } private int bitField0_; public static final int MINIMUM_FIELD_NUMBER = 1; private long minimum_; /** *
     * min,max values saved as milliseconds since epoch
     * 
* * optional sint64 minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * min,max values saved as milliseconds since epoch
     * 
* * optional sint64 minimum = 1; */ public long getMinimum() { return minimum_; } public static final int MAXIMUM_FIELD_NUMBER = 2; private long maximum_; /** * optional sint64 maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional sint64 maximum = 2; */ public long getMaximum() { return maximum_; } public static final int 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_; } 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 byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeSInt64(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeSInt64(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeSInt64(3, minimumUtc_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeSInt64(4, maximumUtc_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(1, minimum_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(2, maximum_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(3, minimumUtc_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(4, maximumUtc_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.TimestampStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.TimestampStatistics other = (io.prestosql.orc.proto.OrcProto.TimestampStatistics) obj; boolean result = true; result = result && (hasMinimum() == other.hasMinimum()); if (hasMinimum()) { result = result && (getMinimum() == other.getMinimum()); } result = result && (hasMaximum() == other.hasMaximum()); if (hasMaximum()) { result = result && (getMaximum() == other.getMaximum()); } result = result && (hasMinimumUtc() == other.hasMinimumUtc()); if (hasMinimumUtc()) { result = result && (getMinimumUtc() == other.getMinimumUtc()); } result = result && (hasMaximumUtc() == other.hasMaximumUtc()); if (hasMaximumUtc()) { result = result && (getMaximumUtc() == other.getMaximumUtc()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasMinimum()) { hash = (37 * hash) + MINIMUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getMinimum()); } if (hasMaximum()) { hash = (37 * hash) + MAXIMUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getMaximum()); } if (hasMinimumUtc()) { hash = (37 * hash) + MINIMUMUTC_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getMinimumUtc()); } if (hasMaximumUtc()) { hash = (37 * hash) + MAXIMUMUTC_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getMaximumUtc()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.TimestampStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.TimestampStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.TimestampStatistics) io.prestosql.orc.proto.OrcProto.TimestampStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_TimestampStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_TimestampStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.TimestampStatistics.class, io.prestosql.orc.proto.OrcProto.TimestampStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.TimestampStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); minimum_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); maximum_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); minimumUtc_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); maximumUtc_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_TimestampStatistics_descriptor; } public io.prestosql.orc.proto.OrcProto.TimestampStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.TimestampStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.TimestampStatistics build() { io.prestosql.orc.proto.OrcProto.TimestampStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.TimestampStatistics buildPartial() { io.prestosql.orc.proto.OrcProto.TimestampStatistics result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.TimestampStatistics) { return mergeFrom((io.prestosql.orc.proto.OrcProto.TimestampStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.TimestampStatistics other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.TimestampStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.TimestampStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long minimum_ ; /** *
       * min,max values saved as milliseconds since epoch
       * 
* * optional sint64 minimum = 1; */ public boolean hasMinimum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * min,max values saved as milliseconds since epoch
       * 
* * optional sint64 minimum = 1; */ public long getMinimum() { return minimum_; } /** *
       * min,max values saved as milliseconds since epoch
       * 
* * optional sint64 minimum = 1; */ public Builder setMinimum(long value) { bitField0_ |= 0x00000001; minimum_ = value; onChanged(); return this; } /** *
       * min,max values saved as milliseconds since epoch
       * 
* * optional sint64 minimum = 1; */ public Builder clearMinimum() { bitField0_ = (bitField0_ & ~0x00000001); minimum_ = 0L; onChanged(); return this; } private long maximum_ ; /** * optional sint64 maximum = 2; */ public boolean hasMaximum() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional sint64 maximum = 2; */ public long getMaximum() { return maximum_; } /** * optional sint64 maximum = 2; */ public Builder setMaximum(long value) { bitField0_ |= 0x00000002; maximum_ = value; onChanged(); return this; } /** * optional sint64 maximum = 2; */ public Builder clearMaximum() { bitField0_ = (bitField0_ & ~0x00000002); maximum_ = 0L; onChanged(); return this; } private long 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; } 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; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.TimestampStatistics) } // @@protoc_insertion_point(class_scope:orc.proto.TimestampStatistics) private static final io.prestosql.orc.proto.OrcProto.TimestampStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.TimestampStatistics(); } public static io.prestosql.orc.proto.OrcProto.TimestampStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public TimestampStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new TimestampStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.TimestampStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BinaryStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.BinaryStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** *
     * sum will store the total binary blob length in a stripe
     * 
* * optional sint64 sum = 1; */ boolean hasSum(); /** *
     * sum will store the total binary blob length in a stripe
     * 
* * optional sint64 sum = 1; */ long getSum(); } /** * Protobuf type {@code orc.proto.BinaryStatistics} */ public static final class BinaryStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.BinaryStatistics) BinaryStatisticsOrBuilder { // Use BinaryStatistics.newBuilder() to construct. private BinaryStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BinaryStatistics() { sum_ = 0L; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BinaryStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; sum_ = input.readSInt64(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BinaryStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BinaryStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.BinaryStatistics.class, io.prestosql.orc.proto.OrcProto.BinaryStatistics.Builder.class); } private int bitField0_; public static final int SUM_FIELD_NUMBER = 1; private long sum_; /** *
     * sum will store the total binary blob length in a stripe
     * 
* * optional sint64 sum = 1; */ public boolean hasSum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
     * sum will store the total binary blob length in a stripe
     * 
* * optional sint64 sum = 1; */ public long getSum() { return sum_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeSInt64(1, sum_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeSInt64Size(1, sum_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.BinaryStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.BinaryStatistics other = (io.prestosql.orc.proto.OrcProto.BinaryStatistics) obj; boolean result = true; result = result && (hasSum() == other.hasSum()); if (hasSum()) { result = result && (getSum() == other.getSum()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasSum()) { hash = (37 * hash) + SUM_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getSum()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.BinaryStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.BinaryStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.BinaryStatistics) io.prestosql.orc.proto.OrcProto.BinaryStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BinaryStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BinaryStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.BinaryStatistics.class, io.prestosql.orc.proto.OrcProto.BinaryStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.BinaryStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); sum_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BinaryStatistics_descriptor; } public io.prestosql.orc.proto.OrcProto.BinaryStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.BinaryStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.BinaryStatistics build() { io.prestosql.orc.proto.OrcProto.BinaryStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.BinaryStatistics buildPartial() { io.prestosql.orc.proto.OrcProto.BinaryStatistics result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.BinaryStatistics) { return mergeFrom((io.prestosql.orc.proto.OrcProto.BinaryStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.BinaryStatistics other) { if (other == io.prestosql.orc.proto.OrcProto.BinaryStatistics.getDefaultInstance()) return this; if (other.hasSum()) { setSum(other.getSum()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.BinaryStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.BinaryStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long sum_ ; /** *
       * sum will store the total binary blob length in a stripe
       * 
* * optional sint64 sum = 1; */ public boolean hasSum() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** *
       * sum will store the total binary blob length in a stripe
       * 
* * optional sint64 sum = 1; */ public long getSum() { return sum_; } /** *
       * sum will store the total binary blob length in a stripe
       * 
* * optional sint64 sum = 1; */ public Builder setSum(long value) { bitField0_ |= 0x00000001; sum_ = value; onChanged(); return this; } /** *
       * sum will store the total binary blob length in a stripe
       * 
* * optional sint64 sum = 1; */ public Builder clearSum() { bitField0_ = (bitField0_ & ~0x00000001); sum_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.BinaryStatistics) } // @@protoc_insertion_point(class_scope:orc.proto.BinaryStatistics) private static final io.prestosql.orc.proto.OrcProto.BinaryStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.BinaryStatistics(); } public static io.prestosql.orc.proto.OrcProto.BinaryStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public BinaryStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new BinaryStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.BinaryStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.ColumnStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional uint64 numberOfValues = 1; */ boolean hasNumberOfValues(); /** * optional uint64 numberOfValues = 1; */ long getNumberOfValues(); /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ boolean hasIntStatistics(); /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ io.prestosql.orc.proto.OrcProto.IntegerStatistics getIntStatistics(); /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ io.prestosql.orc.proto.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder(); /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ boolean hasDoubleStatistics(); /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ io.prestosql.orc.proto.OrcProto.DoubleStatistics getDoubleStatistics(); /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ io.prestosql.orc.proto.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder(); /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ boolean hasStringStatistics(); /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ io.prestosql.orc.proto.OrcProto.StringStatistics getStringStatistics(); /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ io.prestosql.orc.proto.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder(); /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ boolean hasBucketStatistics(); /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ io.prestosql.orc.proto.OrcProto.BucketStatistics getBucketStatistics(); /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ io.prestosql.orc.proto.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder(); /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ boolean hasDecimalStatistics(); /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ io.prestosql.orc.proto.OrcProto.DecimalStatistics getDecimalStatistics(); /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ io.prestosql.orc.proto.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder(); /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ boolean hasDateStatistics(); /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ io.prestosql.orc.proto.OrcProto.DateStatistics getDateStatistics(); /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ io.prestosql.orc.proto.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder(); /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ boolean hasBinaryStatistics(); /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ io.prestosql.orc.proto.OrcProto.BinaryStatistics getBinaryStatistics(); /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ io.prestosql.orc.proto.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder(); /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ boolean hasTimestampStatistics(); /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ io.prestosql.orc.proto.OrcProto.TimestampStatistics getTimestampStatistics(); /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ io.prestosql.orc.proto.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder(); /** * optional bool hasNull = 10; */ boolean hasHasNull(); /** * optional bool hasNull = 10; */ boolean getHasNull(); /** * optional uint64 bytesOnDisk = 11; */ boolean hasBytesOnDisk(); /** * optional uint64 bytesOnDisk = 11; */ long getBytesOnDisk(); } /** * Protobuf type {@code orc.proto.ColumnStatistics} */ public static final class ColumnStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.ColumnStatistics) ColumnStatisticsOrBuilder { // Use ColumnStatistics.newBuilder() to construct. private ColumnStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnStatistics() { numberOfValues_ = 0L; hasNull_ = false; bytesOnDisk_ = 0L; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; numberOfValues_ = input.readUInt64(); break; } case 18: { io.prestosql.orc.proto.OrcProto.IntegerStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = intStatistics_.toBuilder(); } intStatistics_ = input.readMessage(io.prestosql.orc.proto.OrcProto.IntegerStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(intStatistics_); intStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000002; break; } case 26: { io.prestosql.orc.proto.OrcProto.DoubleStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000004) == 0x00000004)) { subBuilder = doubleStatistics_.toBuilder(); } doubleStatistics_ = input.readMessage(io.prestosql.orc.proto.OrcProto.DoubleStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(doubleStatistics_); doubleStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000004; break; } case 34: { io.prestosql.orc.proto.OrcProto.StringStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000008) == 0x00000008)) { subBuilder = stringStatistics_.toBuilder(); } stringStatistics_ = input.readMessage(io.prestosql.orc.proto.OrcProto.StringStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(stringStatistics_); stringStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000008; break; } case 42: { io.prestosql.orc.proto.OrcProto.BucketStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000010) == 0x00000010)) { subBuilder = bucketStatistics_.toBuilder(); } bucketStatistics_ = input.readMessage(io.prestosql.orc.proto.OrcProto.BucketStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(bucketStatistics_); bucketStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000010; break; } case 50: { io.prestosql.orc.proto.OrcProto.DecimalStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000020) == 0x00000020)) { subBuilder = decimalStatistics_.toBuilder(); } decimalStatistics_ = input.readMessage(io.prestosql.orc.proto.OrcProto.DecimalStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(decimalStatistics_); decimalStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000020; break; } case 58: { io.prestosql.orc.proto.OrcProto.DateStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000040) == 0x00000040)) { subBuilder = dateStatistics_.toBuilder(); } dateStatistics_ = input.readMessage(io.prestosql.orc.proto.OrcProto.DateStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(dateStatistics_); dateStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000040; break; } case 66: { io.prestosql.orc.proto.OrcProto.BinaryStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000080) == 0x00000080)) { subBuilder = binaryStatistics_.toBuilder(); } binaryStatistics_ = input.readMessage(io.prestosql.orc.proto.OrcProto.BinaryStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(binaryStatistics_); binaryStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000080; break; } case 74: { io.prestosql.orc.proto.OrcProto.TimestampStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000100) == 0x00000100)) { subBuilder = timestampStatistics_.toBuilder(); } timestampStatistics_ = input.readMessage(io.prestosql.orc.proto.OrcProto.TimestampStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(timestampStatistics_); timestampStatistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000100; break; } case 80: { bitField0_ |= 0x00000200; hasNull_ = input.readBool(); break; } case 88: { bitField0_ |= 0x00000400; bytesOnDisk_ = input.readUInt64(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_ColumnStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_ColumnStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.ColumnStatistics.class, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder.class); } private int bitField0_; public static final int NUMBEROFVALUES_FIELD_NUMBER = 1; private long numberOfValues_; /** * optional uint64 numberOfValues = 1; */ public boolean hasNumberOfValues() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 numberOfValues = 1; */ public long getNumberOfValues() { return numberOfValues_; } public static final int INTSTATISTICS_FIELD_NUMBER = 2; private io.prestosql.orc.proto.OrcProto.IntegerStatistics intStatistics_; /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public boolean hasIntStatistics() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public io.prestosql.orc.proto.OrcProto.IntegerStatistics getIntStatistics() { return intStatistics_ == null ? io.prestosql.orc.proto.OrcProto.IntegerStatistics.getDefaultInstance() : intStatistics_; } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public io.prestosql.orc.proto.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder() { return intStatistics_ == null ? io.prestosql.orc.proto.OrcProto.IntegerStatistics.getDefaultInstance() : intStatistics_; } public static final int DOUBLESTATISTICS_FIELD_NUMBER = 3; private io.prestosql.orc.proto.OrcProto.DoubleStatistics doubleStatistics_; /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public boolean hasDoubleStatistics() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public io.prestosql.orc.proto.OrcProto.DoubleStatistics getDoubleStatistics() { return doubleStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DoubleStatistics.getDefaultInstance() : doubleStatistics_; } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public io.prestosql.orc.proto.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder() { return doubleStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DoubleStatistics.getDefaultInstance() : doubleStatistics_; } public static final int STRINGSTATISTICS_FIELD_NUMBER = 4; private io.prestosql.orc.proto.OrcProto.StringStatistics stringStatistics_; /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public boolean hasStringStatistics() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public io.prestosql.orc.proto.OrcProto.StringStatistics getStringStatistics() { return stringStatistics_ == null ? io.prestosql.orc.proto.OrcProto.StringStatistics.getDefaultInstance() : stringStatistics_; } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public io.prestosql.orc.proto.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder() { return stringStatistics_ == null ? io.prestosql.orc.proto.OrcProto.StringStatistics.getDefaultInstance() : stringStatistics_; } public static final int BUCKETSTATISTICS_FIELD_NUMBER = 5; private io.prestosql.orc.proto.OrcProto.BucketStatistics bucketStatistics_; /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public boolean hasBucketStatistics() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public io.prestosql.orc.proto.OrcProto.BucketStatistics getBucketStatistics() { return bucketStatistics_ == null ? io.prestosql.orc.proto.OrcProto.BucketStatistics.getDefaultInstance() : bucketStatistics_; } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public io.prestosql.orc.proto.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder() { return bucketStatistics_ == null ? io.prestosql.orc.proto.OrcProto.BucketStatistics.getDefaultInstance() : bucketStatistics_; } public static final int DECIMALSTATISTICS_FIELD_NUMBER = 6; private io.prestosql.orc.proto.OrcProto.DecimalStatistics decimalStatistics_; /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public boolean hasDecimalStatistics() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public io.prestosql.orc.proto.OrcProto.DecimalStatistics getDecimalStatistics() { return decimalStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DecimalStatistics.getDefaultInstance() : decimalStatistics_; } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public io.prestosql.orc.proto.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder() { return decimalStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DecimalStatistics.getDefaultInstance() : decimalStatistics_; } public static final int DATESTATISTICS_FIELD_NUMBER = 7; private io.prestosql.orc.proto.OrcProto.DateStatistics dateStatistics_; /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public boolean hasDateStatistics() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public io.prestosql.orc.proto.OrcProto.DateStatistics getDateStatistics() { return dateStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DateStatistics.getDefaultInstance() : dateStatistics_; } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public io.prestosql.orc.proto.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder() { return dateStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DateStatistics.getDefaultInstance() : dateStatistics_; } public static final int BINARYSTATISTICS_FIELD_NUMBER = 8; private io.prestosql.orc.proto.OrcProto.BinaryStatistics binaryStatistics_; /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public boolean hasBinaryStatistics() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public io.prestosql.orc.proto.OrcProto.BinaryStatistics getBinaryStatistics() { return binaryStatistics_ == null ? io.prestosql.orc.proto.OrcProto.BinaryStatistics.getDefaultInstance() : binaryStatistics_; } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public io.prestosql.orc.proto.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder() { return binaryStatistics_ == null ? io.prestosql.orc.proto.OrcProto.BinaryStatistics.getDefaultInstance() : binaryStatistics_; } public static final int TIMESTAMPSTATISTICS_FIELD_NUMBER = 9; private io.prestosql.orc.proto.OrcProto.TimestampStatistics timestampStatistics_; /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public boolean hasTimestampStatistics() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public io.prestosql.orc.proto.OrcProto.TimestampStatistics getTimestampStatistics() { return timestampStatistics_ == null ? io.prestosql.orc.proto.OrcProto.TimestampStatistics.getDefaultInstance() : timestampStatistics_; } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public io.prestosql.orc.proto.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder() { return timestampStatistics_ == null ? io.prestosql.orc.proto.OrcProto.TimestampStatistics.getDefaultInstance() : timestampStatistics_; } 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_; } public static final int BYTESONDISK_FIELD_NUMBER = 11; private long bytesOnDisk_; /** * optional uint64 bytesOnDisk = 11; */ public boolean hasBytesOnDisk() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional uint64 bytesOnDisk = 11; */ public long getBytesOnDisk() { return bytesOnDisk_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, numberOfValues_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getIntStatistics()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeMessage(3, getDoubleStatistics()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeMessage(4, getStringStatistics()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeMessage(5, getBucketStatistics()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { output.writeMessage(6, getDecimalStatistics()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { output.writeMessage(7, getDateStatistics()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { output.writeMessage(8, getBinaryStatistics()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { output.writeMessage(9, getTimestampStatistics()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { output.writeBool(10, hasNull_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { output.writeUInt64(11, bytesOnDisk_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(1, numberOfValues_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(2, getIntStatistics()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(3, getDoubleStatistics()); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(4, getStringStatistics()); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(5, getBucketStatistics()); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(6, getDecimalStatistics()); } if (((bitField0_ & 0x00000040) == 0x00000040)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(7, getDateStatistics()); } if (((bitField0_ & 0x00000080) == 0x00000080)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(8, getBinaryStatistics()); } if (((bitField0_ & 0x00000100) == 0x00000100)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(9, getTimestampStatistics()); } if (((bitField0_ & 0x00000200) == 0x00000200)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeBoolSize(10, hasNull_); } if (((bitField0_ & 0x00000400) == 0x00000400)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(11, bytesOnDisk_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.ColumnStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.ColumnStatistics other = (io.prestosql.orc.proto.OrcProto.ColumnStatistics) obj; boolean result = true; result = result && (hasNumberOfValues() == other.hasNumberOfValues()); if (hasNumberOfValues()) { result = result && (getNumberOfValues() == other.getNumberOfValues()); } result = result && (hasIntStatistics() == other.hasIntStatistics()); if (hasIntStatistics()) { result = result && getIntStatistics() .equals(other.getIntStatistics()); } result = result && (hasDoubleStatistics() == other.hasDoubleStatistics()); if (hasDoubleStatistics()) { result = result && getDoubleStatistics() .equals(other.getDoubleStatistics()); } result = result && (hasStringStatistics() == other.hasStringStatistics()); if (hasStringStatistics()) { result = result && getStringStatistics() .equals(other.getStringStatistics()); } result = result && (hasBucketStatistics() == other.hasBucketStatistics()); if (hasBucketStatistics()) { result = result && getBucketStatistics() .equals(other.getBucketStatistics()); } result = result && (hasDecimalStatistics() == other.hasDecimalStatistics()); if (hasDecimalStatistics()) { result = result && getDecimalStatistics() .equals(other.getDecimalStatistics()); } result = result && (hasDateStatistics() == other.hasDateStatistics()); if (hasDateStatistics()) { result = result && getDateStatistics() .equals(other.getDateStatistics()); } result = result && (hasBinaryStatistics() == other.hasBinaryStatistics()); if (hasBinaryStatistics()) { result = result && getBinaryStatistics() .equals(other.getBinaryStatistics()); } result = result && (hasTimestampStatistics() == other.hasTimestampStatistics()); if (hasTimestampStatistics()) { result = result && getTimestampStatistics() .equals(other.getTimestampStatistics()); } result = result && (hasHasNull() == other.hasHasNull()); if (hasHasNull()) { result = result && (getHasNull() == other.getHasNull()); } result = result && (hasBytesOnDisk() == other.hasBytesOnDisk()); if (hasBytesOnDisk()) { result = result && (getBytesOnDisk() == other.getBytesOnDisk()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNumberOfValues()) { hash = (37 * hash) + NUMBEROFVALUES_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getNumberOfValues()); } if (hasIntStatistics()) { hash = (37 * hash) + INTSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getIntStatistics().hashCode(); } if (hasDoubleStatistics()) { hash = (37 * hash) + DOUBLESTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getDoubleStatistics().hashCode(); } if (hasStringStatistics()) { hash = (37 * hash) + STRINGSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getStringStatistics().hashCode(); } if (hasBucketStatistics()) { hash = (37 * hash) + BUCKETSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getBucketStatistics().hashCode(); } if (hasDecimalStatistics()) { hash = (37 * hash) + DECIMALSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getDecimalStatistics().hashCode(); } if (hasDateStatistics()) { hash = (37 * hash) + DATESTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getDateStatistics().hashCode(); } if (hasBinaryStatistics()) { hash = (37 * hash) + BINARYSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getBinaryStatistics().hashCode(); } if (hasTimestampStatistics()) { hash = (37 * hash) + TIMESTAMPSTATISTICS_FIELD_NUMBER; hash = (53 * hash) + getTimestampStatistics().hashCode(); } if (hasHasNull()) { hash = (37 * hash) + HASNULL_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashBoolean( getHasNull()); } if (hasBytesOnDisk()) { hash = (37 * hash) + BYTESONDISK_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getBytesOnDisk()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.ColumnStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.ColumnStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.ColumnStatistics) io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_ColumnStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_ColumnStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.ColumnStatistics.class, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.ColumnStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getIntStatisticsFieldBuilder(); getDoubleStatisticsFieldBuilder(); getStringStatisticsFieldBuilder(); getBucketStatisticsFieldBuilder(); getDecimalStatisticsFieldBuilder(); getDateStatisticsFieldBuilder(); getBinaryStatisticsFieldBuilder(); getTimestampStatisticsFieldBuilder(); } } public Builder clear() { super.clear(); numberOfValues_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); if (intStatisticsBuilder_ == null) { intStatistics_ = null; } else { intStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); if (doubleStatisticsBuilder_ == null) { doubleStatistics_ = null; } else { doubleStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); if (stringStatisticsBuilder_ == null) { stringStatistics_ = null; } else { stringStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); if (bucketStatisticsBuilder_ == null) { bucketStatistics_ = null; } else { bucketStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); if (decimalStatisticsBuilder_ == null) { decimalStatistics_ = null; } else { decimalStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); if (dateStatisticsBuilder_ == null) { dateStatistics_ = null; } else { dateStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); if (binaryStatisticsBuilder_ == null) { binaryStatistics_ = null; } else { binaryStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); if (timestampStatisticsBuilder_ == null) { timestampStatistics_ = null; } else { timestampStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); hasNull_ = false; bitField0_ = (bitField0_ & ~0x00000200); bytesOnDisk_ = 0L; bitField0_ = (bitField0_ & ~0x00000400); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_ColumnStatistics_descriptor; } public io.prestosql.orc.proto.OrcProto.ColumnStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.ColumnStatistics build() { io.prestosql.orc.proto.OrcProto.ColumnStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.ColumnStatistics buildPartial() { io.prestosql.orc.proto.OrcProto.ColumnStatistics result = new io.prestosql.orc.proto.OrcProto.ColumnStatistics(this); int from_bitField0_ = bitField0_; int to_bitField0_ = 0; if (((from_bitField0_ & 0x00000001) == 0x00000001)) { to_bitField0_ |= 0x00000001; } result.numberOfValues_ = numberOfValues_; if (((from_bitField0_ & 0x00000002) == 0x00000002)) { to_bitField0_ |= 0x00000002; } if (intStatisticsBuilder_ == null) { result.intStatistics_ = intStatistics_; } else { result.intStatistics_ = intStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000004) == 0x00000004)) { to_bitField0_ |= 0x00000004; } if (doubleStatisticsBuilder_ == null) { result.doubleStatistics_ = doubleStatistics_; } else { result.doubleStatistics_ = doubleStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000008) == 0x00000008)) { to_bitField0_ |= 0x00000008; } if (stringStatisticsBuilder_ == null) { result.stringStatistics_ = stringStatistics_; } else { result.stringStatistics_ = stringStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000010) == 0x00000010)) { to_bitField0_ |= 0x00000010; } if (bucketStatisticsBuilder_ == null) { result.bucketStatistics_ = bucketStatistics_; } else { result.bucketStatistics_ = bucketStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000020) == 0x00000020)) { to_bitField0_ |= 0x00000020; } if (decimalStatisticsBuilder_ == null) { result.decimalStatistics_ = decimalStatistics_; } else { result.decimalStatistics_ = decimalStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000040) == 0x00000040)) { to_bitField0_ |= 0x00000040; } if (dateStatisticsBuilder_ == null) { result.dateStatistics_ = dateStatistics_; } else { result.dateStatistics_ = dateStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000080) == 0x00000080)) { to_bitField0_ |= 0x00000080; } if (binaryStatisticsBuilder_ == null) { result.binaryStatistics_ = binaryStatistics_; } else { result.binaryStatistics_ = binaryStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000100; } if (timestampStatisticsBuilder_ == null) { result.timestampStatistics_ = timestampStatistics_; } else { result.timestampStatistics_ = timestampStatisticsBuilder_.build(); } if (((from_bitField0_ & 0x00000200) == 0x00000200)) { to_bitField0_ |= 0x00000200; } result.hasNull_ = hasNull_; if (((from_bitField0_ & 0x00000400) == 0x00000400)) { to_bitField0_ |= 0x00000400; } result.bytesOnDisk_ = bytesOnDisk_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.ColumnStatistics) { return mergeFrom((io.prestosql.orc.proto.OrcProto.ColumnStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.ColumnStatistics other) { if (other == io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance()) return this; if (other.hasNumberOfValues()) { setNumberOfValues(other.getNumberOfValues()); } if (other.hasIntStatistics()) { mergeIntStatistics(other.getIntStatistics()); } if (other.hasDoubleStatistics()) { mergeDoubleStatistics(other.getDoubleStatistics()); } if (other.hasStringStatistics()) { mergeStringStatistics(other.getStringStatistics()); } if (other.hasBucketStatistics()) { mergeBucketStatistics(other.getBucketStatistics()); } if (other.hasDecimalStatistics()) { mergeDecimalStatistics(other.getDecimalStatistics()); } if (other.hasDateStatistics()) { mergeDateStatistics(other.getDateStatistics()); } if (other.hasBinaryStatistics()) { mergeBinaryStatistics(other.getBinaryStatistics()); } if (other.hasTimestampStatistics()) { mergeTimestampStatistics(other.getTimestampStatistics()); } if (other.hasHasNull()) { setHasNull(other.getHasNull()); } if (other.hasBytesOnDisk()) { setBytesOnDisk(other.getBytesOnDisk()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.ColumnStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.ColumnStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long numberOfValues_ ; /** * optional uint64 numberOfValues = 1; */ public boolean hasNumberOfValues() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 numberOfValues = 1; */ public long getNumberOfValues() { return numberOfValues_; } /** * optional uint64 numberOfValues = 1; */ public Builder setNumberOfValues(long value) { bitField0_ |= 0x00000001; numberOfValues_ = value; onChanged(); return this; } /** * optional uint64 numberOfValues = 1; */ public Builder clearNumberOfValues() { bitField0_ = (bitField0_ & ~0x00000001); numberOfValues_ = 0L; onChanged(); return this; } private io.prestosql.orc.proto.OrcProto.IntegerStatistics intStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.IntegerStatistics, io.prestosql.orc.proto.OrcProto.IntegerStatistics.Builder, io.prestosql.orc.proto.OrcProto.IntegerStatisticsOrBuilder> intStatisticsBuilder_; /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public boolean hasIntStatistics() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public io.prestosql.orc.proto.OrcProto.IntegerStatistics getIntStatistics() { if (intStatisticsBuilder_ == null) { return intStatistics_ == null ? io.prestosql.orc.proto.OrcProto.IntegerStatistics.getDefaultInstance() : intStatistics_; } else { return intStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public Builder setIntStatistics(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.IntegerStatistics value) { if (intStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && intStatistics_ != null && intStatistics_ != io.prestosql.orc.proto.OrcProto.IntegerStatistics.getDefaultInstance()) { intStatistics_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { intStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public io.prestosql.orc.proto.OrcProto.IntegerStatistics.Builder getIntStatisticsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getIntStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ public io.prestosql.orc.proto.OrcProto.IntegerStatisticsOrBuilder getIntStatisticsOrBuilder() { if (intStatisticsBuilder_ != null) { return intStatisticsBuilder_.getMessageOrBuilder(); } else { return intStatistics_ == null ? io.prestosql.orc.proto.OrcProto.IntegerStatistics.getDefaultInstance() : intStatistics_; } } /** * optional .orc.proto.IntegerStatistics intStatistics = 2; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.IntegerStatistics, io.prestosql.orc.proto.OrcProto.IntegerStatistics.Builder, io.prestosql.orc.proto.OrcProto.IntegerStatisticsOrBuilder> getIntStatisticsFieldBuilder() { if (intStatisticsBuilder_ == null) { intStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.IntegerStatistics, io.prestosql.orc.proto.OrcProto.IntegerStatistics.Builder, io.prestosql.orc.proto.OrcProto.IntegerStatisticsOrBuilder>( getIntStatistics(), getParentForChildren(), isClean()); intStatistics_ = null; } return intStatisticsBuilder_; } private io.prestosql.orc.proto.OrcProto.DoubleStatistics doubleStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.DoubleStatistics, io.prestosql.orc.proto.OrcProto.DoubleStatistics.Builder, io.prestosql.orc.proto.OrcProto.DoubleStatisticsOrBuilder> doubleStatisticsBuilder_; /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public boolean hasDoubleStatistics() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public io.prestosql.orc.proto.OrcProto.DoubleStatistics getDoubleStatistics() { if (doubleStatisticsBuilder_ == null) { return doubleStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DoubleStatistics.getDefaultInstance() : doubleStatistics_; } else { return doubleStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public Builder setDoubleStatistics(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.DoubleStatistics value) { if (doubleStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000004) == 0x00000004) && doubleStatistics_ != null && doubleStatistics_ != io.prestosql.orc.proto.OrcProto.DoubleStatistics.getDefaultInstance()) { doubleStatistics_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { doubleStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000004); return this; } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public io.prestosql.orc.proto.OrcProto.DoubleStatistics.Builder getDoubleStatisticsBuilder() { bitField0_ |= 0x00000004; onChanged(); return getDoubleStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ public io.prestosql.orc.proto.OrcProto.DoubleStatisticsOrBuilder getDoubleStatisticsOrBuilder() { if (doubleStatisticsBuilder_ != null) { return doubleStatisticsBuilder_.getMessageOrBuilder(); } else { return doubleStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DoubleStatistics.getDefaultInstance() : doubleStatistics_; } } /** * optional .orc.proto.DoubleStatistics doubleStatistics = 3; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.DoubleStatistics, io.prestosql.orc.proto.OrcProto.DoubleStatistics.Builder, io.prestosql.orc.proto.OrcProto.DoubleStatisticsOrBuilder> getDoubleStatisticsFieldBuilder() { if (doubleStatisticsBuilder_ == null) { doubleStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.DoubleStatistics, io.prestosql.orc.proto.OrcProto.DoubleStatistics.Builder, io.prestosql.orc.proto.OrcProto.DoubleStatisticsOrBuilder>( getDoubleStatistics(), getParentForChildren(), isClean()); doubleStatistics_ = null; } return doubleStatisticsBuilder_; } private io.prestosql.orc.proto.OrcProto.StringStatistics stringStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.StringStatistics, io.prestosql.orc.proto.OrcProto.StringStatistics.Builder, io.prestosql.orc.proto.OrcProto.StringStatisticsOrBuilder> stringStatisticsBuilder_; /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public boolean hasStringStatistics() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public io.prestosql.orc.proto.OrcProto.StringStatistics getStringStatistics() { if (stringStatisticsBuilder_ == null) { return stringStatistics_ == null ? io.prestosql.orc.proto.OrcProto.StringStatistics.getDefaultInstance() : stringStatistics_; } else { return stringStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public Builder setStringStatistics(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.StringStatistics value) { if (stringStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000008) == 0x00000008) && stringStatistics_ != null && stringStatistics_ != io.prestosql.orc.proto.OrcProto.StringStatistics.getDefaultInstance()) { stringStatistics_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { stringStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000008); return this; } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public io.prestosql.orc.proto.OrcProto.StringStatistics.Builder getStringStatisticsBuilder() { bitField0_ |= 0x00000008; onChanged(); return getStringStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ public io.prestosql.orc.proto.OrcProto.StringStatisticsOrBuilder getStringStatisticsOrBuilder() { if (stringStatisticsBuilder_ != null) { return stringStatisticsBuilder_.getMessageOrBuilder(); } else { return stringStatistics_ == null ? io.prestosql.orc.proto.OrcProto.StringStatistics.getDefaultInstance() : stringStatistics_; } } /** * optional .orc.proto.StringStatistics stringStatistics = 4; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.StringStatistics, io.prestosql.orc.proto.OrcProto.StringStatistics.Builder, io.prestosql.orc.proto.OrcProto.StringStatisticsOrBuilder> getStringStatisticsFieldBuilder() { if (stringStatisticsBuilder_ == null) { stringStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.StringStatistics, io.prestosql.orc.proto.OrcProto.StringStatistics.Builder, io.prestosql.orc.proto.OrcProto.StringStatisticsOrBuilder>( getStringStatistics(), getParentForChildren(), isClean()); stringStatistics_ = null; } return stringStatisticsBuilder_; } private io.prestosql.orc.proto.OrcProto.BucketStatistics bucketStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.BucketStatistics, io.prestosql.orc.proto.OrcProto.BucketStatistics.Builder, io.prestosql.orc.proto.OrcProto.BucketStatisticsOrBuilder> bucketStatisticsBuilder_; /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public boolean hasBucketStatistics() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public io.prestosql.orc.proto.OrcProto.BucketStatistics getBucketStatistics() { if (bucketStatisticsBuilder_ == null) { return bucketStatistics_ == null ? io.prestosql.orc.proto.OrcProto.BucketStatistics.getDefaultInstance() : bucketStatistics_; } else { return bucketStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public Builder setBucketStatistics(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.BucketStatistics value) { if (bucketStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000010) == 0x00000010) && bucketStatistics_ != null && bucketStatistics_ != io.prestosql.orc.proto.OrcProto.BucketStatistics.getDefaultInstance()) { bucketStatistics_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { bucketStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000010); return this; } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public io.prestosql.orc.proto.OrcProto.BucketStatistics.Builder getBucketStatisticsBuilder() { bitField0_ |= 0x00000010; onChanged(); return getBucketStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ public io.prestosql.orc.proto.OrcProto.BucketStatisticsOrBuilder getBucketStatisticsOrBuilder() { if (bucketStatisticsBuilder_ != null) { return bucketStatisticsBuilder_.getMessageOrBuilder(); } else { return bucketStatistics_ == null ? io.prestosql.orc.proto.OrcProto.BucketStatistics.getDefaultInstance() : bucketStatistics_; } } /** * optional .orc.proto.BucketStatistics bucketStatistics = 5; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.BucketStatistics, io.prestosql.orc.proto.OrcProto.BucketStatistics.Builder, io.prestosql.orc.proto.OrcProto.BucketStatisticsOrBuilder> getBucketStatisticsFieldBuilder() { if (bucketStatisticsBuilder_ == null) { bucketStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.BucketStatistics, io.prestosql.orc.proto.OrcProto.BucketStatistics.Builder, io.prestosql.orc.proto.OrcProto.BucketStatisticsOrBuilder>( getBucketStatistics(), getParentForChildren(), isClean()); bucketStatistics_ = null; } return bucketStatisticsBuilder_; } private io.prestosql.orc.proto.OrcProto.DecimalStatistics decimalStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.DecimalStatistics, io.prestosql.orc.proto.OrcProto.DecimalStatistics.Builder, io.prestosql.orc.proto.OrcProto.DecimalStatisticsOrBuilder> decimalStatisticsBuilder_; /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public boolean hasDecimalStatistics() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public io.prestosql.orc.proto.OrcProto.DecimalStatistics getDecimalStatistics() { if (decimalStatisticsBuilder_ == null) { return decimalStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DecimalStatistics.getDefaultInstance() : decimalStatistics_; } else { return decimalStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public Builder setDecimalStatistics(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.DecimalStatistics value) { if (decimalStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000020) == 0x00000020) && decimalStatistics_ != null && decimalStatistics_ != io.prestosql.orc.proto.OrcProto.DecimalStatistics.getDefaultInstance()) { decimalStatistics_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { decimalStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000020); return this; } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public io.prestosql.orc.proto.OrcProto.DecimalStatistics.Builder getDecimalStatisticsBuilder() { bitField0_ |= 0x00000020; onChanged(); return getDecimalStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ public io.prestosql.orc.proto.OrcProto.DecimalStatisticsOrBuilder getDecimalStatisticsOrBuilder() { if (decimalStatisticsBuilder_ != null) { return decimalStatisticsBuilder_.getMessageOrBuilder(); } else { return decimalStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DecimalStatistics.getDefaultInstance() : decimalStatistics_; } } /** * optional .orc.proto.DecimalStatistics decimalStatistics = 6; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.DecimalStatistics, io.prestosql.orc.proto.OrcProto.DecimalStatistics.Builder, io.prestosql.orc.proto.OrcProto.DecimalStatisticsOrBuilder> getDecimalStatisticsFieldBuilder() { if (decimalStatisticsBuilder_ == null) { decimalStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.DecimalStatistics, io.prestosql.orc.proto.OrcProto.DecimalStatistics.Builder, io.prestosql.orc.proto.OrcProto.DecimalStatisticsOrBuilder>( getDecimalStatistics(), getParentForChildren(), isClean()); decimalStatistics_ = null; } return decimalStatisticsBuilder_; } private io.prestosql.orc.proto.OrcProto.DateStatistics dateStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.DateStatistics, io.prestosql.orc.proto.OrcProto.DateStatistics.Builder, io.prestosql.orc.proto.OrcProto.DateStatisticsOrBuilder> dateStatisticsBuilder_; /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public boolean hasDateStatistics() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public io.prestosql.orc.proto.OrcProto.DateStatistics getDateStatistics() { if (dateStatisticsBuilder_ == null) { return dateStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DateStatistics.getDefaultInstance() : dateStatistics_; } else { return dateStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public Builder setDateStatistics(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.DateStatistics value) { if (dateStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000040) == 0x00000040) && dateStatistics_ != null && dateStatistics_ != io.prestosql.orc.proto.OrcProto.DateStatistics.getDefaultInstance()) { dateStatistics_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { dateStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000040); return this; } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public io.prestosql.orc.proto.OrcProto.DateStatistics.Builder getDateStatisticsBuilder() { bitField0_ |= 0x00000040; onChanged(); return getDateStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ public io.prestosql.orc.proto.OrcProto.DateStatisticsOrBuilder getDateStatisticsOrBuilder() { if (dateStatisticsBuilder_ != null) { return dateStatisticsBuilder_.getMessageOrBuilder(); } else { return dateStatistics_ == null ? io.prestosql.orc.proto.OrcProto.DateStatistics.getDefaultInstance() : dateStatistics_; } } /** * optional .orc.proto.DateStatistics dateStatistics = 7; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.DateStatistics, io.prestosql.orc.proto.OrcProto.DateStatistics.Builder, io.prestosql.orc.proto.OrcProto.DateStatisticsOrBuilder> getDateStatisticsFieldBuilder() { if (dateStatisticsBuilder_ == null) { dateStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.DateStatistics, io.prestosql.orc.proto.OrcProto.DateStatistics.Builder, io.prestosql.orc.proto.OrcProto.DateStatisticsOrBuilder>( getDateStatistics(), getParentForChildren(), isClean()); dateStatistics_ = null; } return dateStatisticsBuilder_; } private io.prestosql.orc.proto.OrcProto.BinaryStatistics binaryStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.BinaryStatistics, io.prestosql.orc.proto.OrcProto.BinaryStatistics.Builder, io.prestosql.orc.proto.OrcProto.BinaryStatisticsOrBuilder> binaryStatisticsBuilder_; /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public boolean hasBinaryStatistics() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public io.prestosql.orc.proto.OrcProto.BinaryStatistics getBinaryStatistics() { if (binaryStatisticsBuilder_ == null) { return binaryStatistics_ == null ? io.prestosql.orc.proto.OrcProto.BinaryStatistics.getDefaultInstance() : binaryStatistics_; } else { return binaryStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public Builder setBinaryStatistics(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.BinaryStatistics value) { if (binaryStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000080) == 0x00000080) && binaryStatistics_ != null && binaryStatistics_ != io.prestosql.orc.proto.OrcProto.BinaryStatistics.getDefaultInstance()) { binaryStatistics_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { binaryStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000080); return this; } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public io.prestosql.orc.proto.OrcProto.BinaryStatistics.Builder getBinaryStatisticsBuilder() { bitField0_ |= 0x00000080; onChanged(); return getBinaryStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ public io.prestosql.orc.proto.OrcProto.BinaryStatisticsOrBuilder getBinaryStatisticsOrBuilder() { if (binaryStatisticsBuilder_ != null) { return binaryStatisticsBuilder_.getMessageOrBuilder(); } else { return binaryStatistics_ == null ? io.prestosql.orc.proto.OrcProto.BinaryStatistics.getDefaultInstance() : binaryStatistics_; } } /** * optional .orc.proto.BinaryStatistics binaryStatistics = 8; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.BinaryStatistics, io.prestosql.orc.proto.OrcProto.BinaryStatistics.Builder, io.prestosql.orc.proto.OrcProto.BinaryStatisticsOrBuilder> getBinaryStatisticsFieldBuilder() { if (binaryStatisticsBuilder_ == null) { binaryStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.BinaryStatistics, io.prestosql.orc.proto.OrcProto.BinaryStatistics.Builder, io.prestosql.orc.proto.OrcProto.BinaryStatisticsOrBuilder>( getBinaryStatistics(), getParentForChildren(), isClean()); binaryStatistics_ = null; } return binaryStatisticsBuilder_; } private io.prestosql.orc.proto.OrcProto.TimestampStatistics timestampStatistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.TimestampStatistics, io.prestosql.orc.proto.OrcProto.TimestampStatistics.Builder, io.prestosql.orc.proto.OrcProto.TimestampStatisticsOrBuilder> timestampStatisticsBuilder_; /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public boolean hasTimestampStatistics() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public io.prestosql.orc.proto.OrcProto.TimestampStatistics getTimestampStatistics() { if (timestampStatisticsBuilder_ == null) { return timestampStatistics_ == null ? io.prestosql.orc.proto.OrcProto.TimestampStatistics.getDefaultInstance() : timestampStatistics_; } else { return timestampStatisticsBuilder_.getMessage(); } } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public Builder setTimestampStatistics(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.TimestampStatistics value) { if (timestampStatisticsBuilder_ == null) { if (((bitField0_ & 0x00000100) == 0x00000100) && timestampStatistics_ != null && timestampStatistics_ != io.prestosql.orc.proto.OrcProto.TimestampStatistics.getDefaultInstance()) { timestampStatistics_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { timestampStatisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000100); return this; } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public io.prestosql.orc.proto.OrcProto.TimestampStatistics.Builder getTimestampStatisticsBuilder() { bitField0_ |= 0x00000100; onChanged(); return getTimestampStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ public io.prestosql.orc.proto.OrcProto.TimestampStatisticsOrBuilder getTimestampStatisticsOrBuilder() { if (timestampStatisticsBuilder_ != null) { return timestampStatisticsBuilder_.getMessageOrBuilder(); } else { return timestampStatistics_ == null ? io.prestosql.orc.proto.OrcProto.TimestampStatistics.getDefaultInstance() : timestampStatistics_; } } /** * optional .orc.proto.TimestampStatistics timestampStatistics = 9; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.TimestampStatistics, io.prestosql.orc.proto.OrcProto.TimestampStatistics.Builder, io.prestosql.orc.proto.OrcProto.TimestampStatisticsOrBuilder> getTimestampStatisticsFieldBuilder() { if (timestampStatisticsBuilder_ == null) { timestampStatisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.TimestampStatistics, io.prestosql.orc.proto.OrcProto.TimestampStatistics.Builder, io.prestosql.orc.proto.OrcProto.TimestampStatisticsOrBuilder>( getTimestampStatistics(), getParentForChildren(), isClean()); timestampStatistics_ = null; } return timestampStatisticsBuilder_; } 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; } private long bytesOnDisk_ ; /** * optional uint64 bytesOnDisk = 11; */ public boolean hasBytesOnDisk() { return ((bitField0_ & 0x00000400) == 0x00000400); } /** * optional uint64 bytesOnDisk = 11; */ public long getBytesOnDisk() { return bytesOnDisk_; } /** * optional uint64 bytesOnDisk = 11; */ public Builder setBytesOnDisk(long value) { bitField0_ |= 0x00000400; bytesOnDisk_ = value; onChanged(); return this; } /** * optional uint64 bytesOnDisk = 11; */ public Builder clearBytesOnDisk() { bitField0_ = (bitField0_ & ~0x00000400); bytesOnDisk_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.ColumnStatistics) } // @@protoc_insertion_point(class_scope:orc.proto.ColumnStatistics) private static final io.prestosql.orc.proto.OrcProto.ColumnStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.ColumnStatistics(); } public static io.prestosql.orc.proto.OrcProto.ColumnStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public ColumnStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new ColumnStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.ColumnStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RowIndexEntryOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.RowIndexEntry) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated uint64 positions = 1 [packed = true]; */ java.util.List getPositionsList(); /** * repeated uint64 positions = 1 [packed = true]; */ int getPositionsCount(); /** * repeated uint64 positions = 1 [packed = true]; */ long getPositions(int index); /** * optional .orc.proto.ColumnStatistics statistics = 2; */ boolean hasStatistics(); /** * optional .orc.proto.ColumnStatistics statistics = 2; */ io.prestosql.orc.proto.OrcProto.ColumnStatistics getStatistics(); /** * optional .orc.proto.ColumnStatistics statistics = 2; */ io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder(); } /** * Protobuf type {@code orc.proto.RowIndexEntry} */ public static final class RowIndexEntry extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.RowIndexEntry) RowIndexEntryOrBuilder { // Use RowIndexEntry.newBuilder() to construct. private RowIndexEntry(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RowIndexEntry() { positions_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RowIndexEntry( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { positions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } positions_.add(input.readUInt64()); break; } case 10: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000001) == 0x00000001) && input.getBytesUntilLimit() > 0) { positions_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } while (input.getBytesUntilLimit() > 0) { positions_.add(input.readUInt64()); } input.popLimit(limit); break; } case 18: { io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = statistics_.toBuilder(); } statistics_ = input.readMessage(io.prestosql.orc.proto.OrcProto.ColumnStatistics.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(statistics_); statistics_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { positions_ = java.util.Collections.unmodifiableList(positions_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_RowIndexEntry_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_RowIndexEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.RowIndexEntry.class, io.prestosql.orc.proto.OrcProto.RowIndexEntry.Builder.class); } private int bitField0_; public static final int POSITIONS_FIELD_NUMBER = 1; private java.util.List positions_; /** * repeated uint64 positions = 1 [packed = true]; */ public java.util.List getPositionsList() { return positions_; } /** * repeated uint64 positions = 1 [packed = true]; */ public int getPositionsCount() { return positions_.size(); } /** * repeated uint64 positions = 1 [packed = true]; */ public long getPositions(int index) { return positions_.get(index); } private int positionsMemoizedSerializedSize = -1; public static final int STATISTICS_FIELD_NUMBER = 2; private io.prestosql.orc.proto.OrcProto.ColumnStatistics statistics_; /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public boolean hasStatistics() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public io.prestosql.orc.proto.OrcProto.ColumnStatistics getStatistics() { return statistics_ == null ? io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance() : statistics_; } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder() { return statistics_ == null ? io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance() : statistics_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (getPositionsList().size() > 0) { output.writeUInt32NoTag(10); output.writeUInt32NoTag(positionsMemoizedSerializedSize); } for (int i = 0; i < positions_.size(); i++) { output.writeUInt64NoTag(positions_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(2, getStatistics()); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; { int dataSize = 0; for (int i = 0; i < positions_.size(); i++) { dataSize += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64SizeNoTag(positions_.get(i)); } size += dataSize; if (!getPositionsList().isEmpty()) { size += 1; size += io.prestosql.orc.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } positionsMemoizedSerializedSize = dataSize; } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(2, getStatistics()); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.RowIndexEntry)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.RowIndexEntry other = (io.prestosql.orc.proto.OrcProto.RowIndexEntry) obj; boolean result = true; result = result && getPositionsList() .equals(other.getPositionsList()); result = result && (hasStatistics() == other.hasStatistics()); if (hasStatistics()) { result = result && getStatistics() .equals(other.getStatistics()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getPositionsCount() > 0) { hash = (37 * hash) + POSITIONS_FIELD_NUMBER; hash = (53 * hash) + getPositionsList().hashCode(); } if (hasStatistics()) { hash = (37 * hash) + STATISTICS_FIELD_NUMBER; hash = (53 * hash) + getStatistics().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.RowIndexEntry prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.RowIndexEntry} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.RowIndexEntry) io.prestosql.orc.proto.OrcProto.RowIndexEntryOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_RowIndexEntry_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_RowIndexEntry_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.RowIndexEntry.class, io.prestosql.orc.proto.OrcProto.RowIndexEntry.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.RowIndexEntry.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStatisticsFieldBuilder(); } } public Builder clear() { super.clear(); positions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); if (statisticsBuilder_ == null) { statistics_ = null; } else { statisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_RowIndexEntry_descriptor; } public io.prestosql.orc.proto.OrcProto.RowIndexEntry getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.RowIndexEntry.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.RowIndexEntry build() { io.prestosql.orc.proto.OrcProto.RowIndexEntry result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.RowIndexEntry buildPartial() { io.prestosql.orc.proto.OrcProto.RowIndexEntry result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.RowIndexEntry) { return mergeFrom((io.prestosql.orc.proto.OrcProto.RowIndexEntry)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.RowIndexEntry other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.RowIndexEntry parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.RowIndexEntry) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List positions_ = java.util.Collections.emptyList(); private void ensurePositionsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { positions_ = new java.util.ArrayList(positions_); bitField0_ |= 0x00000001; } } /** * repeated uint64 positions = 1 [packed = true]; */ public java.util.List getPositionsList() { return java.util.Collections.unmodifiableList(positions_); } /** * repeated uint64 positions = 1 [packed = true]; */ public int getPositionsCount() { return positions_.size(); } /** * repeated uint64 positions = 1 [packed = true]; */ public long getPositions(int index) { return positions_.get(index); } /** * repeated uint64 positions = 1 [packed = true]; */ public Builder setPositions( int index, long value) { ensurePositionsIsMutable(); positions_.set(index, value); onChanged(); return this; } /** * repeated uint64 positions = 1 [packed = true]; */ public Builder addPositions(long value) { ensurePositionsIsMutable(); positions_.add(value); onChanged(); return this; } /** * repeated uint64 positions = 1 [packed = true]; */ public Builder addAllPositions( java.lang.Iterable values) { ensurePositionsIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, positions_); onChanged(); return this; } /** * repeated uint64 positions = 1 [packed = true]; */ public Builder clearPositions() { positions_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } private io.prestosql.orc.proto.OrcProto.ColumnStatistics statistics_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnStatistics, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder, io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder> statisticsBuilder_; /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public boolean hasStatistics() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public io.prestosql.orc.proto.OrcProto.ColumnStatistics getStatistics() { if (statisticsBuilder_ == null) { return statistics_ == null ? io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance() : statistics_; } else { return statisticsBuilder_.getMessage(); } } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public Builder setStatistics(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.ColumnStatistics value) { if (statisticsBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && statistics_ != null && statistics_ != io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance()) { statistics_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { statisticsBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder getStatisticsBuilder() { bitField0_ |= 0x00000002; onChanged(); return getStatisticsFieldBuilder().getBuilder(); } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ public io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder() { if (statisticsBuilder_ != null) { return statisticsBuilder_.getMessageOrBuilder(); } else { return statistics_ == null ? io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance() : statistics_; } } /** * optional .orc.proto.ColumnStatistics statistics = 2; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnStatistics, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder, io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder> getStatisticsFieldBuilder() { if (statisticsBuilder_ == null) { statisticsBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnStatistics, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder, io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder>( getStatistics(), getParentForChildren(), isClean()); statistics_ = null; } return statisticsBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.RowIndexEntry) } // @@protoc_insertion_point(class_scope:orc.proto.RowIndexEntry) private static final io.prestosql.orc.proto.OrcProto.RowIndexEntry DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.RowIndexEntry(); } public static io.prestosql.orc.proto.OrcProto.RowIndexEntry getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public RowIndexEntry parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new RowIndexEntry(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.RowIndexEntry getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface RowIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.RowIndex) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated .orc.proto.RowIndexEntry entry = 1; */ java.util.List getEntryList(); /** * repeated .orc.proto.RowIndexEntry entry = 1; */ io.prestosql.orc.proto.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; */ io.prestosql.orc.proto.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder( int index); } /** * Protobuf type {@code orc.proto.RowIndex} */ public static final class RowIndex extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.RowIndex) RowIndexOrBuilder { // Use RowIndex.newBuilder() to construct. private RowIndex(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private RowIndex() { entry_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private RowIndex( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } entry_.add( input.readMessage(io.prestosql.orc.proto.OrcProto.RowIndexEntry.PARSER, extensionRegistry)); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { entry_ = java.util.Collections.unmodifiableList(entry_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_RowIndex_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_RowIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.RowIndex.class, io.prestosql.orc.proto.OrcProto.RowIndex.Builder.class); } 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 io.prestosql.orc.proto.OrcProto.RowIndexEntry getEntry(int index) { return entry_.get(index); } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public io.prestosql.orc.proto.OrcProto.RowIndexEntryOrBuilder getEntryOrBuilder( int index) { return entry_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < entry_.size(); i++) { output.writeMessage(1, entry_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < entry_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(1, entry_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.RowIndex)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.RowIndex other = (io.prestosql.orc.proto.OrcProto.RowIndex) obj; boolean result = true; result = result && getEntryList() .equals(other.getEntryList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getEntryCount() > 0) { hash = (37 * hash) + ENTRY_FIELD_NUMBER; hash = (53 * hash) + getEntryList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.RowIndex parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.RowIndex parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.RowIndex parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.RowIndex parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.RowIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.RowIndex parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.RowIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.RowIndex parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.RowIndex parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.RowIndex parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.RowIndex prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.RowIndex} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.RowIndex) io.prestosql.orc.proto.OrcProto.RowIndexOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_RowIndex_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_RowIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.RowIndex.class, io.prestosql.orc.proto.OrcProto.RowIndex.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.RowIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getEntryFieldBuilder(); } } public Builder clear() { super.clear(); if (entryBuilder_ == null) { entry_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { entryBuilder_.clear(); } return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_RowIndex_descriptor; } public io.prestosql.orc.proto.OrcProto.RowIndex getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.RowIndex.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.RowIndex build() { io.prestosql.orc.proto.OrcProto.RowIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.RowIndex buildPartial() { io.prestosql.orc.proto.OrcProto.RowIndex result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.RowIndex) { return mergeFrom((io.prestosql.orc.proto.OrcProto.RowIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.RowIndex other) { if (other == io.prestosql.orc.proto.OrcProto.RowIndex.getDefaultInstance()) return this; if (entryBuilder_ == null) { if (!other.entry_.isEmpty()) { if (entry_.isEmpty()) { entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureEntryIsMutable(); entry_.addAll(other.entry_); } onChanged(); } } else { if (!other.entry_.isEmpty()) { if (entryBuilder_.isEmpty()) { entryBuilder_.dispose(); entryBuilder_ = null; entry_ = other.entry_; bitField0_ = (bitField0_ & ~0x00000001); entryBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getEntryFieldBuilder() : null; } else { entryBuilder_.addAllMessages(other.entry_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.RowIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.RowIndex) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List entry_ = java.util.Collections.emptyList(); private void ensureEntryIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { entry_ = new java.util.ArrayList(entry_); bitField0_ |= 0x00000001; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.RowIndexEntry, io.prestosql.orc.proto.OrcProto.RowIndexEntry.Builder, io.prestosql.orc.proto.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 io.prestosql.orc.proto.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, io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(io.prestosql.orc.proto.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, io.prestosql.orc.proto.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( io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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 io.prestosql.orc.proto.OrcProto.RowIndexEntry.Builder getEntryBuilder( int index) { return getEntryFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public io.prestosql.orc.proto.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 io.prestosql.orc.proto.OrcProto.RowIndexEntry.Builder addEntryBuilder() { return getEntryFieldBuilder().addBuilder( io.prestosql.orc.proto.OrcProto.RowIndexEntry.getDefaultInstance()); } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public io.prestosql.orc.proto.OrcProto.RowIndexEntry.Builder addEntryBuilder( int index) { return getEntryFieldBuilder().addBuilder( index, io.prestosql.orc.proto.OrcProto.RowIndexEntry.getDefaultInstance()); } /** * repeated .orc.proto.RowIndexEntry entry = 1; */ public java.util.List getEntryBuilderList() { return getEntryFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.RowIndexEntry, io.prestosql.orc.proto.OrcProto.RowIndexEntry.Builder, io.prestosql.orc.proto.OrcProto.RowIndexEntryOrBuilder> getEntryFieldBuilder() { if (entryBuilder_ == null) { entryBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.RowIndexEntry, io.prestosql.orc.proto.OrcProto.RowIndexEntry.Builder, io.prestosql.orc.proto.OrcProto.RowIndexEntryOrBuilder>( entry_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); entry_ = null; } return entryBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.RowIndex) } // @@protoc_insertion_point(class_scope:orc.proto.RowIndex) private static final io.prestosql.orc.proto.OrcProto.RowIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.RowIndex(); } public static io.prestosql.orc.proto.OrcProto.RowIndex getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public RowIndex parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new RowIndex(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.RowIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BloomFilterOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.BloomFilter) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional uint32 numHashFunctions = 1; */ boolean hasNumHashFunctions(); /** * optional uint32 numHashFunctions = 1; */ int getNumHashFunctions(); /** * repeated fixed64 bitset = 2; */ java.util.List getBitsetList(); /** * repeated fixed64 bitset = 2; */ int getBitsetCount(); /** * repeated fixed64 bitset = 2; */ long getBitset(int index); /** * optional bytes utf8bitset = 3; */ boolean hasUtf8Bitset(); /** * optional bytes utf8bitset = 3; */ io.prestosql.orc.protobuf.ByteString getUtf8Bitset(); } /** * Protobuf type {@code orc.proto.BloomFilter} */ public static final class BloomFilter extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.BloomFilter) BloomFilterOrBuilder { // Use BloomFilter.newBuilder() to construct. private BloomFilter(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BloomFilter() { numHashFunctions_ = 0; bitset_ = java.util.Collections.emptyList(); utf8Bitset_ = io.prestosql.orc.protobuf.ByteString.EMPTY; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BloomFilter( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; numHashFunctions_ = input.readUInt32(); break; } case 17: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { bitset_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } bitset_.add(input.readFixed64()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { bitset_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { bitset_.add(input.readFixed64()); } input.popLimit(limit); break; } case 26: { bitField0_ |= 0x00000002; utf8Bitset_ = input.readBytes(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { bitset_ = java.util.Collections.unmodifiableList(bitset_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BloomFilter_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BloomFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.BloomFilter.class, io.prestosql.orc.proto.OrcProto.BloomFilter.Builder.class); } private int bitField0_; public static final int NUMHASHFUNCTIONS_FIELD_NUMBER = 1; private int numHashFunctions_; /** * optional uint32 numHashFunctions = 1; */ public boolean hasNumHashFunctions() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint32 numHashFunctions = 1; */ public int getNumHashFunctions() { return numHashFunctions_; } public static final int BITSET_FIELD_NUMBER = 2; private java.util.List bitset_; /** * repeated fixed64 bitset = 2; */ public java.util.List getBitsetList() { return bitset_; } /** * repeated fixed64 bitset = 2; */ public int getBitsetCount() { return bitset_.size(); } /** * repeated fixed64 bitset = 2; */ public long getBitset(int index) { return bitset_.get(index); } public static final int UTF8BITSET_FIELD_NUMBER = 3; private io.prestosql.orc.protobuf.ByteString utf8Bitset_; /** * optional bytes utf8bitset = 3; */ public boolean hasUtf8Bitset() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes utf8bitset = 3; */ public io.prestosql.orc.protobuf.ByteString getUtf8Bitset() { return utf8Bitset_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt32(1, numHashFunctions_); } for (int i = 0; i < bitset_.size(); i++) { output.writeFixed64(2, bitset_.get(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(3, utf8Bitset_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(1, numHashFunctions_); } { int dataSize = 0; dataSize = 8 * getBitsetList().size(); size += dataSize; size += 1 * getBitsetList().size(); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeBytesSize(3, utf8Bitset_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.BloomFilter)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.BloomFilter other = (io.prestosql.orc.proto.OrcProto.BloomFilter) obj; boolean result = true; result = result && (hasNumHashFunctions() == other.hasNumHashFunctions()); if (hasNumHashFunctions()) { result = result && (getNumHashFunctions() == other.getNumHashFunctions()); } result = result && getBitsetList() .equals(other.getBitsetList()); result = result && (hasUtf8Bitset() == other.hasUtf8Bitset()); if (hasUtf8Bitset()) { result = result && getUtf8Bitset() .equals(other.getUtf8Bitset()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasNumHashFunctions()) { hash = (37 * hash) + NUMHASHFUNCTIONS_FIELD_NUMBER; hash = (53 * hash) + getNumHashFunctions(); } if (getBitsetCount() > 0) { hash = (37 * hash) + BITSET_FIELD_NUMBER; hash = (53 * hash) + getBitsetList().hashCode(); } if (hasUtf8Bitset()) { hash = (37 * hash) + UTF8BITSET_FIELD_NUMBER; hash = (53 * hash) + getUtf8Bitset().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.BloomFilter parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.BloomFilter parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BloomFilter parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.BloomFilter parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BloomFilter parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BloomFilter parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BloomFilter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BloomFilter parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BloomFilter parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BloomFilter parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.BloomFilter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.BloomFilter} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.BloomFilter) io.prestosql.orc.proto.OrcProto.BloomFilterOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BloomFilter_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BloomFilter_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.BloomFilter.class, io.prestosql.orc.proto.OrcProto.BloomFilter.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.BloomFilter.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); numHashFunctions_ = 0; bitField0_ = (bitField0_ & ~0x00000001); bitset_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); utf8Bitset_ = io.prestosql.orc.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BloomFilter_descriptor; } public io.prestosql.orc.proto.OrcProto.BloomFilter getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.BloomFilter.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.BloomFilter build() { io.prestosql.orc.proto.OrcProto.BloomFilter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.BloomFilter buildPartial() { io.prestosql.orc.proto.OrcProto.BloomFilter result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.BloomFilter) { return mergeFrom((io.prestosql.orc.proto.OrcProto.BloomFilter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.BloomFilter other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.BloomFilter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.BloomFilter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int numHashFunctions_ ; /** * optional uint32 numHashFunctions = 1; */ public boolean hasNumHashFunctions() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint32 numHashFunctions = 1; */ public int getNumHashFunctions() { return numHashFunctions_; } /** * optional uint32 numHashFunctions = 1; */ public Builder setNumHashFunctions(int value) { bitField0_ |= 0x00000001; numHashFunctions_ = value; onChanged(); return this; } /** * optional uint32 numHashFunctions = 1; */ public Builder clearNumHashFunctions() { bitField0_ = (bitField0_ & ~0x00000001); numHashFunctions_ = 0; onChanged(); return this; } private java.util.List bitset_ = java.util.Collections.emptyList(); private void ensureBitsetIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { bitset_ = new java.util.ArrayList(bitset_); bitField0_ |= 0x00000002; } } /** * repeated fixed64 bitset = 2; */ public java.util.List getBitsetList() { return java.util.Collections.unmodifiableList(bitset_); } /** * repeated fixed64 bitset = 2; */ public int getBitsetCount() { return bitset_.size(); } /** * repeated fixed64 bitset = 2; */ public long getBitset(int index) { return bitset_.get(index); } /** * repeated fixed64 bitset = 2; */ public Builder setBitset( int index, long value) { ensureBitsetIsMutable(); bitset_.set(index, value); onChanged(); return this; } /** * repeated fixed64 bitset = 2; */ public Builder addBitset(long value) { ensureBitsetIsMutable(); bitset_.add(value); onChanged(); return this; } /** * repeated fixed64 bitset = 2; */ public Builder addAllBitset( java.lang.Iterable values) { ensureBitsetIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, bitset_); onChanged(); return this; } /** * repeated fixed64 bitset = 2; */ public Builder clearBitset() { bitset_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private io.prestosql.orc.protobuf.ByteString utf8Bitset_ = io.prestosql.orc.protobuf.ByteString.EMPTY; /** * optional bytes utf8bitset = 3; */ public boolean hasUtf8Bitset() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional bytes utf8bitset = 3; */ public io.prestosql.orc.protobuf.ByteString getUtf8Bitset() { return utf8Bitset_; } /** * optional bytes utf8bitset = 3; */ public Builder setUtf8Bitset(io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; utf8Bitset_ = value; onChanged(); return this; } /** * optional bytes utf8bitset = 3; */ public Builder clearUtf8Bitset() { bitField0_ = (bitField0_ & ~0x00000004); utf8Bitset_ = getDefaultInstance().getUtf8Bitset(); onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.BloomFilter) } // @@protoc_insertion_point(class_scope:orc.proto.BloomFilter) private static final io.prestosql.orc.proto.OrcProto.BloomFilter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.BloomFilter(); } public static io.prestosql.orc.proto.OrcProto.BloomFilter getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public BloomFilter parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new BloomFilter(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.BloomFilter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface BloomFilterIndexOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.BloomFilterIndex) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ java.util.List getBloomFilterList(); /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ io.prestosql.orc.proto.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; */ io.prestosql.orc.proto.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder( int index); } /** * Protobuf type {@code orc.proto.BloomFilterIndex} */ public static final class BloomFilterIndex extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.BloomFilterIndex) BloomFilterIndexOrBuilder { // Use BloomFilterIndex.newBuilder() to construct. private BloomFilterIndex(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private BloomFilterIndex() { bloomFilter_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private BloomFilterIndex( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { bloomFilter_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } bloomFilter_.add( input.readMessage(io.prestosql.orc.proto.OrcProto.BloomFilter.PARSER, extensionRegistry)); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { bloomFilter_ = java.util.Collections.unmodifiableList(bloomFilter_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BloomFilterIndex_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BloomFilterIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.BloomFilterIndex.class, io.prestosql.orc.proto.OrcProto.BloomFilterIndex.Builder.class); } 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 io.prestosql.orc.proto.OrcProto.BloomFilter getBloomFilter(int index) { return bloomFilter_.get(index); } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public io.prestosql.orc.proto.OrcProto.BloomFilterOrBuilder getBloomFilterOrBuilder( int index) { return bloomFilter_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < bloomFilter_.size(); i++) { output.writeMessage(1, bloomFilter_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < bloomFilter_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(1, bloomFilter_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.BloomFilterIndex)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.BloomFilterIndex other = (io.prestosql.orc.proto.OrcProto.BloomFilterIndex) obj; boolean result = true; result = result && getBloomFilterList() .equals(other.getBloomFilterList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getBloomFilterCount() > 0) { hash = (37 * hash) + BLOOMFILTER_FIELD_NUMBER; hash = (53 * hash) + getBloomFilterList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.BloomFilterIndex prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.BloomFilterIndex} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.BloomFilterIndex) io.prestosql.orc.proto.OrcProto.BloomFilterIndexOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BloomFilterIndex_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BloomFilterIndex_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.BloomFilterIndex.class, io.prestosql.orc.proto.OrcProto.BloomFilterIndex.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.BloomFilterIndex.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getBloomFilterFieldBuilder(); } } public Builder clear() { super.clear(); if (bloomFilterBuilder_ == null) { bloomFilter_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { bloomFilterBuilder_.clear(); } return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_BloomFilterIndex_descriptor; } public io.prestosql.orc.proto.OrcProto.BloomFilterIndex getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.BloomFilterIndex.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.BloomFilterIndex build() { io.prestosql.orc.proto.OrcProto.BloomFilterIndex result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.BloomFilterIndex buildPartial() { io.prestosql.orc.proto.OrcProto.BloomFilterIndex result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.BloomFilterIndex) { return mergeFrom((io.prestosql.orc.proto.OrcProto.BloomFilterIndex)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.BloomFilterIndex other) { if (other == io.prestosql.orc.proto.OrcProto.BloomFilterIndex.getDefaultInstance()) return this; if (bloomFilterBuilder_ == null) { if (!other.bloomFilter_.isEmpty()) { if (bloomFilter_.isEmpty()) { bloomFilter_ = other.bloomFilter_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureBloomFilterIsMutable(); bloomFilter_.addAll(other.bloomFilter_); } onChanged(); } } else { if (!other.bloomFilter_.isEmpty()) { if (bloomFilterBuilder_.isEmpty()) { bloomFilterBuilder_.dispose(); bloomFilterBuilder_ = null; bloomFilter_ = other.bloomFilter_; bitField0_ = (bitField0_ & ~0x00000001); bloomFilterBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getBloomFilterFieldBuilder() : null; } else { bloomFilterBuilder_.addAllMessages(other.bloomFilter_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.BloomFilterIndex parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.BloomFilterIndex) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List bloomFilter_ = java.util.Collections.emptyList(); private void ensureBloomFilterIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { bloomFilter_ = new java.util.ArrayList(bloomFilter_); bitField0_ |= 0x00000001; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.BloomFilter, io.prestosql.orc.proto.OrcProto.BloomFilter.Builder, io.prestosql.orc.proto.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 io.prestosql.orc.proto.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, io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(io.prestosql.orc.proto.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, io.prestosql.orc.proto.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( io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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 io.prestosql.orc.proto.OrcProto.BloomFilter.Builder getBloomFilterBuilder( int index) { return getBloomFilterFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public io.prestosql.orc.proto.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 io.prestosql.orc.proto.OrcProto.BloomFilter.Builder addBloomFilterBuilder() { return getBloomFilterFieldBuilder().addBuilder( io.prestosql.orc.proto.OrcProto.BloomFilter.getDefaultInstance()); } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public io.prestosql.orc.proto.OrcProto.BloomFilter.Builder addBloomFilterBuilder( int index) { return getBloomFilterFieldBuilder().addBuilder( index, io.prestosql.orc.proto.OrcProto.BloomFilter.getDefaultInstance()); } /** * repeated .orc.proto.BloomFilter bloomFilter = 1; */ public java.util.List getBloomFilterBuilderList() { return getBloomFilterFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.BloomFilter, io.prestosql.orc.proto.OrcProto.BloomFilter.Builder, io.prestosql.orc.proto.OrcProto.BloomFilterOrBuilder> getBloomFilterFieldBuilder() { if (bloomFilterBuilder_ == null) { bloomFilterBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.BloomFilter, io.prestosql.orc.proto.OrcProto.BloomFilter.Builder, io.prestosql.orc.proto.OrcProto.BloomFilterOrBuilder>( bloomFilter_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); bloomFilter_ = null; } return bloomFilterBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.BloomFilterIndex) } // @@protoc_insertion_point(class_scope:orc.proto.BloomFilterIndex) private static final io.prestosql.orc.proto.OrcProto.BloomFilterIndex DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.BloomFilterIndex(); } public static io.prestosql.orc.proto.OrcProto.BloomFilterIndex getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public BloomFilterIndex parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new BloomFilterIndex(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.BloomFilterIndex getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StreamOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.Stream) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional .orc.proto.Stream.Kind kind = 1; */ boolean hasKind(); /** * optional .orc.proto.Stream.Kind kind = 1; */ io.prestosql.orc.proto.OrcProto.Stream.Kind getKind(); /** * optional uint32 column = 2; */ boolean hasColumn(); /** * optional uint32 column = 2; */ int getColumn(); /** * optional uint64 length = 3; */ boolean hasLength(); /** * optional uint64 length = 3; */ long getLength(); } /** * Protobuf type {@code orc.proto.Stream} */ public static final class Stream extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.Stream) StreamOrBuilder { // Use Stream.newBuilder() to construct. private Stream(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Stream() { kind_ = 0; column_ = 0; length_ = 0L; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Stream( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); io.prestosql.orc.proto.OrcProto.Stream.Kind value = io.prestosql.orc.proto.OrcProto.Stream.Kind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; kind_ = rawValue; } break; } case 16: { bitField0_ |= 0x00000002; column_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; length_ = input.readUInt64(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Stream_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.Stream.class, io.prestosql.orc.proto.OrcProto.Stream.Builder.class); } /** *
     * if you add new index stream kinds, you need to make sure to update
     * StreamName to ensure it is added to the stripe in the right area
     * 
* * Protobuf enum {@code orc.proto.Stream.Kind} */ public enum Kind implements io.prestosql.orc.protobuf.ProtocolMessageEnum { /** * PRESENT = 0; */ PRESENT(0), /** * DATA = 1; */ DATA(1), /** * LENGTH = 2; */ LENGTH(2), /** * DICTIONARY_DATA = 3; */ DICTIONARY_DATA(3), /** * DICTIONARY_COUNT = 4; */ DICTIONARY_COUNT(4), /** * SECONDARY = 5; */ SECONDARY(5), /** * ROW_INDEX = 6; */ ROW_INDEX(6), /** * BLOOM_FILTER = 7; */ BLOOM_FILTER(7), /** * BLOOM_FILTER_UTF8 = 8; */ BLOOM_FILTER_UTF8(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; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Kind valueOf(int value) { return forNumber(value); } public static Kind forNumber(int value) { switch (value) { case 0: return PRESENT; case 1: return DATA; case 2: return LENGTH; case 3: return DICTIONARY_DATA; case 4: return DICTIONARY_COUNT; case 5: return SECONDARY; case 6: return ROW_INDEX; case 7: return BLOOM_FILTER; case 8: return BLOOM_FILTER_UTF8; default: return null; } } public static io.prestosql.orc.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final io.prestosql.orc.protobuf.Internal.EnumLiteMap< Kind> internalValueMap = new io.prestosql.orc.protobuf.Internal.EnumLiteMap() { public Kind findValueByNumber(int number) { return Kind.forNumber(number); } }; public final io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.Stream.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); public static Kind valueOf( io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private Kind(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:orc.proto.Stream.Kind) } private int bitField0_; public static final int KIND_FIELD_NUMBER = 1; private int kind_; /** * optional .orc.proto.Stream.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.Stream.Kind kind = 1; */ public io.prestosql.orc.proto.OrcProto.Stream.Kind getKind() { io.prestosql.orc.proto.OrcProto.Stream.Kind result = io.prestosql.orc.proto.OrcProto.Stream.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.OrcProto.Stream.Kind.PRESENT : result; } public static final int COLUMN_FIELD_NUMBER = 2; private int column_; /** * optional uint32 column = 2; */ public boolean hasColumn() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint32 column = 2; */ public int getColumn() { return column_; } public static final int LENGTH_FIELD_NUMBER = 3; private long length_; /** * optional uint64 length = 3; */ public boolean hasLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 length = 3; */ public long getLength() { return length_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, kind_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, column_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, length_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(1, kind_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(2, column_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(3, length_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.Stream)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.Stream other = (io.prestosql.orc.proto.OrcProto.Stream) obj; boolean result = true; result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && kind_ == other.kind_; } result = result && (hasColumn() == other.hasColumn()); if (hasColumn()) { result = result && (getColumn() == other.getColumn()); } result = result && (hasLength() == other.hasLength()); if (hasLength()) { result = result && (getLength() == other.getLength()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + kind_; } if (hasColumn()) { hash = (37 * hash) + COLUMN_FIELD_NUMBER; hash = (53 * hash) + getColumn(); } if (hasLength()) { hash = (37 * hash) + LENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getLength()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.Stream parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.Stream parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Stream parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.Stream parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Stream parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Stream parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Stream parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Stream parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Stream parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Stream parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.Stream prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.Stream} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.Stream) io.prestosql.orc.proto.OrcProto.StreamOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Stream_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Stream_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.Stream.class, io.prestosql.orc.proto.OrcProto.Stream.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.Stream.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); kind_ = 0; bitField0_ = (bitField0_ & ~0x00000001); column_ = 0; bitField0_ = (bitField0_ & ~0x00000002); length_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Stream_descriptor; } public io.prestosql.orc.proto.OrcProto.Stream getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.Stream.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.Stream build() { io.prestosql.orc.proto.OrcProto.Stream result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.Stream buildPartial() { io.prestosql.orc.proto.OrcProto.Stream result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.Stream) { return mergeFrom((io.prestosql.orc.proto.OrcProto.Stream)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.Stream other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.Stream parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.Stream) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int kind_ = 0; /** * optional .orc.proto.Stream.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.Stream.Kind kind = 1; */ public io.prestosql.orc.proto.OrcProto.Stream.Kind getKind() { io.prestosql.orc.proto.OrcProto.Stream.Kind result = io.prestosql.orc.proto.OrcProto.Stream.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.OrcProto.Stream.Kind.PRESENT : result; } /** * optional .orc.proto.Stream.Kind kind = 1; */ public Builder setKind(io.prestosql.orc.proto.OrcProto.Stream.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value.getNumber(); onChanged(); return this; } /** * optional .orc.proto.Stream.Kind kind = 1; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = 0; onChanged(); return this; } private int column_ ; /** * optional uint32 column = 2; */ public boolean hasColumn() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint32 column = 2; */ public int getColumn() { return column_; } /** * optional uint32 column = 2; */ public Builder setColumn(int value) { bitField0_ |= 0x00000002; column_ = value; onChanged(); return this; } /** * optional uint32 column = 2; */ public Builder clearColumn() { bitField0_ = (bitField0_ & ~0x00000002); column_ = 0; onChanged(); return this; } private long length_ ; /** * optional uint64 length = 3; */ public boolean hasLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 length = 3; */ public long getLength() { return length_; } /** * optional uint64 length = 3; */ public Builder setLength(long value) { bitField0_ |= 0x00000004; length_ = value; onChanged(); return this; } /** * optional uint64 length = 3; */ public Builder clearLength() { bitField0_ = (bitField0_ & ~0x00000004); length_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.Stream) } // @@protoc_insertion_point(class_scope:orc.proto.Stream) private static final io.prestosql.orc.proto.OrcProto.Stream DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.Stream(); } public static io.prestosql.orc.proto.OrcProto.Stream getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public Stream parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new Stream(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.Stream getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface ColumnEncodingOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.ColumnEncoding) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ boolean hasKind(); /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind getKind(); /** * optional uint32 dictionarySize = 2; */ boolean hasDictionarySize(); /** * optional uint32 dictionarySize = 2; */ int getDictionarySize(); /** *
     * The encoding of the bloom filters for this column:
     *   0 or missing = none or original
     *   1            = ORC-135 (utc for timestamps)
     * 
* * optional uint32 bloomEncoding = 3; */ boolean hasBloomEncoding(); /** *
     * The encoding of the bloom filters for this column:
     *   0 or missing = none or original
     *   1            = ORC-135 (utc for timestamps)
     * 
* * optional uint32 bloomEncoding = 3; */ int getBloomEncoding(); } /** * Protobuf type {@code orc.proto.ColumnEncoding} */ public static final class ColumnEncoding extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.ColumnEncoding) ColumnEncodingOrBuilder { // Use ColumnEncoding.newBuilder() to construct. private ColumnEncoding(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private ColumnEncoding() { kind_ = 0; dictionarySize_ = 0; bloomEncoding_ = 0; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private ColumnEncoding( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind value = io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; kind_ = rawValue; } break; } case 16: { bitField0_ |= 0x00000002; dictionarySize_ = input.readUInt32(); break; } case 24: { bitField0_ |= 0x00000004; bloomEncoding_ = input.readUInt32(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_ColumnEncoding_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_ColumnEncoding_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.ColumnEncoding.class, io.prestosql.orc.proto.OrcProto.ColumnEncoding.Builder.class); } /** * Protobuf enum {@code orc.proto.ColumnEncoding.Kind} */ public enum Kind implements io.prestosql.orc.protobuf.ProtocolMessageEnum { /** * DIRECT = 0; */ DIRECT(0), /** * DICTIONARY = 1; */ DICTIONARY(1), /** * DIRECT_V2 = 2; */ DIRECT_V2(2), /** * DICTIONARY_V2 = 3; */ DICTIONARY_V2(3), ; /** * 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; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Kind valueOf(int value) { return forNumber(value); } public static Kind forNumber(int value) { switch (value) { case 0: return DIRECT; case 1: return DICTIONARY; case 2: return DIRECT_V2; case 3: return DICTIONARY_V2; default: return null; } } public static io.prestosql.orc.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final io.prestosql.orc.protobuf.Internal.EnumLiteMap< Kind> internalValueMap = new io.prestosql.orc.protobuf.Internal.EnumLiteMap() { public Kind findValueByNumber(int number) { return Kind.forNumber(number); } }; public final io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.ColumnEncoding.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); public static Kind valueOf( io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private Kind(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:orc.proto.ColumnEncoding.Kind) } private int bitField0_; public static final int KIND_FIELD_NUMBER = 1; private int kind_; /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind getKind() { io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind result = io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind.DIRECT : result; } public static final int DICTIONARYSIZE_FIELD_NUMBER = 2; private int dictionarySize_; /** * optional uint32 dictionarySize = 2; */ public boolean hasDictionarySize() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint32 dictionarySize = 2; */ public int getDictionarySize() { return dictionarySize_; } public static final int BLOOMENCODING_FIELD_NUMBER = 3; private int bloomEncoding_; /** *
     * The encoding of the bloom filters for this column:
     *   0 or missing = none or original
     *   1            = ORC-135 (utc for timestamps)
     * 
* * optional uint32 bloomEncoding = 3; */ public boolean hasBloomEncoding() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
     * The encoding of the bloom filters for this column:
     *   0 or missing = none or original
     *   1            = ORC-135 (utc for timestamps)
     * 
* * optional uint32 bloomEncoding = 3; */ public int getBloomEncoding() { return bloomEncoding_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, kind_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(2, dictionarySize_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(3, bloomEncoding_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(1, kind_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(2, dictionarySize_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(3, bloomEncoding_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.ColumnEncoding)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.ColumnEncoding other = (io.prestosql.orc.proto.OrcProto.ColumnEncoding) obj; boolean result = true; result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && kind_ == other.kind_; } result = result && (hasDictionarySize() == other.hasDictionarySize()); if (hasDictionarySize()) { result = result && (getDictionarySize() == other.getDictionarySize()); } result = result && (hasBloomEncoding() == other.hasBloomEncoding()); if (hasBloomEncoding()) { result = result && (getBloomEncoding() == other.getBloomEncoding()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + kind_; } if (hasDictionarySize()) { hash = (37 * hash) + DICTIONARYSIZE_FIELD_NUMBER; hash = (53 * hash) + getDictionarySize(); } if (hasBloomEncoding()) { hash = (37 * hash) + BLOOMENCODING_FIELD_NUMBER; hash = (53 * hash) + getBloomEncoding(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.ColumnEncoding prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.ColumnEncoding} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.ColumnEncoding) io.prestosql.orc.proto.OrcProto.ColumnEncodingOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_ColumnEncoding_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_ColumnEncoding_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.ColumnEncoding.class, io.prestosql.orc.proto.OrcProto.ColumnEncoding.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.ColumnEncoding.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); kind_ = 0; bitField0_ = (bitField0_ & ~0x00000001); dictionarySize_ = 0; bitField0_ = (bitField0_ & ~0x00000002); bloomEncoding_ = 0; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_ColumnEncoding_descriptor; } public io.prestosql.orc.proto.OrcProto.ColumnEncoding getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.ColumnEncoding.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.ColumnEncoding build() { io.prestosql.orc.proto.OrcProto.ColumnEncoding result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.ColumnEncoding buildPartial() { io.prestosql.orc.proto.OrcProto.ColumnEncoding result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.ColumnEncoding) { return mergeFrom((io.prestosql.orc.proto.OrcProto.ColumnEncoding)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.ColumnEncoding other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.ColumnEncoding parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.ColumnEncoding) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int kind_ = 0; /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind getKind() { io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind result = io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind.DIRECT : result; } /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public Builder setKind(io.prestosql.orc.proto.OrcProto.ColumnEncoding.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value.getNumber(); onChanged(); return this; } /** * optional .orc.proto.ColumnEncoding.Kind kind = 1; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = 0; onChanged(); return this; } private int dictionarySize_ ; /** * optional uint32 dictionarySize = 2; */ public boolean hasDictionarySize() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint32 dictionarySize = 2; */ public int getDictionarySize() { return dictionarySize_; } /** * optional uint32 dictionarySize = 2; */ public Builder setDictionarySize(int value) { bitField0_ |= 0x00000002; dictionarySize_ = value; onChanged(); return this; } /** * optional uint32 dictionarySize = 2; */ public Builder clearDictionarySize() { bitField0_ = (bitField0_ & ~0x00000002); dictionarySize_ = 0; onChanged(); return this; } private int bloomEncoding_ ; /** *
       * The encoding of the bloom filters for this column:
       *   0 or missing = none or original
       *   1            = ORC-135 (utc for timestamps)
       * 
* * optional uint32 bloomEncoding = 3; */ public boolean hasBloomEncoding() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** *
       * The encoding of the bloom filters for this column:
       *   0 or missing = none or original
       *   1            = ORC-135 (utc for timestamps)
       * 
* * optional uint32 bloomEncoding = 3; */ public int getBloomEncoding() { return bloomEncoding_; } /** *
       * The encoding of the bloom filters for this column:
       *   0 or missing = none or original
       *   1            = ORC-135 (utc for timestamps)
       * 
* * optional uint32 bloomEncoding = 3; */ public Builder setBloomEncoding(int value) { bitField0_ |= 0x00000004; bloomEncoding_ = value; onChanged(); return this; } /** *
       * The encoding of the bloom filters for this column:
       *   0 or missing = none or original
       *   1            = ORC-135 (utc for timestamps)
       * 
* * optional uint32 bloomEncoding = 3; */ public Builder clearBloomEncoding() { bitField0_ = (bitField0_ & ~0x00000004); bloomEncoding_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.ColumnEncoding) } // @@protoc_insertion_point(class_scope:orc.proto.ColumnEncoding) private static final io.prestosql.orc.proto.OrcProto.ColumnEncoding DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.ColumnEncoding(); } public static io.prestosql.orc.proto.OrcProto.ColumnEncoding getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public ColumnEncoding parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new ColumnEncoding(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.ColumnEncoding getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StripeFooterOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.StripeFooter) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated .orc.proto.Stream streams = 1; */ java.util.List getStreamsList(); /** * repeated .orc.proto.Stream streams = 1; */ io.prestosql.orc.proto.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; */ io.prestosql.orc.proto.OrcProto.StreamOrBuilder getStreamsOrBuilder( int index); /** * repeated .orc.proto.ColumnEncoding columns = 2; */ java.util.List getColumnsList(); /** * repeated .orc.proto.ColumnEncoding columns = 2; */ io.prestosql.orc.proto.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; */ io.prestosql.orc.proto.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder( int index); /** * optional string writerTimezone = 3; */ boolean hasWriterTimezone(); /** * optional string writerTimezone = 3; */ java.lang.String getWriterTimezone(); /** * optional string writerTimezone = 3; */ io.prestosql.orc.protobuf.ByteString getWriterTimezoneBytes(); } /** * Protobuf type {@code orc.proto.StripeFooter} */ public static final class StripeFooter extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.StripeFooter) StripeFooterOrBuilder { // Use StripeFooter.newBuilder() to construct. private StripeFooter(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StripeFooter() { streams_ = java.util.Collections.emptyList(); columns_ = java.util.Collections.emptyList(); writerTimezone_ = ""; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StripeFooter( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { streams_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } streams_.add( input.readMessage(io.prestosql.orc.proto.OrcProto.Stream.PARSER, extensionRegistry)); break; } case 18: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { columns_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } columns_.add( input.readMessage(io.prestosql.orc.proto.OrcProto.ColumnEncoding.PARSER, extensionRegistry)); break; } case 26: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; writerTimezone_ = bs; break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { streams_ = java.util.Collections.unmodifiableList(streams_); } if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { columns_ = java.util.Collections.unmodifiableList(columns_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeFooter_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeFooter_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.StripeFooter.class, io.prestosql.orc.proto.OrcProto.StripeFooter.Builder.class); } private int bitField0_; 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 io.prestosql.orc.proto.OrcProto.Stream getStreams(int index) { return streams_.get(index); } /** * repeated .orc.proto.Stream streams = 1; */ public io.prestosql.orc.proto.OrcProto.StreamOrBuilder getStreamsOrBuilder( int index) { return streams_.get(index); } 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 io.prestosql.orc.proto.OrcProto.ColumnEncoding getColumns(int index) { return columns_.get(index); } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public io.prestosql.orc.proto.OrcProto.ColumnEncodingOrBuilder getColumnsOrBuilder( int index) { return columns_.get(index); } public static final int WRITERTIMEZONE_FIELD_NUMBER = 3; private volatile java.lang.Object writerTimezone_; /** * optional string writerTimezone = 3; */ public boolean hasWriterTimezone() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string writerTimezone = 3; */ public java.lang.String getWriterTimezone() { java.lang.Object ref = writerTimezone_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { writerTimezone_ = s; } return s; } } /** * optional string writerTimezone = 3; */ public io.prestosql.orc.protobuf.ByteString getWriterTimezoneBytes() { java.lang.Object ref = writerTimezone_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); writerTimezone_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < 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)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 3, writerTimezone_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < streams_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(1, streams_.get(i)); } for (int i = 0; i < columns_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(2, columns_.get(i)); } if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(3, writerTimezone_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.StripeFooter)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.StripeFooter other = (io.prestosql.orc.proto.OrcProto.StripeFooter) obj; boolean result = true; result = result && getStreamsList() .equals(other.getStreamsList()); result = result && getColumnsList() .equals(other.getColumnsList()); result = result && (hasWriterTimezone() == other.hasWriterTimezone()); if (hasWriterTimezone()) { result = result && getWriterTimezone() .equals(other.getWriterTimezone()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getStreamsCount() > 0) { hash = (37 * hash) + STREAMS_FIELD_NUMBER; hash = (53 * hash) + getStreamsList().hashCode(); } if (getColumnsCount() > 0) { hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumnsList().hashCode(); } if (hasWriterTimezone()) { hash = (37 * hash) + WRITERTIMEZONE_FIELD_NUMBER; hash = (53 * hash) + getWriterTimezone().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.StripeFooter parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.StripeFooter parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeFooter parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.StripeFooter parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeFooter parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StripeFooter parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeFooter parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StripeFooter parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeFooter parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StripeFooter parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.StripeFooter prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.StripeFooter} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.StripeFooter) io.prestosql.orc.proto.OrcProto.StripeFooterOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeFooter_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeFooter_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.StripeFooter.class, io.prestosql.orc.proto.OrcProto.StripeFooter.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.StripeFooter.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStreamsFieldBuilder(); getColumnsFieldBuilder(); } } public Builder clear() { super.clear(); if (streamsBuilder_ == null) { streams_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { streamsBuilder_.clear(); } if (columnsBuilder_ == null) { columns_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); } else { columnsBuilder_.clear(); } writerTimezone_ = ""; bitField0_ = (bitField0_ & ~0x00000004); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeFooter_descriptor; } public io.prestosql.orc.proto.OrcProto.StripeFooter getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.StripeFooter.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.StripeFooter build() { io.prestosql.orc.proto.OrcProto.StripeFooter result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.StripeFooter buildPartial() { io.prestosql.orc.proto.OrcProto.StripeFooter result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.StripeFooter) { return mergeFrom((io.prestosql.orc.proto.OrcProto.StripeFooter)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.StripeFooter other) { if (other == io.prestosql.orc.proto.OrcProto.StripeFooter.getDefaultInstance()) return this; if (streamsBuilder_ == null) { if (!other.streams_.isEmpty()) { if (streams_.isEmpty()) { streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStreamsIsMutable(); streams_.addAll(other.streams_); } onChanged(); } } else { if (!other.streams_.isEmpty()) { if (streamsBuilder_.isEmpty()) { streamsBuilder_.dispose(); streamsBuilder_ = null; streams_ = other.streams_; bitField0_ = (bitField0_ & ~0x00000001); streamsBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStreamsFieldBuilder() : null; } else { streamsBuilder_.addAllMessages(other.streams_); } } } if (columnsBuilder_ == null) { if (!other.columns_.isEmpty()) { if (columns_.isEmpty()) { columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000002); } else { ensureColumnsIsMutable(); columns_.addAll(other.columns_); } onChanged(); } } else { if (!other.columns_.isEmpty()) { if (columnsBuilder_.isEmpty()) { columnsBuilder_.dispose(); columnsBuilder_ = null; columns_ = other.columns_; bitField0_ = (bitField0_ & ~0x00000002); columnsBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColumnsFieldBuilder() : null; } else { columnsBuilder_.addAllMessages(other.columns_); } } } if (other.hasWriterTimezone()) { bitField0_ |= 0x00000004; writerTimezone_ = other.writerTimezone_; onChanged(); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.StripeFooter parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.StripeFooter) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List streams_ = java.util.Collections.emptyList(); private void ensureStreamsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { streams_ = new java.util.ArrayList(streams_); bitField0_ |= 0x00000001; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.Stream, io.prestosql.orc.proto.OrcProto.Stream.Builder, io.prestosql.orc.proto.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 io.prestosql.orc.proto.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, io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(io.prestosql.orc.proto.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, io.prestosql.orc.proto.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( io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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 io.prestosql.orc.proto.OrcProto.Stream.Builder getStreamsBuilder( int index) { return getStreamsFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.Stream streams = 1; */ public io.prestosql.orc.proto.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 io.prestosql.orc.proto.OrcProto.Stream.Builder addStreamsBuilder() { return getStreamsFieldBuilder().addBuilder( io.prestosql.orc.proto.OrcProto.Stream.getDefaultInstance()); } /** * repeated .orc.proto.Stream streams = 1; */ public io.prestosql.orc.proto.OrcProto.Stream.Builder addStreamsBuilder( int index) { return getStreamsFieldBuilder().addBuilder( index, io.prestosql.orc.proto.OrcProto.Stream.getDefaultInstance()); } /** * repeated .orc.proto.Stream streams = 1; */ public java.util.List getStreamsBuilderList() { return getStreamsFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.Stream, io.prestosql.orc.proto.OrcProto.Stream.Builder, io.prestosql.orc.proto.OrcProto.StreamOrBuilder> getStreamsFieldBuilder() { if (streamsBuilder_ == null) { streamsBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.Stream, io.prestosql.orc.proto.OrcProto.Stream.Builder, io.prestosql.orc.proto.OrcProto.StreamOrBuilder>( streams_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); streams_ = null; } return streamsBuilder_; } private java.util.List columns_ = java.util.Collections.emptyList(); private void ensureColumnsIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { columns_ = new java.util.ArrayList(columns_); bitField0_ |= 0x00000002; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnEncoding, io.prestosql.orc.proto.OrcProto.ColumnEncoding.Builder, io.prestosql.orc.proto.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 io.prestosql.orc.proto.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, io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(io.prestosql.orc.proto.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, io.prestosql.orc.proto.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( io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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 io.prestosql.orc.proto.OrcProto.ColumnEncoding.Builder getColumnsBuilder( int index) { return getColumnsFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public io.prestosql.orc.proto.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 io.prestosql.orc.proto.OrcProto.ColumnEncoding.Builder addColumnsBuilder() { return getColumnsFieldBuilder().addBuilder( io.prestosql.orc.proto.OrcProto.ColumnEncoding.getDefaultInstance()); } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public io.prestosql.orc.proto.OrcProto.ColumnEncoding.Builder addColumnsBuilder( int index) { return getColumnsFieldBuilder().addBuilder( index, io.prestosql.orc.proto.OrcProto.ColumnEncoding.getDefaultInstance()); } /** * repeated .orc.proto.ColumnEncoding columns = 2; */ public java.util.List getColumnsBuilderList() { return getColumnsFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnEncoding, io.prestosql.orc.proto.OrcProto.ColumnEncoding.Builder, io.prestosql.orc.proto.OrcProto.ColumnEncodingOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { columnsBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnEncoding, io.prestosql.orc.proto.OrcProto.ColumnEncoding.Builder, io.prestosql.orc.proto.OrcProto.ColumnEncodingOrBuilder>( columns_, ((bitField0_ & 0x00000002) == 0x00000002), getParentForChildren(), isClean()); columns_ = null; } return columnsBuilder_; } 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)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { writerTimezone_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string writerTimezone = 3; */ public io.prestosql.orc.protobuf.ByteString getWriterTimezoneBytes() { java.lang.Object ref = writerTimezone_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); writerTimezone_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** * optional string writerTimezone = 3; */ public Builder setWriterTimezone( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; writerTimezone_ = value; onChanged(); return this; } /** * optional string writerTimezone = 3; */ public Builder clearWriterTimezone() { bitField0_ = (bitField0_ & ~0x00000004); writerTimezone_ = getDefaultInstance().getWriterTimezone(); onChanged(); return this; } /** * optional string writerTimezone = 3; */ public Builder setWriterTimezoneBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000004; writerTimezone_ = value; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.StripeFooter) } // @@protoc_insertion_point(class_scope:orc.proto.StripeFooter) private static final io.prestosql.orc.proto.OrcProto.StripeFooter DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.StripeFooter(); } public static io.prestosql.orc.proto.OrcProto.StripeFooter getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public StripeFooter parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new StripeFooter(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.StripeFooter getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface TypeOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.Type) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional .orc.proto.Type.Kind kind = 1; */ boolean hasKind(); /** * optional .orc.proto.Type.Kind kind = 1; */ io.prestosql.orc.proto.OrcProto.Type.Kind getKind(); /** * repeated uint32 subtypes = 2 [packed = true]; */ java.util.List getSubtypesList(); /** * repeated uint32 subtypes = 2 [packed = true]; */ int getSubtypesCount(); /** * repeated uint32 subtypes = 2 [packed = true]; */ int getSubtypes(int index); /** * repeated string fieldNames = 3; */ java.util.List getFieldNamesList(); /** * repeated string fieldNames = 3; */ int getFieldNamesCount(); /** * repeated string fieldNames = 3; */ java.lang.String getFieldNames(int index); /** * repeated string fieldNames = 3; */ io.prestosql.orc.protobuf.ByteString getFieldNamesBytes(int index); /** * optional uint32 maximumLength = 4; */ boolean hasMaximumLength(); /** * optional uint32 maximumLength = 4; */ int getMaximumLength(); /** * optional uint32 precision = 5; */ boolean hasPrecision(); /** * optional uint32 precision = 5; */ int getPrecision(); /** * optional uint32 scale = 6; */ boolean hasScale(); /** * optional uint32 scale = 6; */ int getScale(); } /** * Protobuf type {@code orc.proto.Type} */ public static final class Type extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.Type) TypeOrBuilder { // Use Type.newBuilder() to construct. private Type(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Type() { kind_ = 0; subtypes_ = java.util.Collections.emptyList(); fieldNames_ = io.prestosql.orc.protobuf.LazyStringArrayList.EMPTY; maximumLength_ = 0; precision_ = 0; scale_ = 0; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Type( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { int rawValue = input.readEnum(); io.prestosql.orc.proto.OrcProto.Type.Kind value = io.prestosql.orc.proto.OrcProto.Type.Kind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(1, rawValue); } else { bitField0_ |= 0x00000001; kind_ = rawValue; } break; } case 16: { if (!((mutable_bitField0_ & 0x00000002) == 0x00000002)) { subtypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } subtypes_.add(input.readUInt32()); break; } case 18: { int length = input.readRawVarint32(); int limit = input.pushLimit(length); if (!((mutable_bitField0_ & 0x00000002) == 0x00000002) && input.getBytesUntilLimit() > 0) { subtypes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000002; } while (input.getBytesUntilLimit() > 0) { subtypes_.add(input.readUInt32()); } input.popLimit(limit); break; } case 26: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { fieldNames_ = new io.prestosql.orc.protobuf.LazyStringArrayList(); mutable_bitField0_ |= 0x00000004; } fieldNames_.add(bs); break; } case 32: { bitField0_ |= 0x00000002; maximumLength_ = input.readUInt32(); break; } case 40: { bitField0_ |= 0x00000004; precision_ = input.readUInt32(); break; } case 48: { bitField0_ |= 0x00000008; scale_ = input.readUInt32(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000002) == 0x00000002)) { subtypes_ = java.util.Collections.unmodifiableList(subtypes_); } if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { fieldNames_ = fieldNames_.getUnmodifiableView(); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Type_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Type_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.Type.class, io.prestosql.orc.proto.OrcProto.Type.Builder.class); } /** * Protobuf enum {@code orc.proto.Type.Kind} */ public enum Kind implements io.prestosql.orc.protobuf.ProtocolMessageEnum { /** * BOOLEAN = 0; */ BOOLEAN(0), /** * BYTE = 1; */ BYTE(1), /** * SHORT = 2; */ SHORT(2), /** * INT = 3; */ INT(3), /** * LONG = 4; */ LONG(4), /** * FLOAT = 5; */ FLOAT(5), /** * DOUBLE = 6; */ DOUBLE(6), /** * STRING = 7; */ STRING(7), /** * BINARY = 8; */ BINARY(8), /** * TIMESTAMP = 9; */ TIMESTAMP(9), /** * LIST = 10; */ LIST(10), /** * MAP = 11; */ MAP(11), /** * STRUCT = 12; */ STRUCT(12), /** * UNION = 13; */ UNION(13), /** * DECIMAL = 14; */ DECIMAL(14), /** * DATE = 15; */ DATE(15), /** * VARCHAR = 16; */ VARCHAR(16), /** * CHAR = 17; */ CHAR(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; } /** * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static Kind valueOf(int value) { return forNumber(value); } public static Kind forNumber(int value) { switch (value) { case 0: return BOOLEAN; case 1: return BYTE; case 2: return SHORT; case 3: return INT; case 4: return LONG; case 5: return FLOAT; case 6: return DOUBLE; case 7: return STRING; case 8: return BINARY; case 9: return TIMESTAMP; case 10: return LIST; case 11: return MAP; case 12: return STRUCT; case 13: return UNION; case 14: return DECIMAL; case 15: return DATE; case 16: return VARCHAR; case 17: return CHAR; default: return null; } } public static io.prestosql.orc.protobuf.Internal.EnumLiteMap internalGetValueMap() { return internalValueMap; } private static final io.prestosql.orc.protobuf.Internal.EnumLiteMap< Kind> internalValueMap = new io.prestosql.orc.protobuf.Internal.EnumLiteMap() { public Kind findValueByNumber(int number) { return Kind.forNumber(number); } }; public final io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor() { return getDescriptor().getValues().get(ordinal()); } public final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptorForType() { return getDescriptor(); } public static final io.prestosql.orc.protobuf.Descriptors.EnumDescriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.Type.getDescriptor().getEnumTypes().get(0); } private static final Kind[] VALUES = values(); public static Kind valueOf( io.prestosql.orc.protobuf.Descriptors.EnumValueDescriptor desc) { if (desc.getType() != getDescriptor()) { throw new java.lang.IllegalArgumentException( "EnumValueDescriptor is not for this type."); } return VALUES[desc.getIndex()]; } private final int value; private Kind(int value) { this.value = value; } // @@protoc_insertion_point(enum_scope:orc.proto.Type.Kind) } private int bitField0_; public static final int KIND_FIELD_NUMBER = 1; private int kind_; /** * optional .orc.proto.Type.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.Type.Kind kind = 1; */ public io.prestosql.orc.proto.OrcProto.Type.Kind getKind() { io.prestosql.orc.proto.OrcProto.Type.Kind result = io.prestosql.orc.proto.OrcProto.Type.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.OrcProto.Type.Kind.BOOLEAN : result; } public static final int SUBTYPES_FIELD_NUMBER = 2; private java.util.List subtypes_; /** * repeated uint32 subtypes = 2 [packed = true]; */ public java.util.List getSubtypesList() { return subtypes_; } /** * repeated uint32 subtypes = 2 [packed = true]; */ public int getSubtypesCount() { return subtypes_.size(); } /** * repeated uint32 subtypes = 2 [packed = true]; */ public int getSubtypes(int index) { return subtypes_.get(index); } private int subtypesMemoizedSerializedSize = -1; public static final int FIELDNAMES_FIELD_NUMBER = 3; private io.prestosql.orc.protobuf.LazyStringList fieldNames_; /** * repeated string fieldNames = 3; */ public io.prestosql.orc.protobuf.ProtocolStringList getFieldNamesList() { return fieldNames_; } /** * repeated string fieldNames = 3; */ public int getFieldNamesCount() { return fieldNames_.size(); } /** * repeated string fieldNames = 3; */ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** * repeated string fieldNames = 3; */ public io.prestosql.orc.protobuf.ByteString getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } 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_; } 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_; } 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 byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeEnum(1, kind_); } if (getSubtypesList().size() > 0) { output.writeUInt32NoTag(18); output.writeUInt32NoTag(subtypesMemoizedSerializedSize); } for (int i = 0; i < subtypes_.size(); i++) { output.writeUInt32NoTag(subtypes_.get(i)); } for (int i = 0; i < fieldNames_.size(); i++) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 3, fieldNames_.getRaw(i)); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt32(4, maximumLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt32(5, precision_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(6, scale_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(1, kind_); } { int dataSize = 0; for (int i = 0; i < subtypes_.size(); i++) { dataSize += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32SizeNoTag(subtypes_.get(i)); } size += dataSize; if (!getSubtypesList().isEmpty()) { size += 1; size += io.prestosql.orc.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } subtypesMemoizedSerializedSize = dataSize; } { int dataSize = 0; for (int i = 0; i < fieldNames_.size(); i++) { dataSize += computeStringSizeNoTag(fieldNames_.getRaw(i)); } size += dataSize; size += 1 * getFieldNamesList().size(); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(4, maximumLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(5, precision_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(6, scale_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.Type)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.Type other = (io.prestosql.orc.proto.OrcProto.Type) obj; boolean result = true; result = result && (hasKind() == other.hasKind()); if (hasKind()) { result = result && kind_ == other.kind_; } result = result && getSubtypesList() .equals(other.getSubtypesList()); result = result && getFieldNamesList() .equals(other.getFieldNamesList()); result = result && (hasMaximumLength() == other.hasMaximumLength()); if (hasMaximumLength()) { result = result && (getMaximumLength() == other.getMaximumLength()); } result = result && (hasPrecision() == other.hasPrecision()); if (hasPrecision()) { result = result && (getPrecision() == other.getPrecision()); } result = result && (hasScale() == other.hasScale()); if (hasScale()) { result = result && (getScale() == other.getScale()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasKind()) { hash = (37 * hash) + KIND_FIELD_NUMBER; hash = (53 * hash) + kind_; } if (getSubtypesCount() > 0) { hash = (37 * hash) + SUBTYPES_FIELD_NUMBER; hash = (53 * hash) + getSubtypesList().hashCode(); } if (getFieldNamesCount() > 0) { hash = (37 * hash) + FIELDNAMES_FIELD_NUMBER; hash = (53 * hash) + getFieldNamesList().hashCode(); } if (hasMaximumLength()) { hash = (37 * hash) + MAXIMUMLENGTH_FIELD_NUMBER; hash = (53 * hash) + getMaximumLength(); } if (hasPrecision()) { hash = (37 * hash) + PRECISION_FIELD_NUMBER; hash = (53 * hash) + getPrecision(); } if (hasScale()) { hash = (37 * hash) + SCALE_FIELD_NUMBER; hash = (53 * hash) + getScale(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.Type parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.Type parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Type parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.Type parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Type parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Type parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Type parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Type parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Type parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Type parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.Type prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.Type} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.Type) io.prestosql.orc.proto.OrcProto.TypeOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Type_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Type_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.Type.class, io.prestosql.orc.proto.OrcProto.Type.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.Type.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); kind_ = 0; bitField0_ = (bitField0_ & ~0x00000001); subtypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); fieldNames_ = io.prestosql.orc.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); maximumLength_ = 0; bitField0_ = (bitField0_ & ~0x00000008); precision_ = 0; bitField0_ = (bitField0_ & ~0x00000010); scale_ = 0; bitField0_ = (bitField0_ & ~0x00000020); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Type_descriptor; } public io.prestosql.orc.proto.OrcProto.Type getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.Type.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.Type build() { io.prestosql.orc.proto.OrcProto.Type result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.Type buildPartial() { io.prestosql.orc.proto.OrcProto.Type result = new io.prestosql.orc.proto.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_ = fieldNames_.getUnmodifiableView(); 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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.Type) { return mergeFrom((io.prestosql.orc.proto.OrcProto.Type)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.Type other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.Type parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.Type) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private int kind_ = 0; /** * optional .orc.proto.Type.Kind kind = 1; */ public boolean hasKind() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.Type.Kind kind = 1; */ public io.prestosql.orc.proto.OrcProto.Type.Kind getKind() { io.prestosql.orc.proto.OrcProto.Type.Kind result = io.prestosql.orc.proto.OrcProto.Type.Kind.valueOf(kind_); return result == null ? io.prestosql.orc.proto.OrcProto.Type.Kind.BOOLEAN : result; } /** * optional .orc.proto.Type.Kind kind = 1; */ public Builder setKind(io.prestosql.orc.proto.OrcProto.Type.Kind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; kind_ = value.getNumber(); onChanged(); return this; } /** * optional .orc.proto.Type.Kind kind = 1; */ public Builder clearKind() { bitField0_ = (bitField0_ & ~0x00000001); kind_ = 0; onChanged(); return this; } private java.util.List subtypes_ = java.util.Collections.emptyList(); private void ensureSubtypesIsMutable() { if (!((bitField0_ & 0x00000002) == 0x00000002)) { subtypes_ = new java.util.ArrayList(subtypes_); bitField0_ |= 0x00000002; } } /** * repeated uint32 subtypes = 2 [packed = true]; */ public java.util.List getSubtypesList() { return java.util.Collections.unmodifiableList(subtypes_); } /** * repeated uint32 subtypes = 2 [packed = true]; */ public int getSubtypesCount() { return subtypes_.size(); } /** * repeated uint32 subtypes = 2 [packed = true]; */ public int getSubtypes(int index) { return subtypes_.get(index); } /** * repeated uint32 subtypes = 2 [packed = true]; */ public Builder setSubtypes( int index, int value) { ensureSubtypesIsMutable(); subtypes_.set(index, value); onChanged(); return this; } /** * repeated uint32 subtypes = 2 [packed = true]; */ public Builder addSubtypes(int value) { ensureSubtypesIsMutable(); subtypes_.add(value); onChanged(); return this; } /** * repeated uint32 subtypes = 2 [packed = true]; */ public Builder addAllSubtypes( java.lang.Iterable values) { ensureSubtypesIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, subtypes_); onChanged(); return this; } /** * repeated uint32 subtypes = 2 [packed = true]; */ public Builder clearSubtypes() { subtypes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000002); onChanged(); return this; } private io.prestosql.orc.protobuf.LazyStringList fieldNames_ = io.prestosql.orc.protobuf.LazyStringArrayList.EMPTY; private void ensureFieldNamesIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { fieldNames_ = new io.prestosql.orc.protobuf.LazyStringArrayList(fieldNames_); bitField0_ |= 0x00000004; } } /** * repeated string fieldNames = 3; */ public io.prestosql.orc.protobuf.ProtocolStringList getFieldNamesList() { return fieldNames_.getUnmodifiableView(); } /** * repeated string fieldNames = 3; */ public int getFieldNamesCount() { return fieldNames_.size(); } /** * repeated string fieldNames = 3; */ public java.lang.String getFieldNames(int index) { return fieldNames_.get(index); } /** * repeated string fieldNames = 3; */ public io.prestosql.orc.protobuf.ByteString getFieldNamesBytes(int index) { return fieldNames_.getByteString(index); } /** * repeated string fieldNames = 3; */ public Builder setFieldNames( int index, java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.set(index, value); onChanged(); return this; } /** * repeated string fieldNames = 3; */ public Builder addFieldNames( java.lang.String value) { if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); return this; } /** * repeated string fieldNames = 3; */ public Builder addAllFieldNames( java.lang.Iterable values) { ensureFieldNamesIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, fieldNames_); onChanged(); return this; } /** * repeated string fieldNames = 3; */ public Builder clearFieldNames() { fieldNames_ = io.prestosql.orc.protobuf.LazyStringArrayList.EMPTY; bitField0_ = (bitField0_ & ~0x00000004); onChanged(); return this; } /** * repeated string fieldNames = 3; */ public Builder addFieldNamesBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } ensureFieldNamesIsMutable(); fieldNames_.add(value); onChanged(); return this; } 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; } 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; } 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; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.Type) } // @@protoc_insertion_point(class_scope:orc.proto.Type) private static final io.prestosql.orc.proto.OrcProto.Type DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.Type(); } public static io.prestosql.orc.proto.OrcProto.Type getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public Type parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new Type(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.Type getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StripeInformationOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.StripeInformation) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional uint64 offset = 1; */ boolean hasOffset(); /** * optional uint64 offset = 1; */ long getOffset(); /** * optional uint64 indexLength = 2; */ boolean hasIndexLength(); /** * optional uint64 indexLength = 2; */ long getIndexLength(); /** * optional uint64 dataLength = 3; */ boolean hasDataLength(); /** * optional uint64 dataLength = 3; */ long getDataLength(); /** * optional uint64 footerLength = 4; */ boolean hasFooterLength(); /** * optional uint64 footerLength = 4; */ long getFooterLength(); /** * optional uint64 numberOfRows = 5; */ boolean hasNumberOfRows(); /** * optional uint64 numberOfRows = 5; */ long getNumberOfRows(); } /** * Protobuf type {@code orc.proto.StripeInformation} */ public static final class StripeInformation extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.StripeInformation) StripeInformationOrBuilder { // Use StripeInformation.newBuilder() to construct. private StripeInformation(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StripeInformation() { offset_ = 0L; indexLength_ = 0L; dataLength_ = 0L; footerLength_ = 0L; numberOfRows_ = 0L; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StripeInformation( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; offset_ = input.readUInt64(); break; } case 16: { bitField0_ |= 0x00000002; indexLength_ = input.readUInt64(); break; } case 24: { bitField0_ |= 0x00000004; dataLength_ = input.readUInt64(); break; } case 32: { bitField0_ |= 0x00000008; footerLength_ = input.readUInt64(); break; } case 40: { bitField0_ |= 0x00000010; numberOfRows_ = input.readUInt64(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeInformation_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeInformation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.StripeInformation.class, io.prestosql.orc.proto.OrcProto.StripeInformation.Builder.class); } private int bitField0_; public static final int OFFSET_FIELD_NUMBER = 1; private long offset_; /** * optional uint64 offset = 1; */ public boolean hasOffset() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 offset = 1; */ public long getOffset() { return offset_; } public static final int INDEXLENGTH_FIELD_NUMBER = 2; private long indexLength_; /** * optional uint64 indexLength = 2; */ public boolean hasIndexLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 indexLength = 2; */ public long getIndexLength() { return indexLength_; } public static final int DATALENGTH_FIELD_NUMBER = 3; private long dataLength_; /** * optional uint64 dataLength = 3; */ public boolean hasDataLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 dataLength = 3; */ public long getDataLength() { return dataLength_; } public static final int FOOTERLENGTH_FIELD_NUMBER = 4; private long footerLength_; /** * optional uint64 footerLength = 4; */ public boolean hasFooterLength() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 footerLength = 4; */ public long getFooterLength() { return footerLength_; } public static final int NUMBEROFROWS_FIELD_NUMBER = 5; private long numberOfRows_; /** * optional uint64 numberOfRows = 5; */ public boolean hasNumberOfRows() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint64 numberOfRows = 5; */ public long getNumberOfRows() { return numberOfRows_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, offset_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(2, indexLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, dataLength_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, footerLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt64(5, numberOfRows_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(1, offset_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(2, indexLength_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(3, dataLength_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(4, footerLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(5, numberOfRows_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.StripeInformation)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.StripeInformation other = (io.prestosql.orc.proto.OrcProto.StripeInformation) obj; boolean result = true; result = result && (hasOffset() == other.hasOffset()); if (hasOffset()) { result = result && (getOffset() == other.getOffset()); } result = result && (hasIndexLength() == other.hasIndexLength()); if (hasIndexLength()) { result = result && (getIndexLength() == other.getIndexLength()); } result = result && (hasDataLength() == other.hasDataLength()); if (hasDataLength()) { result = result && (getDataLength() == other.getDataLength()); } result = result && (hasFooterLength() == other.hasFooterLength()); if (hasFooterLength()) { result = result && (getFooterLength() == other.getFooterLength()); } result = result && (hasNumberOfRows() == other.hasNumberOfRows()); if (hasNumberOfRows()) { result = result && (getNumberOfRows() == other.getNumberOfRows()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasOffset()) { hash = (37 * hash) + OFFSET_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getOffset()); } if (hasIndexLength()) { hash = (37 * hash) + INDEXLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getIndexLength()); } if (hasDataLength()) { hash = (37 * hash) + DATALENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getDataLength()); } if (hasFooterLength()) { hash = (37 * hash) + FOOTERLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getFooterLength()); } if (hasNumberOfRows()) { hash = (37 * hash) + NUMBEROFROWS_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getNumberOfRows()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.StripeInformation parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.StripeInformation parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeInformation parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.StripeInformation parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeInformation parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StripeInformation parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeInformation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StripeInformation parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeInformation parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StripeInformation parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.StripeInformation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.StripeInformation} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.StripeInformation) io.prestosql.orc.proto.OrcProto.StripeInformationOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeInformation_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeInformation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.StripeInformation.class, io.prestosql.orc.proto.OrcProto.StripeInformation.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.StripeInformation.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); offset_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); indexLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); dataLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); footerLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); numberOfRows_ = 0L; bitField0_ = (bitField0_ & ~0x00000010); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeInformation_descriptor; } public io.prestosql.orc.proto.OrcProto.StripeInformation getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.StripeInformation.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.StripeInformation build() { io.prestosql.orc.proto.OrcProto.StripeInformation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.StripeInformation buildPartial() { io.prestosql.orc.proto.OrcProto.StripeInformation result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.StripeInformation) { return mergeFrom((io.prestosql.orc.proto.OrcProto.StripeInformation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.StripeInformation other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.StripeInformation parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.StripeInformation) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long offset_ ; /** * optional uint64 offset = 1; */ public boolean hasOffset() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 offset = 1; */ public long getOffset() { return offset_; } /** * optional uint64 offset = 1; */ public Builder setOffset(long value) { bitField0_ |= 0x00000001; offset_ = value; onChanged(); return this; } /** * optional uint64 offset = 1; */ public Builder clearOffset() { bitField0_ = (bitField0_ & ~0x00000001); offset_ = 0L; onChanged(); return this; } private long indexLength_ ; /** * optional uint64 indexLength = 2; */ public boolean hasIndexLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 indexLength = 2; */ public long getIndexLength() { return indexLength_; } /** * optional uint64 indexLength = 2; */ public Builder setIndexLength(long value) { bitField0_ |= 0x00000002; indexLength_ = value; onChanged(); return this; } /** * optional uint64 indexLength = 2; */ public Builder clearIndexLength() { bitField0_ = (bitField0_ & ~0x00000002); indexLength_ = 0L; onChanged(); return this; } private long dataLength_ ; /** * optional uint64 dataLength = 3; */ public boolean hasDataLength() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 dataLength = 3; */ public long getDataLength() { return dataLength_; } /** * optional uint64 dataLength = 3; */ public Builder setDataLength(long value) { bitField0_ |= 0x00000004; dataLength_ = value; onChanged(); return this; } /** * optional uint64 dataLength = 3; */ public Builder clearDataLength() { bitField0_ = (bitField0_ & ~0x00000004); dataLength_ = 0L; onChanged(); return this; } private long footerLength_ ; /** * optional uint64 footerLength = 4; */ public boolean hasFooterLength() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint64 footerLength = 4; */ public long getFooterLength() { return footerLength_; } /** * optional uint64 footerLength = 4; */ public Builder setFooterLength(long value) { bitField0_ |= 0x00000008; footerLength_ = value; onChanged(); return this; } /** * optional uint64 footerLength = 4; */ public Builder clearFooterLength() { bitField0_ = (bitField0_ & ~0x00000008); footerLength_ = 0L; onChanged(); return this; } private long numberOfRows_ ; /** * optional uint64 numberOfRows = 5; */ public boolean hasNumberOfRows() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** * optional uint64 numberOfRows = 5; */ public long getNumberOfRows() { return numberOfRows_; } /** * optional uint64 numberOfRows = 5; */ public Builder setNumberOfRows(long value) { bitField0_ |= 0x00000010; numberOfRows_ = value; onChanged(); return this; } /** * optional uint64 numberOfRows = 5; */ public Builder clearNumberOfRows() { bitField0_ = (bitField0_ & ~0x00000010); numberOfRows_ = 0L; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.StripeInformation) } // @@protoc_insertion_point(class_scope:orc.proto.StripeInformation) private static final io.prestosql.orc.proto.OrcProto.StripeInformation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.StripeInformation(); } public static io.prestosql.orc.proto.OrcProto.StripeInformation getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public StripeInformation parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new StripeInformation(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.StripeInformation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface UserMetadataItemOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.UserMetadataItem) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional string name = 1; */ boolean hasName(); /** * optional string name = 1; */ java.lang.String getName(); /** * optional string name = 1; */ io.prestosql.orc.protobuf.ByteString getNameBytes(); /** * optional bytes value = 2; */ boolean hasValue(); /** * optional bytes value = 2; */ io.prestosql.orc.protobuf.ByteString getValue(); } /** * Protobuf type {@code orc.proto.UserMetadataItem} */ public static final class UserMetadataItem extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.UserMetadataItem) UserMetadataItemOrBuilder { // Use UserMetadataItem.newBuilder() to construct. private UserMetadataItem(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private UserMetadataItem() { name_ = ""; value_ = io.prestosql.orc.protobuf.ByteString.EMPTY; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private UserMetadataItem( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000001; name_ = bs; break; } case 18: { bitField0_ |= 0x00000002; value_ = input.readBytes(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_UserMetadataItem_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_UserMetadataItem_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.UserMetadataItem.class, io.prestosql.orc.proto.OrcProto.UserMetadataItem.Builder.class); } private int bitField0_; public static final int NAME_FIELD_NUMBER = 1; private volatile java.lang.Object name_; /** * optional string name = 1; */ public boolean hasName() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional string name = 1; */ public java.lang.String getName() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } } /** * optional string name = 1; */ public io.prestosql.orc.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } public static final int VALUE_FIELD_NUMBER = 2; private io.prestosql.orc.protobuf.ByteString value_; /** * optional bytes value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes value = 2; */ public io.prestosql.orc.protobuf.ByteString getValue() { return value_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeBytes(2, value_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(1, name_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeBytesSize(2, value_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.UserMetadataItem)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.UserMetadataItem other = (io.prestosql.orc.proto.OrcProto.UserMetadataItem) obj; boolean result = true; result = result && (hasName() == other.hasName()); if (hasName()) { result = result && getName() .equals(other.getName()); } result = result && (hasValue() == other.hasValue()); if (hasValue()) { result = result && getValue() .equals(other.getValue()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasName()) { hash = (37 * hash) + NAME_FIELD_NUMBER; hash = (53 * hash) + getName().hashCode(); } if (hasValue()) { hash = (37 * hash) + VALUE_FIELD_NUMBER; hash = (53 * hash) + getValue().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.UserMetadataItem prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.UserMetadataItem} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.UserMetadataItem) io.prestosql.orc.proto.OrcProto.UserMetadataItemOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_UserMetadataItem_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_UserMetadataItem_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.UserMetadataItem.class, io.prestosql.orc.proto.OrcProto.UserMetadataItem.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.UserMetadataItem.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); name_ = ""; bitField0_ = (bitField0_ & ~0x00000001); value_ = io.prestosql.orc.protobuf.ByteString.EMPTY; bitField0_ = (bitField0_ & ~0x00000002); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_UserMetadataItem_descriptor; } public io.prestosql.orc.proto.OrcProto.UserMetadataItem getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.UserMetadataItem.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.UserMetadataItem build() { io.prestosql.orc.proto.OrcProto.UserMetadataItem result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.UserMetadataItem buildPartial() { io.prestosql.orc.proto.OrcProto.UserMetadataItem result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.UserMetadataItem) { return mergeFrom((io.prestosql.orc.proto.OrcProto.UserMetadataItem)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.UserMetadataItem other) { if (other == io.prestosql.orc.proto.OrcProto.UserMetadataItem.getDefaultInstance()) return this; if (other.hasName()) { bitField0_ |= 0x00000001; name_ = other.name_; onChanged(); } if (other.hasValue()) { setValue(other.getValue()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.UserMetadataItem parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.UserMetadataItem) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; 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)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { name_ = s; } return s; } else { return (java.lang.String) ref; } } /** * optional string name = 1; */ public io.prestosql.orc.protobuf.ByteString getNameBytes() { java.lang.Object ref = name_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); name_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** * optional string name = 1; */ public Builder setName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } /** * optional string name = 1; */ public Builder clearName() { bitField0_ = (bitField0_ & ~0x00000001); name_ = getDefaultInstance().getName(); onChanged(); return this; } /** * optional string name = 1; */ public Builder setNameBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000001; name_ = value; onChanged(); return this; } private io.prestosql.orc.protobuf.ByteString value_ = io.prestosql.orc.protobuf.ByteString.EMPTY; /** * optional bytes value = 2; */ public boolean hasValue() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional bytes value = 2; */ public io.prestosql.orc.protobuf.ByteString getValue() { return value_; } /** * optional bytes value = 2; */ public Builder setValue(io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; value_ = value; onChanged(); return this; } /** * optional bytes value = 2; */ public Builder clearValue() { bitField0_ = (bitField0_ & ~0x00000002); value_ = getDefaultInstance().getValue(); onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.UserMetadataItem) } // @@protoc_insertion_point(class_scope:orc.proto.UserMetadataItem) private static final io.prestosql.orc.proto.OrcProto.UserMetadataItem DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.UserMetadataItem(); } public static io.prestosql.orc.proto.OrcProto.UserMetadataItem getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public UserMetadataItem parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new UserMetadataItem(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.UserMetadataItem getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface StripeStatisticsOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.StripeStatistics) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ java.util.List getColStatsList(); /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ io.prestosql.orc.proto.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; */ io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder( int index); } /** * Protobuf type {@code orc.proto.StripeStatistics} */ public static final class StripeStatistics extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.StripeStatistics) StripeStatisticsOrBuilder { // Use StripeStatistics.newBuilder() to construct. private StripeStatistics(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private StripeStatistics() { colStats_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private StripeStatistics( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { colStats_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } colStats_.add( input.readMessage(io.prestosql.orc.proto.OrcProto.ColumnStatistics.PARSER, extensionRegistry)); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { colStats_ = java.util.Collections.unmodifiableList(colStats_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.StripeStatistics.class, io.prestosql.orc.proto.OrcProto.StripeStatistics.Builder.class); } 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 io.prestosql.orc.proto.OrcProto.ColumnStatistics getColStats(int index) { return colStats_.get(index); } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder getColStatsOrBuilder( int index) { return colStats_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < colStats_.size(); i++) { output.writeMessage(1, colStats_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < colStats_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(1, colStats_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.StripeStatistics)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.StripeStatistics other = (io.prestosql.orc.proto.OrcProto.StripeStatistics) obj; boolean result = true; result = result && getColStatsList() .equals(other.getColStatsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getColStatsCount() > 0) { hash = (37 * hash) + COLSTATS_FIELD_NUMBER; hash = (53 * hash) + getColStatsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.StripeStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.StripeStatistics parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeStatistics parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.StripeStatistics parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeStatistics parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StripeStatistics parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeStatistics parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StripeStatistics parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.StripeStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.StripeStatistics parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.StripeStatistics prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.StripeStatistics} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.StripeStatistics) io.prestosql.orc.proto.OrcProto.StripeStatisticsOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeStatistics_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeStatistics_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.StripeStatistics.class, io.prestosql.orc.proto.OrcProto.StripeStatistics.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.StripeStatistics.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getColStatsFieldBuilder(); } } public Builder clear() { super.clear(); if (colStatsBuilder_ == null) { colStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { colStatsBuilder_.clear(); } return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_StripeStatistics_descriptor; } public io.prestosql.orc.proto.OrcProto.StripeStatistics getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.StripeStatistics.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.StripeStatistics build() { io.prestosql.orc.proto.OrcProto.StripeStatistics result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.StripeStatistics buildPartial() { io.prestosql.orc.proto.OrcProto.StripeStatistics result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.StripeStatistics) { return mergeFrom((io.prestosql.orc.proto.OrcProto.StripeStatistics)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.StripeStatistics other) { if (other == io.prestosql.orc.proto.OrcProto.StripeStatistics.getDefaultInstance()) return this; if (colStatsBuilder_ == null) { if (!other.colStats_.isEmpty()) { if (colStats_.isEmpty()) { colStats_ = other.colStats_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureColStatsIsMutable(); colStats_.addAll(other.colStats_); } onChanged(); } } else { if (!other.colStats_.isEmpty()) { if (colStatsBuilder_.isEmpty()) { colStatsBuilder_.dispose(); colStatsBuilder_ = null; colStats_ = other.colStats_; bitField0_ = (bitField0_ & ~0x00000001); colStatsBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getColStatsFieldBuilder() : null; } else { colStatsBuilder_.addAllMessages(other.colStats_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.StripeStatistics parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.StripeStatistics) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List colStats_ = java.util.Collections.emptyList(); private void ensureColStatsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { colStats_ = new java.util.ArrayList(colStats_); bitField0_ |= 0x00000001; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnStatistics, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder, io.prestosql.orc.proto.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 io.prestosql.orc.proto.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, io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(io.prestosql.orc.proto.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, io.prestosql.orc.proto.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( io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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 io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder getColStatsBuilder( int index) { return getColStatsFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public io.prestosql.orc.proto.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 io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder addColStatsBuilder() { return getColStatsFieldBuilder().addBuilder( io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance()); } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder addColStatsBuilder( int index) { return getColStatsFieldBuilder().addBuilder( index, io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance()); } /** * repeated .orc.proto.ColumnStatistics colStats = 1; */ public java.util.List getColStatsBuilderList() { return getColStatsFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnStatistics, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder, io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder> getColStatsFieldBuilder() { if (colStatsBuilder_ == null) { colStatsBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnStatistics, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder, io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder>( colStats_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); colStats_ = null; } return colStatsBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.StripeStatistics) } // @@protoc_insertion_point(class_scope:orc.proto.StripeStatistics) private static final io.prestosql.orc.proto.OrcProto.StripeStatistics DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.StripeStatistics(); } public static io.prestosql.orc.proto.OrcProto.StripeStatistics getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public StripeStatistics parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new StripeStatistics(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.StripeStatistics getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface MetadataOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.Metadata) io.prestosql.orc.protobuf.MessageOrBuilder { /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ java.util.List getStripeStatsList(); /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ io.prestosql.orc.proto.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; */ io.prestosql.orc.proto.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder( int index); } /** * Protobuf type {@code orc.proto.Metadata} */ public static final class Metadata extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.Metadata) MetadataOrBuilder { // Use Metadata.newBuilder() to construct. private Metadata(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Metadata() { stripeStats_ = java.util.Collections.emptyList(); } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Metadata( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { if (!((mutable_bitField0_ & 0x00000001) == 0x00000001)) { stripeStats_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000001; } stripeStats_.add( input.readMessage(io.prestosql.orc.proto.OrcProto.StripeStatistics.PARSER, extensionRegistry)); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000001) == 0x00000001)) { stripeStats_ = java.util.Collections.unmodifiableList(stripeStats_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Metadata_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.Metadata.class, io.prestosql.orc.proto.OrcProto.Metadata.Builder.class); } 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 io.prestosql.orc.proto.OrcProto.StripeStatistics getStripeStats(int index) { return stripeStats_.get(index); } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public io.prestosql.orc.proto.OrcProto.StripeStatisticsOrBuilder getStripeStatsOrBuilder( int index) { return stripeStats_.get(index); } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { for (int i = 0; i < stripeStats_.size(); i++) { output.writeMessage(1, stripeStats_.get(i)); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; for (int i = 0; i < stripeStats_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(1, stripeStats_.get(i)); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.Metadata)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.Metadata other = (io.prestosql.orc.proto.OrcProto.Metadata) obj; boolean result = true; result = result && getStripeStatsList() .equals(other.getStripeStatsList()); result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (getStripeStatsCount() > 0) { hash = (37 * hash) + STRIPESTATS_FIELD_NUMBER; hash = (53 * hash) + getStripeStatsList().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.Metadata parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.Metadata parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Metadata parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.Metadata parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Metadata parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Metadata parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Metadata parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Metadata parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Metadata parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Metadata parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.Metadata prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.Metadata} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.Metadata) io.prestosql.orc.proto.OrcProto.MetadataOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Metadata_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Metadata_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.Metadata.class, io.prestosql.orc.proto.OrcProto.Metadata.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.Metadata.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStripeStatsFieldBuilder(); } } public Builder clear() { super.clear(); if (stripeStatsBuilder_ == null) { stripeStats_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000001); } else { stripeStatsBuilder_.clear(); } return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Metadata_descriptor; } public io.prestosql.orc.proto.OrcProto.Metadata getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.Metadata.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.Metadata build() { io.prestosql.orc.proto.OrcProto.Metadata result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.Metadata buildPartial() { io.prestosql.orc.proto.OrcProto.Metadata result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.Metadata) { return mergeFrom((io.prestosql.orc.proto.OrcProto.Metadata)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.Metadata other) { if (other == io.prestosql.orc.proto.OrcProto.Metadata.getDefaultInstance()) return this; if (stripeStatsBuilder_ == null) { if (!other.stripeStats_.isEmpty()) { if (stripeStats_.isEmpty()) { stripeStats_ = other.stripeStats_; bitField0_ = (bitField0_ & ~0x00000001); } else { ensureStripeStatsIsMutable(); stripeStats_.addAll(other.stripeStats_); } onChanged(); } } else { if (!other.stripeStats_.isEmpty()) { if (stripeStatsBuilder_.isEmpty()) { stripeStatsBuilder_.dispose(); stripeStatsBuilder_ = null; stripeStats_ = other.stripeStats_; bitField0_ = (bitField0_ & ~0x00000001); stripeStatsBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStripeStatsFieldBuilder() : null; } else { stripeStatsBuilder_.addAllMessages(other.stripeStats_); } } } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.Metadata parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.Metadata) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private java.util.List stripeStats_ = java.util.Collections.emptyList(); private void ensureStripeStatsIsMutable() { if (!((bitField0_ & 0x00000001) == 0x00000001)) { stripeStats_ = new java.util.ArrayList(stripeStats_); bitField0_ |= 0x00000001; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.StripeStatistics, io.prestosql.orc.proto.OrcProto.StripeStatistics.Builder, io.prestosql.orc.proto.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 io.prestosql.orc.proto.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, io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(io.prestosql.orc.proto.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, io.prestosql.orc.proto.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( io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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 io.prestosql.orc.proto.OrcProto.StripeStatistics.Builder getStripeStatsBuilder( int index) { return getStripeStatsFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public io.prestosql.orc.proto.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 io.prestosql.orc.proto.OrcProto.StripeStatistics.Builder addStripeStatsBuilder() { return getStripeStatsFieldBuilder().addBuilder( io.prestosql.orc.proto.OrcProto.StripeStatistics.getDefaultInstance()); } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public io.prestosql.orc.proto.OrcProto.StripeStatistics.Builder addStripeStatsBuilder( int index) { return getStripeStatsFieldBuilder().addBuilder( index, io.prestosql.orc.proto.OrcProto.StripeStatistics.getDefaultInstance()); } /** * repeated .orc.proto.StripeStatistics stripeStats = 1; */ public java.util.List getStripeStatsBuilderList() { return getStripeStatsFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.StripeStatistics, io.prestosql.orc.proto.OrcProto.StripeStatistics.Builder, io.prestosql.orc.proto.OrcProto.StripeStatisticsOrBuilder> getStripeStatsFieldBuilder() { if (stripeStatsBuilder_ == null) { stripeStatsBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.StripeStatistics, io.prestosql.orc.proto.OrcProto.StripeStatistics.Builder, io.prestosql.orc.proto.OrcProto.StripeStatisticsOrBuilder>( stripeStats_, ((bitField0_ & 0x00000001) == 0x00000001), getParentForChildren(), isClean()); stripeStats_ = null; } return stripeStatsBuilder_; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.Metadata) } // @@protoc_insertion_point(class_scope:orc.proto.Metadata) private static final io.prestosql.orc.proto.OrcProto.Metadata DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.Metadata(); } public static io.prestosql.orc.proto.OrcProto.Metadata getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public Metadata parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new Metadata(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.Metadata getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FooterOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.Footer) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional uint64 headerLength = 1; */ boolean hasHeaderLength(); /** * optional uint64 headerLength = 1; */ long getHeaderLength(); /** * optional uint64 contentLength = 2; */ boolean hasContentLength(); /** * optional uint64 contentLength = 2; */ long getContentLength(); /** * repeated .orc.proto.StripeInformation stripes = 3; */ java.util.List getStripesList(); /** * repeated .orc.proto.StripeInformation stripes = 3; */ io.prestosql.orc.proto.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; */ io.prestosql.orc.proto.OrcProto.StripeInformationOrBuilder getStripesOrBuilder( int index); /** * repeated .orc.proto.Type types = 4; */ java.util.List getTypesList(); /** * repeated .orc.proto.Type types = 4; */ io.prestosql.orc.proto.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; */ io.prestosql.orc.proto.OrcProto.TypeOrBuilder getTypesOrBuilder( int index); /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ java.util.List getMetadataList(); /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ io.prestosql.orc.proto.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; */ io.prestosql.orc.proto.OrcProto.UserMetadataItemOrBuilder getMetadataOrBuilder( int index); /** * optional uint64 numberOfRows = 6; */ boolean hasNumberOfRows(); /** * optional uint64 numberOfRows = 6; */ long getNumberOfRows(); /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ java.util.List getStatisticsList(); /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ io.prestosql.orc.proto.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; */ io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder( int index); /** * optional uint32 rowIndexStride = 8; */ boolean hasRowIndexStride(); /** * optional uint32 rowIndexStride = 8; */ int getRowIndexStride(); /** *
     * Each implementation that writes ORC files should register for a code
     * 0 = ORC Java
     * 1 = ORC C++
     * 2 = Presto
     * 3 = Scritchley Go from https://github.com/scritchley/orc
     * 
* * optional uint32 writer = 9; */ boolean hasWriter(); /** *
     * Each implementation that writes ORC files should register for a code
     * 0 = ORC Java
     * 1 = ORC C++
     * 2 = Presto
     * 3 = Scritchley Go from https://github.com/scritchley/orc
     * 
* * optional uint32 writer = 9; */ int getWriter(); } /** * Protobuf type {@code orc.proto.Footer} */ public static final class Footer extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.Footer) FooterOrBuilder { // Use Footer.newBuilder() to construct. private Footer(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private Footer() { headerLength_ = 0L; contentLength_ = 0L; stripes_ = java.util.Collections.emptyList(); types_ = java.util.Collections.emptyList(); metadata_ = java.util.Collections.emptyList(); numberOfRows_ = 0L; statistics_ = java.util.Collections.emptyList(); rowIndexStride_ = 0; writer_ = 0; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private Footer( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; headerLength_ = input.readUInt64(); break; } case 16: { bitField0_ |= 0x00000002; contentLength_ = input.readUInt64(); break; } case 26: { if (!((mutable_bitField0_ & 0x00000004) == 0x00000004)) { stripes_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000004; } stripes_.add( input.readMessage(io.prestosql.orc.proto.OrcProto.StripeInformation.PARSER, extensionRegistry)); break; } case 34: { if (!((mutable_bitField0_ & 0x00000008) == 0x00000008)) { types_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000008; } types_.add( input.readMessage(io.prestosql.orc.proto.OrcProto.Type.PARSER, extensionRegistry)); break; } case 42: { if (!((mutable_bitField0_ & 0x00000010) == 0x00000010)) { metadata_ = new java.util.ArrayList(); mutable_bitField0_ |= 0x00000010; } metadata_.add( input.readMessage(io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.ColumnStatistics.PARSER, extensionRegistry)); break; } case 64: { bitField0_ |= 0x00000008; rowIndexStride_ = input.readUInt32(); break; } case 72: { bitField0_ |= 0x00000010; writer_ = input.readUInt32(); break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000004) == 0x00000004)) { stripes_ = java.util.Collections.unmodifiableList(stripes_); } if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { types_ = java.util.Collections.unmodifiableList(types_); } if (((mutable_bitField0_ & 0x00000010) == 0x00000010)) { metadata_ = java.util.Collections.unmodifiableList(metadata_); } if (((mutable_bitField0_ & 0x00000040) == 0x00000040)) { statistics_ = java.util.Collections.unmodifiableList(statistics_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Footer_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Footer_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.Footer.class, io.prestosql.orc.proto.OrcProto.Footer.Builder.class); } private int bitField0_; public static final int HEADERLENGTH_FIELD_NUMBER = 1; private long headerLength_; /** * optional uint64 headerLength = 1; */ public boolean hasHeaderLength() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 headerLength = 1; */ public long getHeaderLength() { return headerLength_; } public static final int CONTENTLENGTH_FIELD_NUMBER = 2; private long contentLength_; /** * optional uint64 contentLength = 2; */ public boolean hasContentLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 contentLength = 2; */ public long getContentLength() { return contentLength_; } public static final int STRIPES_FIELD_NUMBER = 3; private java.util.List stripes_; /** * repeated .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 io.prestosql.orc.proto.OrcProto.StripeInformation getStripes(int index) { return stripes_.get(index); } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public io.prestosql.orc.proto.OrcProto.StripeInformationOrBuilder getStripesOrBuilder( int index) { return stripes_.get(index); } 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 io.prestosql.orc.proto.OrcProto.Type getTypes(int index) { return types_.get(index); } /** * repeated .orc.proto.Type types = 4; */ public io.prestosql.orc.proto.OrcProto.TypeOrBuilder getTypesOrBuilder( int index) { return types_.get(index); } 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 io.prestosql.orc.proto.OrcProto.UserMetadataItem getMetadata(int index) { return metadata_.get(index); } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public io.prestosql.orc.proto.OrcProto.UserMetadataItemOrBuilder getMetadataOrBuilder( int index) { return metadata_.get(index); } public static final int NUMBEROFROWS_FIELD_NUMBER = 6; private long numberOfRows_; /** * optional uint64 numberOfRows = 6; */ public boolean hasNumberOfRows() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 numberOfRows = 6; */ public long getNumberOfRows() { return numberOfRows_; } public static final int STATISTICS_FIELD_NUMBER = 7; private java.util.List statistics_; /** * repeated .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 io.prestosql.orc.proto.OrcProto.ColumnStatistics getStatistics(int index) { return statistics_.get(index); } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder getStatisticsOrBuilder( int index) { return statistics_.get(index); } public static final int ROWINDEXSTRIDE_FIELD_NUMBER = 8; private int rowIndexStride_; /** * optional uint32 rowIndexStride = 8; */ public boolean hasRowIndexStride() { return ((bitField0_ & 0x00000008) == 0x00000008); } /** * optional uint32 rowIndexStride = 8; */ public int getRowIndexStride() { return rowIndexStride_; } public static final int WRITER_FIELD_NUMBER = 9; private int writer_; /** *
     * Each implementation that writes ORC files should register for a code
     * 0 = ORC Java
     * 1 = ORC C++
     * 2 = Presto
     * 3 = Scritchley Go from https://github.com/scritchley/orc
     * 
* * optional uint32 writer = 9; */ public boolean hasWriter() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     * Each implementation that writes ORC files should register for a code
     * 0 = ORC Java
     * 1 = ORC C++
     * 2 = Presto
     * 3 = Scritchley Go from https://github.com/scritchley/orc
     * 
* * optional uint32 writer = 9; */ public int getWriter() { return writer_; } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, headerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeUInt64(2, contentLength_); } for (int i = 0; i < stripes_.size(); i++) { output.writeMessage(3, stripes_.get(i)); } for (int i = 0; i < types_.size(); i++) { output.writeMessage(4, types_.get(i)); } for (int i = 0; i < metadata_.size(); i++) { output.writeMessage(5, metadata_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(6, numberOfRows_); } for (int i = 0; i < statistics_.size(); i++) { output.writeMessage(7, statistics_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt32(8, rowIndexStride_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { output.writeUInt32(9, writer_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(1, headerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(2, contentLength_); } for (int i = 0; i < stripes_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(3, stripes_.get(i)); } for (int i = 0; i < types_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(4, types_.get(i)); } for (int i = 0; i < metadata_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(5, metadata_.get(i)); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(6, numberOfRows_); } for (int i = 0; i < statistics_.size(); i++) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(7, statistics_.get(i)); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(8, rowIndexStride_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(9, writer_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.Footer)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.Footer other = (io.prestosql.orc.proto.OrcProto.Footer) obj; boolean result = true; result = result && (hasHeaderLength() == other.hasHeaderLength()); if (hasHeaderLength()) { result = result && (getHeaderLength() == other.getHeaderLength()); } result = result && (hasContentLength() == other.hasContentLength()); if (hasContentLength()) { result = result && (getContentLength() == other.getContentLength()); } result = result && getStripesList() .equals(other.getStripesList()); result = result && getTypesList() .equals(other.getTypesList()); result = result && getMetadataList() .equals(other.getMetadataList()); result = result && (hasNumberOfRows() == other.hasNumberOfRows()); if (hasNumberOfRows()) { result = result && (getNumberOfRows() == other.getNumberOfRows()); } result = result && getStatisticsList() .equals(other.getStatisticsList()); result = result && (hasRowIndexStride() == other.hasRowIndexStride()); if (hasRowIndexStride()) { result = result && (getRowIndexStride() == other.getRowIndexStride()); } result = result && (hasWriter() == other.hasWriter()); if (hasWriter()) { result = result && (getWriter() == other.getWriter()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasHeaderLength()) { hash = (37 * hash) + HEADERLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getHeaderLength()); } if (hasContentLength()) { hash = (37 * hash) + CONTENTLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getContentLength()); } if (getStripesCount() > 0) { hash = (37 * hash) + STRIPES_FIELD_NUMBER; hash = (53 * hash) + getStripesList().hashCode(); } if (getTypesCount() > 0) { hash = (37 * hash) + TYPES_FIELD_NUMBER; hash = (53 * hash) + getTypesList().hashCode(); } if (getMetadataCount() > 0) { hash = (37 * hash) + METADATA_FIELD_NUMBER; hash = (53 * hash) + getMetadataList().hashCode(); } if (hasNumberOfRows()) { hash = (37 * hash) + NUMBEROFROWS_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getNumberOfRows()); } if (getStatisticsCount() > 0) { hash = (37 * hash) + STATISTICS_FIELD_NUMBER; hash = (53 * hash) + getStatisticsList().hashCode(); } if (hasRowIndexStride()) { hash = (37 * hash) + ROWINDEXSTRIDE_FIELD_NUMBER; hash = (53 * hash) + getRowIndexStride(); } if (hasWriter()) { hash = (37 * hash) + WRITER_FIELD_NUMBER; hash = (53 * hash) + getWriter(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.Footer parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.Footer parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Footer parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.Footer parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Footer parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Footer parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Footer parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Footer parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.Footer parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.Footer parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.Footer prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code orc.proto.Footer} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.Footer) io.prestosql.orc.proto.OrcProto.FooterOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Footer_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Footer_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.Footer.class, io.prestosql.orc.proto.OrcProto.Footer.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.Footer.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getStripesFieldBuilder(); getTypesFieldBuilder(); getMetadataFieldBuilder(); getStatisticsFieldBuilder(); } } public Builder clear() { super.clear(); headerLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); contentLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000002); if (stripesBuilder_ == null) { stripes_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000004); } else { stripesBuilder_.clear(); } if (typesBuilder_ == null) { types_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); } else { typesBuilder_.clear(); } if (metadataBuilder_ == null) { metadata_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000010); } else { metadataBuilder_.clear(); } numberOfRows_ = 0L; bitField0_ = (bitField0_ & ~0x00000020); if (statisticsBuilder_ == null) { statistics_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000040); } else { statisticsBuilder_.clear(); } rowIndexStride_ = 0; bitField0_ = (bitField0_ & ~0x00000080); writer_ = 0; bitField0_ = (bitField0_ & ~0x00000100); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_Footer_descriptor; } public io.prestosql.orc.proto.OrcProto.Footer getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.Footer.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.Footer build() { io.prestosql.orc.proto.OrcProto.Footer result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.Footer buildPartial() { io.prestosql.orc.proto.OrcProto.Footer result = new io.prestosql.orc.proto.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_; if (((from_bitField0_ & 0x00000100) == 0x00000100)) { to_bitField0_ |= 0x00000010; } result.writer_ = writer_; result.bitField0_ = to_bitField0_; onBuilt(); return result; } public Builder clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.Footer) { return mergeFrom((io.prestosql.orc.proto.OrcProto.Footer)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.Footer other) { if (other == io.prestosql.orc.proto.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_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStripesFieldBuilder() : null; } else { stripesBuilder_.addAllMessages(other.stripes_); } } } if (typesBuilder_ == null) { if (!other.types_.isEmpty()) { if (types_.isEmpty()) { types_ = other.types_; bitField0_ = (bitField0_ & ~0x00000008); } else { ensureTypesIsMutable(); types_.addAll(other.types_); } onChanged(); } } else { if (!other.types_.isEmpty()) { if (typesBuilder_.isEmpty()) { typesBuilder_.dispose(); typesBuilder_ = null; types_ = other.types_; bitField0_ = (bitField0_ & ~0x00000008); typesBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getTypesFieldBuilder() : null; } else { typesBuilder_.addAllMessages(other.types_); } } } if (metadataBuilder_ == null) { if (!other.metadata_.isEmpty()) { if (metadata_.isEmpty()) { metadata_ = other.metadata_; bitField0_ = (bitField0_ & ~0x00000010); } else { ensureMetadataIsMutable(); metadata_.addAll(other.metadata_); } onChanged(); } } else { if (!other.metadata_.isEmpty()) { if (metadataBuilder_.isEmpty()) { metadataBuilder_.dispose(); metadataBuilder_ = null; metadata_ = other.metadata_; bitField0_ = (bitField0_ & ~0x00000010); metadataBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getMetadataFieldBuilder() : null; } else { metadataBuilder_.addAllMessages(other.metadata_); } } } if (other.hasNumberOfRows()) { setNumberOfRows(other.getNumberOfRows()); } if (statisticsBuilder_ == null) { if (!other.statistics_.isEmpty()) { if (statistics_.isEmpty()) { statistics_ = other.statistics_; bitField0_ = (bitField0_ & ~0x00000040); } else { ensureStatisticsIsMutable(); statistics_.addAll(other.statistics_); } onChanged(); } } else { if (!other.statistics_.isEmpty()) { if (statisticsBuilder_.isEmpty()) { statisticsBuilder_.dispose(); statisticsBuilder_ = null; statistics_ = other.statistics_; bitField0_ = (bitField0_ & ~0x00000040); statisticsBuilder_ = io.prestosql.orc.protobuf.GeneratedMessageV3.alwaysUseFieldBuilders ? getStatisticsFieldBuilder() : null; } else { statisticsBuilder_.addAllMessages(other.statistics_); } } } if (other.hasRowIndexStride()) { setRowIndexStride(other.getRowIndexStride()); } if (other.hasWriter()) { setWriter(other.getWriter()); } this.mergeUnknownFields(other.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.Footer parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.Footer) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long headerLength_ ; /** * optional uint64 headerLength = 1; */ public boolean hasHeaderLength() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 headerLength = 1; */ public long getHeaderLength() { return headerLength_; } /** * optional uint64 headerLength = 1; */ public Builder setHeaderLength(long value) { bitField0_ |= 0x00000001; headerLength_ = value; onChanged(); return this; } /** * optional uint64 headerLength = 1; */ public Builder clearHeaderLength() { bitField0_ = (bitField0_ & ~0x00000001); headerLength_ = 0L; onChanged(); return this; } private long contentLength_ ; /** * optional uint64 contentLength = 2; */ public boolean hasContentLength() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional uint64 contentLength = 2; */ public long getContentLength() { return contentLength_; } /** * optional uint64 contentLength = 2; */ public Builder setContentLength(long value) { bitField0_ |= 0x00000002; contentLength_ = value; onChanged(); return this; } /** * optional uint64 contentLength = 2; */ public Builder clearContentLength() { bitField0_ = (bitField0_ & ~0x00000002); contentLength_ = 0L; onChanged(); return this; } private java.util.List stripes_ = java.util.Collections.emptyList(); private void ensureStripesIsMutable() { if (!((bitField0_ & 0x00000004) == 0x00000004)) { stripes_ = new java.util.ArrayList(stripes_); bitField0_ |= 0x00000004; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.StripeInformation, io.prestosql.orc.proto.OrcProto.StripeInformation.Builder, io.prestosql.orc.proto.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 io.prestosql.orc.proto.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, io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(io.prestosql.orc.proto.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, io.prestosql.orc.proto.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( io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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 io.prestosql.orc.proto.OrcProto.StripeInformation.Builder getStripesBuilder( int index) { return getStripesFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public io.prestosql.orc.proto.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 io.prestosql.orc.proto.OrcProto.StripeInformation.Builder addStripesBuilder() { return getStripesFieldBuilder().addBuilder( io.prestosql.orc.proto.OrcProto.StripeInformation.getDefaultInstance()); } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public io.prestosql.orc.proto.OrcProto.StripeInformation.Builder addStripesBuilder( int index) { return getStripesFieldBuilder().addBuilder( index, io.prestosql.orc.proto.OrcProto.StripeInformation.getDefaultInstance()); } /** * repeated .orc.proto.StripeInformation stripes = 3; */ public java.util.List getStripesBuilderList() { return getStripesFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.StripeInformation, io.prestosql.orc.proto.OrcProto.StripeInformation.Builder, io.prestosql.orc.proto.OrcProto.StripeInformationOrBuilder> getStripesFieldBuilder() { if (stripesBuilder_ == null) { stripesBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.StripeInformation, io.prestosql.orc.proto.OrcProto.StripeInformation.Builder, io.prestosql.orc.proto.OrcProto.StripeInformationOrBuilder>( stripes_, ((bitField0_ & 0x00000004) == 0x00000004), getParentForChildren(), isClean()); stripes_ = null; } return stripesBuilder_; } private java.util.List types_ = java.util.Collections.emptyList(); private void ensureTypesIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { types_ = new java.util.ArrayList(types_); bitField0_ |= 0x00000008; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.Type, io.prestosql.orc.proto.OrcProto.Type.Builder, io.prestosql.orc.proto.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 io.prestosql.orc.proto.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, io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(io.prestosql.orc.proto.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, io.prestosql.orc.proto.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( io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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 io.prestosql.orc.proto.OrcProto.Type.Builder getTypesBuilder( int index) { return getTypesFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.Type types = 4; */ public io.prestosql.orc.proto.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 io.prestosql.orc.proto.OrcProto.Type.Builder addTypesBuilder() { return getTypesFieldBuilder().addBuilder( io.prestosql.orc.proto.OrcProto.Type.getDefaultInstance()); } /** * repeated .orc.proto.Type types = 4; */ public io.prestosql.orc.proto.OrcProto.Type.Builder addTypesBuilder( int index) { return getTypesFieldBuilder().addBuilder( index, io.prestosql.orc.proto.OrcProto.Type.getDefaultInstance()); } /** * repeated .orc.proto.Type types = 4; */ public java.util.List getTypesBuilderList() { return getTypesFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.Type, io.prestosql.orc.proto.OrcProto.Type.Builder, io.prestosql.orc.proto.OrcProto.TypeOrBuilder> getTypesFieldBuilder() { if (typesBuilder_ == null) { typesBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.Type, io.prestosql.orc.proto.OrcProto.Type.Builder, io.prestosql.orc.proto.OrcProto.TypeOrBuilder>( types_, ((bitField0_ & 0x00000008) == 0x00000008), getParentForChildren(), isClean()); types_ = null; } return typesBuilder_; } private java.util.List metadata_ = java.util.Collections.emptyList(); private void ensureMetadataIsMutable() { if (!((bitField0_ & 0x00000010) == 0x00000010)) { metadata_ = new java.util.ArrayList(metadata_); bitField0_ |= 0x00000010; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.UserMetadataItem, io.prestosql.orc.proto.OrcProto.UserMetadataItem.Builder, io.prestosql.orc.proto.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 io.prestosql.orc.proto.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, io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(io.prestosql.orc.proto.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, io.prestosql.orc.proto.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( io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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 io.prestosql.orc.proto.OrcProto.UserMetadataItem.Builder getMetadataBuilder( int index) { return getMetadataFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public io.prestosql.orc.proto.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 io.prestosql.orc.proto.OrcProto.UserMetadataItem.Builder addMetadataBuilder() { return getMetadataFieldBuilder().addBuilder( io.prestosql.orc.proto.OrcProto.UserMetadataItem.getDefaultInstance()); } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public io.prestosql.orc.proto.OrcProto.UserMetadataItem.Builder addMetadataBuilder( int index) { return getMetadataFieldBuilder().addBuilder( index, io.prestosql.orc.proto.OrcProto.UserMetadataItem.getDefaultInstance()); } /** * repeated .orc.proto.UserMetadataItem metadata = 5; */ public java.util.List getMetadataBuilderList() { return getMetadataFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.UserMetadataItem, io.prestosql.orc.proto.OrcProto.UserMetadataItem.Builder, io.prestosql.orc.proto.OrcProto.UserMetadataItemOrBuilder> getMetadataFieldBuilder() { if (metadataBuilder_ == null) { metadataBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.UserMetadataItem, io.prestosql.orc.proto.OrcProto.UserMetadataItem.Builder, io.prestosql.orc.proto.OrcProto.UserMetadataItemOrBuilder>( metadata_, ((bitField0_ & 0x00000010) == 0x00000010), getParentForChildren(), isClean()); metadata_ = null; } return metadataBuilder_; } private long numberOfRows_ ; /** * optional uint64 numberOfRows = 6; */ public boolean hasNumberOfRows() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** * optional uint64 numberOfRows = 6; */ public long getNumberOfRows() { return numberOfRows_; } /** * optional uint64 numberOfRows = 6; */ public Builder setNumberOfRows(long value) { bitField0_ |= 0x00000020; numberOfRows_ = value; onChanged(); return this; } /** * optional uint64 numberOfRows = 6; */ public Builder clearNumberOfRows() { bitField0_ = (bitField0_ & ~0x00000020); numberOfRows_ = 0L; onChanged(); return this; } private java.util.List statistics_ = java.util.Collections.emptyList(); private void ensureStatisticsIsMutable() { if (!((bitField0_ & 0x00000040) == 0x00000040)) { statistics_ = new java.util.ArrayList(statistics_); bitField0_ |= 0x00000040; } } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnStatistics, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder, io.prestosql.orc.proto.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 io.prestosql.orc.proto.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, io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(io.prestosql.orc.proto.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, io.prestosql.orc.proto.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( io.prestosql.orc.proto.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, io.prestosql.orc.proto.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(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.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 io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder getStatisticsBuilder( int index) { return getStatisticsFieldBuilder().getBuilder(index); } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public io.prestosql.orc.proto.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 io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder addStatisticsBuilder() { return getStatisticsFieldBuilder().addBuilder( io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance()); } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder addStatisticsBuilder( int index) { return getStatisticsFieldBuilder().addBuilder( index, io.prestosql.orc.proto.OrcProto.ColumnStatistics.getDefaultInstance()); } /** * repeated .orc.proto.ColumnStatistics statistics = 7; */ public java.util.List getStatisticsBuilderList() { return getStatisticsFieldBuilder().getBuilderList(); } private io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnStatistics, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder, io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder> getStatisticsFieldBuilder() { if (statisticsBuilder_ == null) { statisticsBuilder_ = new io.prestosql.orc.protobuf.RepeatedFieldBuilderV3< io.prestosql.orc.proto.OrcProto.ColumnStatistics, io.prestosql.orc.proto.OrcProto.ColumnStatistics.Builder, io.prestosql.orc.proto.OrcProto.ColumnStatisticsOrBuilder>( statistics_, ((bitField0_ & 0x00000040) == 0x00000040), getParentForChildren(), isClean()); statistics_ = null; } return statisticsBuilder_; } private int rowIndexStride_ ; /** * optional uint32 rowIndexStride = 8; */ public boolean hasRowIndexStride() { return ((bitField0_ & 0x00000080) == 0x00000080); } /** * optional uint32 rowIndexStride = 8; */ public int getRowIndexStride() { return rowIndexStride_; } /** * optional uint32 rowIndexStride = 8; */ public Builder setRowIndexStride(int value) { bitField0_ |= 0x00000080; rowIndexStride_ = value; onChanged(); return this; } /** * optional uint32 rowIndexStride = 8; */ public Builder clearRowIndexStride() { bitField0_ = (bitField0_ & ~0x00000080); rowIndexStride_ = 0; onChanged(); return this; } private int writer_ ; /** *
       * Each implementation that writes ORC files should register for a code
       * 0 = ORC Java
       * 1 = ORC C++
       * 2 = Presto
       * 3 = Scritchley Go from https://github.com/scritchley/orc
       * 
* * optional uint32 writer = 9; */ public boolean hasWriter() { return ((bitField0_ & 0x00000100) == 0x00000100); } /** *
       * Each implementation that writes ORC files should register for a code
       * 0 = ORC Java
       * 1 = ORC C++
       * 2 = Presto
       * 3 = Scritchley Go from https://github.com/scritchley/orc
       * 
* * optional uint32 writer = 9; */ public int getWriter() { return writer_; } /** *
       * Each implementation that writes ORC files should register for a code
       * 0 = ORC Java
       * 1 = ORC C++
       * 2 = Presto
       * 3 = Scritchley Go from https://github.com/scritchley/orc
       * 
* * optional uint32 writer = 9; */ public Builder setWriter(int value) { bitField0_ |= 0x00000100; writer_ = value; onChanged(); return this; } /** *
       * Each implementation that writes ORC files should register for a code
       * 0 = ORC Java
       * 1 = ORC C++
       * 2 = Presto
       * 3 = Scritchley Go from https://github.com/scritchley/orc
       * 
* * optional uint32 writer = 9; */ public Builder clearWriter() { bitField0_ = (bitField0_ & ~0x00000100); writer_ = 0; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.Footer) } // @@protoc_insertion_point(class_scope:orc.proto.Footer) private static final io.prestosql.orc.proto.OrcProto.Footer DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.Footer(); } public static io.prestosql.orc.proto.OrcProto.Footer getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser
PARSER = new io.prestosql.orc.protobuf.AbstractParser
() { public Footer parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new Footer(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser
parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser
getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.Footer getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface PostScriptOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.PostScript) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional uint64 footerLength = 1; */ boolean hasFooterLength(); /** * optional uint64 footerLength = 1; */ long getFooterLength(); /** * optional .orc.proto.CompressionKind compression = 2; */ boolean hasCompression(); /** * optional .orc.proto.CompressionKind compression = 2; */ io.prestosql.orc.proto.OrcProto.CompressionKind getCompression(); /** * optional uint64 compressionBlockSize = 3; */ boolean hasCompressionBlockSize(); /** * optional uint64 compressionBlockSize = 3; */ long getCompressionBlockSize(); /** *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
* * repeated uint32 version = 4 [packed = true]; */ java.util.List getVersionList(); /** *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
* * repeated uint32 version = 4 [packed = true]; */ int getVersionCount(); /** *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
* * repeated uint32 version = 4 [packed = true]; */ int getVersion(int index); /** * optional uint64 metadataLength = 5; */ boolean hasMetadataLength(); /** * optional uint64 metadataLength = 5; */ long getMetadataLength(); /** *
     * The version of the writer that wrote the file. This number is
     * updated when we make fixes or large changes to the writer so that
     * readers can detect whether a given bug is present in the data.
     * Only the Java ORC writer may use values under 6 (or missing) so that
     * readers that predate ORC-202 treat the new writers correctly. Each
     * writer should assign their own sequence of versions starting from 6.
     * Version of the ORC Java writer:
     *   0 = original
     *   1 = HIVE-8732 fixed (fixed stripe/file maximum statistics &
     *                        string statistics use utf8 for min/max)
     *   2 = HIVE-4243 fixed (use real column names from Hive tables)
     *   3 = HIVE-12055 fixed (vectorized writer implementation)
     *   4 = HIVE-13083 fixed (decimals write present stream correctly)
     *   5 = ORC-101 fixed (bloom filters use utf8 consistently)
     *   6 = ORC-135 fixed (timestamp statistics use utc)
     * Version of the ORC C++ writer:
     *   6 = original
     * Version of the Presto writer:
     *   6 = original
     * Version of the Scritchley Go writer:
     *   6 = original
     * 
* * optional uint32 writerVersion = 6; */ boolean hasWriterVersion(); /** *
     * The version of the writer that wrote the file. This number is
     * updated when we make fixes or large changes to the writer so that
     * readers can detect whether a given bug is present in the data.
     * Only the Java ORC writer may use values under 6 (or missing) so that
     * readers that predate ORC-202 treat the new writers correctly. Each
     * writer should assign their own sequence of versions starting from 6.
     * Version of the ORC Java writer:
     *   0 = original
     *   1 = HIVE-8732 fixed (fixed stripe/file maximum statistics &
     *                        string statistics use utf8 for min/max)
     *   2 = HIVE-4243 fixed (use real column names from Hive tables)
     *   3 = HIVE-12055 fixed (vectorized writer implementation)
     *   4 = HIVE-13083 fixed (decimals write present stream correctly)
     *   5 = ORC-101 fixed (bloom filters use utf8 consistently)
     *   6 = ORC-135 fixed (timestamp statistics use utc)
     * Version of the ORC C++ writer:
     *   6 = original
     * Version of the Presto writer:
     *   6 = original
     * Version of the Scritchley Go writer:
     *   6 = original
     * 
* * optional uint32 writerVersion = 6; */ int getWriterVersion(); /** *
     * Leave this last in the record
     * 
* * optional string magic = 8000; */ boolean hasMagic(); /** *
     * Leave this last in the record
     * 
* * optional string magic = 8000; */ java.lang.String getMagic(); /** *
     * Leave this last in the record
     * 
* * optional string magic = 8000; */ io.prestosql.orc.protobuf.ByteString getMagicBytes(); } /** *
   * Serialized length must be less that 255 bytes
   * 
* * Protobuf type {@code orc.proto.PostScript} */ public static final class PostScript extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.PostScript) PostScriptOrBuilder { // Use PostScript.newBuilder() to construct. private PostScript(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private PostScript() { footerLength_ = 0L; compression_ = 0; compressionBlockSize_ = 0L; version_ = java.util.Collections.emptyList(); metadataLength_ = 0L; writerVersion_ = 0; magic_ = ""; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private PostScript( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 8: { bitField0_ |= 0x00000001; footerLength_ = input.readUInt64(); break; } case 16: { int rawValue = input.readEnum(); io.prestosql.orc.proto.OrcProto.CompressionKind value = io.prestosql.orc.proto.OrcProto.CompressionKind.valueOf(rawValue); if (value == null) { unknownFields.mergeVarintField(2, rawValue); } else { bitField0_ |= 0x00000002; compression_ = rawValue; } break; } case 24: { bitField0_ |= 0x00000004; compressionBlockSize_ = input.readUInt64(); break; } case 32: { 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: { io.prestosql.orc.protobuf.ByteString bs = input.readBytes(); bitField0_ |= 0x00000020; magic_ = bs; break; } } } } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { if (((mutable_bitField0_ & 0x00000008) == 0x00000008)) { version_ = java.util.Collections.unmodifiableList(version_); } this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_PostScript_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_PostScript_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.PostScript.class, io.prestosql.orc.proto.OrcProto.PostScript.Builder.class); } private int bitField0_; public static final int FOOTERLENGTH_FIELD_NUMBER = 1; private long footerLength_; /** * optional uint64 footerLength = 1; */ public boolean hasFooterLength() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 footerLength = 1; */ public long getFooterLength() { return footerLength_; } public static final int COMPRESSION_FIELD_NUMBER = 2; private int compression_; /** * optional .orc.proto.CompressionKind compression = 2; */ public boolean hasCompression() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.CompressionKind compression = 2; */ public io.prestosql.orc.proto.OrcProto.CompressionKind getCompression() { io.prestosql.orc.proto.OrcProto.CompressionKind result = io.prestosql.orc.proto.OrcProto.CompressionKind.valueOf(compression_); return result == null ? io.prestosql.orc.proto.OrcProto.CompressionKind.NONE : result; } public static final int COMPRESSIONBLOCKSIZE_FIELD_NUMBER = 3; private long compressionBlockSize_; /** * optional uint64 compressionBlockSize = 3; */ public boolean hasCompressionBlockSize() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 compressionBlockSize = 3; */ public long getCompressionBlockSize() { return compressionBlockSize_; } public static final int VERSION_FIELD_NUMBER = 4; private java.util.List version_; /** *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
* * repeated uint32 version = 4 [packed = true]; */ public java.util.List getVersionList() { return version_; } /** *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
* * repeated uint32 version = 4 [packed = true]; */ public int getVersionCount() { return version_.size(); } /** *
     * the version of the file format
     *   [0, 11] = Hive 0.11
     *   [0, 12] = Hive 0.12
     * 
* * repeated uint32 version = 4 [packed = true]; */ public int getVersion(int index) { return version_.get(index); } private int versionMemoizedSerializedSize = -1; 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_; } public static final int WRITERVERSION_FIELD_NUMBER = 6; private int writerVersion_; /** *
     * The version of the writer that wrote the file. This number is
     * updated when we make fixes or large changes to the writer so that
     * readers can detect whether a given bug is present in the data.
     * Only the Java ORC writer may use values under 6 (or missing) so that
     * readers that predate ORC-202 treat the new writers correctly. Each
     * writer should assign their own sequence of versions starting from 6.
     * Version of the ORC Java writer:
     *   0 = original
     *   1 = HIVE-8732 fixed (fixed stripe/file maximum statistics &
     *                        string statistics use utf8 for min/max)
     *   2 = HIVE-4243 fixed (use real column names from Hive tables)
     *   3 = HIVE-12055 fixed (vectorized writer implementation)
     *   4 = HIVE-13083 fixed (decimals write present stream correctly)
     *   5 = ORC-101 fixed (bloom filters use utf8 consistently)
     *   6 = ORC-135 fixed (timestamp statistics use utc)
     * Version of the ORC C++ writer:
     *   6 = original
     * Version of the Presto writer:
     *   6 = original
     * Version of the Scritchley Go writer:
     *   6 = original
     * 
* * optional uint32 writerVersion = 6; */ public boolean hasWriterVersion() { return ((bitField0_ & 0x00000010) == 0x00000010); } /** *
     * The version of the writer that wrote the file. This number is
     * updated when we make fixes or large changes to the writer so that
     * readers can detect whether a given bug is present in the data.
     * Only the Java ORC writer may use values under 6 (or missing) so that
     * readers that predate ORC-202 treat the new writers correctly. Each
     * writer should assign their own sequence of versions starting from 6.
     * Version of the ORC Java writer:
     *   0 = original
     *   1 = HIVE-8732 fixed (fixed stripe/file maximum statistics &
     *                        string statistics use utf8 for min/max)
     *   2 = HIVE-4243 fixed (use real column names from Hive tables)
     *   3 = HIVE-12055 fixed (vectorized writer implementation)
     *   4 = HIVE-13083 fixed (decimals write present stream correctly)
     *   5 = ORC-101 fixed (bloom filters use utf8 consistently)
     *   6 = ORC-135 fixed (timestamp statistics use utc)
     * Version of the ORC C++ writer:
     *   6 = original
     * Version of the Presto writer:
     *   6 = original
     * Version of the Scritchley Go writer:
     *   6 = original
     * 
* * optional uint32 writerVersion = 6; */ public int getWriterVersion() { return writerVersion_; } public static final int MAGIC_FIELD_NUMBER = 8000; private volatile java.lang.Object magic_; /** *
     * Leave this last in the record
     * 
* * optional string magic = 8000; */ public boolean hasMagic() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
     * Leave this last in the record
     * 
* * optional string magic = 8000; */ public java.lang.String getMagic() { java.lang.Object ref = magic_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { magic_ = s; } return s; } } /** *
     * Leave this last in the record
     * 
* * optional string magic = 8000; */ public io.prestosql.orc.protobuf.ByteString getMagicBytes() { java.lang.Object ref = magic_; if (ref instanceof java.lang.String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); magic_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { getSerializedSize(); if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeUInt64(1, footerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeEnum(2, compression_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, compressionBlockSize_); } if (getVersionList().size() > 0) { output.writeUInt32NoTag(34); output.writeUInt32NoTag(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)) { io.prestosql.orc.protobuf.GeneratedMessageV3.writeString(output, 8000, magic_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(1, footerLength_); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeEnumSize(2, compression_); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(3, compressionBlockSize_); } { int dataSize = 0; for (int i = 0; i < version_.size(); i++) { dataSize += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32SizeNoTag(version_.get(i)); } size += dataSize; if (!getVersionList().isEmpty()) { size += 1; size += io.prestosql.orc.protobuf.CodedOutputStream .computeInt32SizeNoTag(dataSize); } versionMemoizedSerializedSize = dataSize; } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(5, metadataLength_); } if (((bitField0_ & 0x00000010) == 0x00000010)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt32Size(6, writerVersion_); } if (((bitField0_ & 0x00000020) == 0x00000020)) { size += io.prestosql.orc.protobuf.GeneratedMessageV3.computeStringSize(8000, magic_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.PostScript)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.PostScript other = (io.prestosql.orc.proto.OrcProto.PostScript) obj; boolean result = true; result = result && (hasFooterLength() == other.hasFooterLength()); if (hasFooterLength()) { result = result && (getFooterLength() == other.getFooterLength()); } result = result && (hasCompression() == other.hasCompression()); if (hasCompression()) { result = result && compression_ == other.compression_; } result = result && (hasCompressionBlockSize() == other.hasCompressionBlockSize()); if (hasCompressionBlockSize()) { result = result && (getCompressionBlockSize() == other.getCompressionBlockSize()); } result = result && getVersionList() .equals(other.getVersionList()); result = result && (hasMetadataLength() == other.hasMetadataLength()); if (hasMetadataLength()) { result = result && (getMetadataLength() == other.getMetadataLength()); } result = result && (hasWriterVersion() == other.hasWriterVersion()); if (hasWriterVersion()) { result = result && (getWriterVersion() == other.getWriterVersion()); } result = result && (hasMagic() == other.hasMagic()); if (hasMagic()) { result = result && getMagic() .equals(other.getMagic()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasFooterLength()) { hash = (37 * hash) + FOOTERLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getFooterLength()); } if (hasCompression()) { hash = (37 * hash) + COMPRESSION_FIELD_NUMBER; hash = (53 * hash) + compression_; } if (hasCompressionBlockSize()) { hash = (37 * hash) + COMPRESSIONBLOCKSIZE_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getCompressionBlockSize()); } if (getVersionCount() > 0) { hash = (37 * hash) + VERSION_FIELD_NUMBER; hash = (53 * hash) + getVersionList().hashCode(); } if (hasMetadataLength()) { hash = (37 * hash) + METADATALENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getMetadataLength()); } if (hasWriterVersion()) { hash = (37 * hash) + WRITERVERSION_FIELD_NUMBER; hash = (53 * hash) + getWriterVersion(); } if (hasMagic()) { hash = (37 * hash) + MAGIC_FIELD_NUMBER; hash = (53 * hash) + getMagic().hashCode(); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.PostScript parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.PostScript parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.PostScript parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.PostScript parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.PostScript parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.PostScript parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.PostScript parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.PostScript parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.PostScript parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.PostScript parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.PostScript prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * Serialized length must be less that 255 bytes
     * 
* * Protobuf type {@code orc.proto.PostScript} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.PostScript) io.prestosql.orc.proto.OrcProto.PostScriptOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_PostScript_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_PostScript_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.PostScript.class, io.prestosql.orc.proto.OrcProto.PostScript.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.PostScript.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { } } public Builder clear() { super.clear(); footerLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000001); compression_ = 0; bitField0_ = (bitField0_ & ~0x00000002); compressionBlockSize_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); 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 io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_PostScript_descriptor; } public io.prestosql.orc.proto.OrcProto.PostScript getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.PostScript.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.PostScript build() { io.prestosql.orc.proto.OrcProto.PostScript result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.PostScript buildPartial() { io.prestosql.orc.proto.OrcProto.PostScript result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.PostScript) { return mergeFrom((io.prestosql.orc.proto.OrcProto.PostScript)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.PostScript other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.PostScript parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.PostScript) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private long footerLength_ ; /** * optional uint64 footerLength = 1; */ public boolean hasFooterLength() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional uint64 footerLength = 1; */ public long getFooterLength() { return footerLength_; } /** * optional uint64 footerLength = 1; */ public Builder setFooterLength(long value) { bitField0_ |= 0x00000001; footerLength_ = value; onChanged(); return this; } /** * optional uint64 footerLength = 1; */ public Builder clearFooterLength() { bitField0_ = (bitField0_ & ~0x00000001); footerLength_ = 0L; onChanged(); return this; } private int compression_ = 0; /** * optional .orc.proto.CompressionKind compression = 2; */ public boolean hasCompression() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.CompressionKind compression = 2; */ public io.prestosql.orc.proto.OrcProto.CompressionKind getCompression() { io.prestosql.orc.proto.OrcProto.CompressionKind result = io.prestosql.orc.proto.OrcProto.CompressionKind.valueOf(compression_); return result == null ? io.prestosql.orc.proto.OrcProto.CompressionKind.NONE : result; } /** * optional .orc.proto.CompressionKind compression = 2; */ public Builder setCompression(io.prestosql.orc.proto.OrcProto.CompressionKind value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000002; compression_ = value.getNumber(); onChanged(); return this; } /** * optional .orc.proto.CompressionKind compression = 2; */ public Builder clearCompression() { bitField0_ = (bitField0_ & ~0x00000002); compression_ = 0; onChanged(); return this; } private long compressionBlockSize_ ; /** * optional uint64 compressionBlockSize = 3; */ public boolean hasCompressionBlockSize() { return ((bitField0_ & 0x00000004) == 0x00000004); } /** * optional uint64 compressionBlockSize = 3; */ public long getCompressionBlockSize() { return compressionBlockSize_; } /** * optional uint64 compressionBlockSize = 3; */ public Builder setCompressionBlockSize(long value) { bitField0_ |= 0x00000004; compressionBlockSize_ = value; onChanged(); return this; } /** * optional uint64 compressionBlockSize = 3; */ public Builder clearCompressionBlockSize() { bitField0_ = (bitField0_ & ~0x00000004); compressionBlockSize_ = 0L; onChanged(); return this; } private java.util.List version_ = java.util.Collections.emptyList(); private void ensureVersionIsMutable() { if (!((bitField0_ & 0x00000008) == 0x00000008)) { version_ = new java.util.ArrayList(version_); bitField0_ |= 0x00000008; } } /** *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
* * repeated uint32 version = 4 [packed = true]; */ public java.util.List getVersionList() { return java.util.Collections.unmodifiableList(version_); } /** *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
* * repeated uint32 version = 4 [packed = true]; */ public int getVersionCount() { return version_.size(); } /** *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
* * repeated uint32 version = 4 [packed = true]; */ public int getVersion(int index) { return version_.get(index); } /** *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
* * repeated uint32 version = 4 [packed = true]; */ public Builder setVersion( int index, int value) { ensureVersionIsMutable(); version_.set(index, value); onChanged(); return this; } /** *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
* * repeated uint32 version = 4 [packed = true]; */ public Builder addVersion(int value) { ensureVersionIsMutable(); version_.add(value); onChanged(); return this; } /** *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
* * repeated uint32 version = 4 [packed = true]; */ public Builder addAllVersion( java.lang.Iterable values) { ensureVersionIsMutable(); io.prestosql.orc.protobuf.AbstractMessageLite.Builder.addAll( values, version_); onChanged(); return this; } /** *
       * the version of the file format
       *   [0, 11] = Hive 0.11
       *   [0, 12] = Hive 0.12
       * 
* * repeated uint32 version = 4 [packed = true]; */ public Builder clearVersion() { version_ = java.util.Collections.emptyList(); bitField0_ = (bitField0_ & ~0x00000008); onChanged(); return this; } 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; } private int writerVersion_ ; /** *
       * The version of the writer that wrote the file. This number is
       * updated when we make fixes or large changes to the writer so that
       * readers can detect whether a given bug is present in the data.
       * Only the Java ORC writer may use values under 6 (or missing) so that
       * readers that predate ORC-202 treat the new writers correctly. Each
       * writer should assign their own sequence of versions starting from 6.
       * Version of the ORC Java writer:
       *   0 = original
       *   1 = HIVE-8732 fixed (fixed stripe/file maximum statistics &
       *                        string statistics use utf8 for min/max)
       *   2 = HIVE-4243 fixed (use real column names from Hive tables)
       *   3 = HIVE-12055 fixed (vectorized writer implementation)
       *   4 = HIVE-13083 fixed (decimals write present stream correctly)
       *   5 = ORC-101 fixed (bloom filters use utf8 consistently)
       *   6 = ORC-135 fixed (timestamp statistics use utc)
       * Version of the ORC C++ writer:
       *   6 = original
       * Version of the Presto writer:
       *   6 = original
       * Version of the Scritchley Go writer:
       *   6 = original
       * 
* * optional uint32 writerVersion = 6; */ public boolean hasWriterVersion() { return ((bitField0_ & 0x00000020) == 0x00000020); } /** *
       * The version of the writer that wrote the file. This number is
       * updated when we make fixes or large changes to the writer so that
       * readers can detect whether a given bug is present in the data.
       * Only the Java ORC writer may use values under 6 (or missing) so that
       * readers that predate ORC-202 treat the new writers correctly. Each
       * writer should assign their own sequence of versions starting from 6.
       * Version of the ORC Java writer:
       *   0 = original
       *   1 = HIVE-8732 fixed (fixed stripe/file maximum statistics &
       *                        string statistics use utf8 for min/max)
       *   2 = HIVE-4243 fixed (use real column names from Hive tables)
       *   3 = HIVE-12055 fixed (vectorized writer implementation)
       *   4 = HIVE-13083 fixed (decimals write present stream correctly)
       *   5 = ORC-101 fixed (bloom filters use utf8 consistently)
       *   6 = ORC-135 fixed (timestamp statistics use utc)
       * Version of the ORC C++ writer:
       *   6 = original
       * Version of the Presto writer:
       *   6 = original
       * Version of the Scritchley Go writer:
       *   6 = original
       * 
* * optional uint32 writerVersion = 6; */ public int getWriterVersion() { return writerVersion_; } /** *
       * The version of the writer that wrote the file. This number is
       * updated when we make fixes or large changes to the writer so that
       * readers can detect whether a given bug is present in the data.
       * Only the Java ORC writer may use values under 6 (or missing) so that
       * readers that predate ORC-202 treat the new writers correctly. Each
       * writer should assign their own sequence of versions starting from 6.
       * Version of the ORC Java writer:
       *   0 = original
       *   1 = HIVE-8732 fixed (fixed stripe/file maximum statistics &
       *                        string statistics use utf8 for min/max)
       *   2 = HIVE-4243 fixed (use real column names from Hive tables)
       *   3 = HIVE-12055 fixed (vectorized writer implementation)
       *   4 = HIVE-13083 fixed (decimals write present stream correctly)
       *   5 = ORC-101 fixed (bloom filters use utf8 consistently)
       *   6 = ORC-135 fixed (timestamp statistics use utc)
       * Version of the ORC C++ writer:
       *   6 = original
       * Version of the Presto writer:
       *   6 = original
       * Version of the Scritchley Go writer:
       *   6 = original
       * 
* * optional uint32 writerVersion = 6; */ public Builder setWriterVersion(int value) { bitField0_ |= 0x00000020; writerVersion_ = value; onChanged(); return this; } /** *
       * The version of the writer that wrote the file. This number is
       * updated when we make fixes or large changes to the writer so that
       * readers can detect whether a given bug is present in the data.
       * Only the Java ORC writer may use values under 6 (or missing) so that
       * readers that predate ORC-202 treat the new writers correctly. Each
       * writer should assign their own sequence of versions starting from 6.
       * Version of the ORC Java writer:
       *   0 = original
       *   1 = HIVE-8732 fixed (fixed stripe/file maximum statistics &
       *                        string statistics use utf8 for min/max)
       *   2 = HIVE-4243 fixed (use real column names from Hive tables)
       *   3 = HIVE-12055 fixed (vectorized writer implementation)
       *   4 = HIVE-13083 fixed (decimals write present stream correctly)
       *   5 = ORC-101 fixed (bloom filters use utf8 consistently)
       *   6 = ORC-135 fixed (timestamp statistics use utc)
       * Version of the ORC C++ writer:
       *   6 = original
       * Version of the Presto writer:
       *   6 = original
       * Version of the Scritchley Go writer:
       *   6 = original
       * 
* * optional uint32 writerVersion = 6; */ public Builder clearWriterVersion() { bitField0_ = (bitField0_ & ~0x00000020); writerVersion_ = 0; onChanged(); return this; } private java.lang.Object magic_ = ""; /** *
       * Leave this last in the record
       * 
* * optional string magic = 8000; */ public boolean hasMagic() { return ((bitField0_ & 0x00000040) == 0x00000040); } /** *
       * Leave this last in the record
       * 
* * optional string magic = 8000; */ public java.lang.String getMagic() { java.lang.Object ref = magic_; if (!(ref instanceof java.lang.String)) { io.prestosql.orc.protobuf.ByteString bs = (io.prestosql.orc.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); if (bs.isValidUtf8()) { magic_ = s; } return s; } else { return (java.lang.String) ref; } } /** *
       * Leave this last in the record
       * 
* * optional string magic = 8000; */ public io.prestosql.orc.protobuf.ByteString getMagicBytes() { java.lang.Object ref = magic_; if (ref instanceof String) { io.prestosql.orc.protobuf.ByteString b = io.prestosql.orc.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); magic_ = b; return b; } else { return (io.prestosql.orc.protobuf.ByteString) ref; } } /** *
       * Leave this last in the record
       * 
* * optional string magic = 8000; */ public Builder setMagic( java.lang.String value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; magic_ = value; onChanged(); return this; } /** *
       * Leave this last in the record
       * 
* * optional string magic = 8000; */ public Builder clearMagic() { bitField0_ = (bitField0_ & ~0x00000040); magic_ = getDefaultInstance().getMagic(); onChanged(); return this; } /** *
       * Leave this last in the record
       * 
* * optional string magic = 8000; */ public Builder setMagicBytes( io.prestosql.orc.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } bitField0_ |= 0x00000040; magic_ = value; onChanged(); return this; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.PostScript) } // @@protoc_insertion_point(class_scope:orc.proto.PostScript) private static final io.prestosql.orc.proto.OrcProto.PostScript DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.PostScript(); } public static io.prestosql.orc.proto.OrcProto.PostScript getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public PostScript parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new PostScript(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.PostScript getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface FileTailOrBuilder extends // @@protoc_insertion_point(interface_extends:orc.proto.FileTail) io.prestosql.orc.protobuf.MessageOrBuilder { /** * optional .orc.proto.PostScript postscript = 1; */ boolean hasPostscript(); /** * optional .orc.proto.PostScript postscript = 1; */ io.prestosql.orc.proto.OrcProto.PostScript getPostscript(); /** * optional .orc.proto.PostScript postscript = 1; */ io.prestosql.orc.proto.OrcProto.PostScriptOrBuilder getPostscriptOrBuilder(); /** * optional .orc.proto.Footer footer = 2; */ boolean hasFooter(); /** * optional .orc.proto.Footer footer = 2; */ io.prestosql.orc.proto.OrcProto.Footer getFooter(); /** * optional .orc.proto.Footer footer = 2; */ io.prestosql.orc.proto.OrcProto.FooterOrBuilder getFooterOrBuilder(); /** * optional uint64 fileLength = 3; */ boolean hasFileLength(); /** * optional uint64 fileLength = 3; */ long getFileLength(); /** * optional uint64 postscriptLength = 4; */ boolean hasPostscriptLength(); /** * optional uint64 postscriptLength = 4; */ long getPostscriptLength(); } /** *
   * The contents of the file tail that must be serialized.
   * This gets serialized as part of OrcSplit, also used by footer cache.
   * 
* * Protobuf type {@code orc.proto.FileTail} */ public static final class FileTail extends io.prestosql.orc.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:orc.proto.FileTail) FileTailOrBuilder { // Use FileTail.newBuilder() to construct. private FileTail(io.prestosql.orc.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private FileTail() { fileLength_ = 0L; postscriptLength_ = 0L; } @java.lang.Override public final io.prestosql.orc.protobuf.UnknownFieldSet getUnknownFields() { return this.unknownFields; } private FileTail( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { this(); int mutable_bitField0_ = 0; io.prestosql.orc.protobuf.UnknownFieldSet.Builder unknownFields = io.prestosql.orc.protobuf.UnknownFieldSet.newBuilder(); try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; default: { if (!parseUnknownField(input, unknownFields, extensionRegistry, tag)) { done = true; } break; } case 10: { io.prestosql.orc.proto.OrcProto.PostScript.Builder subBuilder = null; if (((bitField0_ & 0x00000001) == 0x00000001)) { subBuilder = postscript_.toBuilder(); } postscript_ = input.readMessage(io.prestosql.orc.proto.OrcProto.PostScript.PARSER, extensionRegistry); if (subBuilder != null) { subBuilder.mergeFrom(postscript_); postscript_ = subBuilder.buildPartial(); } bitField0_ |= 0x00000001; break; } case 18: { io.prestosql.orc.proto.OrcProto.Footer.Builder subBuilder = null; if (((bitField0_ & 0x00000002) == 0x00000002)) { subBuilder = footer_.toBuilder(); } footer_ = input.readMessage(io.prestosql.orc.proto.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 (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(this); } catch (java.io.IOException e) { throw new io.prestosql.orc.protobuf.InvalidProtocolBufferException( e).setUnfinishedMessage(this); } finally { this.unknownFields = unknownFields.build(); makeExtensionsImmutable(); } } public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_FileTail_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_FileTail_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.FileTail.class, io.prestosql.orc.proto.OrcProto.FileTail.Builder.class); } private int bitField0_; public static final int POSTSCRIPT_FIELD_NUMBER = 1; private io.prestosql.orc.proto.OrcProto.PostScript postscript_; /** * optional .orc.proto.PostScript postscript = 1; */ public boolean hasPostscript() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.PostScript postscript = 1; */ public io.prestosql.orc.proto.OrcProto.PostScript getPostscript() { return postscript_ == null ? io.prestosql.orc.proto.OrcProto.PostScript.getDefaultInstance() : postscript_; } /** * optional .orc.proto.PostScript postscript = 1; */ public io.prestosql.orc.proto.OrcProto.PostScriptOrBuilder getPostscriptOrBuilder() { return postscript_ == null ? io.prestosql.orc.proto.OrcProto.PostScript.getDefaultInstance() : postscript_; } public static final int FOOTER_FIELD_NUMBER = 2; private io.prestosql.orc.proto.OrcProto.Footer footer_; /** * optional .orc.proto.Footer footer = 2; */ public boolean hasFooter() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.Footer footer = 2; */ public io.prestosql.orc.proto.OrcProto.Footer getFooter() { return footer_ == null ? io.prestosql.orc.proto.OrcProto.Footer.getDefaultInstance() : footer_; } /** * optional .orc.proto.Footer footer = 2; */ public io.prestosql.orc.proto.OrcProto.FooterOrBuilder getFooterOrBuilder() { return footer_ == null ? io.prestosql.orc.proto.OrcProto.Footer.getDefaultInstance() : footer_; } 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_; } 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 byte memoizedIsInitialized = -1; public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } public void writeTo(io.prestosql.orc.protobuf.CodedOutputStream output) throws java.io.IOException { if (((bitField0_ & 0x00000001) == 0x00000001)) { output.writeMessage(1, getPostscript()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { output.writeMessage(2, getFooter()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { output.writeUInt64(3, fileLength_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { output.writeUInt64(4, postscriptLength_); } unknownFields.writeTo(output); } public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (((bitField0_ & 0x00000001) == 0x00000001)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(1, getPostscript()); } if (((bitField0_ & 0x00000002) == 0x00000002)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeMessageSize(2, getFooter()); } if (((bitField0_ & 0x00000004) == 0x00000004)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(3, fileLength_); } if (((bitField0_ & 0x00000008) == 0x00000008)) { size += io.prestosql.orc.protobuf.CodedOutputStream .computeUInt64Size(4, postscriptLength_); } size += unknownFields.getSerializedSize(); memoizedSize = size; return size; } private static final long serialVersionUID = 0L; @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.prestosql.orc.proto.OrcProto.FileTail)) { return super.equals(obj); } io.prestosql.orc.proto.OrcProto.FileTail other = (io.prestosql.orc.proto.OrcProto.FileTail) obj; boolean result = true; result = result && (hasPostscript() == other.hasPostscript()); if (hasPostscript()) { result = result && getPostscript() .equals(other.getPostscript()); } result = result && (hasFooter() == other.hasFooter()); if (hasFooter()) { result = result && getFooter() .equals(other.getFooter()); } result = result && (hasFileLength() == other.hasFileLength()); if (hasFileLength()) { result = result && (getFileLength() == other.getFileLength()); } result = result && (hasPostscriptLength() == other.hasPostscriptLength()); if (hasPostscriptLength()) { result = result && (getPostscriptLength() == other.getPostscriptLength()); } result = result && unknownFields.equals(other.unknownFields); return result; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); if (hasPostscript()) { hash = (37 * hash) + POSTSCRIPT_FIELD_NUMBER; hash = (53 * hash) + getPostscript().hashCode(); } if (hasFooter()) { hash = (37 * hash) + FOOTER_FIELD_NUMBER; hash = (53 * hash) + getFooter().hashCode(); } if (hasFileLength()) { hash = (37 * hash) + FILELENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getFileLength()); } if (hasPostscriptLength()) { hash = (37 * hash) + POSTSCRIPTLENGTH_FIELD_NUMBER; hash = (53 * hash) + io.prestosql.orc.protobuf.Internal.hashLong( getPostscriptLength()); } hash = (29 * hash) + unknownFields.hashCode(); memoizedHashCode = hash; return hash; } public static io.prestosql.orc.proto.OrcProto.FileTail parseFrom( io.prestosql.orc.protobuf.ByteString data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.FileTail parseFrom( io.prestosql.orc.protobuf.ByteString data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.FileTail parseFrom(byte[] data) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.prestosql.orc.proto.OrcProto.FileTail parseFrom( byte[] data, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.FileTail parseFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.FileTail parseFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.FileTail parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.FileTail parseDelimitedFrom( java.io.InputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.prestosql.orc.proto.OrcProto.FileTail parseFrom( io.prestosql.orc.protobuf.CodedInputStream input) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.prestosql.orc.proto.OrcProto.FileTail parseFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return io.prestosql.orc.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.prestosql.orc.proto.OrcProto.FileTail prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** *
     * The contents of the file tail that must be serialized.
     * This gets serialized as part of OrcSplit, also used by footer cache.
     * 
* * Protobuf type {@code orc.proto.FileTail} */ public static final class Builder extends io.prestosql.orc.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:orc.proto.FileTail) io.prestosql.orc.proto.OrcProto.FileTailOrBuilder { public static final io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptor() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_FileTail_descriptor; } protected io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_FileTail_fieldAccessorTable .ensureFieldAccessorsInitialized( io.prestosql.orc.proto.OrcProto.FileTail.class, io.prestosql.orc.proto.OrcProto.FileTail.Builder.class); } // Construct using io.prestosql.orc.proto.OrcProto.FileTail.newBuilder() private Builder() { maybeForceBuilderInitialization(); } private Builder( io.prestosql.orc.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); maybeForceBuilderInitialization(); } private void maybeForceBuilderInitialization() { if (io.prestosql.orc.protobuf.GeneratedMessageV3 .alwaysUseFieldBuilders) { getPostscriptFieldBuilder(); getFooterFieldBuilder(); } } public Builder clear() { super.clear(); if (postscriptBuilder_ == null) { postscript_ = null; } else { postscriptBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); if (footerBuilder_ == null) { footer_ = null; } else { footerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); fileLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000004); postscriptLength_ = 0L; bitField0_ = (bitField0_ & ~0x00000008); return this; } public io.prestosql.orc.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.prestosql.orc.proto.OrcProto.internal_static_orc_proto_FileTail_descriptor; } public io.prestosql.orc.proto.OrcProto.FileTail getDefaultInstanceForType() { return io.prestosql.orc.proto.OrcProto.FileTail.getDefaultInstance(); } public io.prestosql.orc.proto.OrcProto.FileTail build() { io.prestosql.orc.proto.OrcProto.FileTail result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } public io.prestosql.orc.proto.OrcProto.FileTail buildPartial() { io.prestosql.orc.proto.OrcProto.FileTail result = new io.prestosql.orc.proto.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 clone() { return (Builder) super.clone(); } public Builder setField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.setField(field, value); } public Builder clearField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field) { return (Builder) super.clearField(field); } public Builder clearOneof( io.prestosql.orc.protobuf.Descriptors.OneofDescriptor oneof) { return (Builder) super.clearOneof(oneof); } public Builder setRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, int index, Object value) { return (Builder) super.setRepeatedField(field, index, value); } public Builder addRepeatedField( io.prestosql.orc.protobuf.Descriptors.FieldDescriptor field, Object value) { return (Builder) super.addRepeatedField(field, value); } public Builder mergeFrom(io.prestosql.orc.protobuf.Message other) { if (other instanceof io.prestosql.orc.proto.OrcProto.FileTail) { return mergeFrom((io.prestosql.orc.proto.OrcProto.FileTail)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.prestosql.orc.proto.OrcProto.FileTail other) { if (other == io.prestosql.orc.proto.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.unknownFields); onChanged(); return this; } public final boolean isInitialized() { return true; } public Builder mergeFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { io.prestosql.orc.proto.OrcProto.FileTail parsedMessage = null; try { parsedMessage = PARSER.parsePartialFrom(input, extensionRegistry); } catch (io.prestosql.orc.protobuf.InvalidProtocolBufferException e) { parsedMessage = (io.prestosql.orc.proto.OrcProto.FileTail) e.getUnfinishedMessage(); throw e.unwrapIOException(); } finally { if (parsedMessage != null) { mergeFrom(parsedMessage); } } return this; } private int bitField0_; private io.prestosql.orc.proto.OrcProto.PostScript postscript_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.PostScript, io.prestosql.orc.proto.OrcProto.PostScript.Builder, io.prestosql.orc.proto.OrcProto.PostScriptOrBuilder> postscriptBuilder_; /** * optional .orc.proto.PostScript postscript = 1; */ public boolean hasPostscript() { return ((bitField0_ & 0x00000001) == 0x00000001); } /** * optional .orc.proto.PostScript postscript = 1; */ public io.prestosql.orc.proto.OrcProto.PostScript getPostscript() { if (postscriptBuilder_ == null) { return postscript_ == null ? io.prestosql.orc.proto.OrcProto.PostScript.getDefaultInstance() : postscript_; } else { return postscriptBuilder_.getMessage(); } } /** * optional .orc.proto.PostScript postscript = 1; */ public Builder setPostscript(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.PostScript value) { if (postscriptBuilder_ == null) { if (((bitField0_ & 0x00000001) == 0x00000001) && postscript_ != null && postscript_ != io.prestosql.orc.proto.OrcProto.PostScript.getDefaultInstance()) { postscript_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { postscriptBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000001); return this; } /** * optional .orc.proto.PostScript postscript = 1; */ public io.prestosql.orc.proto.OrcProto.PostScript.Builder getPostscriptBuilder() { bitField0_ |= 0x00000001; onChanged(); return getPostscriptFieldBuilder().getBuilder(); } /** * optional .orc.proto.PostScript postscript = 1; */ public io.prestosql.orc.proto.OrcProto.PostScriptOrBuilder getPostscriptOrBuilder() { if (postscriptBuilder_ != null) { return postscriptBuilder_.getMessageOrBuilder(); } else { return postscript_ == null ? io.prestosql.orc.proto.OrcProto.PostScript.getDefaultInstance() : postscript_; } } /** * optional .orc.proto.PostScript postscript = 1; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.PostScript, io.prestosql.orc.proto.OrcProto.PostScript.Builder, io.prestosql.orc.proto.OrcProto.PostScriptOrBuilder> getPostscriptFieldBuilder() { if (postscriptBuilder_ == null) { postscriptBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.PostScript, io.prestosql.orc.proto.OrcProto.PostScript.Builder, io.prestosql.orc.proto.OrcProto.PostScriptOrBuilder>( getPostscript(), getParentForChildren(), isClean()); postscript_ = null; } return postscriptBuilder_; } private io.prestosql.orc.proto.OrcProto.Footer footer_ = null; private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.Footer, io.prestosql.orc.proto.OrcProto.Footer.Builder, io.prestosql.orc.proto.OrcProto.FooterOrBuilder> footerBuilder_; /** * optional .orc.proto.Footer footer = 2; */ public boolean hasFooter() { return ((bitField0_ & 0x00000002) == 0x00000002); } /** * optional .orc.proto.Footer footer = 2; */ public io.prestosql.orc.proto.OrcProto.Footer getFooter() { if (footerBuilder_ == null) { return footer_ == null ? io.prestosql.orc.proto.OrcProto.Footer.getDefaultInstance() : footer_; } else { return footerBuilder_.getMessage(); } } /** * optional .orc.proto.Footer footer = 2; */ public Builder setFooter(io.prestosql.orc.proto.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( io.prestosql.orc.proto.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(io.prestosql.orc.proto.OrcProto.Footer value) { if (footerBuilder_ == null) { if (((bitField0_ & 0x00000002) == 0x00000002) && footer_ != null && footer_ != io.prestosql.orc.proto.OrcProto.Footer.getDefaultInstance()) { footer_ = io.prestosql.orc.proto.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_ = null; onChanged(); } else { footerBuilder_.clear(); } bitField0_ = (bitField0_ & ~0x00000002); return this; } /** * optional .orc.proto.Footer footer = 2; */ public io.prestosql.orc.proto.OrcProto.Footer.Builder getFooterBuilder() { bitField0_ |= 0x00000002; onChanged(); return getFooterFieldBuilder().getBuilder(); } /** * optional .orc.proto.Footer footer = 2; */ public io.prestosql.orc.proto.OrcProto.FooterOrBuilder getFooterOrBuilder() { if (footerBuilder_ != null) { return footerBuilder_.getMessageOrBuilder(); } else { return footer_ == null ? io.prestosql.orc.proto.OrcProto.Footer.getDefaultInstance() : footer_; } } /** * optional .orc.proto.Footer footer = 2; */ private io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.Footer, io.prestosql.orc.proto.OrcProto.Footer.Builder, io.prestosql.orc.proto.OrcProto.FooterOrBuilder> getFooterFieldBuilder() { if (footerBuilder_ == null) { footerBuilder_ = new io.prestosql.orc.protobuf.SingleFieldBuilderV3< io.prestosql.orc.proto.OrcProto.Footer, io.prestosql.orc.proto.OrcProto.Footer.Builder, io.prestosql.orc.proto.OrcProto.FooterOrBuilder>( getFooter(), getParentForChildren(), isClean()); footer_ = null; } return footerBuilder_; } 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; } 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; } public final Builder setUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } public final Builder mergeUnknownFields( final io.prestosql.orc.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:orc.proto.FileTail) } // @@protoc_insertion_point(class_scope:orc.proto.FileTail) private static final io.prestosql.orc.proto.OrcProto.FileTail DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.prestosql.orc.proto.OrcProto.FileTail(); } public static io.prestosql.orc.proto.OrcProto.FileTail getDefaultInstance() { return DEFAULT_INSTANCE; } @java.lang.Deprecated public static final io.prestosql.orc.protobuf.Parser PARSER = new io.prestosql.orc.protobuf.AbstractParser() { public FileTail parsePartialFrom( io.prestosql.orc.protobuf.CodedInputStream input, io.prestosql.orc.protobuf.ExtensionRegistryLite extensionRegistry) throws io.prestosql.orc.protobuf.InvalidProtocolBufferException { return new FileTail(input, extensionRegistry); } }; public static io.prestosql.orc.protobuf.Parser parser() { return PARSER; } @java.lang.Override public io.prestosql.orc.protobuf.Parser getParserForType() { return PARSER; } public io.prestosql.orc.proto.OrcProto.FileTail getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_IntegerStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_IntegerStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_DoubleStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_DoubleStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_StringStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_StringStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_BucketStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_BucketStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_DecimalStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_DecimalStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_DateStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_DateStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_TimestampStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_TimestampStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_BinaryStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_BinaryStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_ColumnStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_ColumnStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_RowIndexEntry_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_RowIndexEntry_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_RowIndex_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_RowIndex_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_BloomFilter_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_BloomFilter_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_BloomFilterIndex_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_BloomFilterIndex_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_Stream_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_Stream_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_ColumnEncoding_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_ColumnEncoding_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_StripeFooter_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_StripeFooter_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_Type_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_Type_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_StripeInformation_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_StripeInformation_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_UserMetadataItem_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_UserMetadataItem_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_StripeStatistics_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_StripeStatistics_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_Metadata_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_Metadata_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_Footer_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_Footer_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_PostScript_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_PostScript_fieldAccessorTable; private static final io.prestosql.orc.protobuf.Descriptors.Descriptor internal_static_orc_proto_FileTail_descriptor; private static final io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable internal_static_orc_proto_FileTail_fieldAccessorTable; public static io.prestosql.orc.protobuf.Descriptors.FileDescriptor getDescriptor() { return descriptor; } private static io.prestosql.orc.protobuf.Descriptors.FileDescriptor descriptor; static { java.lang.String[] descriptorData = { "\n\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\"i\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\022\022\n\nlowerB" + "ound\030\004 \001(\t\022\022\n\nupperBound\030\005 \001(\t\"%\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\"" + "\212\004\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\022\023\n\013bytesOnDisk\030\013" + " \001(\004\"W\n\rRowIndexEntry\022\025\n\tpositions\030\001 \003(\004" + "B\002\020\001\022/\n\nstatistics\030\002 \001(\0132\033.orc.proto.Col" + "umnStatistics\"3\n\010RowIndex\022\'\n\005entry\030\001 \003(\013", "2\030.orc.proto.RowIndexEntry\"K\n\013BloomFilte" + "r\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\020BloomFilterIn" + "dex\022+\n\013bloomFilter\030\001 \003(\0132\026.orc.proto.Blo" + "omFilter\"\354\001\n\006Stream\022$\n\004kind\030\001 \001(\0162\026.orc." + "proto.Stream.Kind\022\016\n\006column\030\002 \001(\r\022\016\n\006len" + "gth\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\017DICTIONARY_DATA\020\003\022\024\n\020DI" + "CTIONARY_COUNT\020\004\022\r\n\tSECONDARY\020\005\022\r\n\tROW_I" + "NDEX\020\006\022\020\n\014BLOOM_FILTER\020\007\022\025\n\021BLOOM_FILTER", "_UTF8\020\010\"\263\001\n\016ColumnEncoding\022,\n\004kind\030\001 \001(\016" + "2\036.orc.proto.ColumnEncoding.Kind\022\026\n\016dict" + "ionarySize\030\002 \001(\r\022\025\n\rbloomEncoding\030\003 \001(\r\"" + "D\n\004Kind\022\n\n\006DIRECT\020\000\022\016\n\nDICTIONARY\020\001\022\r\n\tD" + "IRECT_V2\020\002\022\021\n\rDICTIONARY_V2\020\003\"v\n\014StripeF" + "ooter\022\"\n\007streams\030\001 \003(\0132\021.orc.proto.Strea" + "m\022*\n\007columns\030\002 \003(\0132\031.orc.proto.ColumnEnc" + "oding\022\026\n\016writerTimezone\030\003 \001(\t\"\341\002\n\004Type\022\"" + "\n\004kind\030\001 \001(\0162\024.orc.proto.Type.Kind\022\024\n\010su" + "btypes\030\002 \003(\rB\002\020\001\022\022\n\nfieldNames\030\003 \003(\t\022\025\n\r", "maximumLength\030\004 \001(\r\022\021\n\tprecision\030\005 \001(\r\022\r" + "\n\005scale\030\006 \001(\r\"\321\001\n\004Kind\022\013\n\007BOOLEAN\020\000\022\010\n\004B" + "YTE\020\001\022\t\n\005SHORT\020\002\022\007\n\003INT\020\003\022\010\n\004LONG\020\004\022\t\n\005F" + "LOAT\020\005\022\n\n\006DOUBLE\020\006\022\n\n\006STRING\020\007\022\n\n\006BINARY" + "\020\010\022\r\n\tTIMESTAMP\020\t\022\010\n\004LIST\020\n\022\007\n\003MAP\020\013\022\n\n\006" + "STRUCT\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\004CHAR\020\021\"x\n\021StripeInfor" + "mation\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\020UserMetad", "ataItem\022\014\n\004name\030\001 \001(\t\022\r\n\005value\030\002 \001(\014\"A\n\020" + "StripeStatistics\022-\n\010colStats\030\001 \003(\0132\033.orc" + ".proto.ColumnStatistics\"<\n\010Metadata\0220\n\013s" + "tripeStats\030\001 \003(\0132\033.orc.proto.StripeStati" + "stics\"\242\002\n\006Footer\022\024\n\014headerLength\030\001 \001(\004\022\025" + "\n\rcontentLength\030\002 \001(\004\022-\n\007stripes\030\003 \003(\0132\034" + ".orc.proto.StripeInformation\022\036\n\005types\030\004 " + "\003(\0132\017.orc.proto.Type\022-\n\010metadata\030\005 \003(\0132\033" + ".orc.proto.UserMetadataItem\022\024\n\014numberOfR" + "ows\030\006 \001(\004\022/\n\nstatistics\030\007 \003(\0132\033.orc.prot", "o.ColumnStatistics\022\026\n\016rowIndexStride\030\010 \001" + "(\r\022\016\n\006writer\030\t \001(\r\"\305\001\n\nPostScript\022\024\n\014foo" + "terLength\030\001 \001(\004\022/\n\013compression\030\002 \001(\0162\032.o" + "rc.proto.CompressionKind\022\034\n\024compressionB" + "lockSize\030\003 \001(\004\022\023\n\007version\030\004 \003(\rB\002\020\001\022\026\n\016m" + "etadataLength\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\nposts" + "cript\030\001 \001(\0132\025.orc.proto.PostScript\022!\n\006fo" + "oter\030\002 \001(\0132\021.orc.proto.Footer\022\022\n\nfileLen" + "gth\030\003 \001(\004\022\030\n\020postscriptLength\030\004 \001(\004*M\n\017C", "ompressionKind\022\010\n\004NONE\020\000\022\010\n\004ZLIB\020\001\022\n\n\006SN" + "APPY\020\002\022\007\n\003LZO\020\003\022\007\n\003LZ4\020\004\022\010\n\004ZSTD\020\005B\030\n\026io" + ".prestosql.orc.proto" }; io.prestosql.orc.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner = new io.prestosql.orc.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() { public io.prestosql.orc.protobuf.ExtensionRegistry assignDescriptors( io.prestosql.orc.protobuf.Descriptors.FileDescriptor root) { descriptor = root; return null; } }; io.prestosql.orc.protobuf.Descriptors.FileDescriptor .internalBuildGeneratedFileFrom(descriptorData, new io.prestosql.orc.protobuf.Descriptors.FileDescriptor[] { }, assigner); internal_static_orc_proto_IntegerStatistics_descriptor = getDescriptor().getMessageTypes().get(0); internal_static_orc_proto_IntegerStatistics_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_orc_proto_StringStatistics_descriptor, new java.lang.String[] { "Minimum", "Maximum", "Sum", "LowerBound", "UpperBound", }); internal_static_orc_proto_BucketStatistics_descriptor = getDescriptor().getMessageTypes().get(3); internal_static_orc_proto_BucketStatistics_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_orc_proto_ColumnStatistics_descriptor, new java.lang.String[] { "NumberOfValues", "IntStatistics", "DoubleStatistics", "StringStatistics", "BucketStatistics", "DecimalStatistics", "DateStatistics", "BinaryStatistics", "TimestampStatistics", "HasNull", "BytesOnDisk", }); internal_static_orc_proto_RowIndexEntry_descriptor = getDescriptor().getMessageTypes().get(9); internal_static_orc_proto_RowIndexEntry_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_orc_proto_Footer_descriptor, new java.lang.String[] { "HeaderLength", "ContentLength", "Stripes", "Types", "Metadata", "NumberOfRows", "Statistics", "RowIndexStride", "Writer", }); internal_static_orc_proto_PostScript_descriptor = getDescriptor().getMessageTypes().get(22); internal_static_orc_proto_PostScript_fieldAccessorTable = new io.prestosql.orc.protobuf.GeneratedMessageV3.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 io.prestosql.orc.protobuf.GeneratedMessageV3.FieldAccessorTable( internal_static_orc_proto_FileTail_descriptor, new java.lang.String[] { "Postscript", "Footer", "FileLength", "PostscriptLength", }); } // @@protoc_insertion_point(outer_class_scope) }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy