@@ -47,6 +47,25 @@ package com.google.firebase.firestore {
47
47
method public byte[] toBytes();
48
48
}
49
49
50
+ public final class BsonBinaryData {
51
+ method public com.google.protobuf.ByteString dataAsByteString();
52
+ method public byte[] dataAsBytes();
53
+ method public static com.google.firebase.firestore.BsonBinaryData fromByteString(int, com.google.protobuf.ByteString);
54
+ method public static com.google.firebase.firestore.BsonBinaryData fromBytes(int, byte[]);
55
+ method public int subtype();
56
+ }
57
+
58
+ public final class BsonObjectId {
59
+ ctor public BsonObjectId(String);
60
+ field public final String! value;
61
+ }
62
+
63
+ public final class BsonTimestamp {
64
+ ctor public BsonTimestamp(long, long);
65
+ field public final long increment;
66
+ field public final long seconds;
67
+ }
68
+
50
69
public class CollectionReference extends com.google.firebase.firestore.Query {
51
70
method public com.google.android.gms.tasks.Task<com.google.firebase.firestore.DocumentReference!> add(Object);
52
71
method public com.google.firebase.firestore.DocumentReference document();
@@ -109,6 +128,9 @@ package com.google.firebase.firestore {
109
128
method public <T> T? get(String, Class<T!>, com.google.firebase.firestore.DocumentSnapshot.ServerTimestampBehavior);
110
129
method public com.google.firebase.firestore.Blob? getBlob(String);
111
130
method public Boolean? getBoolean(String);
131
+ method public com.google.firebase.firestore.BsonBinaryData? getBsonBinaryData(String);
132
+ method public com.google.firebase.firestore.BsonObjectId? getBsonObjectId(String);
133
+ method public com.google.firebase.firestore.BsonTimestamp? getBsonTimestamp(String);
112
134
method public java.util.Map<java.lang.String!,java.lang.Object!>? getData();
113
135
method public java.util.Map<java.lang.String!,java.lang.Object!>? getData(com.google.firebase.firestore.DocumentSnapshot.ServerTimestampBehavior);
114
136
method public java.util.Date? getDate(String);
@@ -117,9 +139,13 @@ package com.google.firebase.firestore {
117
139
method public Double? getDouble(String);
118
140
method public com.google.firebase.firestore.GeoPoint? getGeoPoint(String);
119
141
method public String getId();
142
+ method public com.google.firebase.firestore.Int32Value? getInt32Value(String);
120
143
method public Long? getLong(String);
144
+ method public com.google.firebase.firestore.MaxKey? getMaxKey(String);
121
145
method public com.google.firebase.firestore.SnapshotMetadata getMetadata();
146
+ method public com.google.firebase.firestore.MinKey? getMinKey(String);
122
147
method public com.google.firebase.firestore.DocumentReference getReference();
148
+ method public com.google.firebase.firestore.RegexValue? getRegexValue(String);
123
149
method public String? getString(String);
124
150
method public com.google.firebase.Timestamp? getTimestamp(String);
125
151
method public com.google.firebase.Timestamp? getTimestamp(String, com.google.firebase.firestore.DocumentSnapshot.ServerTimestampBehavior);
@@ -303,6 +329,11 @@ package com.google.firebase.firestore {
303
329
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.TYPE}) public @interface IgnoreExtraProperties {
304
330
}
305
331
332
+ public final class Int32Value {
333
+ ctor public Int32Value(int);
334
+ field public final int value;
335
+ }
336
+
306
337
public enum ListenSource {
307
338
enum_constant public static final com.google.firebase.firestore.ListenSource CACHE;
308
339
enum_constant public static final com.google.firebase.firestore.ListenSource DEFAULT;
@@ -360,6 +391,10 @@ package com.google.firebase.firestore {
360
391
public interface LocalCacheSettings {
361
392
}
362
393
394
+ public final class MaxKey {
395
+ method public static com.google.firebase.firestore.MaxKey instance();
396
+ }
397
+
363
398
public final class MemoryCacheSettings implements com.google.firebase.firestore.LocalCacheSettings {
364
399
method public com.google.firebase.firestore.MemoryGarbageCollectorSettings getGarbageCollectorSettings();
365
400
method public static com.google.firebase.firestore.MemoryCacheSettings.Builder newBuilder();
@@ -396,6 +431,10 @@ package com.google.firebase.firestore {
396
431
enum_constant public static final com.google.firebase.firestore.MetadataChanges INCLUDE;
397
432
}
398
433
434
+ public final class MinKey {
435
+ method public static com.google.firebase.firestore.MinKey instance();
436
+ }
437
+
399
438
public interface OnProgressListener<ProgressT> {
400
439
method public void onProgress(ProgressT);
401
440
}
@@ -491,6 +530,12 @@ package com.google.firebase.firestore {
491
530
method public <T> java.util.List<T!> toObjects(Class<T!>, com.google.firebase.firestore.DocumentSnapshot.ServerTimestampBehavior);
492
531
}
493
532
533
+ public final class RegexValue {
534
+ ctor public RegexValue(String, String);
535
+ field public final String! options;
536
+ field public final String! pattern;
537
+ }
538
+
494
539
@java.lang.annotation.Retention(java.lang.annotation.RetentionPolicy.RUNTIME) @java.lang.annotation.Target({java.lang.annotation.ElementType.METHOD, java.lang.annotation.ElementType.FIELD}) public @interface ServerTimestamp {
495
540
}
496
541
0 commit comments