Class InstanceGroupsListInstancesRequest.Builder (1.41.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupsListInstancesRequest build()
Returns
TypeDescription
InstanceGroupsListInstancesRequest

buildPartial()

public InstanceGroupsListInstancesRequest buildPartial()
Returns
TypeDescription
InstanceGroupsListInstancesRequest

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public InstanceGroupsListInstancesRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
InstanceGroupsListInstancesRequest.Builder
Overrides

clone()

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

getDefaultInstanceForType()

public InstanceGroupsListInstancesRequest getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupsListInstancesRequest

getDescriptorForType()

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

Whether the instanceState field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(InstanceGroupsListInstancesRequest other)

public InstanceGroupsListInstancesRequest.Builder mergeFrom(InstanceGroupsListInstancesRequest other)
Parameter
NameDescription
otherInstanceGroupsListInstancesRequest
Returns
TypeDescription
InstanceGroupsListInstancesRequest.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The instanceState to set.

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

The bytes for instanceState to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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