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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
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>
|
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;
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;
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;
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;
addOperationsBuilder()
public Operation.Builder addOperationsBuilder()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
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
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ListOperationsResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public ListOperationsResponse build()
buildPartial()
public ListOperationsResponse buildPartial()
clear()
public ListOperationsResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public ListOperationsResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearNextPageToken()
public ListOperationsResponse.Builder clearNextPageToken()
The standard List next-page token.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public ListOperationsResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOperations()
public ListOperationsResponse.Builder clearOperations()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
clone()
public ListOperationsResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public ListOperationsResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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
|
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
|
getOperationsBuilderList()
public List<Operation.Builder> getOperationsBuilderList()
A list of operations that matches the specified filter in the request.
repeated .google.longrunning.Operation operations = 1;
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;
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
|
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(ListOperationsResponse other)
public ListOperationsResponse.Builder mergeFrom(ListOperationsResponse other)
public ListOperationsResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public ListOperationsResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ListOperationsResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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
|
setField(Descriptors.FieldDescriptor field, Object value)
public ListOperationsResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
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.
|
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.
|
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;
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;
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ListOperationsResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final ListOperationsResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides