public static final class OperationResponse.Builder extends GeneratedMessageV3.Builder<OperationResponse.Builder> implements OperationResponseOrBuilder
OperationResponse contains results returned by operation related actions.
Protobuf type google.spanner.executor.v1.OperationResponse
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
addAllListedOperations(Iterable<? extends Operation> values)
public OperationResponse.Builder addAllListedOperations(Iterable<? extends Operation> values)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.longrunning.Operation>
|
addListedOperations(Operation value)
public OperationResponse.Builder addListedOperations(Operation value)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
addListedOperations(Operation.Builder builderForValue)
public OperationResponse.Builder addListedOperations(Operation.Builder builderForValue)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
addListedOperations(int index, Operation value)
public OperationResponse.Builder addListedOperations(int index, Operation value)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
addListedOperations(int index, Operation.Builder builderForValue)
public OperationResponse.Builder addListedOperations(int index, Operation.Builder builderForValue)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | Builder
|
addListedOperationsBuilder()
public Operation.Builder addListedOperationsBuilder()
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
addListedOperationsBuilder(int index)
public Operation.Builder addListedOperationsBuilder(int index)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Parameter |
---|
Name | Description |
index | int
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public OperationResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public OperationResponse build()
buildPartial()
public OperationResponse buildPartial()
clear()
public OperationResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public OperationResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearListedOperations()
public OperationResponse.Builder clearListedOperations()
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
clearNextPageToken()
public OperationResponse.Builder clearNextPageToken()
"next_page_token" can be sent in a subsequent list action
to fetch more of the matching data.
string next_page_token = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public OperationResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearOperation()
public OperationResponse.Builder clearOperation()
Operation returned by GetOperationAction.
.google.longrunning.Operation operation = 3;
clone()
public OperationResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public OperationResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getListedOperations(int index)
public Operation getListedOperations(int index)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Parameter |
---|
Name | Description |
index | int
|
getListedOperationsBuilder(int index)
public Operation.Builder getListedOperationsBuilder(int index)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Parameter |
---|
Name | Description |
index | int
|
getListedOperationsBuilderList()
public List<Operation.Builder> getListedOperationsBuilderList()
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
getListedOperationsCount()
public int getListedOperationsCount()
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Returns |
---|
Type | Description |
int | |
getListedOperationsList()
public List<Operation> getListedOperationsList()
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
getListedOperationsOrBuilder(int index)
public OperationOrBuilder getListedOperationsOrBuilder(int index)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Parameter |
---|
Name | Description |
index | int
|
getListedOperationsOrBuilderList()
public List<? extends OperationOrBuilder> getListedOperationsOrBuilderList()
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Returns |
---|
Type | Description |
List<? extends com.google.longrunning.OperationOrBuilder> | |
getNextPageToken()
public String getNextPageToken()
"next_page_token" can be sent in a subsequent list action
to fetch more of the matching data.
string next_page_token = 2;
Returns |
---|
Type | Description |
String | The nextPageToken.
|
getNextPageTokenBytes()
public ByteString getNextPageTokenBytes()
"next_page_token" can be sent in a subsequent list action
to fetch more of the matching data.
string next_page_token = 2;
Returns |
---|
Type | Description |
ByteString | The bytes for nextPageToken.
|
getOperation()
public Operation getOperation()
Operation returned by GetOperationAction.
.google.longrunning.Operation operation = 3;
Returns |
---|
Type | Description |
Operation | The operation.
|
getOperationBuilder()
public Operation.Builder getOperationBuilder()
Operation returned by GetOperationAction.
.google.longrunning.Operation operation = 3;
getOperationOrBuilder()
public OperationOrBuilder getOperationOrBuilder()
Operation returned by GetOperationAction.
.google.longrunning.Operation operation = 3;
hasOperation()
public boolean hasOperation()
Operation returned by GetOperationAction.
.google.longrunning.Operation operation = 3;
Returns |
---|
Type | Description |
boolean | Whether the operation field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
public OperationResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public OperationResponse.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeFrom(OperationResponse other)
public OperationResponse.Builder mergeFrom(OperationResponse other)
mergeOperation(Operation value)
public OperationResponse.Builder mergeOperation(Operation value)
Operation returned by GetOperationAction.
.google.longrunning.Operation operation = 3;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final OperationResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
removeListedOperations(int index)
public OperationResponse.Builder removeListedOperations(int index)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Parameter |
---|
Name | Description |
index | int
|
setField(Descriptors.FieldDescriptor field, Object value)
public OperationResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setListedOperations(int index, Operation value)
public OperationResponse.Builder setListedOperations(int index, Operation value)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
setListedOperations(int index, Operation.Builder builderForValue)
public OperationResponse.Builder setListedOperations(int index, Operation.Builder builderForValue)
List of operations returned by ListOperationsAction.
repeated .google.longrunning.Operation listed_operations = 1;
Parameters |
---|
Name | Description |
index | int
|
builderForValue | Builder
|
setNextPageToken(String value)
public OperationResponse.Builder setNextPageToken(String value)
"next_page_token" can be sent in a subsequent list action
to fetch more of the matching data.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | String
The nextPageToken to set.
|
setNextPageTokenBytes(ByteString value)
public OperationResponse.Builder setNextPageTokenBytes(ByteString value)
"next_page_token" can be sent in a subsequent list action
to fetch more of the matching data.
string next_page_token = 2;
Parameter |
---|
Name | Description |
value | ByteString
The bytes for nextPageToken to set.
|
setOperation(Operation value)
public OperationResponse.Builder setOperation(Operation value)
Operation returned by GetOperationAction.
.google.longrunning.Operation operation = 3;
setOperation(Operation.Builder builderForValue)
public OperationResponse.Builder setOperation(Operation.Builder builderForValue)
Operation returned by GetOperationAction.
.google.longrunning.Operation operation = 3;
Parameter |
---|
Name | Description |
builderForValue | Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public OperationResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final OperationResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides