public static final class ListManagedInstancesRegionInstanceGroupManagersRequest.Builder extends GeneratedMessage.Builder<ListManagedInstancesRegionInstanceGroupManagersRequest.Builder> implements ListManagedInstancesRegionInstanceGroupManagersRequestOrBuilderA request message for RegionInstanceGroupManagers.ListManagedInstances. See the method description for details.
Protobuf type
google.cloud.compute.v1.ListManagedInstancesRegionInstanceGroupManagersRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > ListManagedInstancesRegionInstanceGroupManagersRequest.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public ListManagedInstancesRegionInstanceGroupManagersRequest build()| Returns | |
|---|---|
| Type | Description |
ListManagedInstancesRegionInstanceGroupManagersRequest |
|
buildPartial()
public ListManagedInstancesRegionInstanceGroupManagersRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
ListManagedInstancesRegionInstanceGroupManagersRequest |
|
clear()
public ListManagedInstancesRegionInstanceGroupManagersRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ListManagedInstancesRegionInstanceGroupManagersRequest.Builder |
|
clearFilter()
public ListManagedInstancesRegionInstanceGroupManagersRequest.Builder clearFilter()A filter expression that filters resources listed in the response. Most Compute resources support two types of filter expressions: expressions that support regular expressions and expressions that follow API improvement proposal AIP-160. These two types of filter expressions cannot be mixed in one request.
If you want to use AIP-160, your expression must specify the field name, an
operator, and the value that you want to use for filtering. The value
must be a string, a number, or a boolean. The operator
must be either =, !=, >, <, <=, >= or :.
For example, if you are filtering Compute Engine instances, you can
exclude instances named example-instance by specifying
name != example-instance.
The : comparison can be used to test whether a key has been defined.
For example, to find all objects with owner label use:
`
labels.owner:
You can also filter nested fields. For example, you could specify
scheduling.automaticRestart = false to include instances only
if they are not scheduled for automatic restarts. You can use filtering
on nested fields to filter based onresource labels.
To filter on multiple expressions, provide each separate expression within
parentheses. For example:
(scheduling.automaticRestart = true)
(cpuPlatform = "Intel Skylake")
By default, each expression is an AND expression. However, you
can include AND and OR expressions explicitly.
For example:
(cpuPlatform = "Intel Skylake") OR
(cpuPlatform = "Intel Broadwell") AND
(scheduling.automaticRestart = true)
If you want to use a regular expression, use the eq (equal) or ne
(not equal) operator against a single un-parenthesized expression with or
without quotes or against multiple parenthesized expressions. Examples:
fieldname eq unquoted literal
fieldname eq 'single quoted literal'
fieldname eq "double quoted literal"
(fieldname1 eq literal) (fieldname2 ne "literal")
The literal value is interpreted as a regular expression using GoogleRE2 library syntax.
The literal value must match the entire field.
For example, to filter for instances that do not end with name "instance",
you would use name ne .*instance`.
You cannot combine constraints on multiple fields using regular expressions.
optional string filter = 336120696;
| Returns | |
|---|---|
| Type | Description |
ListManagedInstancesRegionInstanceGroupManagersRequest.Builder |
This builder for chaining. |
clearInstanceGroupManager()
public ListManagedInstancesRegionInstanceGroupManagersRequest.Builder clearInstanceGroupManager()The name of the managed instance group.
string instance_group_manager = 249363395 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
ListManagedInstancesRegionInstanceGroupManagersRequest.Builder |
This builder for chaining. |
clearMaxResults()
public ListManagedInstancesRegionInstanceGroupManagersRequest.Builder clearMaxResults() The maximum number of results per page that should be returned.
If the number of available results is larger than maxResults,
Compute Engine returns a nextPageToken that can be used to get
the next page of results in subsequent list requests. Acceptable values are
0 to 500, inclusive. (Default: 500)
optional uint32 max_results = 54715419;
| Returns | |
|---|---|
| Type | Description |
ListManagedInstancesRegionInstanceGroupManagersRequest.Builder |
This builder for chaining. |
clearOrderBy()
public ListManagedInstancesRegionInstanceGroupManagersRequest.Builder clearOrderBy()Sorts list results by a certain order. By default, results are returned in al