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

java.io.deephaven.proto.backplane.grpc.Aggregation Maven / Gradle / Ivy

The newest version!
// Generated by the protocol buffer compiler.  DO NOT EDIT!
// source: deephaven/proto/table.proto

// Protobuf Java Version: 3.25.3
package io.deephaven.proto.backplane.grpc;

/**
 * Protobuf type {@code io.deephaven.proto.backplane.grpc.Aggregation}
 */
public final class Aggregation extends
    com.google.protobuf.GeneratedMessageV3 implements
    // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.Aggregation)
    AggregationOrBuilder {
private static final long serialVersionUID = 0L;
  // Use Aggregation.newBuilder() to construct.
  private Aggregation(com.google.protobuf.GeneratedMessageV3.Builder builder) {
    super(builder);
  }
  private Aggregation() {
  }

  @java.lang.Override
  @SuppressWarnings({"unused"})
  protected java.lang.Object newInstance(
      UnusedPrivateParameter unused) {
    return new Aggregation();
  }

  public static final com.google.protobuf.Descriptors.Descriptor
      getDescriptor() {
    return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_descriptor;
  }

  @java.lang.Override
  protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
      internalGetFieldAccessorTable() {
    return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_fieldAccessorTable
        .ensureFieldAccessorsInitialized(
            io.deephaven.proto.backplane.grpc.Aggregation.class, io.deephaven.proto.backplane.grpc.Aggregation.Builder.class);
  }

  public interface AggregationColumnsOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns)
      com.google.protobuf.MessageOrBuilder {

    /**
     * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
     * @return Whether the spec field is set.
     */
    boolean hasSpec();
    /**
     * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
     * @return The spec.
     */
    io.deephaven.proto.backplane.grpc.AggSpec getSpec();
    /**
     * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
     */
    io.deephaven.proto.backplane.grpc.AggSpecOrBuilder getSpecOrBuilder();

    /**
     * repeated string match_pairs = 2;
     * @return A list containing the matchPairs.
     */
    java.util.List
        getMatchPairsList();
    /**
     * repeated string match_pairs = 2;
     * @return The count of matchPairs.
     */
    int getMatchPairsCount();
    /**
     * repeated string match_pairs = 2;
     * @param index The index of the element to return.
     * @return The matchPairs at the given index.
     */
    java.lang.String getMatchPairs(int index);
    /**
     * repeated string match_pairs = 2;
     * @param index The index of the value to return.
     * @return The bytes of the matchPairs at the given index.
     */
    com.google.protobuf.ByteString
        getMatchPairsBytes(int index);
  }
  /**
   * Protobuf type {@code io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns}
   */
  public static final class AggregationColumns extends
      com.google.protobuf.GeneratedMessageV3 implements
      // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns)
      AggregationColumnsOrBuilder {
  private static final long serialVersionUID = 0L;
    // Use AggregationColumns.newBuilder() to construct.
    private AggregationColumns(com.google.protobuf.GeneratedMessageV3.Builder builder) {
      super(builder);
    }
    private AggregationColumns() {
      matchPairs_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
    }

    @java.lang.Override
    @SuppressWarnings({"unused"})
    protected java.lang.Object newInstance(
        UnusedPrivateParameter unused) {
      return new AggregationColumns();
    }

    public static final com.google.protobuf.Descriptors.Descriptor
        getDescriptor() {
      return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationColumns_descriptor;
    }

    @java.lang.Override
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
        internalGetFieldAccessorTable() {
      return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationColumns_fieldAccessorTable
          .ensureFieldAccessorsInitialized(
              io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.class, io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.Builder.class);
    }

    private int bitField0_;
    public static final int SPEC_FIELD_NUMBER = 1;
    private io.deephaven.proto.backplane.grpc.AggSpec spec_;
    /**
     * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
     * @return Whether the spec field is set.
     */
    @java.lang.Override
    public boolean hasSpec() {
      return ((bitField0_ & 0x00000001) != 0);
    }
    /**
     * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
     * @return The spec.
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.grpc.AggSpec getSpec() {
      return spec_ == null ? io.deephaven.proto.backplane.grpc.AggSpec.getDefaultInstance() : spec_;
    }
    /**
     * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
     */
    @java.lang.Override
    public io.deephaven.proto.backplane.grpc.AggSpecOrBuilder getSpecOrBuilder() {
      return spec_ == null ? io.deephaven.proto.backplane.grpc.AggSpec.getDefaultInstance() : spec_;
    }

    public static final int MATCH_PAIRS_FIELD_NUMBER = 2;
    @SuppressWarnings("serial")
    private com.google.protobuf.LazyStringArrayList matchPairs_ =
        com.google.protobuf.LazyStringArrayList.emptyList();
    /**
     * repeated string match_pairs = 2;
     * @return A list containing the matchPairs.
     */
    public com.google.protobuf.ProtocolStringList
        getMatchPairsList() {
      return matchPairs_;
    }
    /**
     * repeated string match_pairs = 2;
     * @return The count of matchPairs.
     */
    public int getMatchPairsCount() {
      return matchPairs_.size();
    }
    /**
     * repeated string match_pairs = 2;
     * @param index The index of the element to return.
     * @return The matchPairs at the given index.
     */
    public java.lang.String getMatchPairs(int index) {
      return matchPairs_.get(index);
    }
    /**
     * repeated string match_pairs = 2;
     * @param index The index of the value to return.
     * @return The bytes of the matchPairs at the given index.
     */
    public com.google.protobuf.ByteString
        getMatchPairsBytes(int index) {
      return matchPairs_.getByteString(index);
    }

    private byte memoizedIsInitialized = -1;
    @java.lang.Override
    public final boolean isInitialized() {
      byte isInitialized = memoizedIsInitialized;
      if (isInitialized == 1) return true;
      if (isInitialized == 0) return false;

      memoizedIsInitialized = 1;
      return true;
    }

    @java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output)
                        throws java.io.IOException {
      if (((bitField0_ & 0x00000001) != 0)) {
        output.writeMessage(1, getSpec());
      }
      for (int i = 0; i < matchPairs_.size(); i++) {
        com.google.protobuf.GeneratedMessageV3.writeString(output, 2, matchPairs_.getRaw(i));
      }
      getUnknownFields().writeTo(output);
    }

    @java.lang.Override
    public int getSerializedSize() {
      int size = memoizedSize;
      if (size != -1) return size;

      size = 0;
      if (((bitField0_ & 0x00000001) != 0)) {
        size += com.google.protobuf.CodedOutputStream
          .computeMessageSize(1, getSpec());
      }
      {
        int dataSize = 0;
        for (int i = 0; i < matchPairs_.size(); i++) {
          dataSize += computeStringSizeNoTag(matchPairs_.getRaw(i));
        }
        size += dataSize;
        size += 1 * getMatchPairsList().size();
      }
      size += getUnknownFields().getSerializedSize();
      memoizedSize = size;
      return size;
    }

    @java.lang.Override
    public boolean equals(final java.lang.Object obj) {
      if (obj == this) {
       return true;
      }
      if (!(obj instanceof io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns)) {
        return super.equals(obj);
      }
      io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns other = (io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns) obj;

      if (hasSpec() != other.hasSpec()) return false;
      if (hasSpec()) {
        if (!getSpec()
            .equals(other.getSpec())) return false;
      }
      if (!getMatchPairsList()
          .equals(other.getMatchPairsList())) return false;
      if (!getUnknownFields().equals(other.getUnknownFields())) return false;
      return true;
    }

    @java.lang.Override
    public int hashCode() {
      if (memoizedHashCode != 0) {
        return memoizedHashCode;
      }
      int hash = 41;
      hash = (19 * hash) + getDescriptor().hashCode();
      if (hasSpec()) {
        hash = (37 * hash) + SPEC_FIELD_NUMBER;
        hash = (53 * hash) + getSpec().hashCode();
      }
      if (getMatchPairsCount() > 0) {
        hash = (37 * hash) + MATCH_PAIRS_FIELD_NUMBER;
        hash = (53 * hash) + getMatchPairsList().hashCode();
      }
      hash = (29 * hash) + getUnknownFields().hashCode();
      memoizedHashCode = hash;
      return hash;
    }

    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseFrom(
        java.nio.ByteBuffer data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseFrom(
        java.nio.ByteBuffer data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseFrom(
        com.google.protobuf.ByteString data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseFrom(
        com.google.protobuf.ByteString data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseFrom(byte[] data)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data);
    }
    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseFrom(
        byte[] data,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws com.google.protobuf.InvalidProtocolBufferException {
      return PARSER.parseFrom(data, extensionRegistry);
    }
    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseDelimitedFrom(java.io.InputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input);
    }

    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseDelimitedFrom(
        java.io.InputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseDelimitedWithIOException(PARSER, input, extensionRegistry);
    }
    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseFrom(
        com.google.protobuf.CodedInputStream input)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input);
    }
    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns parseFrom(
        com.google.protobuf.CodedInputStream input,
        com.google.protobuf.ExtensionRegistryLite extensionRegistry)
        throws java.io.IOException {
      return com.google.protobuf.GeneratedMessageV3
          .parseWithIOException(PARSER, input, extensionRegistry);
    }

    @java.lang.Override
    public Builder newBuilderForType() { return newBuilder(); }
    public static Builder newBuilder() {
      return DEFAULT_INSTANCE.toBuilder();
    }
    public static Builder newBuilder(io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns prototype) {
      return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype);
    }
    @java.lang.Override
    public Builder toBuilder() {
      return this == DEFAULT_INSTANCE
          ? new Builder() : new Builder().mergeFrom(this);
    }

    @java.lang.Override
    protected Builder newBuilderForType(
        com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
      Builder builder = new Builder(parent);
      return builder;
    }
    /**
     * Protobuf type {@code io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns}
     */
    public static final class Builder extends
        com.google.protobuf.GeneratedMessageV3.Builder implements
        // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns)
        io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumnsOrBuilder {
      public static final com.google.protobuf.Descriptors.Descriptor
          getDescriptor() {
        return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationColumns_descriptor;
      }

      @java.lang.Override
      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
          internalGetFieldAccessorTable() {
        return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationColumns_fieldAccessorTable
            .ensureFieldAccessorsInitialized(
                io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.class, io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.Builder.class);
      }

      // Construct using io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.newBuilder()
      private Builder() {
        maybeForceBuilderInitialization();
      }

      private Builder(
          com.google.protobuf.GeneratedMessageV3.BuilderParent parent) {
        super(parent);
        maybeForceBuilderInitialization();
      }
      private void maybeForceBuilderInitialization() {
        if (com.google.protobuf.GeneratedMessageV3
                .alwaysUseFieldBuilders) {
          getSpecFieldBuilder();
        }
      }
      @java.lang.Override
      public Builder clear() {
        super.clear();
        bitField0_ = 0;
        spec_ = null;
        if (specBuilder_ != null) {
          specBuilder_.dispose();
          specBuilder_ = null;
        }
        matchPairs_ =
            com.google.protobuf.LazyStringArrayList.emptyList();
        return this;
      }

      @java.lang.Override
      public com.google.protobuf.Descriptors.Descriptor
          getDescriptorForType() {
        return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationColumns_descriptor;
      }

      @java.lang.Override
      public io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns getDefaultInstanceForType() {
        return io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.getDefaultInstance();
      }

      @java.lang.Override
      public io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns build() {
        io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns result = buildPartial();
        if (!result.isInitialized()) {
          throw newUninitializedMessageException(result);
        }
        return result;
      }

      @java.lang.Override
      public io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns buildPartial() {
        io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns result = new io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns(this);
        if (bitField0_ != 0) { buildPartial0(result); }
        onBuilt();
        return result;
      }

      private void buildPartial0(io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns result) {
        int from_bitField0_ = bitField0_;
        int to_bitField0_ = 0;
        if (((from_bitField0_ & 0x00000001) != 0)) {
          result.spec_ = specBuilder_ == null
              ? spec_
              : specBuilder_.build();
          to_bitField0_ |= 0x00000001;
        }
        if (((from_bitField0_ & 0x00000002) != 0)) {
          matchPairs_.makeImmutable();
          result.matchPairs_ = matchPairs_;
        }
        result.bitField0_ |= to_bitField0_;
      }

      @java.lang.Override
      public Builder clone() {
        return super.clone();
      }
      @java.lang.Override
      public Builder setField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.setField(field, value);
      }
      @java.lang.Override
      public Builder clearField(
          com.google.protobuf.Descriptors.FieldDescriptor field) {
        return super.clearField(field);
      }
      @java.lang.Override
      public Builder clearOneof(
          com.google.protobuf.Descriptors.OneofDescriptor oneof) {
        return super.clearOneof(oneof);
      }
      @java.lang.Override
      public Builder setRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          int index, java.lang.Object value) {
        return super.setRepeatedField(field, index, value);
      }
      @java.lang.Override
      public Builder addRepeatedField(
          com.google.protobuf.Descriptors.FieldDescriptor field,
          java.lang.Object value) {
        return super.addRepeatedField(field, value);
      }
      @java.lang.Override
      public Builder mergeFrom(com.google.protobuf.Message other) {
        if (other instanceof io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns) {
          return mergeFrom((io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns)other);
        } else {
          super.mergeFrom(other);
          return this;
        }
      }

      public Builder mergeFrom(io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns other) {
        if (other == io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.getDefaultInstance()) return this;
        if (other.hasSpec()) {
          mergeSpec(other.getSpec());
        }
        if (!other.matchPairs_.isEmpty()) {
          if (matchPairs_.isEmpty()) {
            matchPairs_ = other.matchPairs_;
            bitField0_ |= 0x00000002;
          } else {
            ensureMatchPairsIsMutable();
            matchPairs_.addAll(other.matchPairs_);
          }
          onChanged();
        }
        this.mergeUnknownFields(other.getUnknownFields());
        onChanged();
        return this;
      }

      @java.lang.Override
      public final boolean isInitialized() {
        return true;
      }

      @java.lang.Override
      public Builder mergeFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws java.io.IOException {
        if (extensionRegistry == null) {
          throw new java.lang.NullPointerException();
        }
        try {
          boolean done = false;
          while (!done) {
            int tag = input.readTag();
            switch (tag) {
              case 0:
                done = true;
                break;
              case 10: {
                input.readMessage(
                    getSpecFieldBuilder().getBuilder(),
                    extensionRegistry);
                bitField0_ |= 0x00000001;
                break;
              } // case 10
              case 18: {
                java.lang.String s = input.readStringRequireUtf8();
                ensureMatchPairsIsMutable();
                matchPairs_.add(s);
                break;
              } // case 18
              default: {
                if (!super.parseUnknownField(input, extensionRegistry, tag)) {
                  done = true; // was an endgroup tag
                }
                break;
              } // default:
            } // switch (tag)
          } // while (!done)
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.unwrapIOException();
        } finally {
          onChanged();
        } // finally
        return this;
      }
      private int bitField0_;

      private io.deephaven.proto.backplane.grpc.AggSpec spec_;
      private com.google.protobuf.SingleFieldBuilderV3<
          io.deephaven.proto.backplane.grpc.AggSpec, io.deephaven.proto.backplane.grpc.AggSpec.Builder, io.deephaven.proto.backplane.grpc.AggSpecOrBuilder> specBuilder_;
      /**
       * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
       * @return Whether the spec field is set.
       */
      public boolean hasSpec() {
        return ((bitField0_ & 0x00000001) != 0);
      }
      /**
       * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
       * @return The spec.
       */
      public io.deephaven.proto.backplane.grpc.AggSpec getSpec() {
        if (specBuilder_ == null) {
          return spec_ == null ? io.deephaven.proto.backplane.grpc.AggSpec.getDefaultInstance() : spec_;
        } else {
          return specBuilder_.getMessage();
        }
      }
      /**
       * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
       */
      public Builder setSpec(io.deephaven.proto.backplane.grpc.AggSpec value) {
        if (specBuilder_ == null) {
          if (value == null) {
            throw new NullPointerException();
          }
          spec_ = value;
        } else {
          specBuilder_.setMessage(value);
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
       */
      public Builder setSpec(
          io.deephaven.proto.backplane.grpc.AggSpec.Builder builderForValue) {
        if (specBuilder_ == null) {
          spec_ = builderForValue.build();
        } else {
          specBuilder_.setMessage(builderForValue.build());
        }
        bitField0_ |= 0x00000001;
        onChanged();
        return this;
      }
      /**
       * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
       */
      public Builder mergeSpec(io.deephaven.proto.backplane.grpc.AggSpec value) {
        if (specBuilder_ == null) {
          if (((bitField0_ & 0x00000001) != 0) &&
            spec_ != null &&
            spec_ != io.deephaven.proto.backplane.grpc.AggSpec.getDefaultInstance()) {
            getSpecBuilder().mergeFrom(value);
          } else {
            spec_ = value;
          }
        } else {
          specBuilder_.mergeFrom(value);
        }
        if (spec_ != null) {
          bitField0_ |= 0x00000001;
          onChanged();
        }
        return this;
      }
      /**
       * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
       */
      public Builder clearSpec() {
        bitField0_ = (bitField0_ & ~0x00000001);
        spec_ = null;
        if (specBuilder_ != null) {
          specBuilder_.dispose();
          specBuilder_ = null;
        }
        onChanged();
        return this;
      }
      /**
       * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
       */
      public io.deephaven.proto.backplane.grpc.AggSpec.Builder getSpecBuilder() {
        bitField0_ |= 0x00000001;
        onChanged();
        return getSpecFieldBuilder().getBuilder();
      }
      /**
       * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
       */
      public io.deephaven.proto.backplane.grpc.AggSpecOrBuilder getSpecOrBuilder() {
        if (specBuilder_ != null) {
          return specBuilder_.getMessageOrBuilder();
        } else {
          return spec_ == null ?
              io.deephaven.proto.backplane.grpc.AggSpec.getDefaultInstance() : spec_;
        }
      }
      /**
       * .io.deephaven.proto.backplane.grpc.AggSpec spec = 1;
       */
      private com.google.protobuf.SingleFieldBuilderV3<
          io.deephaven.proto.backplane.grpc.AggSpec, io.deephaven.proto.backplane.grpc.AggSpec.Builder, io.deephaven.proto.backplane.grpc.AggSpecOrBuilder> 
          getSpecFieldBuilder() {
        if (specBuilder_ == null) {
          specBuilder_ = new com.google.protobuf.SingleFieldBuilderV3<
              io.deephaven.proto.backplane.grpc.AggSpec, io.deephaven.proto.backplane.grpc.AggSpec.Builder, io.deephaven.proto.backplane.grpc.AggSpecOrBuilder>(
                  getSpec(),
                  getParentForChildren(),
                  isClean());
          spec_ = null;
        }
        return specBuilder_;
      }

      private com.google.protobuf.LazyStringArrayList matchPairs_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
      private void ensureMatchPairsIsMutable() {
        if (!matchPairs_.isModifiable()) {
          matchPairs_ = new com.google.protobuf.LazyStringArrayList(matchPairs_);
        }
        bitField0_ |= 0x00000002;
      }
      /**
       * repeated string match_pairs = 2;
       * @return A list containing the matchPairs.
       */
      public com.google.protobuf.ProtocolStringList
          getMatchPairsList() {
        matchPairs_.makeImmutable();
        return matchPairs_;
      }
      /**
       * repeated string match_pairs = 2;
       * @return The count of matchPairs.
       */
      public int getMatchPairsCount() {
        return matchPairs_.size();
      }
      /**
       * repeated string match_pairs = 2;
       * @param index The index of the element to return.
       * @return The matchPairs at the given index.
       */
      public java.lang.String getMatchPairs(int index) {
        return matchPairs_.get(index);
      }
      /**
       * repeated string match_pairs = 2;
       * @param index The index of the value to return.
       * @return The bytes of the matchPairs at the given index.
       */
      public com.google.protobuf.ByteString
          getMatchPairsBytes(int index) {
        return matchPairs_.getByteString(index);
      }
      /**
       * repeated string match_pairs = 2;
       * @param index The index to set the value at.
       * @param value The matchPairs to set.
       * @return This builder for chaining.
       */
      public Builder setMatchPairs(
          int index, java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMatchPairsIsMutable();
        matchPairs_.set(index, value);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * repeated string match_pairs = 2;
       * @param value The matchPairs to add.
       * @return This builder for chaining.
       */
      public Builder addMatchPairs(
          java.lang.String value) {
        if (value == null) { throw new NullPointerException(); }
        ensureMatchPairsIsMutable();
        matchPairs_.add(value);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * repeated string match_pairs = 2;
       * @param values The matchPairs to add.
       * @return This builder for chaining.
       */
      public Builder addAllMatchPairs(
          java.lang.Iterable values) {
        ensureMatchPairsIsMutable();
        com.google.protobuf.AbstractMessageLite.Builder.addAll(
            values, matchPairs_);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      /**
       * repeated string match_pairs = 2;
       * @return This builder for chaining.
       */
      public Builder clearMatchPairs() {
        matchPairs_ =
          com.google.protobuf.LazyStringArrayList.emptyList();
        bitField0_ = (bitField0_ & ~0x00000002);;
        onChanged();
        return this;
      }
      /**
       * repeated string match_pairs = 2;
       * @param value The bytes of the matchPairs to add.
       * @return This builder for chaining.
       */
      public Builder addMatchPairsBytes(
          com.google.protobuf.ByteString value) {
        if (value == null) { throw new NullPointerException(); }
        checkByteStringIsUtf8(value);
        ensureMatchPairsIsMutable();
        matchPairs_.add(value);
        bitField0_ |= 0x00000002;
        onChanged();
        return this;
      }
      @java.lang.Override
      public final Builder setUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.setUnknownFields(unknownFields);
      }

      @java.lang.Override
      public final Builder mergeUnknownFields(
          final com.google.protobuf.UnknownFieldSet unknownFields) {
        return super.mergeUnknownFields(unknownFields);
      }


      // @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns)
    }

    // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns)
    private static final io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns DEFAULT_INSTANCE;
    static {
      DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns();
    }

    public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns getDefaultInstance() {
      return DEFAULT_INSTANCE;
    }

    private static final com.google.protobuf.Parser
        PARSER = new com.google.protobuf.AbstractParser() {
      @java.lang.Override
      public AggregationColumns parsePartialFrom(
          com.google.protobuf.CodedInputStream input,
          com.google.protobuf.ExtensionRegistryLite extensionRegistry)
          throws com.google.protobuf.InvalidProtocolBufferException {
        Builder builder = newBuilder();
        try {
          builder.mergeFrom(input, extensionRegistry);
        } catch (com.google.protobuf.InvalidProtocolBufferException e) {
          throw e.setUnfinishedMessage(builder.buildPartial());
        } catch (com.google.protobuf.UninitializedMessageException e) {
          throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial());
        } catch (java.io.IOException e) {
          throw new com.google.protobuf.InvalidProtocolBufferException(e)
              .setUnfinishedMessage(builder.buildPartial());
        }
        return builder.buildPartial();
      }
    };

    public static com.google.protobuf.Parser parser() {
      return PARSER;
    }

    @java.lang.Override
    public com.google.protobuf.Parser getParserForType() {
      return PARSER;
    }

    @java.lang.Override
    public io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns getDefaultInstanceForType() {
      return DEFAULT_INSTANCE;
    }

  }

  public interface AggregationCountOrBuilder extends
      // @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount)
      com.google.protobuf.MessageOrBuilder {

    /**
     * 
     * The output column name
     * 
* * string column_name = 1; * @return The columnName. */ java.lang.String getColumnName(); /** *
     * The output column name
     * 
* * string column_name = 1; * @return The bytes for columnName. */ com.google.protobuf.ByteString getColumnNameBytes(); } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount} */ public static final class AggregationCount extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) AggregationCountOrBuilder { private static final long serialVersionUID = 0L; // Use AggregationCount.newBuilder() to construct. private AggregationCount(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AggregationCount() { columnName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AggregationCount(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationCount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationCount_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.class, io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.Builder.class); } public static final int COLUMN_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object columnName_ = ""; /** *
     * The output column name
     * 
* * string column_name = 1; * @return The columnName. */ @java.lang.Override public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } } /** *
     * The output column name
     * 
* * string column_name = 1; * @return The bytes for columnName. */ @java.lang.Override public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount other = (io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) obj; if (!getColumnName() .equals(other.getColumnName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getColumnName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) io.deephaven.proto.backplane.grpc.Aggregation.AggregationCountOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationCount_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationCount_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.class, io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; columnName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationCount_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount build() { io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount buildPartial() { io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount result = new io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.columnName_ = columnName_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) { return mergeFrom((io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount other) { if (other == io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; bitField0_ |= 0x00000001; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { columnName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object columnName_ = ""; /** *
       * The output column name
       * 
* * string column_name = 1; * @return The columnName. */ public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } else { return (java.lang.String) ref; } } /** *
       * The output column name
       * 
* * string column_name = 1; * @return The bytes for columnName. */ public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** *
       * The output column name
       * 
* * string column_name = 1; * @param value The columnName to set. * @return This builder for chaining. */ public Builder setColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } columnName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** *
       * The output column name
       * 
* * string column_name = 1; * @return This builder for chaining. */ public Builder clearColumnName() { columnName_ = getDefaultInstance().getColumnName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** *
       * The output column name
       * 
* * string column_name = 1; * @param value The bytes for columnName to set. * @return This builder for chaining. */ public Builder setColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); columnName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) private static final io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount(); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AggregationCount parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AggregationRowKeyOrBuilder extends // @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) com.google.protobuf.MessageOrBuilder { /** * string column_name = 1; * @return The columnName. */ java.lang.String getColumnName(); /** * string column_name = 1; * @return The bytes for columnName. */ com.google.protobuf.ByteString getColumnNameBytes(); } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey} */ public static final class AggregationRowKey extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) AggregationRowKeyOrBuilder { private static final long serialVersionUID = 0L; // Use AggregationRowKey.newBuilder() to construct. private AggregationRowKey(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AggregationRowKey() { columnName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AggregationRowKey(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationRowKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationRowKey_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.class, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder.class); } public static final int COLUMN_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object columnName_ = ""; /** * string column_name = 1; * @return The columnName. */ @java.lang.Override public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } } /** * string column_name = 1; * @return The bytes for columnName. */ @java.lang.Override public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey other = (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) obj; if (!getColumnName() .equals(other.getColumnName())) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getColumnName().hashCode(); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationRowKey_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationRowKey_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.class, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; columnName_ = ""; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationRowKey_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey build() { io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey buildPartial() { io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey result = new io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.columnName_ = columnName_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) { return mergeFrom((io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey other) { if (other == io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; bitField0_ |= 0x00000001; onChanged(); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { columnName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object columnName_ = ""; /** * string column_name = 1; * @return The columnName. */ public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string column_name = 1; * @return The bytes for columnName. */ public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string column_name = 1; * @param value The columnName to set. * @return This builder for chaining. */ public Builder setColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } columnName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string column_name = 1; * @return This builder for chaining. */ public Builder clearColumnName() { columnName_ = getDefaultInstance().getColumnName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string column_name = 1; * @param value The bytes for columnName to set. * @return This builder for chaining. */ public Builder setColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); columnName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) private static final io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey(); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AggregationRowKey parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } public interface AggregationPartitionOrBuilder extends // @@protoc_insertion_point(interface_extends:io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) com.google.protobuf.MessageOrBuilder { /** * string column_name = 1; * @return The columnName. */ java.lang.String getColumnName(); /** * string column_name = 1; * @return The bytes for columnName. */ com.google.protobuf.ByteString getColumnNameBytes(); /** * bool include_group_by_columns = 2; * @return The includeGroupByColumns. */ boolean getIncludeGroupByColumns(); } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition} */ public static final class AggregationPartition extends com.google.protobuf.GeneratedMessageV3 implements // @@protoc_insertion_point(message_implements:io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) AggregationPartitionOrBuilder { private static final long serialVersionUID = 0L; // Use AggregationPartition.newBuilder() to construct. private AggregationPartition(com.google.protobuf.GeneratedMessageV3.Builder builder) { super(builder); } private AggregationPartition() { columnName_ = ""; } @java.lang.Override @SuppressWarnings({"unused"}) protected java.lang.Object newInstance( UnusedPrivateParameter unused) { return new AggregationPartition(); } public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationPartition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationPartition_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.class, io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.Builder.class); } public static final int COLUMN_NAME_FIELD_NUMBER = 1; @SuppressWarnings("serial") private volatile java.lang.Object columnName_ = ""; /** * string column_name = 1; * @return The columnName. */ @java.lang.Override public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { return (java.lang.String) ref; } else { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } } /** * string column_name = 1; * @return The bytes for columnName. */ @java.lang.Override public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof java.lang.String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } public static final int INCLUDE_GROUP_BY_COLUMNS_FIELD_NUMBER = 2; private boolean includeGroupByColumns_ = false; /** * bool include_group_by_columns = 2; * @return The includeGroupByColumns. */ @java.lang.Override public boolean getIncludeGroupByColumns() { return includeGroupByColumns_; } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { com.google.protobuf.GeneratedMessageV3.writeString(output, 1, columnName_); } if (includeGroupByColumns_ != false) { output.writeBool(2, includeGroupByColumns_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (!com.google.protobuf.GeneratedMessageV3.isStringEmpty(columnName_)) { size += com.google.protobuf.GeneratedMessageV3.computeStringSize(1, columnName_); } if (includeGroupByColumns_ != false) { size += com.google.protobuf.CodedOutputStream .computeBoolSize(2, includeGroupByColumns_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition other = (io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) obj; if (!getColumnName() .equals(other.getColumnName())) return false; if (getIncludeGroupByColumns() != other.getIncludeGroupByColumns()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); hash = (37 * hash) + COLUMN_NAME_FIELD_NUMBER; hash = (53 * hash) + getColumnName().hashCode(); hash = (37 * hash) + INCLUDE_GROUP_BY_COLUMNS_FIELD_NUMBER; hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean( getIncludeGroupByColumns()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartitionOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationPartition_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationPartition_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.class, io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; columnName_ = ""; includeGroupByColumns_ = false; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_AggregationPartition_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition build() { io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition buildPartial() { io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition result = new io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition(this); if (bitField0_ != 0) { buildPartial0(result); } onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition result) { int from_bitField0_ = bitField0_; if (((from_bitField0_ & 0x00000001) != 0)) { result.columnName_ = columnName_; } if (((from_bitField0_ & 0x00000002) != 0)) { result.includeGroupByColumns_ = includeGroupByColumns_; } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) { return mergeFrom((io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition other) { if (other == io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.getDefaultInstance()) return this; if (!other.getColumnName().isEmpty()) { columnName_ = other.columnName_; bitField0_ |= 0x00000001; onChanged(); } if (other.getIncludeGroupByColumns() != false) { setIncludeGroupByColumns(other.getIncludeGroupByColumns()); } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { columnName_ = input.readStringRequireUtf8(); bitField0_ |= 0x00000001; break; } // case 10 case 16: { includeGroupByColumns_ = input.readBool(); bitField0_ |= 0x00000002; break; } // case 16 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int bitField0_; private java.lang.Object columnName_ = ""; /** * string column_name = 1; * @return The columnName. */ public java.lang.String getColumnName() { java.lang.Object ref = columnName_; if (!(ref instanceof java.lang.String)) { com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref; java.lang.String s = bs.toStringUtf8(); columnName_ = s; return s; } else { return (java.lang.String) ref; } } /** * string column_name = 1; * @return The bytes for columnName. */ public com.google.protobuf.ByteString getColumnNameBytes() { java.lang.Object ref = columnName_; if (ref instanceof String) { com.google.protobuf.ByteString b = com.google.protobuf.ByteString.copyFromUtf8( (java.lang.String) ref); columnName_ = b; return b; } else { return (com.google.protobuf.ByteString) ref; } } /** * string column_name = 1; * @param value The columnName to set. * @return This builder for chaining. */ public Builder setColumnName( java.lang.String value) { if (value == null) { throw new NullPointerException(); } columnName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } /** * string column_name = 1; * @return This builder for chaining. */ public Builder clearColumnName() { columnName_ = getDefaultInstance().getColumnName(); bitField0_ = (bitField0_ & ~0x00000001); onChanged(); return this; } /** * string column_name = 1; * @param value The bytes for columnName to set. * @return This builder for chaining. */ public Builder setColumnNameBytes( com.google.protobuf.ByteString value) { if (value == null) { throw new NullPointerException(); } checkByteStringIsUtf8(value); columnName_ = value; bitField0_ |= 0x00000001; onChanged(); return this; } private boolean includeGroupByColumns_ ; /** * bool include_group_by_columns = 2; * @return The includeGroupByColumns. */ @java.lang.Override public boolean getIncludeGroupByColumns() { return includeGroupByColumns_; } /** * bool include_group_by_columns = 2; * @param value The includeGroupByColumns to set. * @return This builder for chaining. */ public Builder setIncludeGroupByColumns(boolean value) { includeGroupByColumns_ = value; bitField0_ |= 0x00000002; onChanged(); return this; } /** * bool include_group_by_columns = 2; * @return This builder for chaining. */ public Builder clearIncludeGroupByColumns() { bitField0_ = (bitField0_ & ~0x00000002); includeGroupByColumns_ = false; onChanged(); return this; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) private static final io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition(); } public static io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public AggregationPartition parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition getDefaultInstanceForType() { return DEFAULT_INSTANCE; } } private int typeCase_ = 0; @SuppressWarnings("serial") private java.lang.Object type_; public enum TypeCase implements com.google.protobuf.Internal.EnumLite, com.google.protobuf.AbstractMessage.InternalOneOfEnum { COLUMNS(1), COUNT(2), FIRST_ROW_KEY(3), LAST_ROW_KEY(4), PARTITION(5), TYPE_NOT_SET(0); private final int value; private TypeCase(int value) { this.value = value; } /** * @param value The number of the enum to look for. * @return The enum associated with the given number. * @deprecated Use {@link #forNumber(int)} instead. */ @java.lang.Deprecated public static TypeCase valueOf(int value) { return forNumber(value); } public static TypeCase forNumber(int value) { switch (value) { case 1: return COLUMNS; case 2: return COUNT; case 3: return FIRST_ROW_KEY; case 4: return LAST_ROW_KEY; case 5: return PARTITION; case 0: return TYPE_NOT_SET; default: return null; } } public int getNumber() { return this.value; } }; public TypeCase getTypeCase() { return TypeCase.forNumber( typeCase_); } public static final int COLUMNS_FIELD_NUMBER = 1; /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; * @return Whether the columns field is set. */ @java.lang.Override public boolean hasColumns() { return typeCase_ == 1; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; * @return The columns. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns getColumns() { if (typeCase_ == 1) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.getDefaultInstance(); } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumnsOrBuilder getColumnsOrBuilder() { if (typeCase_ == 1) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.getDefaultInstance(); } public static final int COUNT_FIELD_NUMBER = 2; /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return typeCase_ == 2; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; * @return The count. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount getCount() { if (typeCase_ == 2) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.getDefaultInstance(); } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationCountOrBuilder getCountOrBuilder() { if (typeCase_ == 2) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.getDefaultInstance(); } public static final int FIRST_ROW_KEY_FIELD_NUMBER = 3; /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; * @return Whether the firstRowKey field is set. */ @java.lang.Override public boolean hasFirstRowKey() { return typeCase_ == 3; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; * @return The firstRowKey. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey getFirstRowKey() { if (typeCase_ == 3) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder getFirstRowKeyOrBuilder() { if (typeCase_ == 3) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } public static final int LAST_ROW_KEY_FIELD_NUMBER = 4; /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; * @return Whether the lastRowKey field is set. */ @java.lang.Override public boolean hasLastRowKey() { return typeCase_ == 4; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; * @return The lastRowKey. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey getLastRowKey() { if (typeCase_ == 4) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder getLastRowKeyOrBuilder() { if (typeCase_ == 4) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } public static final int PARTITION_FIELD_NUMBER = 5; /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; * @return Whether the partition field is set. */ @java.lang.Override public boolean hasPartition() { return typeCase_ == 5; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; * @return The partition. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition getPartition() { if (typeCase_ == 5) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.getDefaultInstance(); } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartitionOrBuilder getPartitionOrBuilder() { if (typeCase_ == 5) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.getDefaultInstance(); } private byte memoizedIsInitialized = -1; @java.lang.Override public final boolean isInitialized() { byte isInitialized = memoizedIsInitialized; if (isInitialized == 1) return true; if (isInitialized == 0) return false; memoizedIsInitialized = 1; return true; } @java.lang.Override public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException { if (typeCase_ == 1) { output.writeMessage(1, (io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns) type_); } if (typeCase_ == 2) { output.writeMessage(2, (io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) type_); } if (typeCase_ == 3) { output.writeMessage(3, (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_); } if (typeCase_ == 4) { output.writeMessage(4, (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_); } if (typeCase_ == 5) { output.writeMessage(5, (io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) type_); } getUnknownFields().writeTo(output); } @java.lang.Override public int getSerializedSize() { int size = memoizedSize; if (size != -1) return size; size = 0; if (typeCase_ == 1) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(1, (io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns) type_); } if (typeCase_ == 2) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(2, (io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) type_); } if (typeCase_ == 3) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(3, (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_); } if (typeCase_ == 4) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(4, (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_); } if (typeCase_ == 5) { size += com.google.protobuf.CodedOutputStream .computeMessageSize(5, (io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) type_); } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; } @java.lang.Override public boolean equals(final java.lang.Object obj) { if (obj == this) { return true; } if (!(obj instanceof io.deephaven.proto.backplane.grpc.Aggregation)) { return super.equals(obj); } io.deephaven.proto.backplane.grpc.Aggregation other = (io.deephaven.proto.backplane.grpc.Aggregation) obj; if (!getTypeCase().equals(other.getTypeCase())) return false; switch (typeCase_) { case 1: if (!getColumns() .equals(other.getColumns())) return false; break; case 2: if (!getCount() .equals(other.getCount())) return false; break; case 3: if (!getFirstRowKey() .equals(other.getFirstRowKey())) return false; break; case 4: if (!getLastRowKey() .equals(other.getLastRowKey())) return false; break; case 5: if (!getPartition() .equals(other.getPartition())) return false; break; case 0: default: } if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @java.lang.Override public int hashCode() { if (memoizedHashCode != 0) { return memoizedHashCode; } int hash = 41; hash = (19 * hash) + getDescriptor().hashCode(); switch (typeCase_) { case 1: hash = (37 * hash) + COLUMNS_FIELD_NUMBER; hash = (53 * hash) + getColumns().hashCode(); break; case 2: hash = (37 * hash) + COUNT_FIELD_NUMBER; hash = (53 * hash) + getCount().hashCode(); break; case 3: hash = (37 * hash) + FIRST_ROW_KEY_FIELD_NUMBER; hash = (53 * hash) + getFirstRowKey().hashCode(); break; case 4: hash = (37 * hash) + LAST_ROW_KEY_FIELD_NUMBER; hash = (53 * hash) + getLastRowKey().hashCode(); break; case 5: hash = (37 * hash) + PARTITION_FIELD_NUMBER; hash = (53 * hash) + getPartition().hashCode(); break; case 0: default: } hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; } public static io.deephaven.proto.backplane.grpc.Aggregation parseFrom( java.nio.ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation parseFrom( java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation parseFrom( com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation parseFrom( com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data); } public static io.deephaven.proto.backplane.grpc.Aggregation parseFrom( byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { return PARSER.parseFrom(data, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation parseFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation parseFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation parseDelimitedFrom(java.io.InputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation parseDelimitedFrom( java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseDelimitedWithIOException(PARSER, input, extensionRegistry); } public static io.deephaven.proto.backplane.grpc.Aggregation parseFrom( com.google.protobuf.CodedInputStream input) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input); } public static io.deephaven.proto.backplane.grpc.Aggregation parseFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { return com.google.protobuf.GeneratedMessageV3 .parseWithIOException(PARSER, input, extensionRegistry); } @java.lang.Override public Builder newBuilderForType() { return newBuilder(); } public static Builder newBuilder() { return DEFAULT_INSTANCE.toBuilder(); } public static Builder newBuilder(io.deephaven.proto.backplane.grpc.Aggregation prototype) { return DEFAULT_INSTANCE.toBuilder().mergeFrom(prototype); } @java.lang.Override public Builder toBuilder() { return this == DEFAULT_INSTANCE ? new Builder() : new Builder().mergeFrom(this); } @java.lang.Override protected Builder newBuilderForType( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { Builder builder = new Builder(parent); return builder; } /** * Protobuf type {@code io.deephaven.proto.backplane.grpc.Aggregation} */ public static final class Builder extends com.google.protobuf.GeneratedMessageV3.Builder implements // @@protoc_insertion_point(builder_implements:io.deephaven.proto.backplane.grpc.Aggregation) io.deephaven.proto.backplane.grpc.AggregationOrBuilder { public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_descriptor; } @java.lang.Override protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_fieldAccessorTable .ensureFieldAccessorsInitialized( io.deephaven.proto.backplane.grpc.Aggregation.class, io.deephaven.proto.backplane.grpc.Aggregation.Builder.class); } // Construct using io.deephaven.proto.backplane.grpc.Aggregation.newBuilder() private Builder() { } private Builder( com.google.protobuf.GeneratedMessageV3.BuilderParent parent) { super(parent); } @java.lang.Override public Builder clear() { super.clear(); bitField0_ = 0; if (columnsBuilder_ != null) { columnsBuilder_.clear(); } if (countBuilder_ != null) { countBuilder_.clear(); } if (firstRowKeyBuilder_ != null) { firstRowKeyBuilder_.clear(); } if (lastRowKeyBuilder_ != null) { lastRowKeyBuilder_.clear(); } if (partitionBuilder_ != null) { partitionBuilder_.clear(); } typeCase_ = 0; type_ = null; return this; } @java.lang.Override public com.google.protobuf.Descriptors.Descriptor getDescriptorForType() { return io.deephaven.proto.backplane.grpc.Table.internal_static_io_deephaven_proto_backplane_grpc_Aggregation_descriptor; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation getDefaultInstanceForType() { return io.deephaven.proto.backplane.grpc.Aggregation.getDefaultInstance(); } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation build() { io.deephaven.proto.backplane.grpc.Aggregation result = buildPartial(); if (!result.isInitialized()) { throw newUninitializedMessageException(result); } return result; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation buildPartial() { io.deephaven.proto.backplane.grpc.Aggregation result = new io.deephaven.proto.backplane.grpc.Aggregation(this); if (bitField0_ != 0) { buildPartial0(result); } buildPartialOneofs(result); onBuilt(); return result; } private void buildPartial0(io.deephaven.proto.backplane.grpc.Aggregation result) { int from_bitField0_ = bitField0_; } private void buildPartialOneofs(io.deephaven.proto.backplane.grpc.Aggregation result) { result.typeCase_ = typeCase_; result.type_ = this.type_; if (typeCase_ == 1 && columnsBuilder_ != null) { result.type_ = columnsBuilder_.build(); } if (typeCase_ == 2 && countBuilder_ != null) { result.type_ = countBuilder_.build(); } if (typeCase_ == 3 && firstRowKeyBuilder_ != null) { result.type_ = firstRowKeyBuilder_.build(); } if (typeCase_ == 4 && lastRowKeyBuilder_ != null) { result.type_ = lastRowKeyBuilder_.build(); } if (typeCase_ == 5 && partitionBuilder_ != null) { result.type_ = partitionBuilder_.build(); } } @java.lang.Override public Builder clone() { return super.clone(); } @java.lang.Override public Builder setField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.setField(field, value); } @java.lang.Override public Builder clearField( com.google.protobuf.Descriptors.FieldDescriptor field) { return super.clearField(field); } @java.lang.Override public Builder clearOneof( com.google.protobuf.Descriptors.OneofDescriptor oneof) { return super.clearOneof(oneof); } @java.lang.Override public Builder setRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value) { return super.setRepeatedField(field, index, value); } @java.lang.Override public Builder addRepeatedField( com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value) { return super.addRepeatedField(field, value); } @java.lang.Override public Builder mergeFrom(com.google.protobuf.Message other) { if (other instanceof io.deephaven.proto.backplane.grpc.Aggregation) { return mergeFrom((io.deephaven.proto.backplane.grpc.Aggregation)other); } else { super.mergeFrom(other); return this; } } public Builder mergeFrom(io.deephaven.proto.backplane.grpc.Aggregation other) { if (other == io.deephaven.proto.backplane.grpc.Aggregation.getDefaultInstance()) return this; switch (other.getTypeCase()) { case COLUMNS: { mergeColumns(other.getColumns()); break; } case COUNT: { mergeCount(other.getCount()); break; } case FIRST_ROW_KEY: { mergeFirstRowKey(other.getFirstRowKey()); break; } case LAST_ROW_KEY: { mergeLastRowKey(other.getLastRowKey()); break; } case PARTITION: { mergePartition(other.getPartition()); break; } case TYPE_NOT_SET: { break; } } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; } @java.lang.Override public final boolean isInitialized() { return true; } @java.lang.Override public Builder mergeFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException { if (extensionRegistry == null) { throw new java.lang.NullPointerException(); } try { boolean done = false; while (!done) { int tag = input.readTag(); switch (tag) { case 0: done = true; break; case 10: { input.readMessage( getColumnsFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 1; break; } // case 10 case 18: { input.readMessage( getCountFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 2; break; } // case 18 case 26: { input.readMessage( getFirstRowKeyFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 3; break; } // case 26 case 34: { input.readMessage( getLastRowKeyFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 4; break; } // case 34 case 42: { input.readMessage( getPartitionFieldBuilder().getBuilder(), extensionRegistry); typeCase_ = 5; break; } // case 42 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { done = true; // was an endgroup tag } break; } // default: } // switch (tag) } // while (!done) } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.unwrapIOException(); } finally { onChanged(); } // finally return this; } private int typeCase_ = 0; private java.lang.Object type_; public TypeCase getTypeCase() { return TypeCase.forNumber( typeCase_); } public Builder clearType() { typeCase_ = 0; type_ = null; onChanged(); return this; } private int bitField0_; private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns, io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumnsOrBuilder> columnsBuilder_; /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; * @return Whether the columns field is set. */ @java.lang.Override public boolean hasColumns() { return typeCase_ == 1; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; * @return The columns. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns getColumns() { if (columnsBuilder_ == null) { if (typeCase_ == 1) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.getDefaultInstance(); } else { if (typeCase_ == 1) { return columnsBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; */ public Builder setColumns(io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns value) { if (columnsBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { columnsBuilder_.setMessage(value); } typeCase_ = 1; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; */ public Builder setColumns( io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.Builder builderForValue) { if (columnsBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { columnsBuilder_.setMessage(builderForValue.build()); } typeCase_ = 1; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; */ public Builder mergeColumns(io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns value) { if (columnsBuilder_ == null) { if (typeCase_ == 1 && type_ != io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.getDefaultInstance()) { type_ = io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.newBuilder((io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 1) { columnsBuilder_.mergeFrom(value); } else { columnsBuilder_.setMessage(value); } } typeCase_ = 1; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; */ public Builder clearColumns() { if (columnsBuilder_ == null) { if (typeCase_ == 1) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 1) { typeCase_ = 0; type_ = null; } columnsBuilder_.clear(); } return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; */ public io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.Builder getColumnsBuilder() { return getColumnsFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumnsOrBuilder getColumnsOrBuilder() { if ((typeCase_ == 1) && (columnsBuilder_ != null)) { return columnsBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 1) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns columns = 1; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns, io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumnsOrBuilder> getColumnsFieldBuilder() { if (columnsBuilder_ == null) { if (!(typeCase_ == 1)) { type_ = io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.getDefaultInstance(); } columnsBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns, io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumnsOrBuilder>( (io.deephaven.proto.backplane.grpc.Aggregation.AggregationColumns) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 1; onChanged(); return columnsBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount, io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationCountOrBuilder> countBuilder_; /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; * @return Whether the count field is set. */ @java.lang.Override public boolean hasCount() { return typeCase_ == 2; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; * @return The count. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount getCount() { if (countBuilder_ == null) { if (typeCase_ == 2) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.getDefaultInstance(); } else { if (typeCase_ == 2) { return countBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; */ public Builder setCount(io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount value) { if (countBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { countBuilder_.setMessage(value); } typeCase_ = 2; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; */ public Builder setCount( io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.Builder builderForValue) { if (countBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { countBuilder_.setMessage(builderForValue.build()); } typeCase_ = 2; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; */ public Builder mergeCount(io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount value) { if (countBuilder_ == null) { if (typeCase_ == 2 && type_ != io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.getDefaultInstance()) { type_ = io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.newBuilder((io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 2) { countBuilder_.mergeFrom(value); } else { countBuilder_.setMessage(value); } } typeCase_ = 2; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; */ public Builder clearCount() { if (countBuilder_ == null) { if (typeCase_ == 2) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 2) { typeCase_ = 0; type_ = null; } countBuilder_.clear(); } return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; */ public io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.Builder getCountBuilder() { return getCountFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationCountOrBuilder getCountOrBuilder() { if ((typeCase_ == 2) && (countBuilder_ != null)) { return countBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 2) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount count = 2; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount, io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationCountOrBuilder> getCountFieldBuilder() { if (countBuilder_ == null) { if (!(typeCase_ == 2)) { type_ = io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.getDefaultInstance(); } countBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount, io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationCountOrBuilder>( (io.deephaven.proto.backplane.grpc.Aggregation.AggregationCount) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 2; onChanged(); return countBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder> firstRowKeyBuilder_; /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; * @return Whether the firstRowKey field is set. */ @java.lang.Override public boolean hasFirstRowKey() { return typeCase_ == 3; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; * @return The firstRowKey. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey getFirstRowKey() { if (firstRowKeyBuilder_ == null) { if (typeCase_ == 3) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } else { if (typeCase_ == 3) { return firstRowKeyBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; */ public Builder setFirstRowKey(io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey value) { if (firstRowKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { firstRowKeyBuilder_.setMessage(value); } typeCase_ = 3; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; */ public Builder setFirstRowKey( io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder builderForValue) { if (firstRowKeyBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { firstRowKeyBuilder_.setMessage(builderForValue.build()); } typeCase_ = 3; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; */ public Builder mergeFirstRowKey(io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey value) { if (firstRowKeyBuilder_ == null) { if (typeCase_ == 3 && type_ != io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance()) { type_ = io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.newBuilder((io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 3) { firstRowKeyBuilder_.mergeFrom(value); } else { firstRowKeyBuilder_.setMessage(value); } } typeCase_ = 3; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; */ public Builder clearFirstRowKey() { if (firstRowKeyBuilder_ == null) { if (typeCase_ == 3) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 3) { typeCase_ = 0; type_ = null; } firstRowKeyBuilder_.clear(); } return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; */ public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder getFirstRowKeyBuilder() { return getFirstRowKeyFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder getFirstRowKeyOrBuilder() { if ((typeCase_ == 3) && (firstRowKeyBuilder_ != null)) { return firstRowKeyBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 3) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey first_row_key = 3; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder> getFirstRowKeyFieldBuilder() { if (firstRowKeyBuilder_ == null) { if (!(typeCase_ == 3)) { type_ = io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } firstRowKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder>( (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 3; onChanged(); return firstRowKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder> lastRowKeyBuilder_; /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; * @return Whether the lastRowKey field is set. */ @java.lang.Override public boolean hasLastRowKey() { return typeCase_ == 4; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; * @return The lastRowKey. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey getLastRowKey() { if (lastRowKeyBuilder_ == null) { if (typeCase_ == 4) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } else { if (typeCase_ == 4) { return lastRowKeyBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; */ public Builder setLastRowKey(io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey value) { if (lastRowKeyBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { lastRowKeyBuilder_.setMessage(value); } typeCase_ = 4; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; */ public Builder setLastRowKey( io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder builderForValue) { if (lastRowKeyBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { lastRowKeyBuilder_.setMessage(builderForValue.build()); } typeCase_ = 4; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; */ public Builder mergeLastRowKey(io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey value) { if (lastRowKeyBuilder_ == null) { if (typeCase_ == 4 && type_ != io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance()) { type_ = io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.newBuilder((io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 4) { lastRowKeyBuilder_.mergeFrom(value); } else { lastRowKeyBuilder_.setMessage(value); } } typeCase_ = 4; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; */ public Builder clearLastRowKey() { if (lastRowKeyBuilder_ == null) { if (typeCase_ == 4) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 4) { typeCase_ = 0; type_ = null; } lastRowKeyBuilder_.clear(); } return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; */ public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder getLastRowKeyBuilder() { return getLastRowKeyFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder getLastRowKeyOrBuilder() { if ((typeCase_ == 4) && (lastRowKeyBuilder_ != null)) { return lastRowKeyBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 4) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey last_row_key = 4; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder> getLastRowKeyFieldBuilder() { if (lastRowKeyBuilder_ == null) { if (!(typeCase_ == 4)) { type_ = io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.getDefaultInstance(); } lastRowKeyBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKeyOrBuilder>( (io.deephaven.proto.backplane.grpc.Aggregation.AggregationRowKey) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 4; onChanged(); return lastRowKeyBuilder_; } private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition, io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartitionOrBuilder> partitionBuilder_; /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; * @return Whether the partition field is set. */ @java.lang.Override public boolean hasPartition() { return typeCase_ == 5; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; * @return The partition. */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition getPartition() { if (partitionBuilder_ == null) { if (typeCase_ == 5) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.getDefaultInstance(); } else { if (typeCase_ == 5) { return partitionBuilder_.getMessage(); } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; */ public Builder setPartition(io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition value) { if (partitionBuilder_ == null) { if (value == null) { throw new NullPointerException(); } type_ = value; onChanged(); } else { partitionBuilder_.setMessage(value); } typeCase_ = 5; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; */ public Builder setPartition( io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.Builder builderForValue) { if (partitionBuilder_ == null) { type_ = builderForValue.build(); onChanged(); } else { partitionBuilder_.setMessage(builderForValue.build()); } typeCase_ = 5; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; */ public Builder mergePartition(io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition value) { if (partitionBuilder_ == null) { if (typeCase_ == 5 && type_ != io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.getDefaultInstance()) { type_ = io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.newBuilder((io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) type_) .mergeFrom(value).buildPartial(); } else { type_ = value; } onChanged(); } else { if (typeCase_ == 5) { partitionBuilder_.mergeFrom(value); } else { partitionBuilder_.setMessage(value); } } typeCase_ = 5; return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; */ public Builder clearPartition() { if (partitionBuilder_ == null) { if (typeCase_ == 5) { typeCase_ = 0; type_ = null; onChanged(); } } else { if (typeCase_ == 5) { typeCase_ = 0; type_ = null; } partitionBuilder_.clear(); } return this; } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; */ public io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.Builder getPartitionBuilder() { return getPartitionFieldBuilder().getBuilder(); } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; */ @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartitionOrBuilder getPartitionOrBuilder() { if ((typeCase_ == 5) && (partitionBuilder_ != null)) { return partitionBuilder_.getMessageOrBuilder(); } else { if (typeCase_ == 5) { return (io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) type_; } return io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.getDefaultInstance(); } } /** * .io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition partition = 5; */ private com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition, io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartitionOrBuilder> getPartitionFieldBuilder() { if (partitionBuilder_ == null) { if (!(typeCase_ == 5)) { type_ = io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.getDefaultInstance(); } partitionBuilder_ = new com.google.protobuf.SingleFieldBuilderV3< io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition, io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition.Builder, io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartitionOrBuilder>( (io.deephaven.proto.backplane.grpc.Aggregation.AggregationPartition) type_, getParentForChildren(), isClean()); type_ = null; } typeCase_ = 5; onChanged(); return partitionBuilder_; } @java.lang.Override public final Builder setUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); } @java.lang.Override public final Builder mergeUnknownFields( final com.google.protobuf.UnknownFieldSet unknownFields) { return super.mergeUnknownFields(unknownFields); } // @@protoc_insertion_point(builder_scope:io.deephaven.proto.backplane.grpc.Aggregation) } // @@protoc_insertion_point(class_scope:io.deephaven.proto.backplane.grpc.Aggregation) private static final io.deephaven.proto.backplane.grpc.Aggregation DEFAULT_INSTANCE; static { DEFAULT_INSTANCE = new io.deephaven.proto.backplane.grpc.Aggregation(); } public static io.deephaven.proto.backplane.grpc.Aggregation getDefaultInstance() { return DEFAULT_INSTANCE; } private static final com.google.protobuf.Parser PARSER = new com.google.protobuf.AbstractParser() { @java.lang.Override public Aggregation parsePartialFrom( com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException { Builder builder = newBuilder(); try { builder.mergeFrom(input, extensionRegistry); } catch (com.google.protobuf.InvalidProtocolBufferException e) { throw e.setUnfinishedMessage(builder.buildPartial()); } catch (com.google.protobuf.UninitializedMessageException e) { throw e.asInvalidProtocolBufferException().setUnfinishedMessage(builder.buildPartial()); } catch (java.io.IOException e) { throw new com.google.protobuf.InvalidProtocolBufferException(e) .setUnfinishedMessage(builder.buildPartial()); } return builder.buildPartial(); } }; public static com.google.protobuf.Parser parser() { return PARSER; } @java.lang.Override public com.google.protobuf.Parser getParserForType() { return PARSER; } @java.lang.Override public io.deephaven.proto.backplane.grpc.Aggregation getDefaultInstanceForType() { return DEFAULT_INSTANCE; } }




© 2015 - 2024 Weber Informatics LLC | Privacy Policy