public final class ListenRequest extends GeneratedMessageV3 implements ListenRequestOrBuilder
A request for Firestore.Listen
Protobuf type google.firestore.v1.ListenRequest
Inheritance
Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > ListenRequestImplements
ListenRequestOrBuilderStatic Fields
ADD_TARGET_FIELD_NUMBER
public static final int ADD_TARGET_FIELD_NUMBER
Type | Description |
int |
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER
Type | Description |
int |
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Type | Description |
int |
REMOVE_TARGET_FIELD_NUMBER
public static final int REMOVE_TARGET_FIELD_NUMBER
Type | Description |
int |
Static Methods
getDefaultInstance()
public static ListenRequest getDefaultInstance()
Type | Description |
ListenRequest |
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Type | Description |
Descriptor |
newBuilder()
public static ListenRequest.Builder newBuilder()
Type | Description |
ListenRequest.Builder |
newBuilder(ListenRequest prototype)
public static ListenRequest.Builder newBuilder(ListenRequest prototype)
Name | Description |
prototype | ListenRequest |
Type | Description |
ListenRequest.Builder |
parseDelimitedFrom(InputStream input)
public static ListenRequest parseDelimitedFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListenRequest |
Type | Description |
IOException |
parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListenRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListenRequest |
Type | Description |
IOException |
parseFrom(byte[] data)
public static ListenRequest parseFrom(byte[] data)
Name | Description |
data | byte[] |
Type | Description |
ListenRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListenRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | byte[] |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListenRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data)
public static ListenRequest parseFrom(ByteString data)
Name | Description |
data | ByteString |
Type | Description |
ListenRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListenRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteString |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListenRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(CodedInputStream input)
public static ListenRequest parseFrom(CodedInputStream input)
Name | Description |
input | CodedInputStream |
Type | Description |
ListenRequest |
Type | Description |
IOException |
parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListenRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListenRequest |
Type | Description |
IOException |
parseFrom(InputStream input)
public static ListenRequest parseFrom(InputStream input)
Name | Description |
input | InputStream |
Type | Description |
ListenRequest |
Type | Description |
IOException |
parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ListenRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Name | Description |
input | InputStream |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListenRequest |
Type | Description |
IOException |
parseFrom(ByteBuffer data)
public static ListenRequest parseFrom(ByteBuffer data)
Name | Description |
data | ByteBuffer |
Type | Description |
ListenRequest |
Type | Description |
InvalidProtocolBufferException |
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListenRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Name | Description |
data | ByteBuffer |
extensionRegistry | ExtensionRegistryLite |
Type | Description |
ListenRequest |
Type | Description |
InvalidProtocolBufferException |
parser()
public static Parser<ListenRequest> parser()
Type | Description |
Parser<ListenRequest> |
Methods
containsLabels(String key)
public boolean containsLabels(String key)
Labels associated with this target change.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
boolean |
equals(Object obj)
public boolean equals(Object obj)
Name | Description |
obj | Object |
Type | Description |
boolean |
getAddTarget()
public Target getAddTarget()
A target to add to this stream.
.google.firestore.v1.Target add_target = 2;
Type | Description |
Target | The addTarget. |
getAddTargetOrBuilder()
public TargetOrBuilder getAddTargetOrBuilder()
A target to add to this stream.
.google.firestore.v1.Target add_target = 2;
Type | Description |
TargetOrBuilder |
getDatabase()
public String getDatabase()
Required. The database name. In the format:
projects/{project_id}/databases/{database_id}
.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
String | The database. |
getDatabaseBytes()
public ByteString getDatabaseBytes()
Required. The database name. In the format:
projects/{project_id}/databases/{database_id}
.
string database = 1 [(.google.api.field_behavior) = REQUIRED];
Type | Description |
ByteString | The bytes for database. |
getDefaultInstanceForType()
public ListenRequest getDefaultInstanceForType()
Type | Description |
ListenRequest |
getLabels()
public Map<String,String> getLabels()
Use #getLabelsMap() instead.
Type | Description |
Map<String,String> |
getLabelsCount()
public int getLabelsCount()
Labels associated with this target change.
map<string, string> labels = 4;
Type | Description |
int |
getLabelsMap()
public Map<String,String> getLabelsMap()
Labels associated with this target change.
map<string, string> labels = 4;
Type | Description |
Map<String,String> |
getLabelsOrDefault(String key, String defaultValue)
public String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this target change.
map<string, string> labels = 4;
Name | Description |
key | String |
defaultValue | String |
Type | Description |
String |
getLabelsOrThrow(String key)
public String getLabelsOrThrow(String key)
Labels associated with this target change.
map<string, string> labels = 4;
Name | Description |
key | String |
Type | Description |
String |
getParserForType()
public Parser<ListenRequest> getParserForType()
Type | Description |
Parser<ListenRequest> |
getRemoveTarget()
public int getRemoveTarget()
The ID of a target to remove from this stream.
int32 remove_target = 3;
Type | Description |
int | The removeTarget. |
getSerializedSize()
public int getSerializedSize()
Type | Description |
int |
getTargetChangeCase()
public ListenRequest.TargetChangeCase getTargetChangeCase()
Type | Description |
ListenRequest.TargetChangeCase |
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Type | Description |
UnknownFieldSet |
hasAddTarget()
public boolean hasAddTarget()
A target to add to this stream.
.google.firestore.v1.Target add_target = 2;
Type | Description |
boolean | Whether the addTarget field is set. |
hasRemoveTarget()
public boolean hasRemoveTarget()
The ID of a target to remove from this stream.
int32 remove_target = 3;
Type | Description |
boolean | Whether the removeTarget field is set. |
hashCode()
public int hashCode()
Type | Description |
int |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Type | Description |
FieldAccessorTable |
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Name | Description |
number | int |
Type | Description |
MapField |
isInitialized()
public final boolean isInitialized()
Type | Description |
boolean |
newBuilderForType()
public ListenRequest.Builder newBuilderForType()
Type | Description |
ListenRequest.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListenRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Name | Description |
parent | BuilderParent |
Type | Description |
ListenRequest.Builder |
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Name | Description |
unused | UnusedPrivateParameter |
Type | Description |
Object |
toBuilder()
public ListenRequest.Builder toBuilder()
Type | Description |
ListenRequest.Builder |
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Name | Description |
output | CodedOutputStream |
Type | Description |
IOException |