Interface ListenRequestOrBuilder (3.21.4)

public interface ListenRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

containsLabels(String key)

public abstract boolean containsLabels(String key)

Labels associated with this target change.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
boolean

getAddTarget()

public abstract Target getAddTarget()

A target to add to this stream.

.google.firestore.v1.Target add_target = 2;

Returns
Type Description
Target

The addTarget.

getAddTargetOrBuilder()

public abstract TargetOrBuilder getAddTargetOrBuilder()

A target to add to this stream.

.google.firestore.v1.Target add_target = 2;

Returns
Type Description
TargetOrBuilder

getDatabase()

public abstract String getDatabase()

Required. The database name. In the format: projects/{project_id}/databases/{database_id}.

string database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The database.

getDatabaseBytes()

public abstract ByteString getDatabaseBytes()

Required. The database name. In the format: projects/{project_id}/databases/{database_id}.

string database = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for database.

getLabels() (deprecated)

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
Type Description
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels associated with this target change.

map<string, string> labels = 4;

Returns
Type Description
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels associated with this target change.

map<string, string> labels = 4;

Returns
Type Description
Map<String,String>

getLabelsOrDefault(String key, String defaultValue)

public abstract String getLabelsOrDefault(String key, String defaultValue)

Labels associated with this target change.

map<string, string> labels = 4;

Parameters
Name Description
key String
defaultValue String
Returns
Type Description
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels associated with this target change.

map<string, string> labels = 4;

Parameter
Name Description
key String
Returns
Type Description
String

getRemoveTarget()

public abstract int getRemoveTarget()

The ID of a target to remove from this stream.

int32 remove_target = 3;

Returns
Type Description
int

The removeTarget.

getTargetChangeCase()

public abstract ListenRequest.TargetChangeCase getTargetChangeCase()
Returns
Type Description
ListenRequest.TargetChangeCase

hasAddTarget()

public abstract boolean hasAddTarget()

A target to add to this stream.

.google.firestore.v1.Target add_target = 2;

Returns
Type Description
boolean

Whether the addTarget field is set.

hasRemoveTarget()

public abstract boolean hasRemoveTarget()

The ID of a target to remove from this stream.

int32 remove_target = 3;

Returns
Type Description
boolean

Whether the removeTarget field is set.