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()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BeginTransactionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
build()
public BeginTransactionResponse build()
Returns | |
---|---|
Type | Description |
BeginTransactionResponse |
buildPartial()
public BeginTransactionResponse buildPartial()
Returns | |
---|---|
Type | Description |
BeginTransactionResponse |
clear()
public BeginTransactionResponse.Builder clear()
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
clearField(Descriptors.FieldDescriptor field)
public BeginTransactionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public BeginTransactionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
clearTransaction()
public BeginTransactionResponse.Builder clearTransaction()
The transaction that was started.
bytes transaction = 1;
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
This builder for chaining. |
clone()
public BeginTransactionResponse.Builder clone()
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
getDefaultInstanceForType()
public BeginTransactionResponse getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
BeginTransactionResponse |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getTransaction()
public ByteString getTransaction()
The transaction that was started.
bytes transaction = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The transaction. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(BeginTransactionResponse other)
public BeginTransactionResponse.Builder mergeFrom(BeginTransactionResponse other)
Parameter | |
---|---|
Name | Description |
other |
BeginTransactionResponse |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public BeginTransactionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public BeginTransactionResponse.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BeginTransactionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public BeginTransactionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BeginTransactionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
setTransaction(ByteString value)
public BeginTransactionResponse.Builder setTransaction(ByteString value)
The transaction that was started.
bytes transaction = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The transaction to set. |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final BeginTransactionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
BeginTransactionResponse.Builder |