Class InstanceGroupManagersListManagedInstancesResponse.Builder (1.54.0)

public static final class InstanceGroupManagersListManagedInstancesResponse.Builder extends GeneratedMessageV3.Builder<InstanceGroupManagersListManagedInstancesResponse.Builder> implements InstanceGroupManagersListManagedInstancesResponseOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersListManagedInstancesResponse

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addAllManagedInstances(Iterable<? extends ManagedInstance> values)

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

[Output Only] The list of instances in the managed instance group.

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

Parameter
Name Description
values Iterable<? extends com.google.cloud.compute.v1.ManagedInstance>
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse.Builder

addManagedInstances(ManagedInstance value)

public InstanceGroupManagersListManagedInstancesResponse.Builder addManagedInstances(ManagedInstance value)

[Output Only] The list of instances in the managed instance group.

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

Parameter
Name Description
value ManagedInstance
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse.Builder

addManagedInstances(ManagedInstance.Builder builderForValue)

public InstanceGroupManagersListManagedInstancesResponse.Builder addManagedInstances(ManagedInstance.Builder builderForValue)

[Output Only] The list of instances in the managed instance group.

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

Parameter
Name Description
builderForValue ManagedInstance.Builder
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse.Builder

addManagedInstances(int index, ManagedInstance value)

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

[Output Only] The list of instances in the managed instance group.

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

Parameters
Name Description
index int
value ManagedInstance
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse.Builder

addManagedInstances(int index, ManagedInstance.Builder builderForValue)

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

[Output Only] The list of instances in the managed instance group.

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

Parameters
Name Description
index int
builderForValue ManagedInstance.Builder
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse.Builder

addManagedInstancesBuilder()

public ManagedInstance.Builder addManagedInstancesBuilder()

[Output Only] The list of instances in the managed instance group.

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

Returns
Type Description
ManagedInstance.Builder

addManagedInstancesBuilder(int index)

public ManagedInstance.Builder addManagedInstancesBuilder(int index)

[Output Only] The list of instances in the managed instance group.

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 InstanceGroupManagersListManagedInstancesResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse.Builder
Overrides

build()

public InstanceGroupManagersListManagedInstancesResponse build()
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse

buildPartial()

public InstanceGroupManagersListManagedInstancesResponse buildPartial()
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearManagedInstances()

public InstanceGroupManagersListManagedInstancesResponse.Builder clearManagedInstances()

[Output Only] The list of instances in the managed instance group.

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

Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse.Builder

clearNextPageToken()

public InstanceGroupManagersListManagedInstancesResponse.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
InstanceGroupManagersListManagedInstancesResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InstanceGroupManagersListManagedInstancesResponse getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getManagedInstances(int index)

public ManagedInstance getManagedInstances(int index)

[Output Only] The list of instances in the managed instance group.

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)

[Output Only] The list of instances in the managed instance group.

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()

[Output Only] The list of instances in the managed instance group.

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

Returns
Type Description
List<Builder>

getManagedInstancesCount()

public int getManagedInstancesCount()

[Output Only] The list of instances in the managed instance group.

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

Returns
Type Description
int

getManagedInstancesList()

public List<ManagedInstance> getManagedInstancesList()

[Output Only] The list of instances in the managed instance group.

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

Returns
Type Description
List<ManagedInstance>

getManagedInstancesOrBuilder(int index)

public ManagedInstanceOrBuilder getManagedInstancesOrBuilder(int index)

[Output Only] The list of instances in the managed instance group.

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

Parameter
Name Description
index int
Returns
Type Description
ManagedInstanceOrBuilder

getManagedInstancesOrBuilderList()

public List<? extends ManagedInstanceOrBuilder> getManagedInstancesOrBuilderList()

[Output Only] The list of instances in the managed instance group.

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(InstanceGroupManagersListManagedInstancesResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeManagedInstances(int index)

public InstanceGroupManagersListManagedInstancesResponse.Builder removeManagedInstances(int index)

[Output Only] The list of instances in the managed instance group.

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

Parameter
Name Description
index int
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setManagedInstances(int index, ManagedInstance value)

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

[Output Only] The list of instances in the managed instance group.

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

Parameters
Name Description
index int
value ManagedInstance
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse.Builder

setManagedInstances(int index, ManagedInstance.Builder builderForValue)

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

[Output Only] The list of instances in the managed instance group.

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

Parameters
Name Description
index int
builderForValue ManagedInstance.Builder
Returns
Type Description
InstanceGroupManagersListManagedInstancesResponse.Builder

setNextPageToken(String value)

public InstanceGroupManagersListManagedInstancesResponse.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
InstanceGroupManagersListManagedInstancesResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public InstanceGroupManagersListManagedInstancesResponse.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
InstanceGroupManagersListManagedInstancesResponse.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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