public interface TargetOrBuilder
extends com.google.protobuf.MessageOrBuilder
Modifier and Type | Method and Description |
---|---|
Target.DocumentsTarget |
getDocuments()
A target specified by a set of document names.
|
Target.DocumentsTargetOrBuilder |
getDocumentsOrBuilder()
A target specified by a set of document names.
|
com.google.protobuf.Int32Value |
getExpectedCount()
The number of documents that last matched the query at the resume token or
read time.
|
com.google.protobuf.Int32ValueOrBuilder |
getExpectedCountOrBuilder()
The number of documents that last matched the query at the resume token or
read time.
|
boolean |
getOnce()
If the target should be removed once it is current and consistent.
|
Target.QueryTarget |
getQuery()
A target specified by a query.
|
Target.QueryTargetOrBuilder |
getQueryOrBuilder()
A target specified by a query.
|
com.google.protobuf.Timestamp |
getReadTime()
Start listening after a specific `read_time`.
|
com.google.protobuf.TimestampOrBuilder |
getReadTimeOrBuilder()
Start listening after a specific `read_time`.
|
com.google.protobuf.ByteString |
getResumeToken()
A resume token from a prior
[TargetChange][google.firestore.v1.TargetChange] for an identical target.
|
Target.ResumeTypeCase |
getResumeTypeCase() |
int |
getTargetId()
The target ID that identifies the target on the stream.
|
Target.TargetTypeCase |
getTargetTypeCase() |
boolean |
hasDocuments()
A target specified by a set of document names.
|
boolean |
hasExpectedCount()
The number of documents that last matched the query at the resume token or
read time.
|
boolean |
hasQuery()
A target specified by a query.
|
boolean |
hasReadTime()
Start listening after a specific `read_time`.
|
boolean |
hasResumeToken()
A resume token from a prior
[TargetChange][google.firestore.v1.TargetChange] for an identical target.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
boolean hasQuery()
A target specified by a query.
.google.firestore.v1.Target.QueryTarget query = 2;
Target.QueryTarget getQuery()
A target specified by a query.
.google.firestore.v1.Target.QueryTarget query = 2;
Target.QueryTargetOrBuilder getQueryOrBuilder()
A target specified by a query.
.google.firestore.v1.Target.QueryTarget query = 2;
boolean hasDocuments()
A target specified by a set of document names.
.google.firestore.v1.Target.DocumentsTarget documents = 3;
Target.DocumentsTarget getDocuments()
A target specified by a set of document names.
.google.firestore.v1.Target.DocumentsTarget documents = 3;
Target.DocumentsTargetOrBuilder getDocumentsOrBuilder()
A target specified by a set of document names.
.google.firestore.v1.Target.DocumentsTarget documents = 3;
boolean hasResumeToken()
A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target. Using a resume token with a different target is unsupported and may fail.
bytes resume_token = 4;
com.google.protobuf.ByteString getResumeToken()
A resume token from a prior [TargetChange][google.firestore.v1.TargetChange] for an identical target. Using a resume token with a different target is unsupported and may fail.
bytes resume_token = 4;
boolean hasReadTime()
Start listening after a specific `read_time`. The client must know the state of matching documents at this time.
.google.protobuf.Timestamp read_time = 11;
com.google.protobuf.Timestamp getReadTime()
Start listening after a specific `read_time`. The client must know the state of matching documents at this time.
.google.protobuf.Timestamp read_time = 11;
com.google.protobuf.TimestampOrBuilder getReadTimeOrBuilder()
Start listening after a specific `read_time`. The client must know the state of matching documents at this time.
.google.protobuf.Timestamp read_time = 11;
int getTargetId()
The target ID that identifies the target on the stream. Must be a positive number and non-zero.
int32 target_id = 5;
boolean getOnce()
If the target should be removed once it is current and consistent.
bool once = 6;
boolean hasExpectedCount()
The number of documents that last matched the query at the resume token or read time. This value is only relevant when a `resume_type` is provided. This value being present and greater than zero signals that the client wants `ExistenceFilter.unchanged_names` to be included in the response.
.google.protobuf.Int32Value expected_count = 12;
com.google.protobuf.Int32Value getExpectedCount()
The number of documents that last matched the query at the resume token or read time. This value is only relevant when a `resume_type` is provided. This value being present and greater than zero signals that the client wants `ExistenceFilter.unchanged_names` to be included in the response.
.google.protobuf.Int32Value expected_count = 12;
com.google.protobuf.Int32ValueOrBuilder getExpectedCountOrBuilder()
The number of documents that last matched the query at the resume token or read time. This value is only relevant when a `resume_type` is provided. This value being present and greater than zero signals that the client wants `ExistenceFilter.unchanged_names` to be included in the response.
.google.protobuf.Int32Value expected_count = 12;
Target.TargetTypeCase getTargetTypeCase()
Target.ResumeTypeCase getResumeTypeCase()
Copyright © 2023 Google LLC. All rights reserved.