Class Type.Aggregate

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.bigtable.v2.Type.Aggregate
All Implemented Interfaces:
Type.AggregateOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
Type

public static final class Type.Aggregate extends com.google.protobuf.GeneratedMessageV3 implements Type.AggregateOrBuilder
 A value that combines incremental updates into a summarized value.

 Data is never directly written or read using type `Aggregate`. Writes will
 provide either the `input_type` or `state_type`, and reads will always
 return the `state_type` .
 
Protobuf type google.bigtable.v2.Type.Aggregate
See Also:
  • Field Details

  • Method Details

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      Overrides:
      newInstance in class com.google.protobuf.GeneratedMessageV3
    • 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
    • getAggregatorCase

      public Type.Aggregate.AggregatorCase getAggregatorCase()
      Specified by:
      getAggregatorCase in interface Type.AggregateOrBuilder
    • hasInputType

      public boolean hasInputType()
       Type of the inputs that are accumulated by this `Aggregate`, which must
       specify a full encoding.
       Use `AddInput` mutations to accumulate new inputs.
       
      .google.bigtable.v2.Type input_type = 1;
      Specified by:
      hasInputType in interface Type.AggregateOrBuilder
      Returns:
      Whether the inputType field is set.
    • getInputType

      public Type getInputType()
       Type of the inputs that are accumulated by this `Aggregate`, which must
       specify a full encoding.
       Use `AddInput` mutations to accumulate new inputs.
       
      .google.bigtable.v2.Type input_type = 1;
      Specified by:
      getInputType in interface Type.AggregateOrBuilder
      Returns:
      The inputType.
    • getInputTypeOrBuilder

      public TypeOrBuilder getInputTypeOrBuilder()
       Type of the inputs that are accumulated by this `Aggregate`, which must
       specify a full encoding.
       Use `AddInput` mutations to accumulate new inputs.
       
      .google.bigtable.v2.Type input_type = 1;
      Specified by:
      getInputTypeOrBuilder in interface Type.AggregateOrBuilder
    • hasStateType

      public boolean hasStateType()
       Output only. Type that holds the internal accumulator state for the
       `Aggregate`. This is a function of the `input_type` and `aggregator`
       chosen, and will always specify a full encoding.
       
      .google.bigtable.v2.Type state_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      hasStateType in interface Type.AggregateOrBuilder
      Returns:
      Whether the stateType field is set.
    • getStateType

      public Type getStateType()
       Output only. Type that holds the internal accumulator state for the
       `Aggregate`. This is a function of the `input_type` and `aggregator`
       chosen, and will always specify a full encoding.
       
      .google.bigtable.v2.Type state_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateType in interface Type.AggregateOrBuilder
      Returns:
      The stateType.
    • getStateTypeOrBuilder

      public TypeOrBuilder getStateTypeOrBuilder()
       Output only. Type that holds the internal accumulator state for the
       `Aggregate`. This is a function of the `input_type` and `aggregator`
       chosen, and will always specify a full encoding.
       
      .google.bigtable.v2.Type state_type = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
      Specified by:
      getStateTypeOrBuilder in interface Type.AggregateOrBuilder
    • hasSum

      public boolean hasSum()
       Sum aggregator.
       
      .google.bigtable.v2.Type.Aggregate.Sum sum = 4;
      Specified by:
      hasSum in interface Type.AggregateOrBuilder
      Returns:
      Whether the sum field is set.
    • getSum

      public Type.Aggregate.Sum getSum()
       Sum aggregator.
       
      .google.bigtable.v2.Type.Aggregate.Sum sum = 4;
      Specified by:
      getSum in interface Type.AggregateOrBuilder
      Returns:
      The sum.
    • getSumOrBuilder

      public Type.Aggregate.SumOrBuilder getSumOrBuilder()
       Sum aggregator.
       
      .google.bigtable.v2.Type.Aggregate.Sum sum = 4;
      Specified by:
      getSumOrBuilder in interface Type.AggregateOrBuilder
    • hasHllppUniqueCount

      public boolean hasHllppUniqueCount()
       HyperLogLogPlusPlusUniqueCount aggregator.
       
      .google.bigtable.v2.Type.Aggregate.HyperLogLogPlusPlusUniqueCount hllpp_unique_count = 5;
      Specified by:
      hasHllppUniqueCount in interface Type.AggregateOrBuilder
      Returns:
      Whether the hllppUniqueCount field is set.
    • getHllppUniqueCount

      public Type.Aggregate.HyperLogLogPlusPlusUniqueCount getHllppUniqueCount()
       HyperLogLogPlusPlusUniqueCount aggregator.
       
      .google.bigtable.v2.Type.Aggregate.HyperLogLogPlusPlusUniqueCount hllpp_unique_count = 5;
      Specified by:
      getHllppUniqueCount in interface Type.AggregateOrBuilder
      Returns:
      The hllppUniqueCount.
    • getHllppUniqueCountOrBuilder

      public Type.Aggregate.HyperLogLogPlusPlusUniqueCountOrBuilder getHllppUniqueCountOrBuilder()
       HyperLogLogPlusPlusUniqueCount aggregator.
       
      .google.bigtable.v2.Type.Aggregate.HyperLogLogPlusPlusUniqueCount hllpp_unique_count = 5;
      Specified by:
      getHllppUniqueCountOrBuilder in interface Type.AggregateOrBuilder
    • hasMax

      public boolean hasMax()
       Max aggregator.
       
      .google.bigtable.v2.Type.Aggregate.Max max = 6;
      Specified by:
      hasMax in interface Type.AggregateOrBuilder
      Returns:
      Whether the max field is set.
    • getMax

      public Type.Aggregate.Max getMax()
       Max aggregator.
       
      .google.bigtable.v2.Type.Aggregate.Max max = 6;
      Specified by:
      getMax in interface Type.AggregateOrBuilder
      Returns:
      The max.
    • getMaxOrBuilder

      public Type.Aggregate.MaxOrBuilder getMaxOrBuilder()
       Max aggregator.
       
      .google.bigtable.v2.Type.Aggregate.Max max = 6;
      Specified by:
      getMaxOrBuilder in interface Type.AggregateOrBuilder
    • hasMin

      public boolean hasMin()
       Min aggregator.
       
      .google.bigtable.v2.Type.Aggregate.Min min = 7;
      Specified by:
      hasMin in interface Type.AggregateOrBuilder
      Returns:
      Whether the min field is set.
    • getMin

      public Type.Aggregate.Min getMin()
       Min aggregator.
       
      .google.bigtable.v2.Type.Aggregate.Min min = 7;
      Specified by:
      getMin in interface Type.AggregateOrBuilder
      Returns:
      The min.
    • getMinOrBuilder

      public Type.Aggregate.MinOrBuilder getMinOrBuilder()
       Min aggregator.
       
      .google.bigtable.v2.Type.Aggregate.Min min = 7;
      Specified by:
      getMinOrBuilder in interface Type.AggregateOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessageV3
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessageV3
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessageV3
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static Type.Aggregate parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Type.Aggregate parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Type.Aggregate parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Type.Aggregate parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Type.Aggregate parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Type.Aggregate parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static Type.Aggregate parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Type.Aggregate parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Type.Aggregate parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static Type.Aggregate parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Type.Aggregate parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static Type.Aggregate parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public Type.Aggregate.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static Type.Aggregate.Builder newBuilder()
    • newBuilder

      public static Type.Aggregate.Builder newBuilder(Type.Aggregate prototype)
    • toBuilder

      public Type.Aggregate.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected Type.Aggregate.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
      Specified by:
      newBuilderForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstance

      public static Type.Aggregate getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<Type.Aggregate> parser()
    • getParserForType

      public com.google.protobuf.Parser<Type.Aggregate> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessageV3
    • getDefaultInstanceForType

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