Class BeginTransactionResponse (3.28.0)

public final class BeginTransactionResponse extends GeneratedMessageV3 implements BeginTransactionResponseOrBuilder

The response for Firestore.BeginTransaction.

Protobuf type google.firestore.v1.BeginTransactionResponse

Static Fields

TRANSACTION_FIELD_NUMBER

public static final int TRANSACTION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BeginTransactionResponse getDefaultInstance()
Returns
Type Description
BeginTransactionResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static BeginTransactionResponse.Builder newBuilder()
Returns
Type Description
BeginTransactionResponse.Builder

newBuilder(BeginTransactionResponse prototype)

public static BeginTransactionResponse.Builder newBuilder(BeginTransactionResponse prototype)
Parameter
Name Description
prototype BeginTransactionResponse
Returns
Type Description
BeginTransactionResponse.Builder

parseDelimitedFrom(InputStream input)

public static BeginTransactionResponse parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BeginTransactionResponse parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BeginTransactionResponse parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BeginTransactionResponse parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BeginTransactionResponse parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BeginTransactionResponse parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BeginTransactionResponse
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BeginTransactionResponse> parser()
Returns
Type Description
Parser<BeginTransactionResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BeginTransactionResponse getDefaultInstanceForType()
Returns
Type Description
BeginTransactionResponse

getParserForType()

public Parser<BeginTransactionResponse> getParserForType()
Returns
Type Description
Parser<BeginTransactionResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTransaction()

public ByteString getTransaction()

The transaction that was started.

bytes transaction = 1;

Returns
Type Description
ByteString

The transaction.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BeginTransactionResponse.Builder newBuilderForType()
Returns
Type Description
BeginTransactionResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BeginTransactionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BeginTransactionResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BeginTransactionResponse.Builder toBuilder()
Returns
Type Description
BeginTransactionResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException