Interface ListenRequestOrBuilder (3.3.0)

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
NameDescription
keyString
Returns
TypeDescription
boolean

getAddTarget()

public abstract Target getAddTarget()

A target to add to this stream.

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

Returns
TypeDescription
Target

The addTarget.

getAddTargetOrBuilder()

public abstract TargetOrBuilder getAddTargetOrBuilder()

A target to add to this stream.

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

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for database.

getLabels()

public abstract Map<String,String> getLabels()

Use #getLabelsMap() instead.

Returns
TypeDescription
Map<String,String>

getLabelsCount()

public abstract int getLabelsCount()

Labels associated with this target change.

map<string, string> labels = 4;

Returns
TypeDescription
int

getLabelsMap()

public abstract Map<String,String> getLabelsMap()

Labels associated with this target change.

map<string, string> labels = 4;

Returns
TypeDescription
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
NameDescription
keyString
defaultValueString
Returns
TypeDescription
String

getLabelsOrThrow(String key)

public abstract String getLabelsOrThrow(String key)

Labels associated with this target change.

map<string, string> labels = 4;

Parameter
NameDescription
keyString
Returns
TypeDescription
String

getRemoveTarget()

public abstract int getRemoveTarget()

The ID of a target to remove from this stream.

int32 remove_target = 3;

Returns
TypeDescription
int

The removeTarget.

getTargetChangeCase()

public abstract ListenRequest.TargetChangeCase getTargetChangeCase()
Returns
TypeDescription
ListenRequest.TargetChangeCase

hasAddTarget()

public abstract boolean hasAddTarget()

A target to add to this stream.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the removeTarget field is set.