Class AggregationResult

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.migrationcenter.v1.AggregationResult
All Implemented Interfaces:
AggregationResultOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class AggregationResult extends com.google.protobuf.GeneratedMessage implements AggregationResultOrBuilder
 Message describing a result of an aggregation.
 
Protobuf type google.cloud.migrationcenter.v1.AggregationResult
See Also:
  • Field Details

  • Method Details

    • getDescriptor

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

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • getResultCase

      public AggregationResult.ResultCase getResultCase()
      Specified by:
      getResultCase in interface AggregationResultOrBuilder
    • getField

      public String getField()
      string field = 1;
      Specified by:
      getField in interface AggregationResultOrBuilder
      Returns:
      The field.
    • getFieldBytes

      public com.google.protobuf.ByteString getFieldBytes()
      string field = 1;
      Specified by:
      getFieldBytes in interface AggregationResultOrBuilder
      Returns:
      The bytes for field.
    • hasCount

      public boolean hasCount()
      .google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
      Specified by:
      hasCount in interface AggregationResultOrBuilder
      Returns:
      Whether the count field is set.
    • getCount

      public AggregationResult.Count getCount()
      .google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
      Specified by:
      getCount in interface AggregationResultOrBuilder
      Returns:
      The count.
    • getCountOrBuilder

      public AggregationResult.CountOrBuilder getCountOrBuilder()
      .google.cloud.migrationcenter.v1.AggregationResult.Count count = 2;
      Specified by:
      getCountOrBuilder in interface AggregationResultOrBuilder
    • hasSum

      public boolean hasSum()
      .google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
      Specified by:
      hasSum in interface AggregationResultOrBuilder
      Returns:
      Whether the sum field is set.
    • getSum

      public AggregationResult.Sum getSum()
      .google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
      Specified by:
      getSum in interface AggregationResultOrBuilder
      Returns:
      The sum.
    • getSumOrBuilder

      public AggregationResult.SumOrBuilder getSumOrBuilder()
      .google.cloud.migrationcenter.v1.AggregationResult.Sum sum = 3;
      Specified by:
      getSumOrBuilder in interface AggregationResultOrBuilder
    • hasHistogram

      public boolean hasHistogram()
      .google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
      Specified by:
      hasHistogram in interface AggregationResultOrBuilder
      Returns:
      Whether the histogram field is set.
    • getHistogram

      public AggregationResult.Histogram getHistogram()
      .google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
      Specified by:
      getHistogram in interface AggregationResultOrBuilder
      Returns:
      The histogram.
    • getHistogramOrBuilder

      public AggregationResult.HistogramOrBuilder getHistogramOrBuilder()
      .google.cloud.migrationcenter.v1.AggregationResult.Histogram histogram = 4;
      Specified by:
      getHistogramOrBuilder in interface AggregationResultOrBuilder
    • hasFrequency

      public boolean hasFrequency()
      .google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;
      Specified by:
      hasFrequency in interface AggregationResultOrBuilder
      Returns:
      Whether the frequency field is set.
    • getFrequency

      public AggregationResult.Frequency getFrequency()
      .google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;
      Specified by:
      getFrequency in interface AggregationResultOrBuilder
      Returns:
      The frequency.
    • getFrequencyOrBuilder

      public AggregationResult.FrequencyOrBuilder getFrequencyOrBuilder()
      .google.cloud.migrationcenter.v1.AggregationResult.Frequency frequency = 5;
      Specified by:
      getFrequencyOrBuilder in interface AggregationResultOrBuilder
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • 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.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • 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 AggregationResult parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static AggregationResult parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static AggregationResult parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static AggregationResult.Builder newBuilder()
    • newBuilder

      public static AggregationResult.Builder newBuilder(AggregationResult prototype)
    • toBuilder

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

      protected AggregationResult.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static AggregationResult getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<AggregationResult> 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.GeneratedMessage
    • getDefaultInstanceForType

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