Class ListOperationsResponse.Builder (2.49.0)

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
Type Description
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
Name Description
values Iterable<? extends com.google.longrunning.Operation>
Returns
Type Description
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
Name Description
value Operation
Returns
Type Description
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
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 that matches the specified filter in the request.

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

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

repeated .google.longrunning.Operation operations = 1;

Returns
Type Description
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
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

clearNextPageToken()

public ListOperationsResponse.Builder clearNextPageToken()

The standard List next-page token.

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

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

getNextPageToken()

public String getNextPageToken()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
String

The nextPageToken.

getNextPageTokenBytes()

public ByteString getNextPageTokenBytes()

The standard List next-page token.

string next_page_token = 2;

Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Name Description
index int
Returns
Type Description
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
Type Description
List<? extends com.google.longrunning.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 that matches the specified filter in the request.

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

setNextPageToken(String value)

public ListOperationsResponse.Builder setNextPageToken(String value)

The standard List next-page token.

string next_page_token = 2;

Parameter
Name Description
value String

The nextPageToken to set.

Returns
Type Description
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
Name Description
value ByteString

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

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

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