public static final class BeginTransactionRequest.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder> implements BeginTransactionRequestOrBuilder
The request for [Datastore.BeginTransaction][google.datastore.v1.Datastore.BeginTransaction].Protobuf type
google.datastore.v1.BeginTransactionRequest
Modifier and Type | Method and Description |
---|---|
BeginTransactionRequest.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BeginTransactionRequest |
build() |
BeginTransactionRequest |
buildPartial() |
BeginTransactionRequest.Builder |
clear() |
BeginTransactionRequest.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
BeginTransactionRequest.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
BeginTransactionRequest.Builder |
clearProjectId()
The ID of the project against which to make the request.
|
BeginTransactionRequest.Builder |
clearTransactionOptions()
Options for a new transaction.
|
BeginTransactionRequest.Builder |
clone() |
BeginTransactionRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
java.lang.String |
getProjectId()
The ID of the project against which to make the request.
|
com.google.protobuf.ByteString |
getProjectIdBytes()
The ID of the project against which to make the request.
|
TransactionOptions |
getTransactionOptions()
Options for a new transaction.
|
TransactionOptions.Builder |
getTransactionOptionsBuilder()
Options for a new transaction.
|
TransactionOptionsOrBuilder |
getTransactionOptionsOrBuilder()
Options for a new transaction.
|
boolean |
hasTransactionOptions()
Options for a new transaction.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
BeginTransactionRequest.Builder |
mergeFrom(BeginTransactionRequest other) |
BeginTransactionRequest.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
BeginTransactionRequest.Builder |
mergeFrom(com.google.protobuf.Message other) |
BeginTransactionRequest.Builder |
mergeTransactionOptions(TransactionOptions value)
Options for a new transaction.
|
BeginTransactionRequest.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
BeginTransactionRequest.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
java.lang.Object value) |
BeginTransactionRequest.Builder |
setProjectId(java.lang.String value)
The ID of the project against which to make the request.
|
BeginTransactionRequest.Builder |
setProjectIdBytes(com.google.protobuf.ByteString value)
The ID of the project against which to make the request.
|
BeginTransactionRequest.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
BeginTransactionRequest.Builder |
setTransactionOptions(TransactionOptions.Builder builderForValue)
Options for a new transaction.
|
BeginTransactionRequest.Builder |
setTransactionOptions(TransactionOptions value)
Options for a new transaction.
|
BeginTransactionRequest.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public BeginTransactionRequest.Builder clear()
clear
in interface com.google.protobuf.Message.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public BeginTransactionRequest getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public BeginTransactionRequest build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public BeginTransactionRequest buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public BeginTransactionRequest.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public BeginTransactionRequest.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public BeginTransactionRequest.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public BeginTransactionRequest.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public BeginTransactionRequest.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public BeginTransactionRequest.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public BeginTransactionRequest.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BeginTransactionRequest.Builder>
public BeginTransactionRequest.Builder mergeFrom(BeginTransactionRequest other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public BeginTransactionRequest.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<BeginTransactionRequest.Builder>
java.io.IOException
public java.lang.String getProjectId()
The ID of the project against which to make the request.
string project_id = 8;
getProjectId
in interface BeginTransactionRequestOrBuilder
public com.google.protobuf.ByteString getProjectIdBytes()
The ID of the project against which to make the request.
string project_id = 8;
getProjectIdBytes
in interface BeginTransactionRequestOrBuilder
public BeginTransactionRequest.Builder setProjectId(java.lang.String value)
The ID of the project against which to make the request.
string project_id = 8;
public BeginTransactionRequest.Builder clearProjectId()
The ID of the project against which to make the request.
string project_id = 8;
public BeginTransactionRequest.Builder setProjectIdBytes(com.google.protobuf.ByteString value)
The ID of the project against which to make the request.
string project_id = 8;
public boolean hasTransactionOptions()
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
hasTransactionOptions
in interface BeginTransactionRequestOrBuilder
public TransactionOptions getTransactionOptions()
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
getTransactionOptions
in interface BeginTransactionRequestOrBuilder
public BeginTransactionRequest.Builder setTransactionOptions(TransactionOptions value)
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
public BeginTransactionRequest.Builder setTransactionOptions(TransactionOptions.Builder builderForValue)
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
public BeginTransactionRequest.Builder mergeTransactionOptions(TransactionOptions value)
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
public BeginTransactionRequest.Builder clearTransactionOptions()
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
public TransactionOptions.Builder getTransactionOptionsBuilder()
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
public TransactionOptionsOrBuilder getTransactionOptionsOrBuilder()
Options for a new transaction.
.google.datastore.v1.TransactionOptions transaction_options = 10;
getTransactionOptionsOrBuilder
in interface BeginTransactionRequestOrBuilder
public final BeginTransactionRequest.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>
public final BeginTransactionRequest.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<BeginTransactionRequest.Builder>