publicstaticfinalclass TransactionOptions.ReadOnly.BuilderextendsGeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder>implementsTransactionOptions.ReadOnlyOrBuilder
Options specific to read-only transactions.
Protobuf type google.datastore.v1.TransactionOptions.ReadOnly
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()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
publicTransactionOptions.ReadOnly.BuilderaddRepeatedField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
build()
publicTransactionOptions.ReadOnlybuild()
buildPartial()
publicTransactionOptions.ReadOnlybuildPartial()
clear()
publicTransactionOptions.ReadOnly.Builderclear()
Overrides
clearField(Descriptors.FieldDescriptor field)
publicTransactionOptions.ReadOnly.BuilderclearField(Descriptors.FieldDescriptorfield)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
publicTransactionOptions.ReadOnly.BuilderclearOneof(Descriptors.OneofDescriptoroneof)
Overrides
clearReadTime()
publicTransactionOptions.ReadOnly.BuilderclearReadTime()
Reads entities at the given time.
This must be a microsecond precision timestamp within the past one hour,
or if Point-in-Time Recovery is enabled, can additionally be a whole
minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 1;
clone()
publicTransactionOptions.ReadOnly.Builderclone()
Overrides
getDefaultInstanceForType()
publicTransactionOptions.ReadOnlygetDefaultInstanceForType()
getDescriptorForType()
publicDescriptors.DescriptorgetDescriptorForType()
Overrides
getReadTime()
publicTimestampgetReadTime()
Reads entities at the given time.
This must be a microsecond precision timestamp within the past one hour,
or if Point-in-Time Recovery is enabled, can additionally be a whole
minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 1;
| Returns |
| Type |
Description |
Timestamp |
The readTime.
|
getReadTimeBuilder()
publicTimestamp.BuildergetReadTimeBuilder()
Reads entities at the given time.
This must be a microsecond precision timestamp within the past one hour,
or if Point-in-Time Recovery is enabled, can additionally be a whole
minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 1;
getReadTimeOrBuilder()
publicTimestampOrBuildergetReadTimeOrBuilder()
Reads entities at the given time.
This must be a microsecond precision timestamp within the past one hour,
or if Point-in-Time Recovery is enabled, can additionally be a whole
minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 1;
hasReadTime()
publicbooleanhasReadTime()
Reads entities at the given time.
This must be a microsecond precision timestamp within the past one hour,
or if Point-in-Time Recovery is enabled, can additionally be a whole
minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 1;
| Returns |
| Type |
Description |
boolean |
Whether the readTime field is set.
|
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
mergeFrom(TransactionOptions.ReadOnly other)
publicTransactionOptions.ReadOnly.BuildermergeFrom(TransactionOptions.ReadOnlyother)
publicTransactionOptions.ReadOnly.BuildermergeFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Overrides
mergeFrom(Message other)
publicTransactionOptions.ReadOnly.BuildermergeFrom(Messageother)
| Parameter |
| Name |
Description |
other |
Message
|
Overrides
mergeReadTime(Timestamp value)
publicTransactionOptions.ReadOnly.BuildermergeReadTime(Timestampvalue)
Reads entities at the given time.
This must be a microsecond precision timestamp within the past one hour,
or if Point-in-Time Recovery is enabled, can additionally be a whole
minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 1;
mergeUnknownFields(UnknownFieldSet unknownFields)
publicfinalTransactionOptions.ReadOnly.BuildermergeUnknownFields(UnknownFieldSetunknownFields)
Overrides
setField(Descriptors.FieldDescriptor field, Object value)
publicTransactionOptions.ReadOnly.BuildersetField(Descriptors.FieldDescriptorfield,Objectvalue)
Overrides
setReadTime(Timestamp value)
publicTransactionOptions.ReadOnly.BuildersetReadTime(Timestampvalue)
Reads entities at the given time.
This must be a microsecond precision timestamp within the past one hour,
or if Point-in-Time Recovery is enabled, can additionally be a whole
minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 1;
setReadTime(Timestamp.Builder builderForValue)
publicTransactionOptions.ReadOnly.BuildersetReadTime(Timestamp.BuilderbuilderForValue)
Reads entities at the given time.
This must be a microsecond precision timestamp within the past one hour,
or if Point-in-Time Recovery is enabled, can additionally be a whole
minute timestamp within the past 7 days.
.google.protobuf.Timestamp read_time = 1;
| Parameter |
| Name |
Description |
builderForValue |
Builder
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
publicTransactionOptions.ReadOnly.BuildersetRepeatedField(Descriptors.FieldDescriptorfield,intindex,Objectvalue)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
publicfinalTransactionOptions.ReadOnly.BuildersetUnknownFields(UnknownFieldSetunknownFields)
Overrides