Class ListOperationsResponse.Builder (2.4.0)

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

ListOperationsResponse is the result of ListOperationsRequest.

Protobuf type google.container.v1beta1.ListOperationsResponse

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The missingZones to add.

Returns
TypeDescription
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.v1beta1.Operation operations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.container.v1beta1.Operation>
Returns
TypeDescription
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
NameDescription
valueString

The missingZones to add.

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

The bytes of the missingZones to add.

Returns
TypeDescription
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.v1beta1.Operation operations = 1;

Parameter
NameDescription
valueOperation
Returns
TypeDescription
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.v1beta1.Operation operations = 1;

Parameter
NameDescription
builderForValueOperation.Builder
Returns
TypeDescription
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.v1beta1.Operation operations = 1;

Parameters
NameDescription
indexint
valueOperation
Returns
TypeDescription
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.v1beta1.Operation operations = 1;

Parameters
NameDescription
indexint
builderForValueOperation.Builder
Returns
TypeDescription
ListOperationsResponse.Builder

addOperationsBuilder()

public Operation.Builder addOperationsBuilder()

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

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

Returns
TypeDescription
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.v1beta1.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ListOperationsResponse build()
Returns
TypeDescription
ListOperationsResponse

buildPartial()

public ListOperationsResponse buildPartial()
Returns
TypeDescription
ListOperationsResponse

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperations()

public ListOperationsResponse.Builder clearOperations()

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

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

Returns
TypeDescription
ListOperationsResponse.Builder

clone()

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

getDefaultInstanceForType()

public ListOperationsResponse getDefaultInstanceForType()
Returns
TypeDescription
ListOperationsResponse

getDescriptorForType()

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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.v1beta1.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation

getOperationsBuilder(int index)

public Operation.Builder getOperationsBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation.Builder

getOperationsBuilderList()

public List<Operation.Builder> getOperationsBuilderList()

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

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

Returns
TypeDescription
List<Builder>

getOperationsCount()

public int getOperationsCount()

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

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

Returns
TypeDescription
int

getOperationsList()

public List<Operation> getOperationsList()

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

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

Returns
TypeDescription
List<Operation>

getOperationsOrBuilder(int index)

public OperationOrBuilder getOperationsOrBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getOperationsOrBuilderList()

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

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

Returns
TypeDescription
List<? extends com.google.container.v1beta1.OperationOrBuilder>

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ListOperationsResponse other)

public ListOperationsResponse.Builder mergeFrom(ListOperationsResponse other)
Parameter
NameDescription
otherListOperationsResponse
Returns
TypeDescription
ListOperationsResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final ListOperationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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.v1beta1.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
ListOperationsResponse.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

The index to set the value at.

valueString

The missingZones to set.

Returns
TypeDescription
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.v1beta1.Operation operations = 1;

Parameters
NameDescription
indexint
valueOperation
Returns
TypeDescription
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.v1beta1.Operation operations = 1;

Parameters
NameDescription
indexint
builderForValueOperation.Builder
Returns
TypeDescription
ListOperationsResponse.Builder

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

public ListOperationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
ListOperationsResponse.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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