Class BeginTransactionResponse (3.20.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
TypeDescription
int

Static Methods

getDefaultInstance()

public static BeginTransactionResponse getDefaultInstance()
Returns
TypeDescription
BeginTransactionResponse

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static BeginTransactionResponse.Builder newBuilder()
Returns
TypeDescription
BeginTransactionResponse.Builder

newBuilder(BeginTransactionResponse prototype)

public static BeginTransactionResponse.Builder newBuilder(BeginTransactionResponse prototype)
Parameter
NameDescription
prototypeBeginTransactionResponse
Returns
TypeDescription
BeginTransactionResponse.Builder

parseDelimitedFrom(InputStream input)

public static BeginTransactionResponse parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static BeginTransactionResponse parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BeginTransactionResponse parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BeginTransactionResponse parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static BeginTransactionResponse parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static BeginTransactionResponse parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BeginTransactionResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BeginTransactionResponse
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<BeginTransactionResponse> parser()
Returns
TypeDescription
Parser<BeginTransactionResponse>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public BeginTransactionResponse getDefaultInstanceForType()
Returns
TypeDescription
BeginTransactionResponse

getParserForType()

public Parser<BeginTransactionResponse> getParserForType()
Returns
TypeDescription
Parser<BeginTransactionResponse>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getTransaction()

public ByteString getTransaction()

The transaction that was started.

bytes transaction = 1;

Returns
TypeDescription
ByteString

The transaction.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public BeginTransactionResponse.Builder newBuilderForType()
Returns
TypeDescription
BeginTransactionResponse.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BeginTransactionResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public BeginTransactionResponse.Builder toBuilder()
Returns
TypeDescription
BeginTransactionResponse.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException