Class RegionInstanceGroupsListInstancesRequest.Builder (1.54.0)

public static final class RegionInstanceGroupsListInstancesRequest.Builder extends GeneratedMessageV3.Builder<RegionInstanceGroupsListInstancesRequest.Builder> implements RegionInstanceGroupsListInstancesRequestOrBuilder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupsListInstancesRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RegionInstanceGroupsListInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

build()

public RegionInstanceGroupsListInstancesRequest build()
Returns
Type Description
RegionInstanceGroupsListInstancesRequest

buildPartial()

public RegionInstanceGroupsListInstancesRequest buildPartial()
Returns
Type Description
RegionInstanceGroupsListInstancesRequest

clear()

public RegionInstanceGroupsListInstancesRequest.Builder clear()
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RegionInstanceGroupsListInstancesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
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
Type Description
RegionInstanceGroupsListInstancesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RegionInstanceGroupsListInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
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
Type Description
RegionInstanceGroupsListInstancesRequest.Builder

This builder for chaining.

clone()

public RegionInstanceGroupsListInstancesRequest.Builder clone()
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

getDefaultInstanceForType()

public RegionInstanceGroupsListInstancesRequest getDefaultInstanceForType()
Returns
Type Description
RegionInstanceGroupsListInstancesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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
Type Description
ByteString

The bytes for portName.

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
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RegionInstanceGroupsListInstancesRequest other)

public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(RegionInstanceGroupsListInstancesRequest other)
Parameter
Name Description
other RegionInstanceGroupsListInstancesRequest
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegionInstanceGroupsListInstancesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RegionInstanceGroupsListInstancesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
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
Type Description
RegionInstanceGroupsListInstancesRequest.Builder

This builder for chaining.

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
Type Description
RegionInstanceGroupsListInstancesRequest.Builder

This builder for chaining.

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
Type Description
RegionInstanceGroupsListInstancesRequest.Builder

This builder for chaining.

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
Type Description
RegionInstanceGroupsListInstancesRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public RegionInstanceGroupsListInstancesRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RegionInstanceGroupsListInstancesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
RegionInstanceGroupsListInstancesRequest.Builder
Overrides