public final class RollbackRequest extends GeneratedMessageV3 implements RollbackRequestOrBuilder
The request for Rollback.
Protobuf type google.spanner.v1.RollbackRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > RollbackRequestImplements
RollbackRequestOrBuilderFields
SESSION_FIELD_NUMBER
public static final int SESSION_FIELD_NUMBER
Type | Description |
int |
TRANSACTION_ID_FIELD_NUMBER
public static final int TRANSACTION_ID_FIELD_NUMBER
Type | Description |
int |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstance()
public static RollbackRequest getDefaultInstance()
Type | Description |
RollbackRequest |
getDefaultInstanceForType()
public RollbackRequest getDefaultInstanceForType()
Type | Description |
RollbackRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
getParserForType()
public Parser<RollbackRequest> getParserForType()
Type | Description |
Parser<RollbackRequest> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
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. |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilder()
public static RollbackRequest.Builder newBuilder()
Type | Description |
RollbackRequest.Builder |
newBuilder(RollbackRequest prototype)
public static RollbackRequest.Builder newBuilder(RollbackRequest prototype)
Name | Description |
prototype | RollbackRequest |
Type | Description |
RollbackRequest.Builder |
newBuilderForType()
public RollbackRequest.Builder newBuilderForType()
Type | Description |
RollbackRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected RollbackRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
RollbackRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
parseDelimitedFrom(InputStream input)
public static RollbackRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static RollbackRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static RollbackRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static RollbackRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static RollbackRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static RollbackRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static RollbackRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
RollbackRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<RollbackRequest> parser()
Type | Description |
Parser<RollbackRequest> |
toBuilder()
public RollbackRequest.Builder toBuilder()
Type | Description |
RollbackRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |