Class ListOperationsResponse.Builder (2.7.4)
2.70.0 (latest)
2.67.0
2.66.0
2.65.1
2.64.1
2.63.2
2.62.0
2.61.3
2.60.0
2.59.2
2.58.0
2.57.0
2.56.0
2.54.1
2.53.0
2.52.0
2.51.0
2.50.1
2.49.0
2.48.0
2.46.0
2.45.1
2.44.0
2.43.0
2.42.0
2.41.0
2.40.0
2.39.1
2.38.0
2.37.1
2.36.0
2.34.0
2.33.0
2.32.0
2.30.0
2.29.0
2.28.0
2.27.0
2.26.0
2.25.1
2.24.0
2.23.1
2.22.1
2.21.1
2.15.0
2.14.3
2.13.0
2.12.0
2.11.0
2.10.0
2.9.6
2.8.4
2.7.4
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
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
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
Returns
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
Returns
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
Returns
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
Returns
addOperationsBuilder()
public Operation . Builder addOperationsBuilder ()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
Returns
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
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListOperationsResponse . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
Overrides
build()
public ListOperationsResponse build ()
Returns
buildPartial()
public ListOperationsResponse buildPartial ()
Returns
clear()
public ListOperationsResponse . Builder clear ()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListOperationsResponse . Builder clearField ( Descriptors . FieldDescriptor field )
Parameter
Returns
Overrides
clearNextPageToken()
public ListOperationsResponse . Builder clearNextPageToken ()
The standard List next-page token.
string next_page_token = 2;
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public ListOperationsResponse . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Parameter
Returns
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
clone()
public ListOperationsResponse . Builder clone ()
Returns
Overrides
getDefaultInstanceForType()
public ListOperationsResponse getDefaultInstanceForType ()
Returns
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Returns
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
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
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
getOperationsCount()
public int getOperationsCount ()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
Returns
getOperationsList()
public List<Operation> getOperationsList ()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized ()
Returns
Overrides
mergeFrom(ListOperationsResponse other)
public ListOperationsResponse . Builder mergeFrom ( ListOperationsResponse other )
Parameter
Returns
public ListOperationsResponse . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public ListOperationsResponse . Builder mergeFrom ( Message other )
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListOperationsResponse . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public ListOperationsResponse . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Parameters
Returns
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
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
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
Returns
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
Returns
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListOperationsResponse . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListOperationsResponse . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Parameter
Returns
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-25 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-25 UTC."],[],[]]