public final class ListenRequest extends com.google.protobuf.GeneratedMessageV3 implements ListenRequestOrBuilder
A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]Protobuf type
google.firestore.v1.ListenRequest| Modifier and Type | Class and Description |
|---|---|
static class |
ListenRequest.Builder
A request for [Firestore.Listen][google.firestore.v1.Firestore.Listen]
|
static class |
ListenRequest.TargetChangeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_TARGET_FIELD_NUMBER |
static int |
DATABASE_FIELD_NUMBER |
static int |
LABELS_FIELD_NUMBER |
static int |
REMOVE_TARGET_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
containsLabels(String key)
Labels associated with this target change.
|
boolean |
equals(Object obj) |
Target |
getAddTarget()
A target to add to this stream.
|
TargetOrBuilder |
getAddTargetOrBuilder()
A target to add to this stream.
|
String |
getDatabase()
The database name.
|
com.google.protobuf.ByteString |
getDatabaseBytes()
The database name.
|
static ListenRequest |
getDefaultInstance() |
ListenRequest |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
Map<String,String> |
getLabels()
Deprecated.
|
int |
getLabelsCount()
Labels associated with this target change.
|
Map<String,String> |
getLabelsMap()
Labels associated with this target change.
|
String |
getLabelsOrDefault(String key,
String defaultValue)
Labels associated with this target change.
|
String |
getLabelsOrThrow(String key)
Labels associated with this target change.
|
com.google.protobuf.Parser<ListenRequest> |
getParserForType() |
int |
getRemoveTarget()
The ID of a target to remove from this stream.
|
int |
getSerializedSize() |
ListenRequest.TargetChangeCase |
getTargetChangeCase() |
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasAddTarget()
A target to add to this stream.
|
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapField |
internalGetMapField(int number) |
boolean |
isInitialized() |
static ListenRequest.Builder |
newBuilder() |
static ListenRequest.Builder |
newBuilder(ListenRequest prototype) |
ListenRequest.Builder |
newBuilderForType() |
protected ListenRequest.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
static ListenRequest |
parseDelimitedFrom(InputStream input) |
static ListenRequest |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenRequest |
parseFrom(byte[] data) |
static ListenRequest |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenRequest |
parseFrom(ByteBuffer data) |
static ListenRequest |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenRequest |
parseFrom(com.google.protobuf.ByteString data) |
static ListenRequest |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenRequest |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListenRequest |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenRequest |
parseFrom(InputStream input) |
static ListenRequest |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListenRequest> |
parser() |
ListenRequest.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, makeExtensionsImmutable, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int DATABASE_FIELD_NUMBER
public static final int ADD_TARGET_FIELD_NUMBER
public static final int REMOVE_TARGET_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapField internalGetMapField(int number)
internalGetMapField in class com.google.protobuf.GeneratedMessageV3protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ListenRequest.TargetChangeCase getTargetChangeCase()
getTargetChangeCase in interface ListenRequestOrBuilderpublic String getDatabase()
The database name. In the format:
`projects/{project_id}/databases/{database_id}`.
string database = 1;getDatabase in interface ListenRequestOrBuilderpublic com.google.protobuf.ByteString getDatabaseBytes()
The database name. In the format:
`projects/{project_id}/databases/{database_id}`.
string database = 1;getDatabaseBytes in interface ListenRequestOrBuilderpublic boolean hasAddTarget()
A target to add to this stream.
.google.firestore.v1.Target add_target = 2;hasAddTarget in interface ListenRequestOrBuilderpublic Target getAddTarget()
A target to add to this stream.
.google.firestore.v1.Target add_target = 2;getAddTarget in interface ListenRequestOrBuilderpublic TargetOrBuilder getAddTargetOrBuilder()
A target to add to this stream.
.google.firestore.v1.Target add_target = 2;getAddTargetOrBuilder in interface ListenRequestOrBuilderpublic int getRemoveTarget()
The ID of a target to remove from this stream.
int32 remove_target = 3;getRemoveTarget in interface ListenRequestOrBuilderpublic int getLabelsCount()
ListenRequestOrBuilderLabels associated with this target change.
map<string, string> labels = 4;getLabelsCount in interface ListenRequestOrBuilderpublic boolean containsLabels(String key)
Labels associated with this target change.
map<string, string> labels = 4;containsLabels in interface ListenRequestOrBuilder@Deprecated public Map<String,String> getLabels()
getLabelsMap() instead.getLabels in interface ListenRequestOrBuilderpublic Map<String,String> getLabelsMap()
Labels associated with this target change.
map<string, string> labels = 4;getLabelsMap in interface ListenRequestOrBuilderpublic String getLabelsOrDefault(String key, String defaultValue)
Labels associated with this target change.
map<string, string> labels = 4;getLabelsOrDefault in interface ListenRequestOrBuilderpublic String getLabelsOrThrow(String key)
Labels associated with this target change.
map<string, string> labels = 4;getLabelsOrThrow in interface ListenRequestOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static ListenRequest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenRequest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenRequest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenRequest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenRequest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenRequest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenRequest parseFrom(InputStream input) throws IOException
IOExceptionpublic static ListenRequest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListenRequest parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListenRequest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListenRequest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ListenRequest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ListenRequest.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListenRequest.Builder newBuilder()
public static ListenRequest.Builder newBuilder(ListenRequest prototype)
public ListenRequest.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListenRequest.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListenRequest getDefaultInstance()
public static com.google.protobuf.Parser<ListenRequest> parser()
public com.google.protobuf.Parser<ListenRequest> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListenRequest getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.