Package com.google.cloud.compute.v1
Class ListInstancesInstanceGroupsRequest.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
- com.google.cloud.compute.v1.ListInstancesInstanceGroupsRequest.Builder
-
- All Implemented Interfaces:
ListInstancesInstanceGroupsRequestOrBuilder,com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Cloneable
- Enclosing class:
- ListInstancesInstanceGroupsRequest
public static final class ListInstancesInstanceGroupsRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder> implements ListInstancesInstanceGroupsRequestOrBuilder
A request message for InstanceGroups.ListInstances. See the method description for details.
Protobuf typegoogle.cloud.compute.v1.ListInstancesInstanceGroupsRequest
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description ListInstancesInstanceGroupsRequest.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListInstancesInstanceGroupsRequestbuild()ListInstancesInstanceGroupsRequestbuildPartial()ListInstancesInstanceGroupsRequest.Builderclear()ListInstancesInstanceGroupsRequest.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)ListInstancesInstanceGroupsRequest.BuilderclearFilter()A filter expression that filters resources listed in the response.ListInstancesInstanceGroupsRequest.BuilderclearInstanceGroup()The name of the instance group from which you want to generate a list of included instances.ListInstancesInstanceGroupsRequest.BuilderclearInstanceGroupsListInstancesRequestResource()The body resource for this requestListInstancesInstanceGroupsRequest.BuilderclearMaxResults()The maximum number of results per page that should be returned.ListInstancesInstanceGroupsRequest.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)ListInstancesInstanceGroupsRequest.BuilderclearOrderBy()Sorts list results by a certain order.ListInstancesInstanceGroupsRequest.BuilderclearPageToken()Specifies a page token to use.ListInstancesInstanceGroupsRequest.BuilderclearProject()Project ID for this request.ListInstancesInstanceGroupsRequest.BuilderclearReturnPartialSuccess()Opt-in for partial success behavior which provides partial results in case of failure.ListInstancesInstanceGroupsRequest.BuilderclearZone()The name of the zone where the instance group is located.ListInstancesInstanceGroupsRequest.Builderclone()ListInstancesInstanceGroupsRequestgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetFilter()A filter expression that filters resources listed in the response.com.google.protobuf.ByteStringgetFilterBytes()A filter expression that filters resources listed in the response.StringgetInstanceGroup()The name of the instance group from which you want to generate a list of included instances.com.google.protobuf.ByteStringgetInstanceGroupBytes()The name of the instance group from which you want to generate a list of included instances.InstanceGroupsListInstancesRequestgetInstanceGroupsListInstancesRequestResource()The body resource for this requestInstanceGroupsListInstancesRequest.BuildergetInstanceGroupsListInstancesRequestResourceBuilder()The body resource for this requestInstanceGroupsListInstancesRequestOrBuildergetInstanceGroupsListInstancesRequestResourceOrBuilder()The body resource for this requestintgetMaxResults()The maximum number of results per page that should be returned.StringgetOrderBy()Sorts list results by a certain order.com.google.protobuf.ByteStringgetOrderByBytes()Sorts list results by a certain order.StringgetPageToken()Specifies a page token to use.com.google.protobuf.ByteStringgetPageTokenBytes()Specifies a page token to use.StringgetProject()Project ID for this request.com.google.protobuf.ByteStringgetProjectBytes()Project ID for this request.booleangetReturnPartialSuccess()Opt-in for partial success behavior which provides partial results in case of failure.StringgetZone()The name of the zone where the instance group is located.com.google.protobuf.ByteStringgetZoneBytes()The name of the zone where the instance group is located.booleanhasFilter()A filter expression that filters resources listed in the response.booleanhasInstanceGroupsListInstancesRequestResource()The body resource for this requestbooleanhasMaxResults()The maximum number of results per page that should be returned.booleanhasOrderBy()Sorts list results by a certain order.booleanhasPageToken()Specifies a page token to use.booleanhasReturnPartialSuccess()Opt-in for partial success behavior which provides partial results in case of failure.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()ListInstancesInstanceGroupsRequest.BuildermergeFrom(ListInstancesInstanceGroupsRequest other)ListInstancesInstanceGroupsRequest.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)ListInstancesInstanceGroupsRequest.BuildermergeFrom(com.google.protobuf.Message other)ListInstancesInstanceGroupsRequest.BuildermergeInstanceGroupsListInstancesRequestResource(InstanceGroupsListInstancesRequest value)The body resource for this requestListInstancesInstanceGroupsRequest.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListInstancesInstanceGroupsRequest.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)ListInstancesInstanceGroupsRequest.BuildersetFilter(String value)A filter expression that filters resources listed in the response.ListInstancesInstanceGroupsRequest.BuildersetFilterBytes(com.google.protobuf.ByteString value)A filter expression that filters resources listed in the response.ListInstancesInstanceGroupsRequest.BuildersetInstanceGroup(String value)The name of the instance group from which you want to generate a list of included instances.ListInstancesInstanceGroupsRequest.BuildersetInstanceGroupBytes(com.google.protobuf.ByteString value)The name of the instance group from which you want to generate a list of included instances.ListInstancesInstanceGroupsRequest.BuildersetInstanceGroupsListInstancesRequestResource(InstanceGroupsListInstancesRequest value)The body resource for this requestListInstancesInstanceGroupsRequest.BuildersetInstanceGroupsListInstancesRequestResource(InstanceGroupsListInstancesRequest.Builder builderForValue)The body resource for this requestListInstancesInstanceGroupsRequest.BuildersetMaxResults(int value)The maximum number of results per page that should be returned.ListInstancesInstanceGroupsRequest.BuildersetOrderBy(String value)Sorts list results by a certain order.ListInstancesInstanceGroupsRequest.BuildersetOrderByBytes(com.google.protobuf.ByteString value)Sorts list results by a certain order.ListInstancesInstanceGroupsRequest.BuildersetPageToken(String value)Specifies a page token to use.ListInstancesInstanceGroupsRequest.BuildersetPageTokenBytes(com.google.protobuf.ByteString value)Specifies a page token to use.ListInstancesInstanceGroupsRequest.BuildersetProject(String value)Project ID for this request.ListInstancesInstanceGroupsRequest.BuildersetProjectBytes(com.google.protobuf.ByteString value)Project ID for this request.ListInstancesInstanceGroupsRequest.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)ListInstancesInstanceGroupsRequest.BuildersetReturnPartialSuccess(boolean value)Opt-in for partial success behavior which provides partial results in case of failure.ListInstancesInstanceGroupsRequest.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)ListInstancesInstanceGroupsRequest.BuildersetZone(String value)The name of the zone where the instance group is located.ListInstancesInstanceGroupsRequest.BuildersetZoneBytes(com.google.protobuf.ByteString value)The name of the zone where the instance group is located.-
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:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
clear
public ListInstancesInstanceGroupsRequest.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
getDefaultInstanceForType
public ListInstancesInstanceGroupsRequest getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public ListInstancesInstanceGroupsRequest build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public ListInstancesInstanceGroupsRequest buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public ListInstancesInstanceGroupsRequest.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
setField
public ListInstancesInstanceGroupsRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
clearField
public ListInstancesInstanceGroupsRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
clearOneof
public ListInstancesInstanceGroupsRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
setRepeatedField
public ListInstancesInstanceGroupsRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
addRepeatedField
public ListInstancesInstanceGroupsRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
mergeFrom
public ListInstancesInstanceGroupsRequest.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
mergeFrom
public ListInstancesInstanceGroupsRequest.Builder mergeFrom(ListInstancesInstanceGroupsRequest other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
mergeFrom
public ListInstancesInstanceGroupsRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<ListInstancesInstanceGroupsRequest.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:
hasFilterin interfaceListInstancesInstanceGroupsRequestOrBuilder- 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:
getFilterin interfaceListInstancesInstanceGroupsRequestOrBuilder- 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:
getFilterBytesin interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The bytes for filter.
-
setFilter
public ListInstancesInstanceGroupsRequest.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 ListInstancesInstanceGroupsRequest.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 ListInstancesInstanceGroupsRequest.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()
The name of the instance group from which you want to generate a list of included instances.
string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceGroupin interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The instanceGroup.
-
getInstanceGroupBytes
public com.google.protobuf.ByteString getInstanceGroupBytes()
The name of the instance group from which you want to generate a list of included instances.
string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceGroupBytesin interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The bytes for instanceGroup.
-
setInstanceGroup
public ListInstancesInstanceGroupsRequest.Builder setInstanceGroup(String value)
The name of the instance group from which you want to generate a list of included instances.
string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The instanceGroup to set.- Returns:
- This builder for chaining.
-
clearInstanceGroup
public ListInstancesInstanceGroupsRequest.Builder clearInstanceGroup()
The name of the instance group from which you want to generate a list of included instances.
string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setInstanceGroupBytes
public ListInstancesInstanceGroupsRequest.Builder setInstanceGroupBytes(com.google.protobuf.ByteString value)
The name of the instance group from which you want to generate a list of included instances.
string instance_group = 81095253 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for instanceGroup to set.- Returns:
- This builder for chaining.
-
hasInstanceGroupsListInstancesRequestResource
public boolean hasInstanceGroupsListInstancesRequestResource()
The body resource for this request
.google.cloud.compute.v1.InstanceGroupsListInstancesRequest instance_groups_list_instances_request_resource = 476255263 [(.google.api.field_behavior) = REQUIRED];- Specified by:
hasInstanceGroupsListInstancesRequestResourcein interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- Whether the instanceGroupsListInstancesRequestResource field is set.
-
getInstanceGroupsListInstancesRequestResource
public InstanceGroupsListInstancesRequest getInstanceGroupsListInstancesRequestResource()
The body resource for this request
.google.cloud.compute.v1.InstanceGroupsListInstancesRequest instance_groups_list_instances_request_resource = 476255263 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceGroupsListInstancesRequestResourcein interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The instanceGroupsListInstancesRequestResource.
-
setInstanceGroupsListInstancesRequestResource
public ListInstancesInstanceGroupsRequest.Builder setInstanceGroupsListInstancesRequestResource(InstanceGroupsListInstancesRequest value)
The body resource for this request
.google.cloud.compute.v1.InstanceGroupsListInstancesRequest instance_groups_list_instances_request_resource = 476255263 [(.google.api.field_behavior) = REQUIRED];
-
setInstanceGroupsListInstancesRequestResource
public ListInstancesInstanceGroupsRequest.Builder setInstanceGroupsListInstancesRequestResource(InstanceGroupsListInstancesRequest.Builder builderForValue)
The body resource for this request
.google.cloud.compute.v1.InstanceGroupsListInstancesRequest instance_groups_list_instances_request_resource = 476255263 [(.google.api.field_behavior) = REQUIRED];
-
mergeInstanceGroupsListInstancesRequestResource
public ListInstancesInstanceGroupsRequest.Builder mergeInstanceGroupsListInstancesRequestResource(InstanceGroupsListInstancesRequest value)
The body resource for this request
.google.cloud.compute.v1.InstanceGroupsListInstancesRequest instance_groups_list_instances_request_resource = 476255263 [(.google.api.field_behavior) = REQUIRED];
-
clearInstanceGroupsListInstancesRequestResource
public ListInstancesInstanceGroupsRequest.Builder clearInstanceGroupsListInstancesRequestResource()
The body resource for this request
.google.cloud.compute.v1.InstanceGroupsListInstancesRequest instance_groups_list_instances_request_resource = 476255263 [(.google.api.field_behavior) = REQUIRED];
-
getInstanceGroupsListInstancesRequestResourceBuilder
public InstanceGroupsListInstancesRequest.Builder getInstanceGroupsListInstancesRequestResourceBuilder()
The body resource for this request
.google.cloud.compute.v1.InstanceGroupsListInstancesRequest instance_groups_list_instances_request_resource = 476255263 [(.google.api.field_behavior) = REQUIRED];
-
getInstanceGroupsListInstancesRequestResourceOrBuilder
public InstanceGroupsListInstancesRequestOrBuilder getInstanceGroupsListInstancesRequestResourceOrBuilder()
The body resource for this request
.google.cloud.compute.v1.InstanceGroupsListInstancesRequest instance_groups_list_instances_request_resource = 476255263 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getInstanceGroupsListInstancesRequestResourceOrBuilderin interfaceListInstancesInstanceGroupsRequestOrBuilder
-
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:
hasMaxResultsin interfaceListInstancesInstanceGroupsRequestOrBuilder- 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:
getMaxResultsin interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The maxResults.
-
setMaxResults
public ListInstancesInstanceGroupsRequest.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 ListInstancesInstanceGroupsRequest.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:
hasOrderByin interfaceListInstancesInstanceGroupsRequestOrBuilder- 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:
getOrderByin interfaceListInstancesInstanceGroupsRequestOrBuilder- 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:
getOrderByBytesin interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The bytes for orderBy.
-
setOrderBy
public ListInstancesInstanceGroupsRequest.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 ListInstancesInstanceGroupsRequest.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 ListInstancesInstanceGroupsRequest.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:
hasPageTokenin interfaceListInstancesInstanceGroupsRequestOrBuilder- 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:
getPageTokenin interfaceListInstancesInstanceGroupsRequestOrBuilder- 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:
getPageTokenBytesin interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The bytes for pageToken.
-
setPageToken
public ListInstancesInstanceGroupsRequest.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 ListInstancesInstanceGroupsRequest.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 ListInstancesInstanceGroupsRequest.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:
getProjectin interfaceListInstancesInstanceGroupsRequestOrBuilder- 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:
getProjectBytesin interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The bytes for project.
-
setProject
public ListInstancesInstanceGroupsRequest.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 ListInstancesInstanceGroupsRequest.Builder clearProject()
Project ID for this request.
string project = 227560217 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setProjectBytes
public ListInstancesInstanceGroupsRequest.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.
-
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:
hasReturnPartialSuccessin interfaceListInstancesInstanceGroupsRequestOrBuilder- 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:
getReturnPartialSuccessin interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The returnPartialSuccess.
-
setReturnPartialSuccess
public ListInstancesInstanceGroupsRequest.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 ListInstancesInstanceGroupsRequest.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.
-
getZone
public String getZone()
The name of the zone where the instance group is located.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getZonein interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The zone.
-
getZoneBytes
public com.google.protobuf.ByteString getZoneBytes()
The name of the zone where the instance group is located.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Specified by:
getZoneBytesin interfaceListInstancesInstanceGroupsRequestOrBuilder- Returns:
- The bytes for zone.
-
setZone
public ListInstancesInstanceGroupsRequest.Builder setZone(String value)
The name of the zone where the instance group is located.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The zone to set.- Returns:
- This builder for chaining.
-
clearZone
public ListInstancesInstanceGroupsRequest.Builder clearZone()
The name of the zone where the instance group is located.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Returns:
- This builder for chaining.
-
setZoneBytes
public ListInstancesInstanceGroupsRequest.Builder setZoneBytes(com.google.protobuf.ByteString value)
The name of the zone where the instance group is located.
string zone = 3744684 [(.google.api.field_behavior) = REQUIRED];- Parameters:
value- The bytes for zone to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final ListInstancesInstanceGroupsRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
mergeUnknownFields
public final ListInstancesInstanceGroupsRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<ListInstancesInstanceGroupsRequest.Builder>
-
-