Class ListOperationsResponse.Builder (2.46.0)

public static final class ListOperationsResponse.Builder extends GeneratedMessageV3.Builder<ListOperationsResponse.Builder> implements ListOperationsResponseOrBuilder

ListOperationsResponse is the result of ListOperationsRequest.

Protobuf type google.container.v1.ListOperationsResponse

Static Methods

getDescriptor()

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

Methods

addAllMissingZones(Iterable<String> values)

public ListOperationsResponse.Builder addAllMissingZones(Iterable<String> values)

If any zones are listed here, the list of operations returned may be missing the operations from those zones.

repeated string missing_zones = 2;

Parameter
Name Description
values Iterable<String>

The missingZones to add.

Returns
Type Description
ListOperationsResponse.Builder

This builder for chaining.

addAllOperations(Iterable<? extends Operation> values)

public ListOperationsResponse.Builder addAllOperations(Iterable<? extends Operation> values)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameter
Name Description
values Iterable<? extends com.google.container.v1.Operation>
Returns
Type Description
ListOperationsResponse.Builder

addMissingZones(String value)

public ListOperationsResponse.Builder addMissingZones(String value)

If any zones are listed here, the list of operations returned may be missing the operations from those zones.

repeated string missing_zones = 2;

Parameter
Name Description
value String

The missingZones to add.

Returns
Type Description
ListOperationsResponse.Builder

This builder for chaining.

addMissingZonesBytes(ByteString value)

public ListOperationsResponse.Builder addMissingZonesBytes(ByteString value)

If any zones are listed here, the list of operations returned may be missing the operations from those zones.

repeated string missing_zones = 2;

Parameter
Name Description
value ByteString

The bytes of the missingZones to add.

Returns
Type Description
ListOperationsResponse.Builder

This builder for chaining.

addOperations(Operation value)

public ListOperationsResponse.Builder addOperations(Operation value)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameter
Name Description
value Operation
Returns
Type Description
ListOperationsResponse.Builder

addOperations(Operation.Builder builderForValue)

public ListOperationsResponse.Builder addOperations(Operation.Builder builderForValue)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameter
Name Description
builderForValue Operation.Builder
Returns
Type Description
ListOperationsResponse.Builder

addOperations(int index, Operation value)

public ListOperationsResponse.Builder addOperations(int index, Operation value)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameters
Name Description
index int
value Operation
Returns
Type Description
ListOperationsResponse.Builder

addOperations(int index, Operation.Builder builderForValue)

public ListOperationsResponse.Builder addOperations(int index, Operation.Builder builderForValue)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameters
Name Description
index int
builderForValue Operation.Builder
Returns
Type Description
ListOperationsResponse.Builder

addOperationsBuilder()

public Operation.Builder addOperationsBuilder()

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Returns
Type Description
Operation.Builder

addOperationsBuilder(int index)

public Operation.Builder addOperationsBuilder(int index)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameter
Name Description
index int
Returns
Type Description
Operation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListOperationsResponse build()
Returns
Type Description
ListOperationsResponse

buildPartial()

public ListOperationsResponse buildPartial()
Returns
Type Description
ListOperationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearMissingZones()

public ListOperationsResponse.Builder clearMissingZones()

If any zones are listed here, the list of operations returned may be missing the operations from those zones.

repeated string missing_zones = 2;

Returns
Type Description
ListOperationsResponse.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperations()

public ListOperationsResponse.Builder clearOperations()

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Returns
Type Description
ListOperationsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListOperationsResponse getDefaultInstanceForType()
Returns
Type Description
ListOperationsResponse

getDescriptorForType()

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

getMissingZones(int index)

public String getMissingZones(int index)

If any zones are listed here, the list of operations returned may be missing the operations from those zones.

repeated string missing_zones = 2;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The missingZones at the given index.

getMissingZonesBytes(int index)

public ByteString getMissingZonesBytes(int index)

If any zones are listed here, the list of operations returned may be missing the operations from those zones.

repeated string missing_zones = 2;

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the missingZones at the given index.

getMissingZonesCount()

public int getMissingZonesCount()

If any zones are listed here, the list of operations returned may be missing the operations from those zones.

repeated string missing_zones = 2;

Returns
Type Description
int

The count of missingZones.

getMissingZonesList()

public ProtocolStringList getMissingZonesList()

If any zones are listed here, the list of operations returned may be missing the operations from those zones.

repeated string missing_zones = 2;

Returns
Type Description
ProtocolStringList

A list containing the missingZones.

getOperations(int index)

public Operation getOperations(int index)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameter
Name Description
index int
Returns
Type Description
Operation

getOperationsBuilder(int index)

public Operation.Builder getOperationsBuilder(int index)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameter
Name Description
index int
Returns
Type Description
Operation.Builder

getOperationsBuilderList()

public List<Operation.Builder> getOperationsBuilderList()

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Returns
Type Description
List<Builder>

getOperationsCount()

public int getOperationsCount()

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Returns
Type Description
int

getOperationsList()

public List<Operation> getOperationsList()

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Returns
Type Description
List<Operation>

getOperationsOrBuilder(int index)

public OperationOrBuilder getOperationsOrBuilder(int index)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameter
Name Description
index int
Returns
Type Description
OperationOrBuilder

getOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getOperationsOrBuilderList()

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Returns
Type Description
List<? extends com.google.container.v1.OperationOrBuilder>

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ListOperationsResponse other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeOperations(int index)

public ListOperationsResponse.Builder removeOperations(int index)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameter
Name Description
index int
Returns
Type Description
ListOperationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setMissingZones(int index, String value)

public ListOperationsResponse.Builder setMissingZones(int index, String value)

If any zones are listed here, the list of operations returned may be missing the operations from those zones.

repeated string missing_zones = 2;

Parameters
Name Description
index int

The index to set the value at.

value String

The missingZones to set.

Returns
Type Description
ListOperationsResponse.Builder

This builder for chaining.

setOperations(int index, Operation value)

public ListOperationsResponse.Builder setOperations(int index, Operation value)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameters
Name Description
index int
value Operation
Returns
Type Description
ListOperationsResponse.Builder

setOperations(int index, Operation.Builder builderForValue)

public ListOperationsResponse.Builder setOperations(int index, Operation.Builder builderForValue)

A list of operations in the project in the specified zone.

repeated .google.container.v1.Operation operations = 1;

Parameters
Name Description
index int
builderForValue Operation.Builder
Returns
Type Description
ListOperationsResponse.Builder

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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