public static final class ListOperationsResponse.Builder extends GeneratedMessageV3.Builder<ListOperationsResponse.Builder> implements ListOperationsResponseOrBuilder
The response message for Operations.ListOperations.
Protobuf type google.longrunning.ListOperationsResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
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
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
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
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
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
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