Package com.google.firestore.v1
Class ListenResponse
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
com.google.firestore.v1.ListenResponse
- All Implemented Interfaces:
ListenResponseOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
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- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classThe response for [Firestore.Listen][google.firestore.v1.Firestore.Listen].static enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
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 Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessageV3
alwaysUseFieldBuilders, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanstatic ListenResponsestatic final com.google.protobuf.Descriptors.DescriptorA [Document][google.firestore.v1.Document] has changed.A [Document][google.firestore.v1.Document] has changed.A [Document][google.firestore.v1.Document] has been deleted.A [Document][google.firestore.v1.Document] has been deleted.A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer relevant to that target).A [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer relevant to that target).A filter to apply to the set of documents previously returned for the given target.A filter to apply to the set of documents previously returned for the given target.com.google.protobuf.Parser<ListenResponse>intTargets have changed.Targets have changed.booleanA [Document][google.firestore.v1.Document] has changed.booleanA [Document][google.firestore.v1.Document] has been deleted.booleanA [Document][google.firestore.v1.Document] has been removed from a target (because it is no longer relevant to that target).booleanA filter to apply to the set of documents previously returned for the given target.inthashCode()booleanTargets have changed.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanstatic ListenResponse.Builderstatic ListenResponse.BuildernewBuilder(ListenResponse prototype) protected ListenResponse.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) static ListenResponseparseDelimitedFrom(InputStream input) static ListenResponseparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListenResponseparseFrom(byte[] data) static ListenResponseparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListenResponseparseFrom(com.google.protobuf.ByteString data) static ListenResponseparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListenResponseparseFrom(com.google.protobuf.CodedInputStream input) static ListenResponseparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListenResponseparseFrom(InputStream input) static ListenResponseparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ListenResponseparseFrom(ByteBuffer data) static ListenResponseparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ListenResponse>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, 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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
TARGET_CHANGE_FIELD_NUMBER
public static final int TARGET_CHANGE_FIELD_NUMBER- See Also:
-
DOCUMENT_CHANGE_FIELD_NUMBER
public static final int DOCUMENT_CHANGE_FIELD_NUMBER- See Also:
-
DOCUMENT_DELETE_FIELD_NUMBER
public static final int DOCUMENT_DELETE_FIELD_NUMBER- See Also:
-
DOCUMENT_REMOVE_FIELD_NUMBER
public static final int DOCUMENT_REMOVE_FIELD_NUMBER- See Also:
-
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER- See Also:
-
-
Method Details
-
newInstance
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getResponseTypeCase
- Specified by:
getResponseTypeCasein interfaceListenResponseOrBuilder
-
hasTargetChange
public boolean hasTargetChange()Targets have changed.
.google.firestore.v1.TargetChange target_change = 2;- Specified by:
hasTargetChangein interfaceListenResponseOrBuilder- Returns:
- Whether the targetChange field is set.
-
getTargetChange
Targets have changed.
.google.firestore.v1.TargetChange target_change = 2;- Specified by:
getTargetChangein interfaceListenResponseOrBuilder- Returns:
- The targetChange.
-
getTargetChangeOrBuilder
Targets have changed.
.google.firestore.v1.TargetChange target_change = 2;- Specified by:
getTargetChangeOrBuilderin interfaceListenResponseOrBuilder
-
hasDocumentChange
public boolean hasDocumentChange()A [Document][google.firestore.v1.Document] has changed.
.google.firestore.v1.DocumentChange document_change = 3;- Specified by:
hasDocumentChangein interfaceListenResponseOrBuilder- Returns:
- Whether the documentChange field is set.
-
getDocumentChange
A [Document][google.firestore.v1.Document] has changed.
.google.firestore.v1.DocumentChange document_change = 3;- Specified by:
getDocumentChangein interfaceListenResponseOrBuilder- Returns:
- The documentChange.
-
getDocumentChangeOrBuilder
A [Document][google.firestore.v1.Document] has changed.
.google.firestore.v1.DocumentChange document_change = 3;- Specified by:
getDocumentChangeOrBuilderin interfaceListenResponseOrBuilder
-
hasDocumentDelete
public boolean hasDocumentDelete()A [Document][google.firestore.v1.Document] has been deleted.
.google.firestore.v1.DocumentDelete document_delete = 4;- Specified by:
hasDocumentDeletein interfaceListenResponseOrBuilder- Returns:
- Whether the documentDelete field is set.
-
getDocumentDelete
A [Document][google.firestore.v1.Document] has been deleted.
.google.firestore.v1.DocumentDelete document_delete = 4;- Specified by:
getDocumentDeletein interfaceListenResponseOrBuilder- Returns:
- The documentDelete.
-
getDocumentDeleteOrBuilder
A [Document][google.firestore.v1.Document] has been deleted.
.google.firestore.v1.DocumentDelete document_delete = 4;- Specified by:
getDocumentDeleteOrBuilderin interfaceListenResponseOrBuilder
-
hasDocumentRemove
public 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;- Specified by:
hasDocumentRemovein interfaceListenResponseOrBuilder- Returns:
- Whether the documentRemove field is set.
-
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;- Specified by:
getDocumentRemovein interfaceListenResponseOrBuilder- Returns:
- The documentRemove.
-
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;- Specified by:
getDocumentRemoveOrBuilderin interfaceListenResponseOrBuilder
-
hasFilter
public 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;- Specified by:
hasFilterin interfaceListenResponseOrBuilder- Returns:
- Whether the filter field is set.
-
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;- Specified by:
getFilterin interfaceListenResponseOrBuilder- Returns:
- The filter.
-
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;- Specified by:
getFilterOrBuilderin interfaceListenResponseOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static ListenResponse parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenResponse parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenResponse parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenResponse parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenResponse parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static ListenResponse parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static ListenResponse parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static ListenResponse parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static ListenResponse parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static ListenResponse parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ListenResponse.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) - Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-