public static final class AggregateQueryStatsResponse.Builder extends GeneratedMessage.Builder<AggregateQueryStatsResponse.Builder> implements AggregateQueryStatsResponseOrBuilderThe response message containing relevant query stats for database resources.
Protobuf type google.cloud.databasecenter.v1beta.AggregateQueryStatsResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AggregateQueryStatsResponse.BuilderImplements
AggregateQueryStatsResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllQueryStats(Iterable<? extends QueryStatsInfo> values)
public AggregateQueryStatsResponse.Builder addAllQueryStats(Iterable<? extends QueryStatsInfo> values)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.databasecenter.v1beta.QueryStatsInfo> |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
addAllUnreachable(Iterable<String> values)
public AggregateQueryStatsResponse.Builder addAllUnreachable(Iterable<String> values)Unordered list. List of unreachable regions from where data could not be retrieved.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
This builder for chaining. |
addQueryStats(QueryStatsInfo value)
public AggregateQueryStatsResponse.Builder addQueryStats(QueryStatsInfo value)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
QueryStatsInfo |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
addQueryStats(QueryStatsInfo.Builder builderForValue)
public AggregateQueryStatsResponse.Builder addQueryStats(QueryStatsInfo.Builder builderForValue)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
QueryStatsInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
addQueryStats(int index, QueryStatsInfo value)
public AggregateQueryStatsResponse.Builder addQueryStats(int index, QueryStatsInfo value)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
QueryStatsInfo |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
addQueryStats(int index, QueryStatsInfo.Builder builderForValue)
public AggregateQueryStatsResponse.Builder addQueryStats(int index, QueryStatsInfo.Builder builderForValue)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
QueryStatsInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
addQueryStatsBuilder()
public QueryStatsInfo.Builder addQueryStatsBuilder()List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Returns | |
|---|---|
| Type | Description |
QueryStatsInfo.Builder |
|
addQueryStatsBuilder(int index)
public QueryStatsInfo.Builder addQueryStatsBuilder(int index)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QueryStatsInfo.Builder |
|
addUnreachable(String value)
public AggregateQueryStatsResponse.Builder addUnreachable(String value)Unordered list. List of unreachable regions from where data could not be retrieved.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
This builder for chaining. |
addUnreachableBytes(ByteString value)
public AggregateQueryStatsResponse.Builder addUnreachableBytes(ByteString value)Unordered list. List of unreachable regions from where data could not be retrieved.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the unreachable to add. |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
This builder for chaining. |
build()
public AggregateQueryStatsResponse build()| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse |
|
buildPartial()
public AggregateQueryStatsResponse buildPartial()| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse |
|
clear()
public AggregateQueryStatsResponse.Builder clear()| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
clearNextPageToken()
public AggregateQueryStatsResponse.Builder clearNextPageToken() A token that can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
This builder for chaining. |
clearQueryStats()
public AggregateQueryStatsResponse.Builder clearQueryStats()List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
clearUnreachable()
public AggregateQueryStatsResponse.Builder clearUnreachable()Unordered list. List of unreachable regions from where data could not be retrieved.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public AggregateQueryStatsResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getNextPageToken()
public String getNextPageToken() A token that can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
String |
The nextPageToken. |
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes() A token that can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for nextPageToken. |
getQueryStats(int index)
public QueryStatsInfo getQueryStats(int index)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QueryStatsInfo |
|
getQueryStatsBuilder(int index)
public QueryStatsInfo.Builder getQueryStatsBuilder(int index)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QueryStatsInfo.Builder |
|
getQueryStatsBuilderList()
public List<QueryStatsInfo.Builder> getQueryStatsBuilderList()List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getQueryStatsCount()
public int getQueryStatsCount()List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Returns | |
|---|---|
| Type | Description |
int |
|
getQueryStatsList()
public List<QueryStatsInfo> getQueryStatsList()List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Returns | |
|---|---|
| Type | Description |
List<QueryStatsInfo> |
|
getQueryStatsOrBuilder(int index)
public QueryStatsInfoOrBuilder getQueryStatsOrBuilder(int index)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QueryStatsInfoOrBuilder |
|
getQueryStatsOrBuilderList()
public List<? extends QueryStatsInfoOrBuilder> getQueryStatsOrBuilderList()List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.databasecenter.v1beta.QueryStatsInfoOrBuilder> |
|
getUnreachable(int index)
public String getUnreachable(int index)Unordered list. List of unreachable regions from where data could not be retrieved.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe 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 = 3 [(.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 = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the unreachable. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AggregateQueryStatsResponse other)
public AggregateQueryStatsResponse.Builder mergeFrom(AggregateQueryStatsResponse other)| Parameter | |
|---|---|
| Name | Description |
other |
AggregateQueryStatsResponse |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AggregateQueryStatsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AggregateQueryStatsResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
removeQueryStats(int index)
public AggregateQueryStatsResponse.Builder removeQueryStats(int index)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
setNextPageToken(String value)
public AggregateQueryStatsResponse.Builder setNextPageToken(String value) A token that can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public AggregateQueryStatsResponse.Builder setNextPageTokenBytes(ByteString value) A token that can be sent as page_token to retrieve the next page.
If this field is omitted, there are no subsequent pages.
string next_page_token = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
This builder for chaining. |
setQueryStats(int index, QueryStatsInfo value)
public AggregateQueryStatsResponse.Builder setQueryStats(int index, QueryStatsInfo value)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
QueryStatsInfo |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
setQueryStats(int index, QueryStatsInfo.Builder builderForValue)
public AggregateQueryStatsResponse.Builder setQueryStats(int index, QueryStatsInfo.Builder builderForValue)List of query stats where each group contains stats for resources having a particular combination of relevant query stats.
repeated .google.cloud.databasecenter.v1beta.QueryStatsInfo query_stats = 1;
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
QueryStatsInfo.Builder |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
|
setUnreachable(int index, String value)
public AggregateQueryStatsResponse.Builder setUnreachable(int index, String value)Unordered list. List of unreachable regions from where data could not be retrieved.
repeated string unreachable = 3 [(.google.api.field_behavior) = UNORDERED_LIST];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe unreachable to set. |
| Returns | |
|---|---|
| Type | Description |
AggregateQueryStatsResponse.Builder |
This builder for chaining. |