Class InstanceGroupManagersListErrorsResponse.Builder (1.98.0)

public static final class InstanceGroupManagersListErrorsResponse.Builder extends GeneratedMessage.Builder<InstanceGroupManagersListErrorsResponse.Builder> implements InstanceGroupManagersListErrorsResponseOrBuilder

Protobuf type google.cloud.compute.v1.InstanceGroupManagersListErrorsResponse

Static Methods

getDescriptor()

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

Methods

addAllItems(Iterable<? extends InstanceManagedByIgmError> values)

public InstanceGroupManagersListErrorsResponse.Builder addAllItems(Iterable<? extends InstanceManagedByIgmError> values)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

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

addItems(InstanceManagedByIgmError value)

public InstanceGroupManagersListErrorsResponse.Builder addItems(InstanceManagedByIgmError value)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameter
Name Description
value InstanceManagedByIgmError
Returns
Type Description
InstanceGroupManagersListErrorsResponse.Builder

addItems(InstanceManagedByIgmError.Builder builderForValue)

public InstanceGroupManagersListErrorsResponse.Builder addItems(InstanceManagedByIgmError.Builder builderForValue)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameter
Name Description
builderForValue InstanceManagedByIgmError.Builder
Returns
Type Description
InstanceGroupManagersListErrorsResponse.Builder

addItems(int index, InstanceManagedByIgmError value)

public InstanceGroupManagersListErrorsResponse.Builder addItems(int index, InstanceManagedByIgmError value)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameters
Name Description
index int
value InstanceManagedByIgmError
Returns
Type Description
InstanceGroupManagersListErrorsResponse.Builder

addItems(int index, InstanceManagedByIgmError.Builder builderForValue)

public InstanceGroupManagersListErrorsResponse.Builder addItems(int index, InstanceManagedByIgmError.Builder builderForValue)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameters
Name Description
index int
builderForValue InstanceManagedByIgmError.Builder
Returns
Type Description
InstanceGroupManagersListErrorsResponse.Builder

addItemsBuilder()

public InstanceManagedByIgmError.Builder addItemsBuilder()

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Returns
Type Description
InstanceManagedByIgmError.Builder

addItemsBuilder(int index)

public InstanceManagedByIgmError.Builder addItemsBuilder(int index)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameter
Name Description
index int
Returns
Type Description
InstanceManagedByIgmError.Builder

build()

public InstanceGroupManagersListErrorsResponse build()
Returns
Type Description
InstanceGroupManagersListErrorsResponse

buildPartial()

public InstanceGroupManagersListErrorsResponse buildPartial()
Returns
Type Description
InstanceGroupManagersListErrorsResponse

clear()

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

clearItems()

public InstanceGroupManagersListErrorsResponse.Builder clearItems()

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Returns
Type Description
InstanceGroupManagersListErrorsResponse.Builder

clearNextPageToken()

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

This builder for chaining.

getDefaultInstanceForType()

public InstanceGroupManagersListErrorsResponse getDefaultInstanceForType()
Returns
Type Description
InstanceGroupManagersListErrorsResponse

getDescriptorForType()

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

getItems(int index)

public InstanceManagedByIgmError getItems(int index)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameter
Name Description
index int
Returns
Type Description
InstanceManagedByIgmError

getItemsBuilder(int index)

public InstanceManagedByIgmError.Builder getItemsBuilder(int index)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameter
Name Description
index int
Returns
Type Description
InstanceManagedByIgmError.Builder

getItemsBuilderList()

public List<InstanceManagedByIgmError.Builder> getItemsBuilderList()

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Returns
Type Description
List<Builder>

getItemsCount()

public int getItemsCount()

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Returns
Type Description
int

getItemsList()

public List<InstanceManagedByIgmError> getItemsList()

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Returns
Type Description
List<InstanceManagedByIgmError>

getItemsOrBuilder(int index)

public InstanceManagedByIgmErrorOrBuilder getItemsOrBuilder(int index)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameter
Name Description
index int
Returns
Type Description
InstanceManagedByIgmErrorOrBuilder

getItemsOrBuilderList()

public List<? extends InstanceManagedByIgmErrorOrBuilder> getItemsOrBuilderList()

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Returns
Type Description
List<? extends com.google.cloud.compute.v1.InstanceManagedByIgmErrorOrBuilder>

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
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(InstanceGroupManagersListErrorsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

removeItems(int index)

public InstanceGroupManagersListErrorsResponse.Builder removeItems(int index)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameter
Name Description
index int
Returns
Type Description
InstanceGroupManagersListErrorsResponse.Builder

setItems(int index, InstanceManagedByIgmError value)

public InstanceGroupManagersListErrorsResponse.Builder setItems(int index, InstanceManagedByIgmError value)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameters
Name Description
index int
value InstanceManagedByIgmError
Returns
Type Description
InstanceGroupManagersListErrorsResponse.Builder

setItems(int index, InstanceManagedByIgmError.Builder builderForValue)

public InstanceGroupManagersListErrorsResponse.Builder setItems(int index, InstanceManagedByIgmError.Builder builderForValue)

Output only. [Output Only] The list of errors of the managed instance group.

repeated .google.cloud.compute.v1.InstanceManagedByIgmError items = 100526016;

Parameters
Name Description
index int
builderForValue InstanceManagedByIgmError.Builder
Returns
Type Description
InstanceGroupManagersListErrorsResponse.Builder

setNextPageToken(String value)

public InstanceGroupManagersListErrorsResponse.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 String

The nextPageToken to set.

Returns
Type Description
InstanceGroupManagersListErrorsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public InstanceGroupManagersListErrorsResponse.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 ByteString

The bytes for nextPageToken to set.

Returns
Type Description
InstanceGroupManagersListErrorsResponse.Builder

This builder for chaining.