Class MaintenanceSummary.Stats

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.maintenance.api.v1.MaintenanceSummary.Stats
All Implemented Interfaces:
MaintenanceSummary.StatsOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable
Enclosing class:
MaintenanceSummary

public static final class MaintenanceSummary.Stats extends com.google.protobuf.GeneratedMessage implements MaintenanceSummary.StatsOrBuilder
 Stats indicates the type of aggregate and the corresponding aggregates.
 
Protobuf type google.cloud.maintenance.api.v1.MaintenanceSummary.Stats
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
    • getGroupBy

      public String getGroupBy()
       groupBy specifies the type of aggregate.
       For example a group_by might be `"state"`
       
      string group_by = 1;
      Specified by:
      getGroupBy in interface MaintenanceSummary.StatsOrBuilder
      Returns:
      The groupBy.
    • getGroupByBytes

      public com.google.protobuf.ByteString getGroupByBytes()
       groupBy specifies the type of aggregate.
       For example a group_by might be `"state"`
       
      string group_by = 1;
      Specified by:
      getGroupByBytes in interface MaintenanceSummary.StatsOrBuilder
      Returns:
      The bytes for groupBy.
    • getAggregatesList

      public List<MaintenanceSummary.Aggregate> getAggregatesList()
       Aggregates is a list <group, count> pairs. For example, if the
       group_by is `"state"` a possible tuple in the aggregates list could be
       "SCHEDULED" : `11`,
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;
      Specified by:
      getAggregatesList in interface MaintenanceSummary.StatsOrBuilder
    • getAggregatesOrBuilderList

      public List<? extends MaintenanceSummary.AggregateOrBuilder> getAggregatesOrBuilderList()
       Aggregates is a list <group, count> pairs. For example, if the
       group_by is `"state"` a possible tuple in the aggregates list could be
       "SCHEDULED" : `11`,
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;
      Specified by:
      getAggregatesOrBuilderList in interface MaintenanceSummary.StatsOrBuilder
    • getAggregatesCount

      public int getAggregatesCount()
       Aggregates is a list <group, count> pairs. For example, if the
       group_by is `"state"` a possible tuple in the aggregates list could be
       "SCHEDULED" : `11`,
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;
      Specified by:
      getAggregatesCount in interface MaintenanceSummary.StatsOrBuilder
    • getAggregates

      public MaintenanceSummary.Aggregate getAggregates(int index)
       Aggregates is a list <group, count> pairs. For example, if the
       group_by is `"state"` a possible tuple in the aggregates list could be
       "SCHEDULED" : `11`,
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;
      Specified by:
      getAggregates in interface MaintenanceSummary.StatsOrBuilder
    • getAggregatesOrBuilder

      public MaintenanceSummary.AggregateOrBuilder getAggregatesOrBuilder(int index)
       Aggregates is a list <group, count> pairs. For example, if the
       group_by is `"state"` a possible tuple in the aggregates list could be
       "SCHEDULED" : `11`,
       
      repeated .google.cloud.maintenance.api.v1.MaintenanceSummary.Aggregate aggregates = 2;
      Specified by:
      getAggregatesOrBuilder in interface MaintenanceSummary.StatsOrBuilder
    • 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 MaintenanceSummary.Stats parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

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

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

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

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

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

      public static MaintenanceSummary.Stats parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

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

      public static MaintenanceSummary.Stats parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

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

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

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

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

      public static MaintenanceSummary.Stats.Builder newBuilder()
    • newBuilder

      public static MaintenanceSummary.Stats.Builder newBuilder(MaintenanceSummary.Stats prototype)
    • toBuilder

      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

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

      public static MaintenanceSummary.Stats getDefaultInstance()
    • parser

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

      public com.google.protobuf.Parser<MaintenanceSummary.Stats> 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 MaintenanceSummary.Stats getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder