public static final class TransactionOptions.ReadOnly.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder> implements TransactionOptions.ReadOnlyOrBuilder
Options for a transaction that can only be used to read documents.Protobuf type
google.firestore.v1.TransactionOptions.ReadOnly
Modifier and Type | Method and Description |
---|---|
TransactionOptions.ReadOnly.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransactionOptions.ReadOnly |
build() |
TransactionOptions.ReadOnly |
buildPartial() |
TransactionOptions.ReadOnly.Builder |
clear() |
TransactionOptions.ReadOnly.Builder |
clearConsistencySelector() |
TransactionOptions.ReadOnly.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
TransactionOptions.ReadOnly.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
TransactionOptions.ReadOnly.Builder |
clearReadTime()
Reads documents at the given time.
|
TransactionOptions.ReadOnly.Builder |
clone() |
TransactionOptions.ReadOnly.ConsistencySelectorCase |
getConsistencySelectorCase() |
TransactionOptions.ReadOnly |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
com.google.protobuf.Timestamp |
getReadTime()
Reads documents at the given time.
|
com.google.protobuf.Timestamp.Builder |
getReadTimeBuilder()
Reads documents at the given time.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Reads documents at the given time.
|
boolean |
hasReadTime()
Reads documents at the given time.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
TransactionOptions.ReadOnly.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
TransactionOptions.ReadOnly.Builder |
mergeFrom(com.google.protobuf.Message other) |
TransactionOptions.ReadOnly.Builder |
mergeFrom(TransactionOptions.ReadOnly other) |
TransactionOptions.ReadOnly.Builder |
mergeReadTime(com.google.protobuf.Timestamp value)
Reads documents at the given time.
|
TransactionOptions.ReadOnly.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
TransactionOptions.ReadOnly.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
TransactionOptions.ReadOnly.Builder |
setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Reads documents at the given time.
|
TransactionOptions.ReadOnly.Builder |
setReadTime(com.google.protobuf.Timestamp value)
Reads documents at the given time.
|
TransactionOptions.ReadOnly.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
TransactionOptions.ReadOnly.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder>
public TransactionOptions.ReadOnly.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<TransactionOptions.ReadOnly.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<TransactionOptions.ReadOnly.Builder>
public TransactionOptions.ReadOnly getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public TransactionOptions.ReadOnly build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public TransactionOptions.ReadOnly buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public TransactionOptions.ReadOnly.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<TransactionOptions.ReadOnly.Builder>
public TransactionOptions.ReadOnly.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField
in interface com.google.protobuf.Message.Builder
setField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder>
public TransactionOptions.ReadOnly.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField
in interface com.google.protobuf.Message.Builder
clearField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder>
public TransactionOptions.ReadOnly.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof
in interface com.google.protobuf.Message.Builder
clearOneof
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder>
public TransactionOptions.ReadOnly.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField
in interface com.google.protobuf.Message.Builder
setRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder>
public TransactionOptions.ReadOnly.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField
in interface com.google.protobuf.Message.Builder
addRepeatedField
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder>
public TransactionOptions.ReadOnly.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom
in interface com.google.protobuf.Message.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<TransactionOptions.ReadOnly.Builder>
public TransactionOptions.ReadOnly.Builder mergeFrom(TransactionOptions.ReadOnly other)
public final boolean isInitialized()
isInitialized
in interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder>
public TransactionOptions.ReadOnly.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws 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<TransactionOptions.ReadOnly.Builder>
IOException
public TransactionOptions.ReadOnly.ConsistencySelectorCase getConsistencySelectorCase()
getConsistencySelectorCase
in interface TransactionOptions.ReadOnlyOrBuilder
public TransactionOptions.ReadOnly.Builder clearConsistencySelector()
public boolean hasReadTime()
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
hasReadTime
in interface TransactionOptions.ReadOnlyOrBuilder
public com.google.protobuf.Timestamp getReadTime()
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
getReadTime
in interface TransactionOptions.ReadOnlyOrBuilder
public TransactionOptions.ReadOnly.Builder setReadTime(com.google.protobuf.Timestamp value)
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
public TransactionOptions.ReadOnly.Builder setReadTime(com.google.protobuf.Timestamp.Builder builderForValue)
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
public TransactionOptions.ReadOnly.Builder mergeReadTime(com.google.protobuf.Timestamp value)
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
public TransactionOptions.ReadOnly.Builder clearReadTime()
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
public com.google.protobuf.Timestamp.Builder getReadTimeBuilder()
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
public com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
getReadTimeOrBuilder
in interface TransactionOptions.ReadOnlyOrBuilder
public final TransactionOptions.ReadOnly.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields
in interface com.google.protobuf.Message.Builder
setUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder>
public final TransactionOptions.ReadOnly.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields
in interface com.google.protobuf.Message.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<TransactionOptions.ReadOnly.Builder>
Copyright © 2023 Google LLC. All rights reserved.