public interface TargetOrBuilder extends 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.
|
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.
|
Timestamp |
getReadTime()
Start listening after a specific `read_time`.
|
TimestampOrBuilder |
getReadTimeOrBuilder()
Start listening after a specific `read_time`.
|
ByteString |
getResumeToken()
A resume token from a prior [TargetChange][google.firestore.v1beta1.TargetChange] for an identical target.
|
Target.ResumeTypeCase |
getResumeTypeCase() |
int |
getTargetId()
A client provided target ID.
|
Target.TargetTypeCase |
getTargetTypeCase() |
boolean |
hasDocuments()
A target specified by a set of document names.
|
boolean |
hasQuery()
A target specified by a query.
|
boolean |
hasReadTime()
Start listening after a specific `read_time`.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
isInitialized
boolean hasQuery()
A target specified by a query.
.google.firestore.v1beta1.Target.QueryTarget query = 2;
Target.QueryTarget getQuery()
A target specified by a query.
.google.firestore.v1beta1.Target.QueryTarget query = 2;
Target.QueryTargetOrBuilder getQueryOrBuilder()
A target specified by a query.
.google.firestore.v1beta1.Target.QueryTarget query = 2;
boolean hasDocuments()
A target specified by a set of document names.
.google.firestore.v1beta1.Target.DocumentsTarget documents = 3;
Target.DocumentsTarget getDocuments()
A target specified by a set of document names.
.google.firestore.v1beta1.Target.DocumentsTarget documents = 3;
Target.DocumentsTargetOrBuilder getDocumentsOrBuilder()
A target specified by a set of document names.
.google.firestore.v1beta1.Target.DocumentsTarget documents = 3;
ByteString getResumeToken()
A resume token from a prior [TargetChange][google.firestore.v1beta1.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;
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;
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()
A client provided target ID. If not set, the server will assign an ID for the target. Used for resuming a target without changing IDs. The IDs can either be client-assigned or be server-assigned in a previous stream. All targets with client provided IDs must be added before adding a target that needs a server-assigned id.
int32 target_id = 5;
boolean getOnce()
If the target should be removed once it is current and consistent.
bool once = 6;
Target.TargetTypeCase getTargetTypeCase()
Target.ResumeTypeCase getResumeTypeCase()