Class RegionInstanceGroupsListInstancesRequest.Builder (1.38.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public RegionInstanceGroupsListInstancesRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

build()

public RegionInstanceGroupsListInstancesRequest build()
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest

buildPartial()

public RegionInstanceGroupsListInstancesRequest buildPartial()
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest

clear()

public RegionInstanceGroupsListInstancesRequest.Builder clear()
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RegionInstanceGroupsListInstancesRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public RegionInstanceGroupsListInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder

This builder for chaining.

clone()

public RegionInstanceGroupsListInstancesRequest.Builder clone()
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

getDefaultInstanceForType()

public RegionInstanceGroupsListInstancesRequest getDefaultInstanceForType()
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the portName field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RegionInstanceGroupsListInstancesRequest other)

public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(RegionInstanceGroupsListInstancesRequest other)
Parameter
NameDescription
otherRegionInstanceGroupsListInstancesRequest
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public RegionInstanceGroupsListInstancesRequest.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegionInstanceGroupsListInstancesRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public RegionInstanceGroupsListInstancesRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The instanceState to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for instanceState to set.

Returns
TypeDescription
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
NameDescription
valueString

The portName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for portName to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final RegionInstanceGroupsListInstancesRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
RegionInstanceGroupsListInstancesRequest.Builder
Overrides