Class AggregateRequest.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
io.deephaven.proto.backplane.grpc.AggregateRequest.Builder
All Implemented Interfaces:
com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, AggregateRequestOrBuilder, Cloneable
Enclosing class:
AggregateRequest

public static final class AggregateRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder> implements AggregateRequestOrBuilder
Protobuf type io.deephaven.proto.backplane.grpc.AggregateRequest
  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • clear

      public AggregateRequest.Builder clear()
      Specified by:
      clear in interface com.google.protobuf.Message.Builder
      Specified by:
      clear in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clear in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • getDescriptorForType

      public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
      Specified by:
      getDescriptorForType in interface com.google.protobuf.Message.Builder
      Specified by:
      getDescriptorForType in interface com.google.protobuf.MessageOrBuilder
      Overrides:
      getDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • getDefaultInstanceForType

      public AggregateRequest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder
    • build

      public AggregateRequest build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public AggregateRequest buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • clone

      public AggregateRequest.Builder clone()
      Specified by:
      clone in interface com.google.protobuf.Message.Builder
      Specified by:
      clone in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      clone in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • setField

      public AggregateRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      setField in interface com.google.protobuf.Message.Builder
      Overrides:
      setField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • clearField

      public AggregateRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
      Specified by:
      clearField in interface com.google.protobuf.Message.Builder
      Overrides:
      clearField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • clearOneof

      public AggregateRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
      Specified by:
      clearOneof in interface com.google.protobuf.Message.Builder
      Overrides:
      clearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • setRepeatedField

      public AggregateRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
      Specified by:
      setRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      setRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • addRepeatedField

      public AggregateRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
      Specified by:
      addRepeatedField in interface com.google.protobuf.Message.Builder
      Overrides:
      addRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • mergeFrom

      public AggregateRequest.Builder mergeFrom(com.google.protobuf.Message other)
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AggregateRequest.Builder>
    • mergeFrom

      public AggregateRequest.Builder mergeFrom(AggregateRequest other)
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • mergeFrom

      public AggregateRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Specified by:
      mergeFrom in interface com.google.protobuf.Message.Builder
      Specified by:
      mergeFrom in interface com.google.protobuf.MessageLite.Builder
      Overrides:
      mergeFrom in class com.google.protobuf.AbstractMessage.Builder<AggregateRequest.Builder>
      Throws:
      IOException
    • hasResultId

      public boolean hasResultId()
      .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
      Specified by:
      hasResultId in interface AggregateRequestOrBuilder
      Returns:
      Whether the resultId field is set.
    • getResultId

      public Ticket getResultId()
      .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
      Specified by:
      getResultId in interface AggregateRequestOrBuilder
      Returns:
      The resultId.
    • setResultId

      public AggregateRequest.Builder setResultId(Ticket value)
      .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
    • setResultId

      public AggregateRequest.Builder setResultId(Ticket.Builder builderForValue)
      .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
    • mergeResultId

      public AggregateRequest.Builder mergeResultId(Ticket value)
      .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
    • clearResultId

      public AggregateRequest.Builder clearResultId()
      .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
    • getResultIdBuilder

      public Ticket.Builder getResultIdBuilder()
      .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
    • getResultIdOrBuilder

      public TicketOrBuilder getResultIdOrBuilder()
      .io.deephaven.proto.backplane.grpc.Ticket result_id = 1;
      Specified by:
      getResultIdOrBuilder in interface AggregateRequestOrBuilder
    • hasSourceId

      public boolean hasSourceId()
      .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
      Specified by:
      hasSourceId in interface AggregateRequestOrBuilder
      Returns:
      Whether the sourceId field is set.
    • getSourceId

      public TableReference getSourceId()
      .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
      Specified by:
      getSourceId in interface AggregateRequestOrBuilder
      Returns:
      The sourceId.
    • setSourceId

      public AggregateRequest.Builder setSourceId(TableReference value)
      .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
    • setSourceId

      public AggregateRequest.Builder setSourceId(TableReference.Builder builderForValue)
      .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
    • mergeSourceId

      public AggregateRequest.Builder mergeSourceId(TableReference value)
      .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
    • clearSourceId

      public AggregateRequest.Builder clearSourceId()
      .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
    • getSourceIdBuilder

      public TableReference.Builder getSourceIdBuilder()
      .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
    • getSourceIdOrBuilder

      public TableReferenceOrBuilder getSourceIdOrBuilder()
      .io.deephaven.proto.backplane.grpc.TableReference source_id = 2;
      Specified by:
      getSourceIdOrBuilder in interface AggregateRequestOrBuilder
    • hasInitialGroupsId

      public boolean hasInitialGroupsId()
       A table whose distinct combinations of values for the group_by_columns should be used
       to create an initial set of aggregation groups. All other columns are ignored. This is useful in
       combination with preserve_empty == true to ensure that particular groups appear in the result
       table, or with preserve_empty == false to control the encounter order for a collection of groups
       and thus their relative order in the result. Changes to initial_group_ids are not expected or handled;
       if initial_groups_id is a refreshing table, only its contents at instantiation time will be used. If
       initial_groups_id is not present, the result will be the same as if a table with no rows was supplied.
       
      .io.deephaven.proto.backplane.grpc.TableReference initial_groups_id = 3;
      Specified by:
      hasInitialGroupsId in interface AggregateRequestOrBuilder
      Returns:
      Whether the initialGroupsId field is set.
    • getInitialGroupsId

      public TableReference getInitialGroupsId()
       A table whose distinct combinations of values for the group_by_columns should be used
       to create an initial set of aggregation groups. All other columns are ignored. This is useful in
       combination with preserve_empty == true to ensure that particular groups appear in the result
       table, or with preserve_empty == false to control the encounter order for a collection of groups
       and thus their relative order in the result. Changes to initial_group_ids are not expected or handled;
       if initial_groups_id is a refreshing table, only its contents at instantiation time will be used. If
       initial_groups_id is not present, the result will be the same as if a table with no rows was supplied.
       
      .io.deephaven.proto.backplane.grpc.TableReference initial_groups_id = 3;
      Specified by:
      getInitialGroupsId in interface AggregateRequestOrBuilder
      Returns:
      The initialGroupsId.
    • setInitialGroupsId

      public AggregateRequest.Builder setInitialGroupsId(TableReference value)
       A table whose distinct combinations of values for the group_by_columns should be used
       to create an initial set of aggregation groups. All other columns are ignored. This is useful in
       combination with preserve_empty == true to ensure that particular groups appear in the result
       table, or with preserve_empty == false to control the encounter order for a collection of groups
       and thus their relative order in the result. Changes to initial_group_ids are not expected or handled;
       if initial_groups_id is a refreshing table, only its contents at instantiation time will be used. If
       initial_groups_id is not present, the result will be the same as if a table with no rows was supplied.
       
      .io.deephaven.proto.backplane.grpc.TableReference initial_groups_id = 3;
    • setInitialGroupsId

      public AggregateRequest.Builder setInitialGroupsId(TableReference.Builder builderForValue)
       A table whose distinct combinations of values for the group_by_columns should be used
       to create an initial set of aggregation groups. All other columns are ignored. This is useful in
       combination with preserve_empty == true to ensure that particular groups appear in the result
       table, or with preserve_empty == false to control the encounter order for a collection of groups
       and thus their relative order in the result. Changes to initial_group_ids are not expected or handled;
       if initial_groups_id is a refreshing table, only its contents at instantiation time will be used. If
       initial_groups_id is not present, the result will be the same as if a table with no rows was supplied.
       
      .io.deephaven.proto.backplane.grpc.TableReference initial_groups_id = 3;
    • mergeInitialGroupsId

      public AggregateRequest.Builder mergeInitialGroupsId(TableReference value)
       A table whose distinct combinations of values for the group_by_columns should be used
       to create an initial set of aggregation groups. All other columns are ignored. This is useful in
       combination with preserve_empty == true to ensure that particular groups appear in the result
       table, or with preserve_empty == false to control the encounter order for a collection of groups
       and thus their relative order in the result. Changes to initial_group_ids are not expected or handled;
       if initial_groups_id is a refreshing table, only its contents at instantiation time will be used. If
       initial_groups_id is not present, the result will be the same as if a table with no rows was supplied.
       
      .io.deephaven.proto.backplane.grpc.TableReference initial_groups_id = 3;
    • clearInitialGroupsId

      public AggregateRequest.Builder clearInitialGroupsId()
       A table whose distinct combinations of values for the group_by_columns should be used
       to create an initial set of aggregation groups. All other columns are ignored. This is useful in
       combination with preserve_empty == true to ensure that particular groups appear in the result
       table, or with preserve_empty == false to control the encounter order for a collection of groups
       and thus their relative order in the result. Changes to initial_group_ids are not expected or handled;
       if initial_groups_id is a refreshing table, only its contents at instantiation time will be used. If
       initial_groups_id is not present, the result will be the same as if a table with no rows was supplied.
       
      .io.deephaven.proto.backplane.grpc.TableReference initial_groups_id = 3;
    • getInitialGroupsIdBuilder

      public TableReference.Builder getInitialGroupsIdBuilder()
       A table whose distinct combinations of values for the group_by_columns should be used
       to create an initial set of aggregation groups. All other columns are ignored. This is useful in
       combination with preserve_empty == true to ensure that particular groups appear in the result
       table, or with preserve_empty == false to control the encounter order for a collection of groups
       and thus their relative order in the result. Changes to initial_group_ids are not expected or handled;
       if initial_groups_id is a refreshing table, only its contents at instantiation time will be used. If
       initial_groups_id is not present, the result will be the same as if a table with no rows was supplied.
       
      .io.deephaven.proto.backplane.grpc.TableReference initial_groups_id = 3;
    • getInitialGroupsIdOrBuilder

      public TableReferenceOrBuilder getInitialGroupsIdOrBuilder()
       A table whose distinct combinations of values for the group_by_columns should be used
       to create an initial set of aggregation groups. All other columns are ignored. This is useful in
       combination with preserve_empty == true to ensure that particular groups appear in the result
       table, or with preserve_empty == false to control the encounter order for a collection of groups
       and thus their relative order in the result. Changes to initial_group_ids are not expected or handled;
       if initial_groups_id is a refreshing table, only its contents at instantiation time will be used. If
       initial_groups_id is not present, the result will be the same as if a table with no rows was supplied.
       
      .io.deephaven.proto.backplane.grpc.TableReference initial_groups_id = 3;
      Specified by:
      getInitialGroupsIdOrBuilder in interface AggregateRequestOrBuilder
    • getPreserveEmpty

      public boolean getPreserveEmpty()
       Whether to keep result rows for groups that are initially empty or become empty as a result
       of updates. Each aggregation operator defines its own value for empty groups.
       
      bool preserve_empty = 4;
      Specified by:
      getPreserveEmpty in interface AggregateRequestOrBuilder
      Returns:
      The preserveEmpty.
    • setPreserveEmpty

      public AggregateRequest.Builder setPreserveEmpty(boolean value)
       Whether to keep result rows for groups that are initially empty or become empty as a result
       of updates. Each aggregation operator defines its own value for empty groups.
       
      bool preserve_empty = 4;
      Parameters:
      value - The preserveEmpty to set.
      Returns:
      This builder for chaining.
    • clearPreserveEmpty

      public AggregateRequest.Builder clearPreserveEmpty()
       Whether to keep result rows for groups that are initially empty or become empty as a result
       of updates. Each aggregation operator defines its own value for empty groups.
       
      bool preserve_empty = 4;
      Returns:
      This builder for chaining.
    • getAggregationsList

      public List<Aggregation> getAggregationsList()
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
      Specified by:
      getAggregationsList in interface AggregateRequestOrBuilder
    • getAggregationsCount

      public int getAggregationsCount()
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
      Specified by:
      getAggregationsCount in interface AggregateRequestOrBuilder
    • getAggregations

      public Aggregation getAggregations(int index)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
      Specified by:
      getAggregations in interface AggregateRequestOrBuilder
    • setAggregations

      public AggregateRequest.Builder setAggregations(int index, Aggregation value)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • setAggregations

      public AggregateRequest.Builder setAggregations(int index, Aggregation.Builder builderForValue)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • addAggregations

      public AggregateRequest.Builder addAggregations(Aggregation value)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • addAggregations

      public AggregateRequest.Builder addAggregations(int index, Aggregation value)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • addAggregations

      public AggregateRequest.Builder addAggregations(Aggregation.Builder builderForValue)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • addAggregations

      public AggregateRequest.Builder addAggregations(int index, Aggregation.Builder builderForValue)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • addAllAggregations

      public AggregateRequest.Builder addAllAggregations(Iterable<? extends Aggregation> values)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • clearAggregations

      public AggregateRequest.Builder clearAggregations()
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • removeAggregations

      public AggregateRequest.Builder removeAggregations(int index)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • getAggregationsBuilder

      public Aggregation.Builder getAggregationsBuilder(int index)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • getAggregationsOrBuilder

      public AggregationOrBuilder getAggregationsOrBuilder(int index)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
      Specified by:
      getAggregationsOrBuilder in interface AggregateRequestOrBuilder
    • getAggregationsOrBuilderList

      public List<? extends AggregationOrBuilder> getAggregationsOrBuilderList()
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
      Specified by:
      getAggregationsOrBuilderList in interface AggregateRequestOrBuilder
    • addAggregationsBuilder

      public Aggregation.Builder addAggregationsBuilder()
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • addAggregationsBuilder

      public Aggregation.Builder addAggregationsBuilder(int index)
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • getAggregationsBuilderList

      public List<Aggregation.Builder> getAggregationsBuilderList()
      repeated .io.deephaven.proto.backplane.grpc.Aggregation aggregations = 5;
    • getGroupByColumnsList

      public com.google.protobuf.ProtocolStringList getGroupByColumnsList()
      repeated string group_by_columns = 6;
      Specified by:
      getGroupByColumnsList in interface AggregateRequestOrBuilder
      Returns:
      A list containing the groupByColumns.
    • getGroupByColumnsCount

      public int getGroupByColumnsCount()
      repeated string group_by_columns = 6;
      Specified by:
      getGroupByColumnsCount in interface AggregateRequestOrBuilder
      Returns:
      The count of groupByColumns.
    • getGroupByColumns

      public String getGroupByColumns(int index)
      repeated string group_by_columns = 6;
      Specified by:
      getGroupByColumns in interface AggregateRequestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The groupByColumns at the given index.
    • getGroupByColumnsBytes

      public com.google.protobuf.ByteString getGroupByColumnsBytes(int index)
      repeated string group_by_columns = 6;
      Specified by:
      getGroupByColumnsBytes in interface AggregateRequestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the groupByColumns at the given index.
    • setGroupByColumns

      public AggregateRequest.Builder setGroupByColumns(int index, String value)
      repeated string group_by_columns = 6;
      Parameters:
      index - The index to set the value at.
      value - The groupByColumns to set.
      Returns:
      This builder for chaining.
    • addGroupByColumns

      public AggregateRequest.Builder addGroupByColumns(String value)
      repeated string group_by_columns = 6;
      Parameters:
      value - The groupByColumns to add.
      Returns:
      This builder for chaining.
    • addAllGroupByColumns

      public AggregateRequest.Builder addAllGroupByColumns(Iterable<String> values)
      repeated string group_by_columns = 6;
      Parameters:
      values - The groupByColumns to add.
      Returns:
      This builder for chaining.
    • clearGroupByColumns

      public AggregateRequest.Builder clearGroupByColumns()
      repeated string group_by_columns = 6;
      Returns:
      This builder for chaining.
    • addGroupByColumnsBytes

      public AggregateRequest.Builder addGroupByColumnsBytes(com.google.protobuf.ByteString value)
      repeated string group_by_columns = 6;
      Parameters:
      value - The bytes of the groupByColumns to add.
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final AggregateRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      setUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      setUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>
    • mergeUnknownFields

      public final AggregateRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
      Specified by:
      mergeUnknownFields in interface com.google.protobuf.Message.Builder
      Overrides:
      mergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<AggregateRequest.Builder>