public static final class QueryDatabaseResourceGroupsRequest.Builder extends GeneratedMessage.Builder<QueryDatabaseResourceGroupsRequest.Builder> implements QueryDatabaseResourceGroupsRequestOrBuilderQueryDatabaseResourceGroupsRequest is the request to get a list of database groups.
Protobuf type google.cloud.databasecenter.v1beta.QueryDatabaseResourceGroupsRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > QueryDatabaseResourceGroupsRequest.BuilderImplements
QueryDatabaseResourceGroupsRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllSignalFilters(Iterable<? extends SignalFilter> values)
public QueryDatabaseResourceGroupsRequest.Builder addAllSignalFilters(Iterable<? extends SignalFilter> values) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.databasecenter.v1beta.SignalFilter> |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
addAllSignalTypeGroups(Iterable<? extends SignalTypeGroup> values)
public QueryDatabaseResourceGroupsRequest.Builder addAllSignalTypeGroups(Iterable<? extends SignalTypeGroup> values)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<? extends com.google.cloud.databasecenter.v1beta.SignalTypeGroup> |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
addSignalFilters(SignalFilter value)
public QueryDatabaseResourceGroupsRequest.Builder addSignalFilters(SignalFilter value) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SignalFilter |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
addSignalFilters(SignalFilter.Builder builderForValue)
public QueryDatabaseResourceGroupsRequest.Builder addSignalFilters(SignalFilter.Builder builderForValue) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SignalFilter.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
addSignalFilters(int index, SignalFilter value)
public QueryDatabaseResourceGroupsRequest.Builder addSignalFilters(int index, SignalFilter value) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SignalFilter |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
addSignalFilters(int index, SignalFilter.Builder builderForValue)
public QueryDatabaseResourceGroupsRequest.Builder addSignalFilters(int index, SignalFilter.Builder builderForValue) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SignalFilter.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
addSignalFiltersBuilder()
public SignalFilter.Builder addSignalFiltersBuilder() Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SignalFilter.Builder |
|
addSignalFiltersBuilder(int index)
public SignalFilter.Builder addSignalFiltersBuilder(int index) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalFilter.Builder |
|
addSignalTypeGroups(SignalTypeGroup value)
public QueryDatabaseResourceGroupsRequest.Builder addSignalTypeGroups(SignalTypeGroup value)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
SignalTypeGroup |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
addSignalTypeGroups(SignalTypeGroup.Builder builderForValue)
public QueryDatabaseResourceGroupsRequest.Builder addSignalTypeGroups(SignalTypeGroup.Builder builderForValue)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
SignalTypeGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
addSignalTypeGroups(int index, SignalTypeGroup value)
public QueryDatabaseResourceGroupsRequest.Builder addSignalTypeGroups(int index, SignalTypeGroup value)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SignalTypeGroup |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
addSignalTypeGroups(int index, SignalTypeGroup.Builder builderForValue)
public QueryDatabaseResourceGroupsRequest.Builder addSignalTypeGroups(int index, SignalTypeGroup.Builder builderForValue)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SignalTypeGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
addSignalTypeGroupsBuilder()
public SignalTypeGroup.Builder addSignalTypeGroupsBuilder()Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
SignalTypeGroup.Builder |
|
addSignalTypeGroupsBuilder(int index)
public SignalTypeGroup.Builder addSignalTypeGroupsBuilder(int index)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalTypeGroup.Builder |
|
build()
public QueryDatabaseResourceGroupsRequest build()| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest |
|
buildPartial()
public QueryDatabaseResourceGroupsRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest |
|
clear()
public QueryDatabaseResourceGroupsRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
clearFilter()
public QueryDatabaseResourceGroupsRequest.Builder clearFilter()Optional. The expression to filter resources.
The following fields are filterable:
- full_resource_name
- resource_type
- container
- product.type
- product.engine
- product.version
- location
- labels
- resource_category
- machine_config.cpu_count
- machine_config.memory_size_bytes
- machine_config.shard_count
- resource_name
- tags
- backupdr_config.backupdr_managed
edition
The expression is a list of zero or more restrictions combined via logical operators
ANDandOR. WhenANDandORare both used in the expression, parentheses must be appropriately used to group the combinations.Example:
location="us-east1"Example:container="projects/123" OR container="projects/456"Example:(container="projects/123" OR container="projects/456") AND location="us-east1"Example:full_resource_name=~"test"Example:full_resource_name=~"test.*master"
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
clearOrderBy()
public QueryDatabaseResourceGroupsRequest.Builder clearOrderBy()Optional. A field that specifies the sort order of the results.
The following fields are sortable:
- full_resource_name
- product.type
- product.engine
- product.version
- container
- issue_count
- machine_config.vcpu_count
- machine_config.memory_size_bytes
- machine_config.shard_count
- resource_name
- issue_severity
- signal_type
- location
- resource_type
- instance_type
- edition
- metrics.p99_cpu_utilization
- metrics.p95_cpu_utilization
- metrics.current_storage_used_bytes
- metrics.node_count
- metrics.processing_unit_count
- metrics.current_memory_used_bytes
- metrics.peak_storage_utilization
- metrics.peak_number_connections
metrics.peak_memory_utilization
The default order is ascending. Add "DESC" after the field name to indicate descending order. Add "ASC" after the field name to indicate ascending order. It only supports a single field at a time.
For example:
order_by = "full_resource_name"sorts response in ascending orderorder_by = "full_resource_name DESC"sorts response in descending orderorder_by = "issue_count DESC"sorts response in descending order of count of all issues associated with a resource.More explicitly,
order_by = "full_resource_name, product"is not supported.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
clearPageSize()
public QueryDatabaseResourceGroupsRequest.Builder clearPageSize()Optional. If unspecified, at most 50 resource groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
clearPageToken()
public QueryDatabaseResourceGroupsRequest.Builder clearPageToken() Optional. A page token, received from a previous
QueryDatabaseResourceGroupsRequest call. Provide this to retrieve the
subsequent page. All parameters except page_token should match the
parameters in the call that provided the page page token.
string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
clearParent()
public QueryDatabaseResourceGroupsRequest.Builder clearParent() Required. Parent can be a project, a folder, or an organization. The search
is limited to the resources within the scope.
The allowed values are:
- projects/{PROJECT_ID} (e.g., "projects/foo-bar")
- projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
- folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
- organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
clearSignalFilters()
public QueryDatabaseResourceGroupsRequest.Builder clearSignalFilters() Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
clearSignalTypeGroups()
public QueryDatabaseResourceGroupsRequest.Builder clearSignalTypeGroups()Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
getDefaultInstanceForType()
public QueryDatabaseResourceGroupsRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getFilter()
public String getFilter()Optional. The expression to filter resources.
The following fields are filterable:
- full_resource_name
- resource_type
- container
- product.type
- product.engine
- product.version
- location
- labels
- resource_category
- machine_config.cpu_count
- machine_config.memory_size_bytes
- machine_config.shard_count
- resource_name
- tags
- backupdr_config.backupdr_managed
edition
The expression is a list of zero or more restrictions combined via logical operators
ANDandOR. WhenANDandORare both used in the expression, parentheses must be appropriately used to group the combinations.Example:
location="us-east1"Example:container="projects/123" OR container="projects/456"Example:(container="projects/123" OR container="projects/456") AND location="us-east1"Example:full_resource_name=~"test"Example:full_resource_name=~"test.*master"
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The filter. |
getFilterBytes()
public ByteString getFilterBytes()Optional. The expression to filter resources.
The following fields are filterable:
- full_resource_name
- resource_type
- container
- product.type
- product.engine
- product.version
- location
- labels
- resource_category
- machine_config.cpu_count
- machine_config.memory_size_bytes
- machine_config.shard_count
- resource_name
- tags
- backupdr_config.backupdr_managed
edition
The expression is a list of zero or more restrictions combined via logical operators
ANDandOR. WhenANDandORare both used in the expression, parentheses must be appropriately used to group the combinations.Example:
location="us-east1"Example:container="projects/123" OR container="projects/456"Example:(container="projects/123" OR container="projects/456") AND location="us-east1"Example:full_resource_name=~"test"Example:full_resource_name=~"test.*master"
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for filter. |
getOrderBy()
public String getOrderBy()Optional. A field that specifies the sort order of the results.
The following fields are sortable:
- full_resource_name
- product.type
- product.engine
- product.version
- container
- issue_count
- machine_config.vcpu_count
- machine_config.memory_size_bytes
- machine_config.shard_count
- resource_name
- issue_severity
- signal_type
- location
- resource_type
- instance_type
- edition
- metrics.p99_cpu_utilization
- metrics.p95_cpu_utilization
- metrics.current_storage_used_bytes
- metrics.node_count
- metrics.processing_unit_count
- metrics.current_memory_used_bytes
- metrics.peak_storage_utilization
- metrics.peak_number_connections
metrics.peak_memory_utilization
The default order is ascending. Add "DESC" after the field name to indicate descending order. Add "ASC" after the field name to indicate ascending order. It only supports a single field at a time.
For example:
order_by = "full_resource_name"sorts response in ascending orderorder_by = "full_resource_name DESC"sorts response in descending orderorder_by = "issue_count DESC"sorts response in descending order of count of all issues associated with a resource.More explicitly,
order_by = "full_resource_name, product"is not supported.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The orderBy. |
getOrderByBytes()
public ByteString getOrderByBytes()Optional. A field that specifies the sort order of the results.
The following fields are sortable:
- full_resource_name
- product.type
- product.engine
- product.version
- container
- issue_count
- machine_config.vcpu_count
- machine_config.memory_size_bytes
- machine_config.shard_count
- resource_name
- issue_severity
- signal_type
- location
- resource_type
- instance_type
- edition
- metrics.p99_cpu_utilization
- metrics.p95_cpu_utilization
- metrics.current_storage_used_bytes
- metrics.node_count
- metrics.processing_unit_count
- metrics.current_memory_used_bytes
- metrics.peak_storage_utilization
- metrics.peak_number_connections
metrics.peak_memory_utilization
The default order is ascending. Add "DESC" after the field name to indicate descending order. Add "ASC" after the field name to indicate ascending order. It only supports a single field at a time.
For example:
order_by = "full_resource_name"sorts response in ascending orderorder_by = "full_resource_name DESC"sorts response in descending orderorder_by = "issue_count DESC"sorts response in descending order of count of all issues associated with a resource.More explicitly,
order_by = "full_resource_name, product"is not supported.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for orderBy. |
getPageSize()
public int getPageSize()Optional. If unspecified, at most 50 resource groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The pageSize. |
getPageToken()
public String getPageToken() Optional. A page token, received from a previous
QueryDatabaseResourceGroupsRequest call. Provide this to retrieve the
subsequent page. All parameters except page_token should match the
parameters in the call that provided the page page token.
string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The pageToken. |
getPageTokenBytes()
public ByteString getPageTokenBytes() Optional. A page token, received from a previous
QueryDatabaseResourceGroupsRequest call. Provide this to retrieve the
subsequent page. All parameters except page_token should match the
parameters in the call that provided the page page token.
string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for pageToken. |
getParent()
public String getParent() Required. Parent can be a project, a folder, or an organization. The search
is limited to the resources within the scope.
The allowed values are:
- projects/{PROJECT_ID} (e.g., "projects/foo-bar")
- projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
- folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
- organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes() Required. Parent can be a project, a folder, or an organization. The search
is limited to the resources within the scope.
The allowed values are:
- projects/{PROJECT_ID} (e.g., "projects/foo-bar")
- projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
- folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
- organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
getSignalFilters(int index)
public SignalFilter getSignalFilters(int index) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalFilter |
|
getSignalFiltersBuilder(int index)
public SignalFilter.Builder getSignalFiltersBuilder(int index) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalFilter.Builder |
|
getSignalFiltersBuilderList()
public List<SignalFilter.Builder> getSignalFiltersBuilderList() Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSignalFiltersCount()
public int getSignalFiltersCount() Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSignalFiltersList()
public List<SignalFilter> getSignalFiltersList() Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<SignalFilter> |
|
getSignalFiltersOrBuilder(int index)
public SignalFilterOrBuilder getSignalFiltersOrBuilder(int index) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalFilterOrBuilder |
|
getSignalFiltersOrBuilderList()
public List<? extends SignalFilterOrBuilder> getSignalFiltersOrBuilderList() Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.databasecenter.v1beta.SignalFilterOrBuilder> |
|
getSignalTypeGroups(int index)
public SignalTypeGroup getSignalTypeGroups(int index)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalTypeGroup |
|
getSignalTypeGroupsBuilder(int index)
public SignalTypeGroup.Builder getSignalTypeGroupsBuilder(int index)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalTypeGroup.Builder |
|
getSignalTypeGroupsBuilderList()
public List<SignalTypeGroup.Builder> getSignalTypeGroupsBuilderList()Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<Builder> |
|
getSignalTypeGroupsCount()
public int getSignalTypeGroupsCount()Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
|
getSignalTypeGroupsList()
public List<SignalTypeGroup> getSignalTypeGroupsList()Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<SignalTypeGroup> |
|
getSignalTypeGroupsOrBuilder(int index)
public SignalTypeGroupOrBuilder getSignalTypeGroupsOrBuilder(int index)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
SignalTypeGroupOrBuilder |
|
getSignalTypeGroupsOrBuilderList()
public List<? extends SignalTypeGroupOrBuilder> getSignalTypeGroupsOrBuilderList()Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
List<? extends com.google.cloud.databasecenter.v1beta.SignalTypeGroupOrBuilder> |
|
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(QueryDatabaseResourceGroupsRequest other)
public QueryDatabaseResourceGroupsRequest.Builder mergeFrom(QueryDatabaseResourceGroupsRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
QueryDatabaseResourceGroupsRequest |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public QueryDatabaseResourceGroupsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public QueryDatabaseResourceGroupsRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
removeSignalFilters(int index)
public QueryDatabaseResourceGroupsRequest.Builder removeSignalFilters(int index) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
removeSignalTypeGroups(int index)
public QueryDatabaseResourceGroupsRequest.Builder removeSignalTypeGroups(int index)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
int |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
setFilter(String value)
public QueryDatabaseResourceGroupsRequest.Builder setFilter(String value)Optional. The expression to filter resources.
The following fields are filterable:
- full_resource_name
- resource_type
- container
- product.type
- product.engine
- product.version
- location
- labels
- resource_category
- machine_config.cpu_count
- machine_config.memory_size_bytes
- machine_config.shard_count
- resource_name
- tags
- backupdr_config.backupdr_managed
edition
The expression is a list of zero or more restrictions combined via logical operators
ANDandOR. WhenANDandORare both used in the expression, parentheses must be appropriately used to group the combinations.Example:
location="us-east1"Example:container="projects/123" OR container="projects/456"Example:(container="projects/123" OR container="projects/456") AND location="us-east1"Example:full_resource_name=~"test"Example:full_resource_name=~"test.*master"
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe filter to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
setFilterBytes(ByteString value)
public QueryDatabaseResourceGroupsRequest.Builder setFilterBytes(ByteString value)Optional. The expression to filter resources.
The following fields are filterable:
- full_resource_name
- resource_type
- container
- product.type
- product.engine
- product.version
- location
- labels
- resource_category
- machine_config.cpu_count
- machine_config.memory_size_bytes
- machine_config.shard_count
- resource_name
- tags
- backupdr_config.backupdr_managed
edition
The expression is a list of zero or more restrictions combined via logical operators
ANDandOR. WhenANDandORare both used in the expression, parentheses must be appropriately used to group the combinations.Example:
location="us-east1"Example:container="projects/123" OR container="projects/456"Example:(container="projects/123" OR container="projects/456") AND location="us-east1"Example:full_resource_name=~"test"Example:full_resource_name=~"test.*master"
string filter = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for filter to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
setOrderBy(String value)
public QueryDatabaseResourceGroupsRequest.Builder setOrderBy(String value)Optional. A field that specifies the sort order of the results.
The following fields are sortable:
- full_resource_name
- product.type
- product.engine
- product.version
- container
- issue_count
- machine_config.vcpu_count
- machine_config.memory_size_bytes
- machine_config.shard_count
- resource_name
- issue_severity
- signal_type
- location
- resource_type
- instance_type
- edition
- metrics.p99_cpu_utilization
- metrics.p95_cpu_utilization
- metrics.current_storage_used_bytes
- metrics.node_count
- metrics.processing_unit_count
- metrics.current_memory_used_bytes
- metrics.peak_storage_utilization
- metrics.peak_number_connections
metrics.peak_memory_utilization
The default order is ascending. Add "DESC" after the field name to indicate descending order. Add "ASC" after the field name to indicate ascending order. It only supports a single field at a time.
For example:
order_by = "full_resource_name"sorts response in ascending orderorder_by = "full_resource_name DESC"sorts response in descending orderorder_by = "issue_count DESC"sorts response in descending order of count of all issues associated with a resource.More explicitly,
order_by = "full_resource_name, product"is not supported.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe orderBy to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
setOrderByBytes(ByteString value)
public QueryDatabaseResourceGroupsRequest.Builder setOrderByBytes(ByteString value)Optional. A field that specifies the sort order of the results.
The following fields are sortable:
- full_resource_name
- product.type
- product.engine
- product.version
- container
- issue_count
- machine_config.vcpu_count
- machine_config.memory_size_bytes
- machine_config.shard_count
- resource_name
- issue_severity
- signal_type
- location
- resource_type
- instance_type
- edition
- metrics.p99_cpu_utilization
- metrics.p95_cpu_utilization
- metrics.current_storage_used_bytes
- metrics.node_count
- metrics.processing_unit_count
- metrics.current_memory_used_bytes
- metrics.peak_storage_utilization
- metrics.peak_number_connections
metrics.peak_memory_utilization
The default order is ascending. Add "DESC" after the field name to indicate descending order. Add "ASC" after the field name to indicate ascending order. It only supports a single field at a time.
For example:
order_by = "full_resource_name"sorts response in ascending orderorder_by = "full_resource_name DESC"sorts response in descending orderorder_by = "issue_count DESC"sorts response in descending order of count of all issues associated with a resource.More explicitly,
order_by = "full_resource_name, product"is not supported.
string order_by = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for orderBy to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
setPageSize(int value)
public QueryDatabaseResourceGroupsRequest.Builder setPageSize(int value)Optional. If unspecified, at most 50 resource groups will be returned. The maximum value is 1000; values above 1000 will be coerced to 1000.
int32 page_size = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
intThe pageSize to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
setPageToken(String value)
public QueryDatabaseResourceGroupsRequest.Builder setPageToken(String value) Optional. A page token, received from a previous
QueryDatabaseResourceGroupsRequest call. Provide this to retrieve the
subsequent page. All parameters except page_token should match the
parameters in the call that provided the page page token.
string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
setPageTokenBytes(ByteString value)
public QueryDatabaseResourceGroupsRequest.Builder setPageTokenBytes(ByteString value) Optional. A page token, received from a previous
QueryDatabaseResourceGroupsRequest call. Provide this to retrieve the
subsequent page. All parameters except page_token should match the
parameters in the call that provided the page page token.
string page_token = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for pageToken to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
setParent(String value)
public QueryDatabaseResourceGroupsRequest.Builder setParent(String value) Required. Parent can be a project, a folder, or an organization. The search
is limited to the resources within the scope.
The allowed values are:
- projects/{PROJECT_ID} (e.g., "projects/foo-bar")
- projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
- folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
- organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public QueryDatabaseResourceGroupsRequest.Builder setParentBytes(ByteString value) Required. Parent can be a project, a folder, or an organization. The search
is limited to the resources within the scope.
The allowed values are:
- projects/{PROJECT_ID} (e.g., "projects/foo-bar")
- projects/{PROJECT_NUMBER} (e.g., "projects/12345678")
- folders/{FOLDER_NUMBER} (e.g., "folders/1234567")
- organizations/{ORGANIZATION_NUMBER} (e.g., "organizations/123456")
string parent = 1 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
This builder for chaining. |
setSignalFilters(int index, SignalFilter value)
public QueryDatabaseResourceGroupsRequest.Builder setSignalFilters(int index, SignalFilter value) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SignalFilter |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
setSignalFilters(int index, SignalFilter.Builder builderForValue)
public QueryDatabaseResourceGroupsRequest.Builder setSignalFilters(int index, SignalFilter.Builder builderForValue) Optional. Filters based on signals. The list will be ORed together and then
ANDed with the filters field above.
repeated .google.cloud.databasecenter.v1beta.SignalFilter signal_filters = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SignalFilter.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
setSignalTypeGroups(int index, SignalTypeGroup value)
public QueryDatabaseResourceGroupsRequest.Builder setSignalTypeGroups(int index, SignalTypeGroup value)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
value |
SignalTypeGroup |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|
setSignalTypeGroups(int index, SignalTypeGroup.Builder builderForValue)
public QueryDatabaseResourceGroupsRequest.Builder setSignalTypeGroups(int index, SignalTypeGroup.Builder builderForValue)Optional. Groups of signal types that are requested.
repeated .google.cloud.databasecenter.v1beta.SignalTypeGroup signal_type_groups = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
int |
builderForValue |
SignalTypeGroup.Builder |
| Returns | |
|---|---|
| Type | Description |
QueryDatabaseResourceGroupsRequest.Builder |
|