public final class ListenResponse extends com.google.protobuf.GeneratedMessageV3 implements ListenResponseOrBuilder
The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].Protobuf type
google.firestore.v1.ListenResponse| Modifier and Type | Class and Description |
|---|---|
static class |
ListenResponse.Builder
The response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].
|
static class |
ListenResponse.ResponseTypeCase |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
DOCUMENT_CHANGE_FIELD_NUMBER |
static int |
DOCUMENT_DELETE_FIELD_NUMBER |
static int |
DOCUMENT_REMOVE_FIELD_NUMBER |
static int |
FILTER_FIELD_NUMBER |
static int |
TARGET_CHANGE_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
static ListenResponse |
getDefaultInstance() |
ListenResponse |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
DocumentChange |
getDocumentChange()
A [Document][google.firestore.v1.Document] has changed.
|
DocumentChangeOrBuilder |
getDocumentChangeOrBuilder()
A [Document][google.firestore.v1.Document] has changed.
|
DocumentDelete |
getDocumentDelete()
A [Document][google.firestore.v1.Document] has been deleted.
|
DocumentDeleteOrBuilder |
getDocumentDeleteOrBuilder()
A [Document][google.firestore.v1.Document] has been deleted.
|
DocumentRemove |
getDocumentRemove()
A [Document][google.firestore.v1.Document] has been removed from a target
(because it is no longer relevant to that target).
|
DocumentRemoveOrBuilder |
getDocumentRemoveOrBuilder()
A [Document][google.firestore.v1.Document] has been removed from a target
(because it is no longer relevant to that target).
|
ExistenceFilter |
getFilter()
A filter to apply to the set of documents previously returned for the
given target.
|
ExistenceFilterOrBuilder |
getFilterOrBuilder()
A filter to apply to the set of documents previously returned for the
given target.
|
com.google.protobuf.Parser<ListenResponse> |
getParserForType() |
ListenResponse.ResponseTypeCase |
getResponseTypeCase() |
int |
getSerializedSize() |
TargetChange |
getTargetChange()
Targets have changed.
|
TargetChangeOrBuilder |
getTargetChangeOrBuilder()
Targets have changed.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasDocumentChange()
A [Document][google.firestore.v1.Document] has changed.
|
boolean |
hasDocumentDelete()
A [Document][google.firestore.v1.Document] has been deleted.
|
boolean |
hasDocumentRemove()
A [Document][google.firestore.v1.Document] has been removed from a target
(because it is no longer relevant to that target).
|
boolean |
hasFilter()
A filter to apply to the set of documents previously returned for the
given target.
|
int |
hashCode() |
boolean |
hasTargetChange()
Targets have changed.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ListenResponse.Builder |
newBuilder() |
static ListenResponse.Builder |
newBuilder(ListenResponse prototype) |
ListenResponse.Builder |
newBuilderForType() |
protected ListenResponse.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static ListenResponse |
parseDelimitedFrom(InputStream input) |
static ListenResponse |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenResponse |
parseFrom(byte[] data) |
static ListenResponse |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenResponse |
parseFrom(ByteBuffer data) |
static ListenResponse |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenResponse |
parseFrom(com.google.protobuf.ByteString data) |
static ListenResponse |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenResponse |
parseFrom(com.google.protobuf.CodedInputStream input) |
static ListenResponse |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static ListenResponse |
parseFrom(InputStream input) |
static ListenResponse |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<ListenResponse> |
parser() |
ListenResponse.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, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, 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 TARGET_CHANGE_FIELD_NUMBER
public static final int DOCUMENT_CHANGE_FIELD_NUMBER
public static final int DOCUMENT_DELETE_FIELD_NUMBER
public static final int DOCUMENT_REMOVE_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public 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.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public ListenResponse.ResponseTypeCase getResponseTypeCase()
getResponseTypeCase in interface ListenResponseOrBuilderpublic boolean hasTargetChange()
Targets have changed.
.google.firestore.v1.TargetChange target_change = 2;hasTargetChange in interface ListenResponseOrBuilderpublic TargetChange getTargetChange()
Targets have changed.
.google.firestore.v1.TargetChange target_change = 2;getTargetChange in interface ListenResponseOrBuilderpublic TargetChangeOrBuilder getTargetChangeOrBuilder()
Targets have changed.
.google.firestore.v1.TargetChange target_change = 2;getTargetChangeOrBuilder in interface ListenResponseOrBuilderpublic boolean hasDocumentChange()
A [Document][google.firestore.v1.Document] has changed.
.google.firestore.v1.DocumentChange document_change = 3;hasDocumentChange in interface ListenResponseOrBuilderpublic DocumentChange getDocumentChange()
A [Document][google.firestore.v1.Document] has changed.
.google.firestore.v1.DocumentChange document_change = 3;getDocumentChange in interface ListenResponseOrBuilderpublic DocumentChangeOrBuilder getDocumentChangeOrBuilder()
A [Document][google.firestore.v1.Document] has changed.
.google.firestore.v1.DocumentChange document_change = 3;getDocumentChangeOrBuilder in interface ListenResponseOrBuilderpublic boolean hasDocumentDelete()
A [Document][google.firestore.v1.Document] has been deleted.
.google.firestore.v1.DocumentDelete document_delete = 4;hasDocumentDelete in interface ListenResponseOrBuilderpublic DocumentDelete getDocumentDelete()
A [Document][google.firestore.v1.Document] has been deleted.
.google.firestore.v1.DocumentDelete document_delete = 4;getDocumentDelete in interface ListenResponseOrBuilderpublic DocumentDeleteOrBuilder getDocumentDeleteOrBuilder()
A [Document][google.firestore.v1.Document] has been deleted.
.google.firestore.v1.DocumentDelete document_delete = 4;getDocumentDeleteOrBuilder in interface ListenResponseOrBuilderpublic boolean hasDocumentRemove()
A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer relevant to that target).
.google.firestore.v1.DocumentRemove document_remove = 6;hasDocumentRemove in interface ListenResponseOrBuilderpublic DocumentRemove getDocumentRemove()
A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer relevant to that target).
.google.firestore.v1.DocumentRemove document_remove = 6;getDocumentRemove in interface ListenResponseOrBuilderpublic DocumentRemoveOrBuilder getDocumentRemoveOrBuilder()
A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer relevant to that target).
.google.firestore.v1.DocumentRemove document_remove = 6;getDocumentRemoveOrBuilder in interface ListenResponseOrBuilderpublic boolean hasFilter()
A filter to apply to the set of documents previously returned for the given target. Returned when documents may have been removed from the given target, but the exact documents are unknown.
.google.firestore.v1.ExistenceFilter filter = 5;hasFilter in interface ListenResponseOrBuilderpublic ExistenceFilter getFilter()
A filter to apply to the set of documents previously returned for the given target. Returned when documents may have been removed from the given target, but the exact documents are unknown.
.google.firestore.v1.ExistenceFilter filter = 5;getFilter in interface ListenResponseOrBuilderpublic ExistenceFilterOrBuilder getFilterOrBuilder()
A filter to apply to the set of documents previously returned for the given target. Returned when documents may have been removed from the given target, but the exact documents are unknown.
.google.firestore.v1.ExistenceFilter filter = 5;getFilterOrBuilder in interface ListenResponseOrBuilderpublic 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 ListenResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static ListenResponse parseFrom(InputStream input) throws IOException
IOExceptionpublic static ListenResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListenResponse parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ListenResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ListenResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static ListenResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ListenResponse.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static ListenResponse.Builder newBuilder()
public static ListenResponse.Builder newBuilder(ListenResponse prototype)
public ListenResponse.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected ListenResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static ListenResponse getDefaultInstance()
public static com.google.protobuf.Parser<ListenResponse> parser()
public com.google.protobuf.Parser<ListenResponse> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public ListenResponse getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2023 Google LLC. All rights reserved.