Package com.google.firestore.v1
Interface ListenRequestOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
ListenRequest,ListenRequest.Builder
public interface ListenRequestOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionbooleancontainsLabels(String key) Labels associated with this target change.A target to add to this stream.A target to add to this stream.Required.com.google.protobuf.ByteStringRequired.Deprecated.intLabels associated with this target change.Labels associated with this target change.getLabelsOrDefault(String key, String defaultValue) Labels associated with this target change.getLabelsOrThrow(String key) Labels associated with this target change.intThe ID of a target to remove from this stream.booleanA target to add to this stream.booleanThe ID of a target to remove from this stream.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDatabase
String getDatabase()Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.string database = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The database.
-
getDatabaseBytes
com.google.protobuf.ByteString getDatabaseBytes()Required. The database name. In the format: `projects/{project_id}/databases/{database_id}`.string database = 1 [(.google.api.field_behavior) = REQUIRED];- Returns:
- The bytes for database.
-
hasAddTarget
boolean hasAddTarget()A target to add to this stream.
.google.firestore.v1.Target add_target = 2;- Returns:
- Whether the addTarget field is set.
-
getAddTarget
Target getAddTarget()A target to add to this stream.
.google.firestore.v1.Target add_target = 2;- Returns:
- The addTarget.
-
getAddTargetOrBuilder
TargetOrBuilder getAddTargetOrBuilder()A target to add to this stream.
.google.firestore.v1.Target add_target = 2; -
hasRemoveTarget
boolean hasRemoveTarget()The ID of a target to remove from this stream.
int32 remove_target = 3;- Returns:
- Whether the removeTarget field is set.
-
getRemoveTarget
int getRemoveTarget()The ID of a target to remove from this stream.
int32 remove_target = 3;- Returns:
- The removeTarget.
-
getLabelsCount
int getLabelsCount()Labels associated with this target change.
map<string, string> labels = 4; -
containsLabels
Labels associated with this target change.
map<string, string> labels = 4; -
getLabels
Deprecated.UsegetLabelsMap()instead. -
getLabelsMap
Labels associated with this target change.
map<string, string> labels = 4; -
getLabelsOrDefault
Labels associated with this target change.
map<string, string> labels = 4; -
getLabelsOrThrow
Labels associated with this target change.
map<string, string> labels = 4; -
getTargetChangeCase
ListenRequest.TargetChangeCase getTargetChangeCase()
-