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 Summary
Modifier and TypeMethodDescriptionaddAllMatchPairs
(Iterable<String> values) used in all aggregates except countByaddMatchPairs
(String value) used in all aggregates except countByaddMatchPairsBytes
(com.google.protobuf.ByteString value) used in all aggregates except countByaddRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()
clear()
used in percentileBy onlycountBy result (output) column OR weighted avg weight (input) column, otherwise unusedclearField
(com.google.protobuf.Descriptors.FieldDescriptor field) used in all aggregates except countByclearOneof
(com.google.protobuf.Descriptors.OneofDescriptor oneof) required by percentileBy aggregates, otherwise unused.io.deephaven.proto.backplane.grpc.ComboAggregateRequest.AggType type = 1;
clone()
boolean
used in percentileBy onlycountBy result (output) column OR weighted avg weight (input) column, otherwise unusedcom.google.protobuf.ByteString
countBy result (output) column OR weighted avg weight (input) column, otherwise unusedstatic final com.google.protobuf.Descriptors.Descriptor
com.google.protobuf.Descriptors.Descriptor
getMatchPairs
(int index) used in all aggregates except countBycom.google.protobuf.ByteString
getMatchPairsBytes
(int index) used in all aggregates except countByint
used in all aggregates except countBycom.google.protobuf.ProtocolStringList
used in all aggregates except countBydouble
required by percentileBy aggregates, otherwise unusedgetType()
.io.deephaven.proto.backplane.grpc.ComboAggregateRequest.AggType type = 1;
int
.io.deephaven.proto.backplane.grpc.ComboAggregateRequest.AggType type = 1;
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
final boolean
mergeFrom
(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom
(com.google.protobuf.Message other) mergeUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) setAvgMedian
(boolean value) used in percentileBy onlysetColumnName
(String value) countBy result (output) column OR weighted avg weight (input) column, otherwise unusedsetColumnNameBytes
(com.google.protobuf.ByteString value) countBy result (output) column OR weighted avg weight (input) column, otherwise unusedsetMatchPairs
(int index, String value) used in all aggregates except countBysetPercentile
(double value) required by percentileBy aggregates, otherwise unusedsetRepeatedField
(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) .io.deephaven.proto.backplane.grpc.ComboAggregateRequest.AggType type = 1;
setTypeValue
(int value) .io.deephaven.proto.backplane.grpc.ComboAggregateRequest.AggType type = 1;
setUnknownFields
(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
Methods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFrom
Methods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFrom
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComboAggregateRequest.Aggregate.Builder>
-
clear
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComboAggregateRequest.Aggregate.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComboAggregateRequest.Aggregate.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComboAggregateRequest.Aggregate.Builder>
-
clearField
public ComboAggregateRequest.Aggregate.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field) - Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComboAggregateRequest.Aggregate.Builder>
-
clearOneof
public ComboAggregateRequest.Aggregate.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) - Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComboAggregateRequest.Aggregate.Builder>
-
mergeFrom
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ComboAggregateRequest.Aggregate.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.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 interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.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 interfaceComboAggregateRequest.AggregateOrBuilder
- Returns:
- The enum numeric value on the wire for type.
-
setTypeValue
.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 interfaceComboAggregateRequest.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 interfaceComboAggregateRequest.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 interfaceComboAggregateRequest.AggregateOrBuilder
- Returns:
- The count of matchPairs.
-
getMatchPairs
used in all aggregates except countBy
repeated string match_pairs = 2;
- Specified by:
getMatchPairs
in interfaceComboAggregateRequest.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 interfaceComboAggregateRequest.AggregateOrBuilder
- Parameters:
index
- The index of the value to return.- Returns:
- The bytes of the matchPairs at the given index.
-
setMatchPairs
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
used in all aggregates except countBy
repeated string match_pairs = 2;
- Parameters:
value
- The matchPairs to add.- Returns:
- This builder for chaining.
-
addAllMatchPairs
used in all aggregates except countBy
repeated string match_pairs = 2;
- Parameters:
values
- The matchPairs to add.- Returns:
- This builder for chaining.
-
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
countBy result (output) column OR weighted avg weight (input) column, otherwise unused
string column_name = 3;
- Specified by:
getColumnName
in interfaceComboAggregateRequest.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 interfaceComboAggregateRequest.AggregateOrBuilder
- Returns:
- The bytes for columnName.
-
setColumnName
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
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 interfaceComboAggregateRequest.AggregateOrBuilder
- Returns:
- The percentile.
-
setPercentile
required by percentileBy aggregates, otherwise unused
double percentile = 4;
- Parameters:
value
- The percentile to set.- Returns:
- This builder for chaining.
-
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 interfaceComboAggregateRequest.AggregateOrBuilder
- Returns:
- The avgMedian.
-
setAvgMedian
used in percentileBy only
bool avg_median = 5;
- Parameters:
value
- The avgMedian to set.- Returns:
- This builder for chaining.
-
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 interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComboAggregateRequest.Aggregate.Builder>
-
mergeUnknownFields
public final ComboAggregateRequest.Aggregate.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ComboAggregateRequest.Aggregate.Builder>
-