Class IssueGroupStats (0.6.0)

public final class IssueGroupStats extends GeneratedMessage implements IssueGroupStatsOrBuilder

IssueGroupStats refers to stats for a particulare combination of relevant health issues of database resources.

Protobuf type google.cloud.databasecenter.v1beta.IssueGroupStats

Static Fields

DISPLAY_NAME_FIELD_NUMBER

public static final int DISPLAY_NAME_FIELD_NUMBER
Field Value
Type Description
int

HEALTHY_RESOURCES_COUNT_FIELD_NUMBER

public static final int HEALTHY_RESOURCES_COUNT_FIELD_NUMBER
Field Value
Type Description
int

HEALTHY_RESOURCE_GROUPS_COUNT_FIELD_NUMBER

public static final int HEALTHY_RESOURCE_GROUPS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

ISSUE_STATS_FIELD_NUMBER

public static final int ISSUE_STATS_FIELD_NUMBER
Field Value
Type Description
int

RESOURCES_COUNT_FIELD_NUMBER

public static final int RESOURCES_COUNT_FIELD_NUMBER
Field Value
Type Description
int

RESOURCE_GROUPS_COUNT_FIELD_NUMBER

public static final int RESOURCE_GROUPS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IssueGroupStats getDefaultInstance()
Returns
Type Description
IssueGroupStats

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static IssueGroupStats.Builder newBuilder()
Returns
Type Description
IssueGroupStats.Builder

newBuilder(IssueGroupStats prototype)

public static IssueGroupStats.Builder newBuilder(IssueGroupStats prototype)
Parameter
Name Description
prototype IssueGroupStats
Returns
Type Description
IssueGroupStats.Builder

parseDelimitedFrom(InputStream input)

public static IssueGroupStats parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IssueGroupStats parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static IssueGroupStats parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static IssueGroupStats parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static IssueGroupStats parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static IssueGroupStats parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static IssueGroupStats parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static IssueGroupStats parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static IssueGroupStats parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static IssueGroupStats parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static IssueGroupStats parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static IssueGroupStats parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IssueGroupStats
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<IssueGroupStats> parser()
Returns
Type Description
Parser<IssueGroupStats>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public IssueGroupStats getDefaultInstanceForType()
Returns
Type Description
IssueGroupStats

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

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>

getParserForType()

public Parser<IssueGroupStats> getParserForType()
Returns
Type Description
Parser<IssueGroupStats>
Overrides

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.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public IssueGroupStats.Builder newBuilderForType()
Returns
Type Description
IssueGroupStats.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

protected IssueGroupStats.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
IssueGroupStats.Builder
Overrides

toBuilder()

public IssueGroupStats.Builder toBuilder()
Returns
Type Description
IssueGroupStats.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException