Class AggregateIssueStatsResponse (0.6.0)

public final class AggregateIssueStatsResponse extends GeneratedMessage implements AggregateIssueStatsResponseOrBuilder

The response message containing one of more group of relevant health issues for database resources.

Protobuf type google.cloud.databasecenter.v1beta.AggregateIssueStatsResponse

Static Fields

ISSUE_GROUP_STATS_FIELD_NUMBER

public static final int ISSUE_GROUP_STATS_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_RESOURCES_COUNT_FIELD_NUMBER

public static final int TOTAL_RESOURCES_COUNT_FIELD_NUMBER
Field Value
Type Description
int

TOTAL_RESOURCE_GROUPS_COUNT_FIELD_NUMBER

public static final int TOTAL_RESOURCE_GROUPS_COUNT_FIELD_NUMBER
Field Value
Type Description
int

UNREACHABLE_FIELD_NUMBER

public static final int UNREACHABLE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AggregateIssueStatsResponse getDefaultInstance()
Returns
Type Description
AggregateIssueStatsResponse

getDescriptor()

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

newBuilder()

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

newBuilder(AggregateIssueStatsResponse prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public AggregateIssueStatsResponse getDefaultInstanceForType()
Returns
Type Description
AggregateIssueStatsResponse

getIssueGroupStats(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
IssueGroupStats

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;

Returns
Type Description
int

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;

Returns
Type Description
List<IssueGroupStats>

getIssueGroupStatsOrBuilder(int index)

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;

Parameter
Name Description
index int
Returns
Type Description
IssueGroupStatsOrBuilder

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;

Returns
Type Description
List<? extends com.google.cloud.databasecenter.v1beta.IssueGroupStatsOrBuilder>

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTotalResourceGroupsCount()

public int getTotalResourceGroupsCount()

Total count of the resource filtered in based on the user given filter.

int32 total_resource_groups_count = 3;

Returns
Type Description
int

The totalResourceGroupsCount.

getTotalResourcesCount()

public int getTotalResourcesCount()

Total count of the resources filtered in based on the user given filter.

int32 total_resources_count = 2;

Returns
Type Description
int

The totalResourcesCount.

getUnreachable(int index)

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];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The unreachable at the given index.

getUnreachableBytes(int index)

public 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];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the unreachable at the given index.

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];

Returns
Type Description
int

The count of unreachable.

getUnreachableList()

public 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];

Returns
Type Description
ProtocolStringList

A list containing the unreachable.

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 AggregateIssueStatsResponse.Builder newBuilderForType()
Returns
Type Description
AggregateIssueStatsResponse.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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