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 Summary
Modifier and TypeMethodDescriptionaddAllIssueGroupStats(Iterable<? extends IssueGroupStats> values) List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.addAllUnreachable(Iterable<String> values) Unordered list.addIssueGroupStats(int index, IssueGroupStats value) List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.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.List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.addIssueGroupStats(IssueGroupStats.Builder builderForValue) List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.addIssueGroupStatsBuilder(int index) List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.addUnreachable(String value) Unordered list.addUnreachableBytes(com.google.protobuf.ByteString value) Unordered list.build()clear()List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.Total count of the resource filtered in based on the user given filter.Total count of the resources filtered in based on the user given filter.Unordered list.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorgetIssueGroupStats(int index) List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.getIssueGroupStatsBuilder(int index) List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.intList of issue group stats where each group contains stats for resources having a particular combination of relevant issues.List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.getIssueGroupStatsOrBuilder(int index) List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.List<? extends IssueGroupStatsOrBuilder>List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.intTotal count of the resource filtered in based on the user given filter.intTotal count of the resources filtered in based on the user given filter.getUnreachable(int index) Unordered list.com.google.protobuf.ByteStringgetUnreachableBytes(int index) Unordered list.intUnordered list.com.google.protobuf.ProtocolStringListUnordered list.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeIssueGroupStats(int index) List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.setIssueGroupStats(int index, IssueGroupStats value) List of issue group stats where each group contains stats for resources having a particular combination of relevant issues.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.setTotalResourceGroupsCount(int value) Total count of the resource filtered in based on the user given filter.setTotalResourcesCount(int value) Total count of the resources filtered in based on the user given filter.setUnreachable(int index, String value) Unordered list.Methods inherited from class com.google.protobuf.GeneratedMessage.Builder
addRepeatedField, clearField, clearOneof, clone, getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownFields, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setField, setRepeatedField, setUnknownFields, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage.Builder<AggregateIssueStatsResponse.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessage.Builder<AggregateIssueStatsResponse.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessage.Builder<AggregateIssueStatsResponse.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AggregateIssueStatsResponse.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AggregateIssueStatsResponse.Builder>- Throws:
IOException
-
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:
getIssueGroupStatsListin interfaceAggregateIssueStatsResponseOrBuilder
-
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:
getIssueGroupStatsCountin interfaceAggregateIssueStatsResponseOrBuilder
-
getIssueGroupStats
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:
getIssueGroupStatsin interfaceAggregateIssueStatsResponseOrBuilder
-
setIssueGroupStats
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
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
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
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
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
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
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:
getIssueGroupStatsOrBuilderin interfaceAggregateIssueStatsResponseOrBuilder
-
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:
getIssueGroupStatsOrBuilderListin interfaceAggregateIssueStatsResponseOrBuilder
-
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
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
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:
getTotalResourcesCountin interfaceAggregateIssueStatsResponseOrBuilder- Returns:
- The totalResourcesCount.
-
setTotalResourcesCount
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
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:
getTotalResourceGroupsCountin interfaceAggregateIssueStatsResponseOrBuilder- Returns:
- The totalResourceGroupsCount.
-
setTotalResourceGroupsCount
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
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:
getUnreachableListin interfaceAggregateIssueStatsResponseOrBuilder- 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:
getUnreachableCountin interfaceAggregateIssueStatsResponseOrBuilder- Returns:
- The count of unreachable.
-
getUnreachable
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:
getUnreachablein interfaceAggregateIssueStatsResponseOrBuilder- 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:
getUnreachableBytesin interfaceAggregateIssueStatsResponseOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the unreachable at the given index.
-
setUnreachable
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
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
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
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.
-