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 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

      boolean containsLabels(String key)
       Labels associated with this target change.
       
      map<string, string> labels = 4;
    • getLabels

      Deprecated.
      Use getLabelsMap() instead.
    • getLabelsMap

      Map<String,String> getLabelsMap()
       Labels associated with this target change.
       
      map<string, string> labels = 4;
    • getLabelsOrDefault

      String getLabelsOrDefault(String key, String defaultValue)
       Labels associated with this target change.
       
      map<string, string> labels = 4;
    • getLabelsOrThrow

      String getLabelsOrThrow(String key)
       Labels associated with this target change.
       
      map<string, string> labels = 4;
    • getTargetChangeCase

      ListenRequest.TargetChangeCase getTargetChangeCase()