public static final class BeginTransactionResponse.Builder extends GeneratedMessageV3.Builder<BeginTransactionResponse.Builder> implements BeginTransactionResponseOrBuilder
The response for Firestore.BeginTransaction.
Protobuf type google.firestore.v1.BeginTransactionResponse
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > BeginTransactionResponse.BuilderImplements
BeginTransactionResponseOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BeginTransactionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BeginTransactionResponse.Builder |
build()
public BeginTransactionResponse build()
Type | Description |
BeginTransactionResponse |
buildPartial()
public BeginTransactionResponse buildPartial()
Type | Description |
BeginTransactionResponse |
clear()
public BeginTransactionResponse.Builder clear()
Type | Description |
BeginTransactionResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public BeginTransactionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Name | Description |
field | FieldDescriptor |
Type | Description |
BeginTransactionResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BeginTransactionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Name | Description |
oneof | OneofDescriptor |
Type | Description |
BeginTransactionResponse.Builder |
clearTransaction()
public BeginTransactionResponse.Builder clearTransaction()
The transaction that was started.
bytes transaction = 1;
Type | Description |
BeginTransactionResponse.Builder | This builder for chaining. |
clone()
public BeginTransactionResponse.Builder clone()
Type | Description |
BeginTransactionResponse.Builder |
getDefaultInstanceForType()
public BeginTransactionResponse getDefaultInstanceForType()
Type | Description |
BeginTransactionResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Type | Description |
Descriptor |
getTransaction()
public ByteString getTransaction()
The transaction that was started.
bytes transaction = 1;
Type | Description |
ByteString | The transaction. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
mergeFrom(BeginTransactionResponse other)
public BeginTransactionResponse.Builder mergeFrom(BeginTransactionResponse other)
Name | Description |
other | BeginTransactionResponse |
Type | Description |
BeginTransactionResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BeginTransactionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
BeginTransactionResponse.Builder |
Type | Description |
IOException |
mergeFrom(Message other)
public BeginTransactionResponse.Builder mergeFrom(Message other)
Name | Description |
other | Message |
Type | Description |
BeginTransactionResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BeginTransactionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BeginTransactionResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BeginTransactionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Name | Description |
field | FieldDescriptor |
value | Object |
Type | Description |
BeginTransactionResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BeginTransactionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Type | Description |
BeginTransactionResponse.Builder |
setTransaction(ByteString value)
public BeginTransactionResponse.Builder setTransaction(ByteString value)
The transaction that was started.
bytes transaction = 1;
Name | Description |
value | ByteString The transaction to set. |
Type | Description |
BeginTransactionResponse.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BeginTransactionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Name | Description |
unknownFields | UnknownFieldSet |
Type | Description |
BeginTransactionResponse.Builder |