public static final class BeginTransactionResponse.Builder extends GeneratedMessageV3.Builder<BeginTransactionResponse.Builder> implements BeginTransactionResponseOrBuilder
The response for
Datastore.BeginTransaction.
Protobuf type google.datastore.v1.BeginTransactionResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public BeginTransactionResponse.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public BeginTransactionResponse build()
buildPartial()
public BeginTransactionResponse buildPartial()
clear()
public BeginTransactionResponse.Builder clear()
Overrides
clearField(Descriptors.FieldDescriptor field)
public BeginTransactionResponse.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public BeginTransactionResponse.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearTransaction()
public BeginTransactionResponse.Builder clearTransaction()
The transaction identifier (always present).
bytes transaction = 1;
clone()
public BeginTransactionResponse.Builder clone()
Overrides
getDefaultInstanceForType()
public BeginTransactionResponse getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getTransaction()
public ByteString getTransaction()
The transaction identifier (always present).
bytes transaction = 1;
Returns |
Type |
Description |
ByteString |
The transaction.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(BeginTransactionResponse other)
public BeginTransactionResponse.Builder mergeFrom(BeginTransactionResponse other)
public BeginTransactionResponse.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public BeginTransactionResponse.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final BeginTransactionResponse.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
public BeginTransactionResponse.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public BeginTransactionResponse.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setTransaction(ByteString value)
public BeginTransactionResponse.Builder setTransaction(ByteString value)
The transaction identifier (always present).
bytes transaction = 1;
Parameter |
Name |
Description |
value |
ByteString
The transaction to set.
|
setUnknownFields(UnknownFieldSet unknownFields)
public final BeginTransactionResponse.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides