Class InstanceGroupsListInstancesRequest.Builder (1.59.0)

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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupsListInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
InstanceGroupsListInstancesRequest.Builder
Overrides

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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