public static final class RegionInstanceGroupsListInstancesRequest.Builder extends GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder> implements RegionInstanceGroupsListInstancesRequestOrBuilder
Protobuf type google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RegionInstanceGroupsListInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public RegionInstanceGroupsListInstancesRequest build()
Returns
buildPartial()
public RegionInstanceGroupsListInstancesRequest buildPartial()
Returns
clear()
public RegionInstanceGroupsListInstancesRequest.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public RegionInstanceGroupsListInstancesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearInstanceState()
public RegionInstanceGroupsListInstancesRequest.Builder clearInstanceState()
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances.
Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public RegionInstanceGroupsListInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearPortName()
public RegionInstanceGroupsListInstancesRequest.Builder clearPortName()
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;
Returns
clone()
public RegionInstanceGroupsListInstancesRequest.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public RegionInstanceGroupsListInstancesRequest getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getInstanceState()
public String getInstanceState()
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances.
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()
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances.
Check the InstanceState enum for the list of possible values.
optional string instance_state = 92223591;
Returns
Type | Description |
ByteString | The bytes for instanceState.
|
getPortName()
public String getPortName()
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;
Returns
Type | Description |
String | The portName.
|
getPortNameBytes()
public ByteString getPortNameBytes()
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;
Returns
hasInstanceState()
public boolean hasInstanceState()
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances.
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.
|
hasPortName()
public boolean hasPortName()
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;
Returns
Type | Description |
boolean | Whether the portName field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(RegionInstanceGroupsListInstancesRequest other)
public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(RegionInstanceGroupsListInstancesRequest other)
Parameter
Returns
public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RegionInstanceGroupsListInstancesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public RegionInstanceGroupsListInstancesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setInstanceState(String value)
public RegionInstanceGroupsListInstancesRequest.Builder setInstanceState(String value)
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances.
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 RegionInstanceGroupsListInstancesRequest.Builder setInstanceStateBytes(ByteString value)
Instances in which state should be returned. Valid options are: 'ALL', 'RUNNING'. By default, it lists all instances.
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
setPortName(String value)
public RegionInstanceGroupsListInstancesRequest.Builder setPortName(String value)
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;
Parameter
Name | Description |
value | String
The portName to set.
|
Returns
setPortNameBytes(ByteString value)
public RegionInstanceGroupsListInstancesRequest.Builder setPortNameBytes(ByteString value)
Name of port user is interested in. It is optional. If it is set, only information about this ports will be returned. If it is not set, all the named ports will be returned. Always lists all instances.
optional string port_name = 41534345;
Parameter
Name | Description |
value | ByteString
The bytes for portName to set.
|
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RegionInstanceGroupsListInstancesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final RegionInstanceGroupsListInstancesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides