Package com.google.cloud.compute.v1
Class ListInstancesRegionInstanceGroupsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
- com.google.cloud.compute.v1.ListInstancesRegionInstanceGroupsRequest.Builder
-
- All Implemented Interfaces:
ListInstancesRegionInstanceGroupsRequestOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- ListInstancesRegionInstanceGroupsRequest
public static final class ListInstancesRegionInstanceGroupsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder> implements ListInstancesRegionInstanceGroupsRequestOrBuilder
A request message for RegionInstanceGroups.ListInstances. See the method description for details.
Protobuf typegoogle.cloud.compute.v1.ListInstancesRegionInstanceGroupsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListInstancesRegionInstanceGroupsRequest.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListInstancesRegionInstanceGroupsRequest
build()
ListInstancesRegionInstanceGroupsRequest
buildPartial()
ListInstancesRegionInstanceGroupsRequest.Builder
clear()
ListInstancesRegionInstanceGroupsRequest.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
ListInstancesRegionInstanceGroupsRequest.Builder
clearFilter()
A filter expression that filters resources listed in the response.ListInstancesRegionInstanceGroupsRequest.Builder
clearInstanceGroup()
Name of the regional instance group for which we want to list the instances.ListInstancesRegionInstanceGroupsRequest.Builder
clearMaxResults()
The maximum number of results per page that should be returned.ListInstancesRegionInstanceGroupsRequest.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
ListInstancesRegionInstanceGroupsRequest.Builder
clearOrderBy()
Sorts list results by a certain order.ListInstancesRegionInstanceGroupsRequest.Builder
clearPageToken()
Specifies a page token to use.ListInstancesRegionInstanceGroupsRequest.Builder
clearProject()
Project ID for this request.ListInstancesRegionInstanceGroupsRequest.Builder
clearRegion()
Name of the region scoping this request.ListInstancesRegionInstanceGroupsRequest.Builder
clearRegionInstanceGroupsListInstancesRequestResource()
The body resource for this requestListInstancesRegionInstanceGroupsRequest.Builder
clearReturnPartialSuccess()
Opt-in for partial success behavior which provides partial results in case of failure.ListInstancesRegionInstanceGroupsRequest.Builder
clone()
ListInstancesRegionInstanceGroupsRequest
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
String
getFilter()
A filter expression that filters resources listed in the response.com.google.protobuf.ByteString
getFilterBytes()
A filter expression that filters resources listed in the response.String
getInstanceGroup()
Name of the regional instance group for which we want to list the instances.com.google.protobuf.ByteString
getInstanceGroupBytes()
Name of the regional instance group for which we want to list the instances.int
getMaxResults()
The maximum number of results per page that should be returned.String
getOrderBy()
Sorts list results by a certain order.com.google.protobuf.ByteString
getOrderByBytes()
Sorts list results by a certain order.String
getPageToken()
Specifies a page token to use.com.google.protobuf.ByteString
getPageTokenBytes()
Specifies a page token to use.String
getProject()
Project ID for this request.com.google.protobuf.ByteString
getProjectBytes()
Project ID for this request.String
getRegion()
Name of the region scoping this request.com.google.protobuf.ByteString
getRegionBytes()
Name of the region scoping this request.RegionInstanceGroupsListInstancesRequest
getRegionInstanceGroupsListInstancesRequestResource()
The body resource for this requestRegionInstanceGroupsListInstancesRequest.Builder
getRegionInstanceGroupsListInstancesRequestResourceBuilder()
The body resource for this requestRegionInstanceGroupsListInstancesRequestOrBuilder
getRegionInstanceGroupsListInstancesRequestResourceOrBuilder()
The body resource for this requestboolean
getReturnPartialSuccess()
Opt-in for partial success behavior which provides partial results in case of failure.boolean
hasFilter()
A filter expression that filters resources listed in the response.boolean
hasMaxResults()
The maximum number of results per page that should be returned.boolean
hasOrderBy()
Sorts list results by a certain order.boolean
hasPageToken()
Specifies a page token to use.boolean
hasRegionInstanceGroupsListInstancesRequestResource()
The body resource for this requestboolean
hasReturnPartialSuccess()
Opt-in for partial success behavior which provides partial results in case of failure.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
boolean
isInitialized()
ListInstancesRegionInstanceGroupsRequest.Builder
mergeFrom(ListInstancesRegionInstanceGroupsRequest other)
ListInstancesRegionInstanceGroupsRequest.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
ListInstancesRegionInstanceGroupsRequest.Builder
mergeFrom(com.google.protobuf.Message other)
ListInstancesRegionInstanceGroupsRequest.Builder
mergeRegionInstanceGroupsListInstancesRequestResource(RegionInstanceGroupsListInstancesRequest value)
The body resource for this requestListInstancesRegionInstanceGroupsRequest.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
ListInstancesRegionInstanceGroupsRequest.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
ListInstancesRegionInstanceGroupsRequest.Builder
setFilter(String value)
A filter expression that filters resources listed in the response.ListInstancesRegionInstanceGroupsRequest.Builder
setFilterBytes(com.google.protobuf.ByteString value)
A filter expression that filters resources listed in the response.ListInstancesRegionInstanceGroupsRequest.Builder
setInstanceGroup(String value)
Name of the regional instance group for which we want to list the instances.ListInstancesRegionInstanceGroupsRequest.Builder
setInstanceGroupBytes(com.google.protobuf.ByteString value)
Name of the regional instance group for which we want to list the instances.ListInstancesRegionInstanceGroupsRequest.Builder
setMaxResults(int value)
The maximum number of results per page that should be returned.ListInstancesRegionInstanceGroupsRequest.Builder
setOrderBy(String value)
Sorts list results by a certain order.ListInstancesRegionInstanceGroupsRequest.Builder
setOrderByBytes(com.google.protobuf.ByteString value)
Sorts list results by a certain order.ListInstancesRegionInstanceGroupsRequest.Builder
setPageToken(String value)
Specifies a page token to use.ListInstancesRegionInstanceGroupsRequest.Builder
setPageTokenBytes(com.google.protobuf.ByteString value)
Specifies a page token to use.ListInstancesRegionInstanceGroupsRequest.Builder
setProject(String value)
Project ID for this request.ListInstancesRegionInstanceGroupsRequest.Builder
setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.ListInstancesRegionInstanceGroupsRequest.Builder
setRegion(String value)
Name of the region scoping this request.ListInstancesRegionInstanceGroupsRequest.Builder
setRegionBytes(com.google.protobuf.ByteString value)
Name of the region scoping this request.ListInstancesRegionInstanceGroupsRequest.Builder
setRegionInstanceGroupsListInstancesRequestResource(RegionInstanceGroupsListInstancesRequest value)
The body resource for this requestListInstancesRegionInstanceGroupsRequest.Builder
setRegionInstanceGroupsListInstancesRequestResource(RegionInstanceGroupsListInstancesRequest.Builder builderForValue)
The body resource for this requestListInstancesRegionInstanceGroupsRequest.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
ListInstancesRegionInstanceGroupsRequest.Builder
setReturnPartialSuccess(boolean value)
Opt-in for partial success behavior which provides partial results in case of failure.ListInstancesRegionInstanceGroupsRequest.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
clear
public ListInstancesRegionInstanceGroupsRequest.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
getDefaultInstanceForType
public ListInstancesRegionInstanceGroupsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListInstancesRegionInstanceGroupsRequest build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListInstancesRegionInstanceGroupsRequest buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListInstancesRegionInstanceGroupsRequest.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
setField
public ListInstancesRegionInstanceGroupsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
clearField
public ListInstancesRegionInstanceGroupsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
clearOneof
public ListInstancesRegionInstanceGroupsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
setRepeatedField
public ListInstancesRegionInstanceGroupsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
addRepeatedField
public ListInstancesRegionInstanceGroupsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
mergeFrom
public ListInstancesRegionInstanceGroupsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
mergeFrom
public ListInstancesRegionInstanceGroupsRequest.Builder mergeFrom(ListInstancesRegionInstanceGroupsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
mergeFrom
public ListInstancesRegionInstanceGroupsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
- Throws:
IOException
-
hasFilter
public boolean hasFilter()
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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;
- Specified by:
hasFilter
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- Whether the filter field is set.
-
getFilter
public String getFilter()
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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;
- Specified by:
getFilter
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The filter.
-
getFilterBytes
public com.google.protobuf.ByteString getFilterBytes()
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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;
- Specified by:
getFilterBytes
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The bytes for filter.
-
setFilter
public ListInstancesRegionInstanceGroupsRequest.Builder setFilter(String value)
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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;
- Parameters:
value
- The filter to set.- Returns:
- This builder for chaining.
-
clearFilter
public ListInstancesRegionInstanceGroupsRequest.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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;
- Returns:
- This builder for chaining.
-
setFilterBytes
public ListInstancesRegionInstanceGroupsRequest.Builder setFilterBytes(com.google.protobuf.ByteString value)
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. 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 `:` operator can be used with string fields to match substrings. For non-string fields it is equivalent to the `=` operator. 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 on resource 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 Google RE2 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`.
optional string filter = 336120696;
- Parameters:
value
- The bytes for filter to set.- Returns:
- This builder for chaining.
-
getInstanceGroup
public String getInstanceGroup()
Name of the regional instance group for which we want to list the instances.
string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getInstanceGroup
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The instanceGroup.
-
getInstanceGroupBytes
public com.google.protobuf.ByteString getInstanceGroupBytes()
Name of the regional instance group for which we want to list the instances.
string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getInstanceGroupBytes
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The bytes for instanceGroup.
-
setInstanceGroup
public ListInstancesRegionInstanceGroupsRequest.Builder setInstanceGroup(String value)
Name of the regional instance group for which we want to list the instances.
string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The instanceGroup to set.- Returns:
- This builder for chaining.
-
clearInstanceGroup
public ListInstancesRegionInstanceGroupsRequest.Builder clearInstanceGroup()
Name of the regional instance group for which we want to list the instances.
string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setInstanceGroupBytes
public ListInstancesRegionInstanceGroupsRequest.Builder setInstanceGroupBytes(com.google.protobuf.ByteString value)
Name of the regional instance group for which we want to list the instances.
string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for instanceGroup to set.- Returns:
- This builder for chaining.
-
hasMaxResults
public boolean hasMaxResults()
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;
- Specified by:
hasMaxResults
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- Whether the maxResults field is set.
-
getMaxResults
public int getMaxResults()
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;
- Specified by:
getMaxResults
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The maxResults.
-
setMaxResults
public ListInstancesRegionInstanceGroupsRequest.Builder setMaxResults(int value)
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;
- Parameters:
value
- The maxResults to set.- Returns:
- This builder for chaining.
-
clearMaxResults
public ListInstancesRegionInstanceGroupsRequest.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:
- This builder for chaining.
-
hasOrderBy
public boolean hasOrderBy()
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
optional string order_by = 160562920;
- Specified by:
hasOrderBy
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- Whether the orderBy field is set.
-
getOrderBy
public String getOrderBy()
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
optional string order_by = 160562920;
- Specified by:
getOrderBy
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The orderBy.
-
getOrderByBytes
public com.google.protobuf.ByteString getOrderByBytes()
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
optional string order_by = 160562920;
- Specified by:
getOrderByBytes
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The bytes for orderBy.
-
setOrderBy
public ListInstancesRegionInstanceGroupsRequest.Builder setOrderBy(String value)
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
optional string order_by = 160562920;
- Parameters:
value
- The orderBy to set.- Returns:
- This builder for chaining.
-
clearOrderBy
public ListInstancesRegionInstanceGroupsRequest.Builder clearOrderBy()
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
optional string order_by = 160562920;
- Returns:
- This builder for chaining.
-
setOrderByBytes
public ListInstancesRegionInstanceGroupsRequest.Builder setOrderByBytes(com.google.protobuf.ByteString value)
Sorts list results by a certain order. By default, results are returned in alphanumerical order based on the resource name. You can also sort results in descending order based on the creation timestamp using `orderBy="creationTimestamp desc"`. This sorts results based on the `creationTimestamp` field in reverse chronological order (newest result first). Use this to sort resources like operations so that the newest operation is returned first. Currently, only sorting by `name` or `creationTimestamp desc` is supported.
optional string order_by = 160562920;
- Parameters:
value
- The bytes for orderBy to set.- Returns:
- This builder for chaining.
-
hasPageToken
public boolean hasPageToken()
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
optional string page_token = 19994697;
- Specified by:
hasPageToken
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- Whether the pageToken field is set.
-
getPageToken
public String getPageToken()
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
optional string page_token = 19994697;
- Specified by:
getPageToken
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The pageToken.
-
getPageTokenBytes
public com.google.protobuf.ByteString getPageTokenBytes()
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
optional string page_token = 19994697;
- Specified by:
getPageTokenBytes
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The bytes for pageToken.
-
setPageToken
public ListInstancesRegionInstanceGroupsRequest.Builder setPageToken(String value)
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
optional string page_token = 19994697;
- Parameters:
value
- The pageToken to set.- Returns:
- This builder for chaining.
-
clearPageToken
public ListInstancesRegionInstanceGroupsRequest.Builder clearPageToken()
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
optional string page_token = 19994697;
- Returns:
- This builder for chaining.
-
setPageTokenBytes
public ListInstancesRegionInstanceGroupsRequest.Builder setPageTokenBytes(com.google.protobuf.ByteString value)
Specifies a page token to use. Set `pageToken` to the `nextPageToken` returned by a previous list request to get the next page of results.
optional string page_token = 19994697;
- Parameters:
value
- The bytes for pageToken to set.- Returns:
- This builder for chaining.
-
getProject
public String getProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getProject
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The project.
-
getProjectBytes
public com.google.protobuf.ByteString getProjectBytes()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getProjectBytes
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The bytes for project.
-
setProject
public ListInstancesRegionInstanceGroupsRequest.Builder setProject(String value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The project to set.- Returns:
- This builder for chaining.
-
clearProject
public ListInstancesRegionInstanceGroupsRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setProjectBytes
public ListInstancesRegionInstanceGroupsRequest.Builder setProjectBytes(com.google.protobuf.ByteString value)
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for project to set.- Returns:
- This builder for chaining.
-
getRegion
public String getRegion()
Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRegion
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The region.
-
getRegionBytes
public com.google.protobuf.ByteString getRegionBytes()
Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRegionBytes
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The bytes for region.
-
setRegion
public ListInstancesRegionInstanceGroupsRequest.Builder setRegion(String value)
Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The region to set.- Returns:
- This builder for chaining.
-
clearRegion
public ListInstancesRegionInstanceGroupsRequest.Builder clearRegion()
Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- This builder for chaining.
-
setRegionBytes
public ListInstancesRegionInstanceGroupsRequest.Builder setRegionBytes(com.google.protobuf.ByteString value)
Name of the region scoping this request.
string region = 138946292 [(.google.api.field_behavior) = REQUIRED];
- Parameters:
value
- The bytes for region to set.- Returns:
- This builder for chaining.
-
hasRegionInstanceGroupsListInstancesRequestResource
public boolean hasRegionInstanceGroupsListInstancesRequestResource()
The body resource for this request
.google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest region_instance_groups_list_instances_request_resource = 48239828 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
hasRegionInstanceGroupsListInstancesRequestResource
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- Whether the regionInstanceGroupsListInstancesRequestResource field is set.
-
getRegionInstanceGroupsListInstancesRequestResource
public RegionInstanceGroupsListInstancesRequest getRegionInstanceGroupsListInstancesRequestResource()
The body resource for this request
.google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest region_instance_groups_list_instances_request_resource = 48239828 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRegionInstanceGroupsListInstancesRequestResource
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The regionInstanceGroupsListInstancesRequestResource.
-
setRegionInstanceGroupsListInstancesRequestResource
public ListInstancesRegionInstanceGroupsRequest.Builder setRegionInstanceGroupsListInstancesRequestResource(RegionInstanceGroupsListInstancesRequest value)
The body resource for this request
.google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest region_instance_groups_list_instances_request_resource = 48239828 [(.google.api.field_behavior) = REQUIRED];
-
setRegionInstanceGroupsListInstancesRequestResource
public ListInstancesRegionInstanceGroupsRequest.Builder setRegionInstanceGroupsListInstancesRequestResource(RegionInstanceGroupsListInstancesRequest.Builder builderForValue)
The body resource for this request
.google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest region_instance_groups_list_instances_request_resource = 48239828 [(.google.api.field_behavior) = REQUIRED];
-
mergeRegionInstanceGroupsListInstancesRequestResource
public ListInstancesRegionInstanceGroupsRequest.Builder mergeRegionInstanceGroupsListInstancesRequestResource(RegionInstanceGroupsListInstancesRequest value)
The body resource for this request
.google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest region_instance_groups_list_instances_request_resource = 48239828 [(.google.api.field_behavior) = REQUIRED];
-
clearRegionInstanceGroupsListInstancesRequestResource
public ListInstancesRegionInstanceGroupsRequest.Builder clearRegionInstanceGroupsListInstancesRequestResource()
The body resource for this request
.google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest region_instance_groups_list_instances_request_resource = 48239828 [(.google.api.field_behavior) = REQUIRED];
-
getRegionInstanceGroupsListInstancesRequestResourceBuilder
public RegionInstanceGroupsListInstancesRequest.Builder getRegionInstanceGroupsListInstancesRequestResourceBuilder()
The body resource for this request
.google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest region_instance_groups_list_instances_request_resource = 48239828 [(.google.api.field_behavior) = REQUIRED];
-
getRegionInstanceGroupsListInstancesRequestResourceOrBuilder
public RegionInstanceGroupsListInstancesRequestOrBuilder getRegionInstanceGroupsListInstancesRequestResourceOrBuilder()
The body resource for this request
.google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest region_instance_groups_list_instances_request_resource = 48239828 [(.google.api.field_behavior) = REQUIRED];
- Specified by:
getRegionInstanceGroupsListInstancesRequestResourceOrBuilder
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
-
hasReturnPartialSuccess
public boolean hasReturnPartialSuccess()
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
optional bool return_partial_success = 517198390;
- Specified by:
hasReturnPartialSuccess
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- Whether the returnPartialSuccess field is set.
-
getReturnPartialSuccess
public boolean getReturnPartialSuccess()
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
optional bool return_partial_success = 517198390;
- Specified by:
getReturnPartialSuccess
in interfaceListInstancesRegionInstanceGroupsRequestOrBuilder
- Returns:
- The returnPartialSuccess.
-
setReturnPartialSuccess
public ListInstancesRegionInstanceGroupsRequest.Builder setReturnPartialSuccess(boolean value)
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
optional bool return_partial_success = 517198390;
- Parameters:
value
- The returnPartialSuccess to set.- Returns:
- This builder for chaining.
-
clearReturnPartialSuccess
public ListInstancesRegionInstanceGroupsRequest.Builder clearReturnPartialSuccess()
Opt-in for partial success behavior which provides partial results in case of failure. The default value is false.
optional bool return_partial_success = 517198390;
- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListInstancesRegionInstanceGroupsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
mergeUnknownFields
public final ListInstancesRegionInstanceGroupsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesRegionInstanceGroupsRequest.Builder>
-
-