Class AggregateIssueStatsResponse.Builder (0.6.0)

public static final class AggregateIssueStatsResponse.Builder extends 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

Static Methods

getDescriptor()

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

Methods

addAllIssueGroupStats(Iterable<? extends IssueGroupStats> values)

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;

Parameter
Name Description
values Iterable<? extends com.google.cloud.databasecenter.v1beta.IssueGroupStats>
Returns
Type Description
AggregateIssueStatsResponse.Builder

addAllUnreachable(Iterable<String> values)

public AggregateIssueStatsResponse.Builder addAllUnreachable(Iterable<String> values)

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
values Iterable<String>

The unreachable to add.

Returns
Type Description
AggregateIssueStatsResponse.Builder

This builder for chaining.

addIssueGroupStats(IssueGroupStats value)

public AggregateIssueStatsResponse.Builder addIssueGroupStats(IssueGroupStats value)

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
value IssueGroupStats
Returns
Type Description
AggregateIssueStatsResponse.Builder

addIssueGroupStats(IssueGroupStats.Builder builderForValue)

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;

Parameter
Name Description
builderForValue IssueGroupStats.Builder
Returns
Type Description
AggregateIssueStatsResponse.Builder

addIssueGroupStats(int index, IssueGroupStats value)

public AggregateIssueStatsResponse.Builder addIssueGroupStats(int index, IssueGroupStats value)

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;

Parameters
Name Description
index int
value IssueGroupStats
Returns
Type Description
AggregateIssueStatsResponse.Builder

addIssueGroupStats(int index, IssueGroupStats.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue IssueGroupStats.Builder
Returns
Type Description
AggregateIssueStatsResponse.Builder

addIssueGroupStatsBuilder()

public IssueGroupStats.Builder 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;

Returns
Type Description
IssueGroupStats.Builder

addIssueGroupStatsBuilder(int index)

public IssueGroupStats.Builder addIssueGroupStatsBuilder(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.Builder

addUnreachable(String value)

public AggregateIssueStatsResponse.Builder addUnreachable(String value)

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
value String

The unreachable to add.

Returns
Type Description
AggregateIssueStatsResponse.Builder

This builder for chaining.

addUnreachableBytes(ByteString value)

public AggregateIssueStatsResponse.Builder addUnreachableBytes(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];

Parameter
Name Description
value ByteString

The bytes of the unreachable to add.

Returns
Type Description
AggregateIssueStatsResponse.Builder

This builder for chaining.

build()

public AggregateIssueStatsResponse build()
Returns
Type Description
AggregateIssueStatsResponse

buildPartial()

public AggregateIssueStatsResponse buildPartial()
Returns
Type Description
AggregateIssueStatsResponse

clear()

public AggregateIssueStatsResponse.Builder clear()
Returns
Type Description
AggregateIssueStatsResponse.Builder
Overrides

clearIssueGroupStats()

public AggregateIssueStatsResponse.Builder 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;

Returns
Type Description
AggregateIssueStatsResponse.Builder

clearTotalResourceGroupsCount()

public AggregateIssueStatsResponse.Builder clearTotalResourceGroupsCount()

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

int32 total_resource_groups_count = 3;

Returns
Type Description
AggregateIssueStatsResponse.Builder

This builder for chaining.

clearTotalResourcesCount()

public AggregateIssueStatsResponse.Builder clearTotalResourcesCount()

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

int32 total_resources_count = 2;

Returns
Type Description
AggregateIssueStatsResponse.Builder

This builder for chaining.

clearUnreachable()

public AggregateIssueStatsResponse.Builder 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
Type Description
AggregateIssueStatsResponse.Builder

This builder for chaining.

getDefaultInstanceForType()

public AggregateIssueStatsResponse getDefaultInstanceForType()
Returns
Type Description
AggregateIssueStatsResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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

getIssueGroupStatsBuilder(int index)

public IssueGroupStats.Builder getIssueGroupStatsBuilder(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.Builder

getIssueGroupStatsBuilderList()

public List<IssueGroupStats.Builder> 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;

Returns
Type Description
List<Builder>

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>

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AggregateIssueStatsResponse other)

public AggregateIssueStatsResponse.Builder mergeFrom(AggregateIssueStatsResponse other)
Parameter
Name Description
other AggregateIssueStatsResponse
Returns
Type Description
AggregateIssueStatsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public AggregateIssueStatsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AggregateIssueStatsResponse.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public AggregateIssueStatsResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
AggregateIssueStatsResponse.Builder
Overrides

removeIssueGroupStats(int index)

public AggregateIssueStatsResponse.Builder removeIssueGroupStats(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
AggregateIssueStatsResponse.Builder

setIssueGroupStats(int index, IssueGroupStats value)

public AggregateIssueStatsResponse.Builder setIssueGroupStats(int index, IssueGroupStats value)

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;

Parameters
Name Description
index int
value IssueGroupStats
Returns
Type Description
AggregateIssueStatsResponse.Builder

setIssueGroupStats(int index, IssueGroupStats.Builder builderForValue)

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;

Parameters
Name Description
index int
builderForValue IssueGroupStats.Builder
Returns
Type Description
AggregateIssueStatsResponse.Builder

setTotalResourceGroupsCount(int value)

public AggregateIssueStatsResponse.Builder setTotalResourceGroupsCount(int value)

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

int32 total_resource_groups_count = 3;

Parameter
Name Description
value int

The totalResourceGroupsCount to set.

Returns
Type Description
AggregateIssueStatsResponse.Builder

This builder for chaining.

setTotalResourcesCount(int value)

public AggregateIssueStatsResponse.Builder setTotalResourcesCount(int value)

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

int32 total_resources_count = 2;

Parameter
Name Description
value int

The totalResourcesCount to set.

Returns
Type Description
AggregateIssueStatsResponse.Builder

This builder for chaining.

setUnreachable(int index, String value)

public AggregateIssueStatsResponse.Builder setUnreachable(int index, String 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
Name Description
index int

The index to set the value at.

value String

The unreachable to set.

Returns
Type Description
AggregateIssueStatsResponse.Builder

This builder for chaining.