public static final class InstanceGroupManagersListManagedInstancesResponse.Builder extends GeneratedMessage.Builder<InstanceGroupManagersListManagedInstancesResponse.Builder> implements InstanceGroupManagersListManagedInstancesResponseOrBuilder Protobuf type google.cloud.compute.v1.InstanceGroupManagersListManagedInstancesResponse
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > InstanceGroupManagersListManagedInstancesResponse.BuilderStatic 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. [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. [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. [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. [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. [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. [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. [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 |
|
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 |
|
clearManagedInstances()
public InstanceGroupManagersListManagedInstancesResponse.Builder clearManagedInstances()Output only. [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. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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. |
getDefaultInstanceForType()
public InstanceGroupManagersListManagedInstancesResponse getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
InstanceGroupManagersListManagedInstancesResponse |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getManagedInstances(int index)
public ManagedInstance getManagedInstances(int index)Output only. [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. [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. [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. [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. [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. [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. [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. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public InstanceGroupManagersListManagedInstancesResponse.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
InstanceGroupManagersListManagedInstancesResponse.Builder |
|
removeManagedInstances(int index)
public InstanceGroupManagersListManagedInstancesResponse.Builder removeManagedInstances(int index)Output only. [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 |
|
setManagedInstances(int index, ManagedInstance value)
public InstanceGroupManagersListManagedInstancesResponse.Builder setManagedInstances(int index, ManagedInstance value)Output only. [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. [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. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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 |
StringThe nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceGroupManagersListManagedInstancesResponse.Builder |
This builder for chaining. |
setNextPageTokenBytes(ByteString value)
public InstanceGroupManagersListManagedInstancesResponse.Builder setNextPageTokenBytes(ByteString value)Output only. [Output Only] This token allows you to get the next page of results for list requests. If the number of results is larger thanmaxResults, 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 |
ByteStringThe bytes for nextPageToken to set. |
| Returns | |
|---|---|
| Type | Description |
InstanceGroupManagersListManagedInstancesResponse.Builder |
This builder for chaining. |