@@ -100,7 +100,7 @@ protected Builder setMaxExpireTime(Timestamp maxExpireTime) {
100
100
*
101
101
* <p>Returns the names of the destination backups being created by copying this source backup.
102
102
*/
103
- protected Builder addAllReferencingBackups (List <String > referencingBackup ) {
103
+ protected Builder addAllReferencingBackups (List <String > referencingBackups ) {
104
104
throw new UnsupportedOperationException ("Unimplemented" );
105
105
}
106
106
}
@@ -116,7 +116,7 @@ abstract static class BuilderImpl extends Builder {
116
116
private EncryptionInfo encryptionInfo ;
117
117
private com .google .spanner .admin .database .v1 .Backup proto ;
118
118
private Timestamp maxExpireTime ;
119
- private List <String > referencingBackup ;
119
+ private List <String > referencingBackups ;
120
120
121
121
BuilderImpl (BackupId id ) {
122
122
this .id = Preconditions .checkNotNull (id );
@@ -133,7 +133,7 @@ abstract static class BuilderImpl extends Builder {
133
133
this .encryptionInfo = other .encryptionInfo ;
134
134
this .proto = other .proto ;
135
135
this .maxExpireTime = other .maxExpireTime ;
136
- this .referencingBackup = other .referencingBackup ;
136
+ this .referencingBackups = other .referencingBackups ;
137
137
}
138
138
139
139
@ Override
@@ -188,14 +188,14 @@ Builder setProto(@Nullable com.google.spanner.admin.database.v1.Backup proto) {
188
188
}
189
189
190
190
@ Override
191
- public Builder setMaxExpireTime (Timestamp maxExpireTime ) {
191
+ protected Builder setMaxExpireTime (Timestamp maxExpireTime ) {
192
192
this .maxExpireTime = Preconditions .checkNotNull (maxExpireTime );
193
193
return this ;
194
194
}
195
195
196
196
@ Override
197
- public Builder addAllReferencingBackups (List <String > referencingBackup ) {
198
- this .referencingBackup = Preconditions .checkNotNull (referencingBackup );
197
+ protected Builder addAllReferencingBackups (List <String > referencingBackups ) {
198
+ this .referencingBackups = Preconditions .checkNotNull (referencingBackups );
199
199
return this ;
200
200
}
201
201
}
@@ -220,7 +220,7 @@ public enum State {
220
220
private final EncryptionInfo encryptionInfo ;
221
221
private final com .google .spanner .admin .database .v1 .Backup proto ;
222
222
private final Timestamp maxExpireTime ;
223
- private final List <String > referencingBackup ;
223
+ private final List <String > referencingBackups ;
224
224
225
225
BackupInfo (BuilderImpl builder ) {
226
226
this .id = builder .id ;
@@ -233,7 +233,7 @@ public enum State {
233
233
this .database = builder .database ;
234
234
this .proto = builder .proto ;
235
235
this .maxExpireTime = builder .maxExpireTime ;
236
- this .referencingBackup = builder .referencingBackup ;
236
+ this .referencingBackups = builder .referencingBackups ;
237
237
}
238
238
239
239
/** Returns the backup id. */
@@ -301,8 +301,8 @@ public Timestamp getMaxExpireTime() {
301
301
* Returns the names of the destination backups being created by copying this source backup {@link
302
302
* Backup}.
303
303
*/
304
- public List <String > getReferencingBackup () {
305
- return referencingBackup ;
304
+ public List <String > getReferencingBackups () {
305
+ return referencingBackups ;
306
306
}
307
307
308
308
@ Override
@@ -323,7 +323,7 @@ public boolean equals(Object o) {
323
323
&& Objects .equals (versionTime , that .versionTime )
324
324
&& Objects .equals (database , that .database )
325
325
&& Objects .equals (maxExpireTime , that .maxExpireTime )
326
- && Objects .equals (referencingBackup , that .referencingBackup );
326
+ && Objects .equals (referencingBackups , that .referencingBackups );
327
327
}
328
328
329
329
@ Override
@@ -338,7 +338,7 @@ public int hashCode() {
338
338
versionTime ,
339
339
database ,
340
340
maxExpireTime ,
341
- referencingBackup );
341
+ referencingBackups );
342
342
}
343
343
344
344
@ Override
@@ -354,6 +354,6 @@ public String toString() {
354
354
versionTime ,
355
355
database ,
356
356
maxExpireTime ,
357
- referencingBackup );
357
+ referencingBackups );
358
358
}
359
359
}
0 commit comments