public static final class TransactionOptions.ReadOnly extends GeneratedMessageV3 implements TransactionOptions.ReadOnlyOrBuilder
Options for a transaction that can only be used to read documents.
Protobuf type google.firestore.v1.TransactionOptions.ReadOnly
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > TransactionOptions.ReadOnlyImplements
TransactionOptions.ReadOnlyOrBuilderStatic Fields
READ_TIME_FIELD_NUMBER
public static final int READ_TIME_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static TransactionOptions.ReadOnly getDefaultInstance()
Type | Description |
TransactionOptions.ReadOnly |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static TransactionOptions.ReadOnly.Builder newBuilder()
Type | Description |
TransactionOptions.ReadOnly.Builder |
newBuilder(TransactionOptions.ReadOnly prototype)
public static TransactionOptions.ReadOnly.Builder newBuilder(TransactionOptions.ReadOnly prototype)
Name | Description |
prototype | TransactionOptions.ReadOnly |
Type | Description |
TransactionOptions.ReadOnly.Builder |
parseDelimitedFrom(InputStream input)
public static TransactionOptions.ReadOnly parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadOnly parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
IOException |
parseFrom(byte[] data)
public static TransactionOptions.ReadOnly parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadOnly parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static TransactionOptions.ReadOnly parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadOnly parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static TransactionOptions.ReadOnly parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadOnly parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
IOException |
parseFrom(InputStream input)
public static TransactionOptions.ReadOnly parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadOnly parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static TransactionOptions.ReadOnly parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static TransactionOptions.ReadOnly parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
TransactionOptions.ReadOnly |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<TransactionOptions.ReadOnly> parser()
Type | Description |
Parser<ReadOnly> |
Methods
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getConsistencySelectorCase()
public TransactionOptions.ReadOnly.ConsistencySelectorCase getConsistencySelectorCase()
Type | Description |
TransactionOptions.ReadOnly.ConsistencySelectorCase |
getDefaultInstanceForType()
public TransactionOptions.ReadOnly getDefaultInstanceForType()
Type | Description |
TransactionOptions.ReadOnly |
getParserForType()
public Parser<TransactionOptions.ReadOnly> getParserForType()
Type | Description |
Parser<ReadOnly> |
getReadTime()
public Timestamp getReadTime()
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
Type | Description |
Timestamp | The readTime. |
getReadTimeOrBuilder()
public TimestampOrBuilder getReadTimeOrBuilder()
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
Type | Description |
TimestampOrBuilder |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasReadTime()
public boolean hasReadTime()
Reads documents at the given time. This may not be older than 60 seconds.
.google.protobuf.Timestamp read_time = 2;
Type | Description |
boolean | Whether the readTime field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public TransactionOptions.ReadOnly.Builder newBuilderForType()
Type | Description |
TransactionOptions.ReadOnly.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected TransactionOptions.ReadOnly.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
TransactionOptions.ReadOnly.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public TransactionOptions.ReadOnly.Builder toBuilder()
Type | Description |
TransactionOptions.ReadOnly.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |