Class InstanceGroupsListInstancesRequest.Builder (1.93.0)

public static final class InstanceGroupsListInstancesRequest.Builder extends GeneratedMessage.Builder<InstanceGroupsListInstancesRequest.Builder> implements InstanceGroupsListInstancesRequestOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupsListInstancesRequest

Static Methods

getDescriptor()

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

Methods

build()

public InstanceGroupsListInstancesRequest build()
Returns
Type Description
InstanceGroupsListInstancesRequest

buildPartial()

public InstanceGroupsListInstancesRequest buildPartial()
Returns
Type Description
InstanceGroupsListInstancesRequest

clear()

public InstanceGroupsListInstancesRequest.Builder clear()
Returns
Type Description
InstanceGroupsListInstancesRequest.Builder
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
Type Description
InstanceGroupsListInstancesRequest.Builder

This builder for chaining.

getDefaultInstanceForType()

public InstanceGroupsListInstancesRequest getDefaultInstanceForType()
Returns
Type Description
InstanceGroupsListInstancesRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceGroupsListInstancesRequest other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public InstanceGroupsListInstancesRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
InstanceGroupsListInstancesRequest.Builder
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
Type Description
InstanceGroupsListInstancesRequest.Builder

This builder for chaining.

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

This builder for chaining.