public static final class IssueGroupStats.Builder extends GeneratedMessage.Builder<IssueGroupStats.Builder> implements IssueGroupStatsOrBuilderIssueGroupStats refers to stats for a particulare combination of relevant health issues of database resources.
Protobuf type google.cloud.databasecenter.v1beta.IssueGroupStats
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IssueGroupStats.BuilderImplements
IssueGroupStatsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllIssueStats(Iterable<? extends IssueStats> values)
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.databasecenter.v1beta.IssueStats> |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
addIssueStats(IssueStats value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
IssueStats |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
addIssueStats(IssueStats.Builder builderForValue)
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
IssueStats.Builder |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
addIssueStats(int index, IssueStats value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
IssueStats |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
addIssueStats(int index, IssueStats.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
IssueStats.Builder |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
IssueStats.Builder |
|
addIssueStatsBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IssueStats.Builder |
|
build()
public IssueGroupStats build()| Returns | |
|---|---|
| Type | Description |
IssueGroupStats |
|
buildPartial()
public IssueGroupStats buildPartial()| Returns | |
|---|---|
| Type | Description |
IssueGroupStats |
|
clear()
public IssueGroupStats.Builder clear()| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
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 | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
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 | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
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 | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
This builder for chaining. |
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;
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
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 | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
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 | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public IssueGroupStats getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
IssueGroupStats |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
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;
| Returns | |
|---|---|
| Type | Description |
String |
The displayName. |
getDisplayNameBytes()
public ByteString getDisplayNameBytes()Database resource level health card name. This will corresponds to one of the requested input group names.
string display_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for displayName. |
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;
| Returns | |
|---|---|
| Type | Description |
int |
The healthyResourceGroupsCount. |
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;
| Returns | |
|---|---|
| Type | Description |
int |
The healthyResourcesCount. |
getIssueStats(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IssueStats |
|
getIssueStatsBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IssueStats.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
int |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<IssueStats> |
|
getIssueStatsOrBuilder(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IssueStatsOrBuilder |
|
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;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.databasecenter.v1beta.IssueStatsOrBuilder> |
|
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;
| Returns | |
|---|---|
| Type | Description |
int |
The resourceGroupsCount. |
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;
| Returns | |
|---|---|
| Type | Description |
int |
The resourcesCount. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(IssueGroupStats other)
public IssueGroupStats.Builder mergeFrom(IssueGroupStats other)| Parameter | |
|---|---|
| Name | Description |
other |
IssueGroupStats |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public IssueGroupStats.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IssueGroupStats.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
removeIssueStats(int index)
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;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
setDisplayName(String value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe displayName to set. |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
This builder for chaining. |
setDisplayNameBytes(ByteString value)
public IssueGroupStats.Builder setDisplayNameBytes(ByteString value)Database resource level health card name. This will corresponds to one of the requested input group names.
string display_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for displayName to set. |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
This builder for chaining. |
setHealthyResourceGroupsCount(int value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe healthyResourceGroupsCount to set. |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
This builder for chaining. |
setHealthyResourcesCount(int value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe healthyResourcesCount to set. |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
This builder for chaining. |
setIssueStats(int index, IssueStats value)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
IssueStats |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
setIssueStats(int index, IssueStats.Builder builderForValue)
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;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
IssueStats.Builder |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
|
setResourceGroupsCount(int value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe resourceGroupsCount to set. |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
This builder for chaining. |
setResourcesCount(int value)
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;
| Parameter | |
|---|---|
| Name | Description |
value |
intThe resourcesCount to set. |
| Returns | |
|---|---|
| Type | Description |
IssueGroupStats.Builder |
This builder for chaining. |