Class AggregateIssueStatsResponse.Builder

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

public static final class AggregateIssueStatsResponse.Builder extends com.google.protobuf.GeneratedMessage.Builder<AggregateIssueStatsResponse.Builder> implements AggregateIssueStatsResponseOrBuilder
 The response message containing one of more group of relevant health issues
 for database resources.
 
Protobuf type google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse
  • 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<AggregateIssueStatsResponse.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<AggregateIssueStatsResponse.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<AggregateIssueStatsResponse.Builder>
    • getDefaultInstanceForType

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

      Specified by:
      build in interface com.google.protobuf.Message.Builder
      Specified by:
      build in interface com.google.protobuf.MessageLite.Builder
    • buildPartial

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

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

    • isInitialized

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

      public AggregateIssueStatsResponse.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<AggregateIssueStatsResponse.Builder>
      Throws:
      IOException
    • getIssueGroupStatsList

      public List<IssueGroupStats> getIssueGroupStatsList()
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
      Specified by:
      getIssueGroupStatsList in interface AggregateIssueStatsResponseOrBuilder
    • getIssueGroupStatsCount

      public int getIssueGroupStatsCount()
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
      Specified by:
      getIssueGroupStatsCount in interface AggregateIssueStatsResponseOrBuilder
    • getIssueGroupStats

      public IssueGroupStats getIssueGroupStats(int index)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
      Specified by:
      getIssueGroupStats in interface AggregateIssueStatsResponseOrBuilder
    • setIssueGroupStats

      public AggregateIssueStatsResponse.Builder setIssueGroupStats(int index, IssueGroupStats value)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • setIssueGroupStats

      public AggregateIssueStatsResponse.Builder setIssueGroupStats(int index, IssueGroupStats.Builder builderForValue)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • addIssueGroupStats

      public AggregateIssueStatsResponse.Builder addIssueGroupStats(IssueGroupStats value)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • addIssueGroupStats

      public AggregateIssueStatsResponse.Builder addIssueGroupStats(int index, IssueGroupStats value)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • addIssueGroupStats

      public AggregateIssueStatsResponse.Builder addIssueGroupStats(IssueGroupStats.Builder builderForValue)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • addIssueGroupStats

      public AggregateIssueStatsResponse.Builder addIssueGroupStats(int index, IssueGroupStats.Builder builderForValue)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • addAllIssueGroupStats

      public AggregateIssueStatsResponse.Builder addAllIssueGroupStats(Iterable<? extends IssueGroupStats> values)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • clearIssueGroupStats

      public AggregateIssueStatsResponse.Builder clearIssueGroupStats()
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • removeIssueGroupStats

      public AggregateIssueStatsResponse.Builder removeIssueGroupStats(int index)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • getIssueGroupStatsBuilder

      public IssueGroupStats.Builder getIssueGroupStatsBuilder(int index)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • getIssueGroupStatsOrBuilder

      public IssueGroupStatsOrBuilder getIssueGroupStatsOrBuilder(int index)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
      Specified by:
      getIssueGroupStatsOrBuilder in interface AggregateIssueStatsResponseOrBuilder
    • getIssueGroupStatsOrBuilderList

      public List<? extends IssueGroupStatsOrBuilder> getIssueGroupStatsOrBuilderList()
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
      Specified by:
      getIssueGroupStatsOrBuilderList in interface AggregateIssueStatsResponseOrBuilder
    • addIssueGroupStatsBuilder

      public IssueGroupStats.Builder addIssueGroupStatsBuilder()
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • addIssueGroupStatsBuilder

      public IssueGroupStats.Builder addIssueGroupStatsBuilder(int index)
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • getIssueGroupStatsBuilderList

      public List<IssueGroupStats.Builder> getIssueGroupStatsBuilderList()
       List of issue group stats where each group contains stats for resources
       having a particular combination of relevant issues.
       
      repeated .google.cloud.databasecenter.v1beta.IssueGroupStats issue_group_stats = 1;
    • getTotalResourcesCount

      public int getTotalResourcesCount()
       Total count of the resources filtered in based on the user given filter.
       
      int32 total_resources_count = 2;
      Specified by:
      getTotalResourcesCount in interface AggregateIssueStatsResponseOrBuilder
      Returns:
      The totalResourcesCount.
    • setTotalResourcesCount

      public AggregateIssueStatsResponse.Builder setTotalResourcesCount(int value)
       Total count of the resources filtered in based on the user given filter.
       
      int32 total_resources_count = 2;
      Parameters:
      value - The totalResourcesCount to set.
      Returns:
      This builder for chaining.
    • clearTotalResourcesCount

      public AggregateIssueStatsResponse.Builder clearTotalResourcesCount()
       Total count of the resources filtered in based on the user given filter.
       
      int32 total_resources_count = 2;
      Returns:
      This builder for chaining.
    • getTotalResourceGroupsCount

      public int getTotalResourceGroupsCount()
       Total count of the resource filtered in based on the user given filter.
       
      int32 total_resource_groups_count = 3;
      Specified by:
      getTotalResourceGroupsCount in interface AggregateIssueStatsResponseOrBuilder
      Returns:
      The totalResourceGroupsCount.
    • setTotalResourceGroupsCount

      public AggregateIssueStatsResponse.Builder setTotalResourceGroupsCount(int value)
       Total count of the resource filtered in based on the user given filter.
       
      int32 total_resource_groups_count = 3;
      Parameters:
      value - The totalResourceGroupsCount to set.
      Returns:
      This builder for chaining.
    • clearTotalResourceGroupsCount

      public AggregateIssueStatsResponse.Builder clearTotalResourceGroupsCount()
       Total count of the resource filtered in based on the user given filter.
       
      int32 total_resource_groups_count = 3;
      Returns:
      This builder for chaining.
    • getUnreachableList

      public com.google.protobuf.ProtocolStringList getUnreachableList()
       Unordered list. List of unreachable regions from where data could not be
       retrieved.
       
      repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableList in interface AggregateIssueStatsResponseOrBuilder
      Returns:
      A list containing the unreachable.
    • getUnreachableCount

      public int getUnreachableCount()
       Unordered list. List of unreachable regions from where data could not be
       retrieved.
       
      repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableCount in interface AggregateIssueStatsResponseOrBuilder
      Returns:
      The count of unreachable.
    • getUnreachable

      public String getUnreachable(int index)
       Unordered list. List of unreachable regions from where data could not be
       retrieved.
       
      repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachable in interface AggregateIssueStatsResponseOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The unreachable at the given index.
    • getUnreachableBytes

      public com.google.protobuf.ByteString getUnreachableBytes(int index)
       Unordered list. List of unreachable regions from where data could not be
       retrieved.
       
      repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      Specified by:
      getUnreachableBytes in interface AggregateIssueStatsResponseOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the unreachable at the given index.
    • setUnreachable

      public AggregateIssueStatsResponse.Builder setUnreachable(int index, String value)
       Unordered list. List of unreachable regions from where data could not be
       retrieved.
       
      repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      index - The index to set the value at.
      value - The unreachable to set.
      Returns:
      This builder for chaining.
    • addUnreachable

      public AggregateIssueStatsResponse.Builder addUnreachable(String value)
       Unordered list. List of unreachable regions from where data could not be
       retrieved.
       
      repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      value - The unreachable to add.
      Returns:
      This builder for chaining.
    • addAllUnreachable

      public AggregateIssueStatsResponse.Builder addAllUnreachable(Iterable<String> values)
       Unordered list. List of unreachable regions from where data could not be
       retrieved.
       
      repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      values - The unreachable to add.
      Returns:
      This builder for chaining.
    • clearUnreachable

      public AggregateIssueStatsResponse.Builder clearUnreachable()
       Unordered list. List of unreachable regions from where data could not be
       retrieved.
       
      repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      Returns:
      This builder for chaining.
    • addUnreachableBytes

      public AggregateIssueStatsResponse.Builder addUnreachableBytes(com.google.protobuf.ByteString value)
       Unordered list. List of unreachable regions from where data could not be
       retrieved.
       
      repeated string unreachable = 4 [(.google.api.field_behavior) = UNORDERED_LIST];
      Parameters:
      value - The bytes of the unreachable to add.
      Returns:
      This builder for chaining.