public final class ListenResponse extends GeneratedMessageV3 implements ListenResponseOrBuilder
The response for Firestore.Listen.
Protobuf type google.firestore.v1.ListenResponse
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DOCUMENT_CHANGE_FIELD_NUMBER
public static final int DOCUMENT_CHANGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DOCUMENT_DELETE_FIELD_NUMBER
public static final int DOCUMENT_DELETE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
DOCUMENT_REMOVE_FIELD_NUMBER
public static final int DOCUMENT_REMOVE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FILTER_FIELD_NUMBER
public static final int FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
TARGET_CHANGE_FIELD_NUMBER
public static final int TARGET_CHANGE_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static ListenResponse getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static ListenResponse.Builder newBuilder()
newBuilder(ListenResponse prototype)
public static ListenResponse.Builder newBuilder(ListenResponse prototype)
public static ListenResponse parseDelimitedFrom(InputStream input)
public static ListenResponse parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static ListenResponse parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ListenResponse parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static ListenResponse parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListenResponse parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ListenResponse parseFrom(CodedInputStream input)
public static ListenResponse parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ListenResponse parseFrom(InputStream input)
public static ListenResponse parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static ListenResponse parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static ListenResponse parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<ListenResponse> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public ListenResponse getDefaultInstanceForType()
getDocumentChange()
public DocumentChange getDocumentChange()
A Document has changed.
.google.firestore.v1.DocumentChange document_change = 3;
getDocumentChangeOrBuilder()
public DocumentChangeOrBuilder getDocumentChangeOrBuilder()
A Document has changed.
.google.firestore.v1.DocumentChange document_change = 3;
getDocumentDelete()
public DocumentDelete getDocumentDelete()
A Document has been deleted.
.google.firestore.v1.DocumentDelete document_delete = 4;
getDocumentDeleteOrBuilder()
public DocumentDeleteOrBuilder getDocumentDeleteOrBuilder()
A Document has been deleted.
.google.firestore.v1.DocumentDelete document_delete = 4;
getDocumentRemove()
public DocumentRemove getDocumentRemove()
A Document has been removed from a target
(because it is no longer relevant to that target).
.google.firestore.v1.DocumentRemove document_remove = 6;
getDocumentRemoveOrBuilder()
public DocumentRemoveOrBuilder getDocumentRemoveOrBuilder()
A Document has been removed from a target
(because it is no longer relevant to that target).
.google.firestore.v1.DocumentRemove document_remove = 6;
getFilter()
public 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;
getFilterOrBuilder()
public 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;
getParserForType()
public Parser<ListenResponse> getParserForType()
Overrides
getResponseTypeCase()
public ListenResponse.ResponseTypeCase getResponseTypeCase()
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getTargetChange()
public TargetChange getTargetChange()
Targets have changed.
.google.firestore.v1.TargetChange target_change = 2;
getTargetChangeOrBuilder()
public TargetChangeOrBuilder getTargetChangeOrBuilder()
Targets have changed.
.google.firestore.v1.TargetChange target_change = 2;
hasDocumentChange()
public boolean hasDocumentChange()
A Document has changed.
.google.firestore.v1.DocumentChange document_change = 3;
Returns |
---|
Type | Description |
boolean | Whether the documentChange field is set.
|
hasDocumentDelete()
public boolean hasDocumentDelete()
A Document has been deleted.
.google.firestore.v1.DocumentDelete document_delete = 4;
Returns |
---|
Type | Description |
boolean | Whether the documentDelete field is set.
|
hasDocumentRemove()
public boolean hasDocumentRemove()
A Document has been removed from a target
(because it is no longer relevant to that target).
.google.firestore.v1.DocumentRemove document_remove = 6;
Returns |
---|
Type | Description |
boolean | Whether the documentRemove field is set.
|
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;
Returns |
---|
Type | Description |
boolean | Whether the filter field is set.
|
hasTargetChange()
public boolean hasTargetChange()
Targets have changed.
.google.firestore.v1.TargetChange target_change = 2;
Returns |
---|
Type | Description |
boolean | Whether the targetChange field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public ListenResponse.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected ListenResponse.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public ListenResponse.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides