Class ListOperationsResponse.Builder (2.37.1)

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

The response message for Operations.ListOperations.

Protobuf type google.longrunning.ListOperationsResponse

Static Methods

getDescriptor()

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

Methods

addAllOperations(Iterable<? extends Operation> values)

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

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
valuesIterable<? extends com.google.longrunning.Operation>
Returns
TypeDescription
ListOperationsResponse.Builder

addOperations(Operation value)

public ListOperationsResponse.Builder addOperations(Operation value)

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.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 that matches the specified filter in the request.

repeated .google.longrunning.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 that matches the specified filter in the request.

repeated .google.longrunning.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 that matches the specified filter in the request.

repeated .google.longrunning.Operation operations = 1;

Parameters
NameDescription
indexint
builderForValueOperation.Builder
Returns
TypeDescription
ListOperationsResponse.Builder

addOperationsBuilder()

public Operation.Builder addOperationsBuilder()

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
Operation.Builder

addOperationsBuilder(int index)

public Operation.Builder addOperationsBuilder(int index)

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.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

clearNextPageToken()

public ListOperationsResponse.Builder clearNextPageToken()

The standard List next-page token.

string next_page_token = 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 that matches the specified filter in the request.

repeated .google.longrunning.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

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

string next_page_token = 2;

Returns
TypeDescription
ByteString

The bytes for nextPageToken.

getOperations(int index)

public Operation getOperations(int index)

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation

getOperationsBuilder(int index)

public Operation.Builder getOperationsBuilder(int index)

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
Operation.Builder

getOperationsBuilderList()

public List<Operation.Builder> getOperationsBuilderList()

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<Builder>

getOperationsCount()

public int getOperationsCount()

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
int

getOperationsList()

public List<Operation> getOperationsList()

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<Operation>

getOperationsOrBuilder(int index)

public OperationOrBuilder getOperationsOrBuilder(int index)

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.Operation operations = 1;

Parameter
NameDescription
indexint
Returns
TypeDescription
OperationOrBuilder

getOperationsOrBuilderList()

public List<? extends OperationOrBuilder> getOperationsOrBuilderList()

A list of operations that matches the specified filter in the request.

repeated .google.longrunning.Operation operations = 1;

Returns
TypeDescription
List<? extends com.google.longrunning.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 that matches the specified filter in the request.

repeated .google.longrunning.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

setNextPageToken(String value)

public ListOperationsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
NameDescription
valueString

The nextPageToken to set.

Returns
TypeDescription
ListOperationsResponse.Builder

This builder for chaining.

setNextPageTokenBytes(ByteString value)

public ListOperationsResponse.Builder setNextPageTokenBytes(ByteString value)

The standard List next-page token.

string next_page_token = 2;

Parameter
NameDescription
valueByteString

The bytes for nextPageToken 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 that matches the specified filter in the request.

repeated .google.longrunning.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 that matches the specified filter in the request.

repeated .google.longrunning.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