Class InstanceGroupManagersListManagedInstancesResponse.Builder (1.6.0-beta)

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

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
NameDescription
valuesIterable<? extends com.google.cloud.compute.v1.ManagedInstance>
Returns
TypeDescription
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
NameDescription
valueManagedInstance
Returns
TypeDescription
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
NameDescription
builderForValueManagedInstance.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueManagedInstance
Returns
TypeDescription
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
NameDescription
indexint
builderForValueManagedInstance.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
ManagedInstance.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public InstanceGroupManagersListManagedInstancesResponse build()
Returns
TypeDescription
InstanceGroupManagersListManagedInstancesResponse

buildPartial()

public InstanceGroupManagersListManagedInstancesResponse buildPartial()
Returns
TypeDescription
InstanceGroupManagersListManagedInstancesResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public InstanceGroupManagersListManagedInstancesResponse getDefaultInstanceForType()
Returns
TypeDescription
InstanceGroupManagersListManagedInstancesResponse

getDescriptor()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
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(InstanceGroupManagersListManagedInstancesResponse other)

public InstanceGroupManagersListManagedInstancesResponse.Builder mergeFrom(InstanceGroupManagersListManagedInstancesResponse other)
Parameter
NameDescription
otherInstanceGroupManagersListManagedInstancesResponse
Returns
TypeDescription
InstanceGroupManagersListManagedInstancesResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final InstanceGroupManagersListManagedInstancesResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
InstanceGroupManagersListManagedInstancesResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The nextPageToken to set.

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

The bytes for nextPageToken to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

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