public static final class InstanceGroupsListInstancesRequest.Builder extends GeneratedMessageV3.Builder<InstanceGroupsListInstancesRequest.Builder> implements InstanceGroupsListInstancesRequestOrBuilder
Protobuf type google.cloud.compute.v1.InstanceGroupsListInstancesRequest
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupsListInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public InstanceGroupsListInstancesRequest build()
Returns
buildPartial()
public InstanceGroupsListInstancesRequest buildPartial()
Returns
clear()
public InstanceGroupsListInstancesRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public InstanceGroupsListInstancesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstanceState()
public InstanceGroupsListInstancesRequest.Builder clearInstanceState()
A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.
Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public InstanceGroupsListInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public InstanceGroupsListInstancesRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public InstanceGroupsListInstancesRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInstanceState()
public String getInstanceState()
A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.
Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;
Returns
Type | Description |
String | The instanceState.
|
getInstanceStateBytes()
public ByteString getInstanceStateBytes()
A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.
Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;
Returns
Type | Description |
ByteString | The bytes for instanceState.
|
hasInstanceState()
public boolean hasInstanceState()
A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.
Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;
Returns
Type | Description |
boolean | Whether the instanceState field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(InstanceGroupsListInstancesRequest other)
public InstanceGroupsListInstancesRequest.Builder mergeFrom(InstanceGroupsListInstancesRequest other)
Parameter
Returns
public InstanceGroupsListInstancesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public InstanceGroupsListInstancesRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupsListInstancesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public InstanceGroupsListInstancesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInstanceState(String value)
public InstanceGroupsListInstancesRequest.Builder setInstanceState(String value)
A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.
Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;
Parameter
Name | Description |
value | String
The instanceState to set.
|
Returns
setInstanceStateBytes(ByteString value)
public InstanceGroupsListInstancesRequest.Builder setInstanceStateBytes(ByteString value)
A filter for the state of the instances in the instance group. Valid options are ALL or RUNNING. If you do not specify this parameter the list includes all instances regardless of their state.
Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;
Parameter
Name | Description |
value | ByteString
The bytes for instanceState to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public InstanceGroupsListInstancesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final InstanceGroupsListInstancesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides