Class ComboAggregateRequest.Aggregate.Builder

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

public static final class ComboAggregateRequest.Aggregate.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ComboAggregateRequest.Aggregate.Builder> implements ComboAggregateRequest.AggregateOrBuilder
Protobuf type io.deephaven.proto.backplane.grpc.ComboAggregateRequest.Aggregate
  • 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<ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public ComboAggregateRequest.Aggregate buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.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<ComboAggregateRequest.Aggregate.Builder>
    • setField

      public ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.Builder>
    • clearField

      public ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.Builder>
    • clearOneof

      public ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.Builder>
    • setRepeatedField

      public ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.Builder>
    • addRepeatedField

      public ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.Builder>
    • mergeFrom

      public ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.Builder>
    • mergeFrom

    • isInitialized

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

      public ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.Builder>
      Throws:
      IOException
    • getTypeValue

      public int getTypeValue()
      .io.deephaven.proto.backplane.grpc.ComboAggregateRequest.AggType type = 1;
      Specified by:
      getTypeValue in interface ComboAggregateRequest.AggregateOrBuilder
      Returns:
      The enum numeric value on the wire for type.
    • setTypeValue

      public ComboAggregateRequest.Aggregate.Builder setTypeValue(int value)
      .io.deephaven.proto.backplane.grpc.ComboAggregateRequest.AggType type = 1;
      Parameters:
      value - The enum numeric value on the wire for type to set.
      Returns:
      This builder for chaining.
    • getType

      .io.deephaven.proto.backplane.grpc.ComboAggregateRequest.AggType type = 1;
      Specified by:
      getType in interface ComboAggregateRequest.AggregateOrBuilder
      Returns:
      The type.
    • setType

      .io.deephaven.proto.backplane.grpc.ComboAggregateRequest.AggType type = 1;
      Parameters:
      value - The type to set.
      Returns:
      This builder for chaining.
    • clearType

      .io.deephaven.proto.backplane.grpc.ComboAggregateRequest.AggType type = 1;
      Returns:
      This builder for chaining.
    • getMatchPairsList

      public com.google.protobuf.ProtocolStringList getMatchPairsList()
       used in all aggregates except countBy
       
      repeated string match_pairs = 2;
      Specified by:
      getMatchPairsList in interface ComboAggregateRequest.AggregateOrBuilder
      Returns:
      A list containing the matchPairs.
    • getMatchPairsCount

      public int getMatchPairsCount()
       used in all aggregates except countBy
       
      repeated string match_pairs = 2;
      Specified by:
      getMatchPairsCount in interface ComboAggregateRequest.AggregateOrBuilder
      Returns:
      The count of matchPairs.
    • getMatchPairs

      public String getMatchPairs(int index)
       used in all aggregates except countBy
       
      repeated string match_pairs = 2;
      Specified by:
      getMatchPairs in interface ComboAggregateRequest.AggregateOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The matchPairs at the given index.
    • getMatchPairsBytes

      public com.google.protobuf.ByteString getMatchPairsBytes(int index)
       used in all aggregates except countBy
       
      repeated string match_pairs = 2;
      Specified by:
      getMatchPairsBytes in interface ComboAggregateRequest.AggregateOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the matchPairs at the given index.
    • setMatchPairs

      public ComboAggregateRequest.Aggregate.Builder setMatchPairs(int index, String value)
       used in all aggregates except countBy
       
      repeated string match_pairs = 2;
      Parameters:
      index - The index to set the value at.
      value - The matchPairs to set.
      Returns:
      This builder for chaining.
    • addMatchPairs

      public ComboAggregateRequest.Aggregate.Builder addMatchPairs(String value)
       used in all aggregates except countBy
       
      repeated string match_pairs = 2;
      Parameters:
      value - The matchPairs to add.
      Returns:
      This builder for chaining.
    • addAllMatchPairs

      public ComboAggregateRequest.Aggregate.Builder addAllMatchPairs(Iterable<String> values)
       used in all aggregates except countBy
       
      repeated string match_pairs = 2;
      Parameters:
      values - The matchPairs to add.
      Returns:
      This builder for chaining.
    • clearMatchPairs

      public ComboAggregateRequest.Aggregate.Builder clearMatchPairs()
       used in all aggregates except countBy
       
      repeated string match_pairs = 2;
      Returns:
      This builder for chaining.
    • addMatchPairsBytes

      public ComboAggregateRequest.Aggregate.Builder addMatchPairsBytes(com.google.protobuf.ByteString value)
       used in all aggregates except countBy
       
      repeated string match_pairs = 2;
      Parameters:
      value - The bytes of the matchPairs to add.
      Returns:
      This builder for chaining.
    • getColumnName

      public String getColumnName()
       countBy result (output) column OR weighted avg weight (input) column, otherwise unused
       
      string column_name = 3;
      Specified by:
      getColumnName in interface ComboAggregateRequest.AggregateOrBuilder
      Returns:
      The columnName.
    • getColumnNameBytes

      public com.google.protobuf.ByteString getColumnNameBytes()
       countBy result (output) column OR weighted avg weight (input) column, otherwise unused
       
      string column_name = 3;
      Specified by:
      getColumnNameBytes in interface ComboAggregateRequest.AggregateOrBuilder
      Returns:
      The bytes for columnName.
    • setColumnName

      public ComboAggregateRequest.Aggregate.Builder setColumnName(String value)
       countBy result (output) column OR weighted avg weight (input) column, otherwise unused
       
      string column_name = 3;
      Parameters:
      value - The columnName to set.
      Returns:
      This builder for chaining.
    • clearColumnName

      public ComboAggregateRequest.Aggregate.Builder clearColumnName()
       countBy result (output) column OR weighted avg weight (input) column, otherwise unused
       
      string column_name = 3;
      Returns:
      This builder for chaining.
    • setColumnNameBytes

      public ComboAggregateRequest.Aggregate.Builder setColumnNameBytes(com.google.protobuf.ByteString value)
       countBy result (output) column OR weighted avg weight (input) column, otherwise unused
       
      string column_name = 3;
      Parameters:
      value - The bytes for columnName to set.
      Returns:
      This builder for chaining.
    • getPercentile

      public double getPercentile()
       required by percentileBy aggregates, otherwise unused
       
      double percentile = 4;
      Specified by:
      getPercentile in interface ComboAggregateRequest.AggregateOrBuilder
      Returns:
      The percentile.
    • setPercentile

      public ComboAggregateRequest.Aggregate.Builder setPercentile(double value)
       required by percentileBy aggregates, otherwise unused
       
      double percentile = 4;
      Parameters:
      value - The percentile to set.
      Returns:
      This builder for chaining.
    • clearPercentile

      public ComboAggregateRequest.Aggregate.Builder clearPercentile()
       required by percentileBy aggregates, otherwise unused
       
      double percentile = 4;
      Returns:
      This builder for chaining.
    • getAvgMedian

      public boolean getAvgMedian()
       used in percentileBy only
       
      bool avg_median = 5;
      Specified by:
      getAvgMedian in interface ComboAggregateRequest.AggregateOrBuilder
      Returns:
      The avgMedian.
    • setAvgMedian

      public ComboAggregateRequest.Aggregate.Builder setAvgMedian(boolean value)
       used in percentileBy only
       
      bool avg_median = 5;
      Parameters:
      value - The avgMedian to set.
      Returns:
      This builder for chaining.
    • clearAvgMedian

      public ComboAggregateRequest.Aggregate.Builder clearAvgMedian()
       used in percentileBy only
       
      bool avg_median = 5;
      Returns:
      This builder for chaining.
    • setUnknownFields

      public final ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.Builder>
    • mergeUnknownFields

      public final ComboAggregateRequest.Aggregate.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<ComboAggregateRequest.Aggregate.Builder>