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 Summary
Modifier and TypeMethodDescriptionaddAllIssueStats(Iterable<? extends IssueStats> values) List of issues stats containing count of resources having particular issue category.addIssueStats(int index, IssueStats value) List of issues stats containing count of resources having particular issue category.addIssueStats(int index, IssueStats.Builder builderForValue) List of issues stats containing count of resources having particular issue category.addIssueStats(IssueStats value) List of issues stats containing count of resources having particular issue category.addIssueStats(IssueStats.Builder builderForValue) List of issues stats containing count of resources having particular issue category.List of issues stats containing count of resources having particular issue category.addIssueStatsBuilder(int index) List of issues stats containing count of resources having particular issue category.build()clear()Database resource level health card name.The number of resource groups from the total groups as defined above that are healthy with respect to all of the specified issues.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.List of issues stats containing count of resources having particular issue category.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.Total count of resources returned by the filter for which any of the specified issues are applicable.static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.DescriptorDatabase resource level health card name.com.google.protobuf.ByteStringDatabase resource level health card name.intThe number of resource groups from the total groups as defined above that are healthy with respect to all of the specified issues.intThe number of resources from the total defined above in field total_resources_count that are healthy with respect to all of the specified issues.getIssueStats(int index) List of issues stats containing count of resources having particular issue category.getIssueStatsBuilder(int index) List of issues stats containing count of resources having particular issue category.List of issues stats containing count of resources having particular issue category.intList of issues stats containing count of resources having particular issue category.List of issues stats containing count of resources having particular issue category.getIssueStatsOrBuilder(int index) List of issues stats containing count of resources having particular issue category.List<? extends IssueStatsOrBuilder>List of issues stats containing count of resources having particular issue category.intTotal 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.intTotal count of resources returned by the filter for which any of the specified issues are applicable.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanmergeFrom(IssueGroupStats other) mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) removeIssueStats(int index) List of issues stats containing count of resources having particular issue category.setDisplayName(String value) Database resource level health card name.setDisplayNameBytes(com.google.protobuf.ByteString value) Database resource level health card name.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.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.setIssueStats(int index, IssueStats value) List of issues stats containing count of resources having particular issue category.setIssueStats(int index, IssueStats.Builder builderForValue) List of issues stats containing count of resources having particular issue category.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.setResourcesCount(int value) Total count of resources returned by the filter for which any of the specified issues are applicable.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<IssueGroupStats.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<IssueGroupStats.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<IssueGroupStats.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<IssueGroupStats.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<IssueGroupStats.Builder>- Throws:
IOException
-
getDisplayName
Database resource level health card name. This will corresponds to one of the requested input group names.
string display_name = 1;- Specified by:
getDisplayNamein interfaceIssueGroupStatsOrBuilder- 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:
getDisplayNameBytesin interfaceIssueGroupStatsOrBuilder- Returns:
- The bytes for displayName.
-
setDisplayName
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
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
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:
getResourceGroupsCountin interfaceIssueGroupStatsOrBuilder- Returns:
- The resourceGroupsCount.
-
setResourceGroupsCount
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
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:
getResourcesCountin interfaceIssueGroupStatsOrBuilder- Returns:
- The resourcesCount.
-
setResourcesCount
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
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:
getHealthyResourceGroupsCountin interfaceIssueGroupStatsOrBuilder- Returns:
- The healthyResourceGroupsCount.
-
setHealthyResourceGroupsCount
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
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:
getHealthyResourcesCountin interfaceIssueGroupStatsOrBuilder- Returns:
- The healthyResourcesCount.
-
setHealthyResourcesCount
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
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
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;- Specified by:
getIssueStatsListin interfaceIssueGroupStatsOrBuilder
-
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:
getIssueStatsCountin interfaceIssueGroupStatsOrBuilder
-
getIssueStats
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;- Specified by:
getIssueStatsin interfaceIssueGroupStatsOrBuilder
-
setIssueStats
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
setIssueStats
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
addIssueStats
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
addIssueStats
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
addIssueStats
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
addIssueStats
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
addAllIssueStats
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
clearIssueStats
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
removeIssueStats
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
getIssueStatsBuilder
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
getIssueStatsOrBuilder
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;- Specified by:
getIssueStatsOrBuilderin interfaceIssueGroupStatsOrBuilder
-
getIssueStatsOrBuilderList
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;- Specified by:
getIssueStatsOrBuilderListin interfaceIssueGroupStatsOrBuilder
-
addIssueStatsBuilder
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
addIssueStatsBuilder
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6; -
getIssueStatsBuilderList
List of issues stats containing count of resources having particular issue category.
repeated .google.cloud.databasecenter.v1beta.IssueStats issue_stats = 6;
-