public final class BeginTransactionResponse extends GeneratedMessageV3 implements BeginTransactionResponseOrBuilder
The response for Datastore.BeginTransaction.
Protobuf type google.datastore.v1.BeginTransactionResponse
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BeginTransactionResponseImplements
BeginTransactionResponseOrBuilderStatic Fields
TRANSACTION_FIELD_NUMBER
public static final int TRANSACTION_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static BeginTransactionResponse getDefaultInstance()
Type | Description |
BeginTransactionResponse |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static BeginTransactionResponse.Builder newBuilder()
Type | Description |
BeginTransactionResponse.Builder |
newBuilder(BeginTransactionResponse prototype)
public static BeginTransactionResponse.Builder newBuilder(BeginTransactionResponse prototype)
Name | Description |
prototype | BeginTransactionResponse |
Type | Description |
BeginTransactionResponse.Builder |
parseDelimitedFrom(InputStream input)
public static BeginTransactionResponse parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BeginTransactionResponse |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BeginTransactionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BeginTransactionResponse |
Type | Description |
IOException |
parseFrom(byte[] data)
public static BeginTransactionResponse parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
BeginTransactionResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static BeginTransactionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BeginTransactionResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static BeginTransactionResponse parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
BeginTransactionResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static BeginTransactionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BeginTransactionResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static BeginTransactionResponse parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
BeginTransactionResponse |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static BeginTransactionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BeginTransactionResponse |
Type | Description |
IOException |
parseFrom(InputStream input)
public static BeginTransactionResponse parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
BeginTransactionResponse |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static BeginTransactionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BeginTransactionResponse |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static BeginTransactionResponse parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
BeginTransactionResponse |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static BeginTransactionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BeginTransactionResponse |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<BeginTransactionResponse> parser()
Type | Description |
Parser<BeginTransactionResponse> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getDefaultInstanceForType()
public BeginTransactionResponse getDefaultInstanceForType()
Type | Description |
BeginTransactionResponse |
getParserForType()
public Parser<BeginTransactionResponse> getParserForType()
Type | Description |
Parser<BeginTransactionResponse> |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTransaction()
public ByteString getTransaction()
The transaction identifier (always present).
bytes transaction = 1;
Type | Description |
ByteString | The transaction. |
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 |
newBuilderForType()
public BeginTransactionResponse.Builder newBuilderForType()
Type | Description |
BeginTransactionResponse.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected BeginTransactionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
BeginTransactionResponse.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public BeginTransactionResponse.Builder toBuilder()
Type | Description |
BeginTransactionResponse.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |