public static final class BeginTransactionResponse.Builder extends GeneratedMessageV3.Builder<BeginTransactionResponse.Builder> implements BeginTransactionResponseOrBuilder
The response for Firestore.BeginTransaction.
Protobuf type google.firestore.v1.BeginTransactionResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BeginTransactionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public BeginTransactionResponse build()
Returns
buildPartial()
public BeginTransactionResponse buildPartial()
Returns
clear()
public BeginTransactionResponse.Builder clear()
Returns
Overrides
clearField(Descriptors.FieldDescriptor field)
public BeginTransactionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BeginTransactionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearTransaction()
public BeginTransactionResponse.Builder clearTransaction()
The transaction that was started.
bytes transaction = 1;
Returns
clone()
public BeginTransactionResponse.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public BeginTransactionResponse getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getTransaction()
public ByteString getTransaction()
The transaction that was started.
bytes transaction = 1;
Returns
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(BeginTransactionResponse other)
public BeginTransactionResponse.Builder mergeFrom(BeginTransactionResponse other)
Parameter
Returns
public BeginTransactionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public BeginTransactionResponse.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BeginTransactionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BeginTransactionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BeginTransactionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
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
setUnknownFields(UnknownFieldSet unknownFields)
public final BeginTransactionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides