public static final class RollbackRequest.Builder extends GeneratedMessageV3.Builder<RollbackRequest.Builder> implements RollbackRequestOrBuilder
The request for Rollback.
Protobuf type google.spanner.v1.RollbackRequest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > RollbackRequest.BuilderImplements
RollbackRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public RollbackRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RollbackRequest.Builder |
build()
public RollbackRequest build()
Type | Description |
RollbackRequest |
buildPartial()
public RollbackRequest buildPartial()
Type | Description |
RollbackRequest |
clear()
public RollbackRequest.Builder clear()
Type | Description |
RollbackRequest.Builder |
clearField(Descriptors.FieldDescriptor field)
public RollbackRequest.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
RollbackRequest.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public RollbackRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
RollbackRequest.Builder |
clearSession()
public RollbackRequest.Builder clearSession()
Required. The session in which the transaction to roll back is running.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
RollbackRequest.Builder | This builder for chaining. |
clearTransactionId()
public RollbackRequest.Builder clearTransactionId()
Required. The transaction to roll back.
bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
RollbackRequest.Builder | This builder for chaining. |
clone()
public RollbackRequest.Builder clone()
Type | Description |
RollbackRequest.Builder |
getDefaultInstanceForType()
public RollbackRequest getDefaultInstanceForType()
Type | Description |
RollbackRequest |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getSession()
public String getSession()
Required. The session in which the transaction to roll back is running.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
String | The session. |
getSessionBytes()
public ByteString getSessionBytes()
Required. The session in which the transaction to roll back is running.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Type | Description |
ByteString | The bytes for session. |
getTransactionId()
public ByteString getTransactionId()
Required. The transaction to roll back.
bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The transactionId. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public RollbackRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public RollbackRequest.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
RollbackRequest.Builder |
mergeFrom(RollbackRequest other)
public RollbackRequest.Builder mergeFrom(RollbackRequest other)
Name | Description |
other | RollbackRequest |
Type | Description |
RollbackRequest.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final RollbackRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RollbackRequest.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public RollbackRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
RollbackRequest.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public RollbackRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
RollbackRequest.Builder |
setSession(String value)
public RollbackRequest.Builder setSession(String value)
Required. The session in which the transaction to roll back is running.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | String The session to set. |
Type | Description |
RollbackRequest.Builder | This builder for chaining. |
setSessionBytes(ByteString value)
public RollbackRequest.Builder setSessionBytes(ByteString value)
Required. The session in which the transaction to roll back is running.
string session = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Name | Description |
value | ByteString The bytes for session to set. |
Type | Description |
RollbackRequest.Builder | This builder for chaining. |
setTransactionId(ByteString value)
public RollbackRequest.Builder setTransactionId(ByteString value)
Required. The transaction to roll back.
bytes transaction_id = 2 [(.google.api.field_behavior) = REQUIRED];
Name | Description |
value | ByteString The transactionId to set. |
Type | Description |
RollbackRequest.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final RollbackRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
RollbackRequest.Builder |