Class RegionInstanceGroupManagersListInstancesResponse.Builder (1.59.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
Type Description
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
Name Description
values Iterable<? extends com.google.cloud.compute.v1.ManagedInstance>
Returns
Type Description
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
Name Description
value ManagedInstance
Returns
Type Description
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
Name Description
builderForValue ManagedInstance.Builder
Returns
Type Description
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
Name Description
index int
value ManagedInstance
Returns
Type Description
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
Name Description
index int
builderForValue ManagedInstance.Builder
Returns
Type Description
RegionInstanceGroupManagersListInstancesResponse.Builder

addManagedInstancesBuilder()

public ManagedInstance.Builder addManagedInstancesBuilder()

A list of managed instances.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ManagedInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public RegionInstanceGroupManagersListInstancesResponse build()
Returns
Type Description
RegionInstanceGroupManagersListInstancesResponse

buildPartial()

public RegionInstanceGroupManagersListInstancesResponse buildPartial()
Returns
Type Description
RegionInstanceGroupManagersListInstancesResponse

clear()

public RegionInstanceGroupManagersListInstancesResponse.Builder clear()
Returns
Type Description
RegionInstanceGroupManagersListInstancesResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public RegionInstanceGroupManagersListInstancesResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
RegionInstanceGroupManagersListInstancesResponse.Builder
Overrides

clearManagedInstances()

public RegionInstanceGroupManagersListInstancesResponse.Builder clearManagedInstances()

A list of managed instances.

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

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public RegionInstanceGroupManagersListInstancesResponse getDefaultInstanceForType()
Returns
Type Description
RegionInstanceGroupManagersListInstancesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
ManagedInstance.Builder

getManagedInstancesBuilderList()

public List<ManagedInstance.Builder> getManagedInstancesBuilderList()

A list of managed instances.

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

Returns
Type Description
List<Builder>

getManagedInstancesCount()

public int getManagedInstancesCount()

A list of managed instances.

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

Returns
Type Description
int

getManagedInstancesList()

public List<ManagedInstance> getManagedInstancesList()

A list of managed instances.

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

Returns
Type Description
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
Name Description
index int
Returns
Type Description
ManagedInstanceOrBuilder

getManagedInstancesOrBuilderList()

public List<? extends ManagedInstanceOrBuilder> getManagedInstancesOrBuilderList()

A list of managed instances.

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

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the nextPageToken field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(RegionInstanceGroupManagersListInstancesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public RegionInstanceGroupManagersListInstancesResponse.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
RegionInstanceGroupManagersListInstancesResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final RegionInstanceGroupManagersListInstancesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
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
Name Description
index int
Returns
Type Description
RegionInstanceGroupManagersListInstancesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public RegionInstanceGroupManagersListInstancesResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
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
Name Description
index int
value ManagedInstance
Returns
Type Description
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
Name Description
index int
builderForValue ManagedInstance.Builder
Returns
Type Description
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
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

The bytes for nextPageToken to set.

Returns
Type Description
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
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
RegionInstanceGroupManagersListInstancesResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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