Class RegionInstanceGroupManagersListInstancesResponse.Builder (1.18.0)

public static final class RegionInstanceGroupManagersListInstancesResponse.Builder extends GeneratedMessageV3.Builder<RegionInstanceGroupManagersListInstancesResponse.Builder> implements RegionInstanceGroupManagersListInstancesResponseOrBuilder

Protobuf type google.cloud.compute.v1.RegionInstanceGroupManagersListInstancesResponse

Inheritance

Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RegionInstanceGroupManagersListInstancesResponse.Builder

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllManagedInstances(Iterable<? extends ManagedInstance> values)

public RegionInstanceGroupManagersListInstancesResponse.Builder addAllManagedInstances(Iterable<? extends ManagedInstance> values)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameter
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.ManagedInstance>
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

addManagedInstances(ManagedInstance value)

public RegionInstanceGroupManagersListInstancesResponse.Builder addManagedInstances(ManagedInstance value)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameter
NameDescription
valueManagedInstance
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

addManagedInstances(ManagedInstance.Builder builderForValue)

public RegionInstanceGroupManagersListInstancesResponse.Builder addManagedInstances(ManagedInstance.Builder builderForValue)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameter
NameDescription
builderForValueManagedInstance.Builder
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

addManagedInstances(int index, ManagedInstance value)

public RegionInstanceGroupManagersListInstancesResponse.Builder addManagedInstances(int index, ManagedInstance value)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameters
NameDescription
indexint
valueManagedInstance
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

addManagedInstances(int index, ManagedInstance.Builder builderForValue)

public RegionInstanceGroupManagersListInstancesResponse.Builder addManagedInstances(int index, ManagedInstance.Builder builderForValue)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameters
NameDescription
indexint
builderForValueManagedInstance.Builder
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

addManagedInstancesBuilder()

public ManagedInstance.Builder addManagedInstancesBuilder()

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Returns
TypeDescription
ManagedInstance.Builder

addManagedInstancesBuilder(int index)

public ManagedInstance.Builder addManagedInstancesBuilder(int index)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameter
NameDescription
indexint
Returns
TypeDescription
ManagedInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegionInstanceGroupManagersListInstancesResponse build()
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse

buildPartial()

public RegionInstanceGroupManagersListInstancesResponse buildPartial()
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

public RegionInstanceGroupManagersListInstancesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder
Overrides

clearManagedInstances()

public RegionInstanceGroupManagersListInstancesResponse.Builder clearManagedInstances()

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

clearNextPageToken()

public RegionInstanceGroupManagersListInstancesResponse.Builder clearNextPageToken()

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RegionInstanceGroupManagersListInstancesResponse getDefaultInstanceForType()
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getManagedInstances(int index)

public ManagedInstance getManagedInstances(int index)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameter
NameDescription
indexint
Returns
TypeDescription
ManagedInstance

getManagedInstancesBuilder(int index)

public ManagedInstance.Builder getManagedInstancesBuilder(int index)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameter
NameDescription
indexint
Returns
TypeDescription
ManagedInstance.Builder

getManagedInstancesBuilderList()

public List<ManagedInstance.Builder> getManagedInstancesBuilderList()

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Returns
TypeDescription
List<Builder>

getManagedInstancesCount()

public int getManagedInstancesCount()

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Returns
TypeDescription
int

getManagedInstancesList()

public List<ManagedInstance> getManagedInstancesList()

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Returns
TypeDescription
List<ManagedInstance>

getManagedInstancesOrBuilder(int index)

public ManagedInstanceOrBuilder getManagedInstancesOrBuilder(int index)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameter
NameDescription
indexint
Returns
TypeDescription
ManagedInstanceOrBuilder

getManagedInstancesOrBuilderList()

public List<? extends ManagedInstanceOrBuilder> getManagedInstancesOrBuilderList()

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Returns
TypeDescription
List<? extends com.google.cloud.compute.v1.ManagedInstanceOrBuilder>

getNextPageToken()

public String getNextPageToken()

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

hasNextPageToken()

public boolean hasNextPageToken()

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Returns
TypeDescription
boolean

Whether the nextPageToken field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(RegionInstanceGroupManagersListInstancesResponse other)

public RegionInstanceGroupManagersListInstancesResponse.Builder mergeFrom(RegionInstanceGroupManagersListInstancesResponse other)
Parameter
NameDescription
otherRegionInstanceGroupManagersListInstancesResponse
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeManagedInstances(int index)

public RegionInstanceGroupManagersListInstancesResponse.Builder removeManagedInstances(int index)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameter
NameDescription
indexint
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setManagedInstances(int index, ManagedInstance value)

public RegionInstanceGroupManagersListInstancesResponse.Builder setManagedInstances(int index, ManagedInstance value)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameters
NameDescription
indexint
valueManagedInstance
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

setManagedInstances(int index, ManagedInstance.Builder builderForValue)

public RegionInstanceGroupManagersListInstancesResponse.Builder setManagedInstances(int index, ManagedInstance.Builder builderForValue)

A list of managed instances.

repeated .google.cloud.compute.v1.ManagedInstance managed_instances = 336219614;

Parameters
NameDescription
indexint
builderForValueManagedInstance.Builder
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

setNextPageToken(String value)

public RegionInstanceGroupManagersListInstancesResponse.Builder setNextPageToken(String value)

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public RegionInstanceGroupManagersListInstancesResponse.Builder setNextPageTokenBytes(ByteString value)

[Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger than maxResults, use the nextPageToken as a value for the query parameter pageToken in the next list request. Subsequent list requests will have their own nextPageToken to continue paging through the results.

optional string next_page_token = 79797525;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken to set.

Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder

This builder for chaining.

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

public RegionInstanceGroupManagersListInstancesResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
RegionInstanceGroupManagersListInstancesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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