Class BeginTransactionResponse.Builder (3.4.2)

public static final class BeginTransactionResponse.Builder extends GeneratedMessageV3.Builder<BeginTransactionResponse.Builder> implements BeginTransactionResponseOrBuilder

The response for Firestore.BeginTransaction.

Protobuf type google.firestore.v1.BeginTransactionResponse

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public BeginTransactionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides

build()

public BeginTransactionResponse build()
Returns
TypeDescription
BeginTransactionResponse

buildPartial()

public BeginTransactionResponse buildPartial()
Returns
TypeDescription
BeginTransactionResponse

clear()

public BeginTransactionResponse.Builder clear()
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public BeginTransactionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public BeginTransactionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides

clearTransaction()

public BeginTransactionResponse.Builder clearTransaction()

The transaction that was started.

bytes transaction = 1;

Returns
TypeDescription
BeginTransactionResponse.Builder

This builder for chaining.

clone()

public BeginTransactionResponse.Builder clone()
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides

getDefaultInstanceForType()

public BeginTransactionResponse getDefaultInstanceForType()
Returns
TypeDescription
BeginTransactionResponse

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getTransaction()

public ByteString getTransaction()

The transaction that was started.

bytes transaction = 1;

Returns
TypeDescription
ByteString

The transaction.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BeginTransactionResponse other)

public BeginTransactionResponse.Builder mergeFrom(BeginTransactionResponse other)
Parameter
NameDescription
otherBeginTransactionResponse
Returns
TypeDescription
BeginTransactionResponse.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public BeginTransactionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public BeginTransactionResponse.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BeginTransactionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public BeginTransactionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public BeginTransactionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides

setTransaction(ByteString value)

public BeginTransactionResponse.Builder setTransaction(ByteString value)

The transaction that was started.

bytes transaction = 1;

Parameter
NameDescription
valueByteString

The transaction to set.

Returns
TypeDescription
BeginTransactionResponse.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final BeginTransactionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BeginTransactionResponse.Builder
Overrides