@@ -25,45 +25,45 @@ package com.google.firebase.installations {
25
25
26
26
package com.google.firebase.installations.local {
27
27
28
- public class PersistedFid {
29
- ctor public PersistedFid (@NonNull FirebaseApp);
28
+ public class PersistedInstallation {
29
+ ctor public PersistedInstallation (@NonNull FirebaseApp);
30
30
method @NonNull public boolean clear();
31
- method @NonNull public boolean insertOrUpdatePersistedFidEntry (@NonNull com.google.firebase.installations.local.PersistedFidEntry );
32
- method @NonNull public com.google.firebase.installations.local.PersistedFidEntry readPersistedFidEntryValue ();
31
+ method @NonNull public boolean insertOrUpdatePersistedInstallationEntry (@NonNull com.google.firebase.installations.local.PersistedInstallationEntry );
32
+ method @NonNull public com.google.firebase.installations.local.PersistedInstallationEntry readPersistedInstallationEntryValue ();
33
33
}
34
34
35
- public enum PersistedFid .RegistrationStatus {
36
- enum_constant public static final com.google.firebase.installations.local.PersistedFid .RegistrationStatus NOT_GENERATED;
37
- enum_constant public static final com.google.firebase.installations.local.PersistedFid .RegistrationStatus REGISTERED;
38
- enum_constant public static final com.google.firebase.installations.local.PersistedFid .RegistrationStatus REGISTER_ERROR;
39
- enum_constant public static final com.google.firebase.installations.local.PersistedFid .RegistrationStatus UNREGISTERED;
35
+ public enum PersistedInstallation .RegistrationStatus {
36
+ enum_constant public static final com.google.firebase.installations.local.PersistedInstallation .RegistrationStatus NOT_GENERATED;
37
+ enum_constant public static final com.google.firebase.installations.local.PersistedInstallation .RegistrationStatus REGISTERED;
38
+ enum_constant public static final com.google.firebase.installations.local.PersistedInstallation .RegistrationStatus REGISTER_ERROR;
39
+ enum_constant public static final com.google.firebase.installations.local.PersistedInstallation .RegistrationStatus UNREGISTERED;
40
40
}
41
41
42
- public abstract class PersistedFidEntry {
43
- ctor public PersistedFidEntry ();
44
- method @NonNull public static com.google.firebase.installations.local.PersistedFidEntry .Builder builder();
42
+ public abstract class PersistedInstallationEntry {
43
+ ctor public PersistedInstallationEntry ();
44
+ method @NonNull public static com.google.firebase.installations.local.PersistedInstallationEntry .Builder builder();
45
45
method @Nullable public abstract String getAuthToken();
46
46
method public abstract long getExpiresInSecs();
47
47
method @Nullable public abstract String getFirebaseInstallationId();
48
48
method @Nullable public abstract String getRefreshToken();
49
- method @NonNull public abstract com.google.firebase.installations.local.PersistedFid .RegistrationStatus getRegistrationStatus();
49
+ method @NonNull public abstract com.google.firebase.installations.local.PersistedInstallation .RegistrationStatus getRegistrationStatus();
50
50
method public abstract long getTokenCreationEpochInSecs();
51
51
method public boolean isErrored();
52
52
method public boolean isNotGenerated();
53
53
method public boolean isRegistered();
54
54
method public boolean isUnregistered();
55
- method @NonNull public abstract com.google.firebase.installations.local.PersistedFidEntry .Builder toBuilder();
55
+ method @NonNull public abstract com.google.firebase.installations.local.PersistedInstallationEntry .Builder toBuilder();
56
56
}
57
57
58
- public abstract static class PersistedFidEntry .Builder {
59
- ctor public PersistedFidEntry .Builder();
60
- method @NonNull public abstract com.google.firebase.installations.local.PersistedFidEntry build();
61
- method @NonNull public abstract com.google.firebase.installations.local.PersistedFidEntry .Builder setAuthToken(@Nullable String);
62
- method @NonNull public abstract com.google.firebase.installations.local.PersistedFidEntry .Builder setExpiresInSecs(long);
63
- method @NonNull public abstract com.google.firebase.installations.local.PersistedFidEntry .Builder setFirebaseInstallationId(@NonNull String);
64
- method @NonNull public abstract com.google.firebase.installations.local.PersistedFidEntry .Builder setRefreshToken(@Nullable String);
65
- method @NonNull public abstract com.google.firebase.installations.local.PersistedFidEntry .Builder setRegistrationStatus(@NonNull com.google.firebase.installations.local.PersistedFid .RegistrationStatus);
66
- method @NonNull public abstract com.google.firebase.installations.local.PersistedFidEntry .Builder setTokenCreationEpochInSecs(long);
58
+ public abstract static class PersistedInstallationEntry .Builder {
59
+ ctor public PersistedInstallationEntry .Builder();
60
+ method @NonNull public abstract com.google.firebase.installations.local.PersistedInstallationEntry build();
61
+ method @NonNull public abstract com.google.firebase.installations.local.PersistedInstallationEntry .Builder setAuthToken(@Nullable String);
62
+ method @NonNull public abstract com.google.firebase.installations.local.PersistedInstallationEntry .Builder setExpiresInSecs(long);
63
+ method @NonNull public abstract com.google.firebase.installations.local.PersistedInstallationEntry .Builder setFirebaseInstallationId(@NonNull String);
64
+ method @NonNull public abstract com.google.firebase.installations.local.PersistedInstallationEntry .Builder setRefreshToken(@Nullable String);
65
+ method @NonNull public abstract com.google.firebase.installations.local.PersistedInstallationEntry .Builder setRegistrationStatus(@NonNull com.google.firebase.installations.local.PersistedInstallation .RegistrationStatus);
66
+ method @NonNull public abstract com.google.firebase.installations.local.PersistedInstallationEntry .Builder setTokenCreationEpochInSecs(long);
67
67
}
68
68
69
69
}
@@ -94,17 +94,19 @@ package com.google.firebase.installations.remote {
94
94
ctor public InstallationResponse();
95
95
method @NonNull public static com.google.firebase.installations.remote.InstallationResponse.Builder builder();
96
96
method @NonNull public abstract InstallationTokenResult getAuthToken();
97
- method @NonNull public abstract String getName ();
97
+ method @NonNull public abstract String getFid ();
98
98
method @NonNull public abstract String getRefreshToken();
99
+ method @NonNull public abstract String getUri();
99
100
method @NonNull public abstract com.google.firebase.installations.remote.InstallationResponse.Builder toBuilder();
100
101
}
101
102
102
103
public abstract static class InstallationResponse.Builder {
103
104
ctor public InstallationResponse.Builder();
104
105
method @NonNull public abstract com.google.firebase.installations.remote.InstallationResponse build();
105
106
method @NonNull public abstract com.google.firebase.installations.remote.InstallationResponse.Builder setAuthToken(@NonNull InstallationTokenResult);
106
- method @NonNull public abstract com.google.firebase.installations.remote.InstallationResponse.Builder setName (@NonNull String);
107
+ method @NonNull public abstract com.google.firebase.installations.remote.InstallationResponse.Builder setFid (@NonNull String);
107
108
method @NonNull public abstract com.google.firebase.installations.remote.InstallationResponse.Builder setRefreshToken(@NonNull String);
109
+ method @NonNull public abstract com.google.firebase.installations.remote.InstallationResponse.Builder setUri(@NonNull String);
108
110
}
109
111
110
112
}
0 commit comments