Class IssueGroupStats.Builder

java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessage.Builder<IssueGroupStats.Builder>
com.google.cloud.databasecenter.v1beta.IssueGroupStats.Builder
All Implemented Interfaces:
IssueGroupStatsOrBuilder, com.google.protobuf.Message.Builder, com.google.protobuf.MessageLite.Builder, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Cloneable
Enclosing class:
IssueGroupStats

public static final class IssueGroupStats.Builder extends com.google.protobuf.GeneratedMessage.Builder<IssueGroupStats.Builder> implements IssueGroupStatsOrBuilder
 IssueGroupStats refers to stats for a particulare combination of relevant
 health issues of database resources.
 
Protobuf type google.cloud.databasecenter.v1beta.IssueGroupStats
  • 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.Builder<IssueGroupStats.Builder>
    • clear

      public IssueGroupStats.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.GeneratedMessage.Builder<IssueGroupStats.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.GeneratedMessage.Builder<IssueGroupStats.Builder>
    • getDefaultInstanceForType

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

      public IssueGroupStats build()
      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

      public IssueGroupStats buildPartial()
      Specified by:
      buildPartial in interface com.google.protobuf.Message.Builder
      Specified by:
      buildPartial in interface com.google.protobuf.MessageLite.Builder
    • mergeFrom

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

      public IssueGroupStats.Builder mergeFrom(IssueGroupStats other)
    • isInitialized

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

      public IssueGroupStats.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<IssueGroupStats.Builder>
      Throws:
      IOException
    • getDisplayName

      public String getDisplayName()
       Database resource level health card name. This will corresponds to one of
       the requested input group names.
       
      string display_name = 1;
      Specified by:
      getDisplayName in interface IssueGroupStatsOrBuilder
      Returns:
      The displayName.
    • getDisplayNameBytes

      public com.google.protobuf.ByteString getDisplayNameBytes()
       Database resource level health card name. This will corresponds to one of
       the requested input group names.
       
      string display_name = 1;
      Specified by:
      getDisplayNameBytes in interface IssueGroupStatsOrBuilder
      Returns:
      The bytes for displayName.
    • setDisplayName

      public IssueGroupStats.Builder setDisplayName(String value)
       Database resource level health card name. This will corresponds to one of
       the requested input group names.
       
      string display_name = 1;
      Parameters:
      value - The displayName to set.
      Returns:
      This builder for chaining.
    • clearDisplayName

      public IssueGroupStats.Builder clearDisplayName()
       Database resource level health card name. This will corresponds to one of
       the requested input group names.
       
      string display_name = 1;
      Returns:
      This builder for chaining.
    • setDisplayNameBytes

      public IssueGroupStats.Builder setDisplayNameBytes(com.google.protobuf.ByteString value)
       Database resource level health card name. This will corresponds to one of
       the requested input group names.
       
      string display_name = 1;
      Parameters:
      value - The bytes for displayName to set.
      Returns:
      This builder for chaining.
    • getResourceGroupsCount

      public int getResourceGroupsCount()
       Total count of the groups of resources returned by the filter that
       also have one or more resources for which any of the specified issues
       are applicable.
       
      int32 resource_groups_count = 2;
      Specified by:
      getResourceGroupsCount in interface IssueGroupStatsOrBuilder
      Returns:
      The resourceGroupsCount.
    • setResourceGroupsCount

      public IssueGroupStats.Builder setResourceGroupsCount(int value)
       Total count of the groups of resources returned by the filter that
       also have one or more resources for which any of the specified issues
       are applicable.
       
      int32 resource_groups_count = 2;
      Parameters:
      value - The resourceGroupsCount to set.
      Returns:
      This builder for chaining.
    • clearResourceGroupsCount

      public IssueGroupStats.Builder clearResourceGroupsCount()
       Total count of the groups of resources returned by the filter that
       also have one or more resources for which any of the specified issues
       are applicable.
       
      int32 resource_groups_count = 2;
      Returns:
      This builder for chaining.
    • getResourcesCount

      public int getResourcesCount()
       Total count of resources returned by the filter for which any of the
       specified issues are applicable.
       
      int32 resources_count = 3;
      Specified by:
      getResourcesCount in interface IssueGroupStatsOrBuilder
      Returns:
      The resourcesCount.
    • setResourcesCount

      public IssueGroupStats.Builder setResourcesCount(int value)
       Total count of resources returned by the filter for which any of the
       specified issues are applicable.
       
      int32 resources_count = 3;
      Parameters:
      value - The resourcesCount to set.
      Returns:
      This builder for chaining.
    • clearResourcesCount

      public IssueGroupStats.Builder clearResourcesCount()
       Total count of resources returned by the filter for which any of the
       specified issues are applicable.
       
      int32 resources_count = 3;
      Returns:
      This builder for chaining.
    • getHealthyResourceGroupsCount

      public int getHealthyResourceGroupsCount()
       The number of resource groups from the total groups as defined above
       that are healthy with respect to all of the specified issues.
       
      int32 healthy_resource_groups_count = 4;
      Specified by:
      getHealthyResourceGroupsCount in interface IssueGroupStatsOrBuilder
      Returns:
      The healthyResourceGroupsCount.
    • setHealthyResourceGroupsCount

      public IssueGroupStats.Builder setHealthyResourceGroupsCount(int value)
       The number of resource groups from the total groups as defined above
       that are healthy with respect to all of the specified issues.
       
      int32 healthy_resource_groups_count = 4;
      Parameters:
      value - The healthyResourceGroupsCount to set.
      Returns:
      This builder for chaining.
    • clearHealthyResourceGroupsCount

      public IssueGroupStats.Builder clearHealthyResourceGroupsCount()
       The number of resource groups from the total groups as defined above
       that are healthy with respect to all of the specified issues.
       
      int32 healthy_resource_groups_count = 4;
      Returns:
      This builder for chaining.
    • getHealthyResourcesCount

      public int getHealthyResourcesCount()
       The number of resources from the total defined above in field
       total_resources_count that are healthy with respect to all of the specified
       issues.
       
      int32 healthy_resources_count = 5;
      Specified by:
      getHealthyResourcesCount in interface IssueGroupStatsOrBuilder
      Returns:
      The healthyResourcesCount.
    • setHealthyResourcesCount

      public IssueGroupStats.Builder setHealthyResourcesCount(int value)
       The number of resources from the total defined above in field
       total_resources_count that are healthy with respect to all of the specified
       issues.
       
      int32 healthy_resources_count = 5;
      Parameters:
      value - The healthyResourcesCount to set.
      Returns:
      This builder for chaining.
    • clearHealthyResourcesCount

      public IssueGroupStats.Builder clearHealthyResourcesCount()
       The number of resources from the total defined above in field
       total_resources_count that are healthy with respect to all of the specified
       issues.
       
      int32 healthy_resources_count = 5;
      Returns:
      This builder for chaining.
    • getIssueStatsList

      public List<IssueStats> getIssueStatsList()
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
      Specified by:
      getIssueStatsList in interface IssueGroupStatsOrBuilder
    • getIssueStatsCount

      public int getIssueStatsCount()
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
      Specified by:
      getIssueStatsCount in interface IssueGroupStatsOrBuilder
    • getIssueStats

      public IssueStats getIssueStats(int index)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
      Specified by:
      getIssueStats in interface IssueGroupStatsOrBuilder
    • setIssueStats

      public IssueGroupStats.Builder setIssueStats(int index, IssueStats value)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • setIssueStats

      public IssueGroupStats.Builder setIssueStats(int index, IssueStats.Builder builderForValue)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • addIssueStats

      public IssueGroupStats.Builder addIssueStats(IssueStats value)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • addIssueStats

      public IssueGroupStats.Builder addIssueStats(int index, IssueStats value)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • addIssueStats

      public IssueGroupStats.Builder addIssueStats(IssueStats.Builder builderForValue)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • addIssueStats

      public IssueGroupStats.Builder addIssueStats(int index, IssueStats.Builder builderForValue)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • addAllIssueStats

      public IssueGroupStats.Builder addAllIssueStats(Iterable<? extends IssueStats> values)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • clearIssueStats

      public IssueGroupStats.Builder clearIssueStats()
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • removeIssueStats

      public IssueGroupStats.Builder removeIssueStats(int index)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • getIssueStatsBuilder

      public IssueStats.Builder getIssueStatsBuilder(int index)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • getIssueStatsOrBuilder

      public IssueStatsOrBuilder getIssueStatsOrBuilder(int index)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
      Specified by:
      getIssueStatsOrBuilder in interface IssueGroupStatsOrBuilder
    • getIssueStatsOrBuilderList

      public List<? extends IssueStatsOrBuilder> getIssueStatsOrBuilderList()
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
      Specified by:
      getIssueStatsOrBuilderList in interface IssueGroupStatsOrBuilder
    • addIssueStatsBuilder

      public IssueStats.Builder addIssueStatsBuilder()
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • addIssueStatsBuilder

      public IssueStats.Builder addIssueStatsBuilder(int index)
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
    • getIssueStatsBuilderList

      public List<IssueStats.Builder> getIssueStatsBuilderList()
       List of issues stats containing count of resources having particular issue
       category.
       
      repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;