Skip to content

Commit 4964982

Browse files
fix(deps): Update the Java code generator (gapic-generator-java) to 2.39.0 (#1629)
- [ ] Regenerate this pull request now. PiperOrigin-RevId: 626430774 Source-Link: https://github.com/googleapis/googleapis/commit/835b84ebfc4974ab5dcd9b31ad66c01ef3455475 Source-Link: https://github.com/googleapis/googleapis-gen/commit/43f369d90f19d09ac18720151ab106042beb811b Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDNmMzY5ZDkwZjE5ZDA5YWMxODcyMDE1MWFiMTA2MDQyYmViODExYiJ9 build: Update protobuf to 25.3 in WORKSPACE PiperOrigin-RevId: 624989428 Source-Link: https://github.com/googleapis/googleapis/commit/caf600abae856335abbfcfa6d978bca051c2bc8c Source-Link: https://github.com/googleapis/googleapis-gen/commit/cc580b8ea4c07f774093d0f8c4afedd2eae6e856 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiY2M1ODBiOGVhNGMwN2Y3NzQwOTNkMGY4YzRhZmVkZDJlYWU2ZTg1NiJ9 docs: Allow 14 week backup retention for Firestore daily backups PiperOrigin-RevId: 621269025 Source-Link: https://github.com/googleapis/googleapis/commit/d0ed6724c4f2868bf4c6d8e0fe9223221f0f0e50 Source-Link: https://github.com/googleapis/googleapis-gen/commit/73c87bc51e565666bf4e399b194b3d71e1340ee7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNzNjODdiYzUxZTU2NTY2NmJmNGUzOTliMTk0YjNkNzFlMTM0MGVlNyJ9 docs: correct BackupSchedule recurrence docs that mentioned specific time of day chore: fix typo in DeleteBackupScheduleRequest PiperOrigin-RevId: 619912852 Source-Link: https://github.com/googleapis/googleapis/commit/8fe68cf33c51264152c321321ee78b8a3197f497 Source-Link: https://github.com/googleapis/googleapis-gen/commit/1a8186f74665611f485811ac5ab643c9f05655c7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWE4MTg2Zjc0NjY1NjExZjQ4NTgxMWFjNWFiNjQzYzlmMDU2NTVjNyJ9 feat: add Vector Index API PiperOrigin-RevId: 618867415 Source-Link: https://github.com/googleapis/googleapis/commit/277145d108819fa30fbed3a7cbbb50f91eb6155e Source-Link: https://github.com/googleapis/googleapis-gen/commit/adcd3076784b5ae4e53a7b9be15d7720c2c07de7 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWRjZDMwNzY3ODRiNWFlNGU1M2E3YjliZTE1ZDc3MjBjMmMwN2RlNyJ9 feat: add VectorSearch API PiperOrigin-RevId: 617982192 Source-Link: https://github.com/googleapis/googleapis/commit/5e2ca445cd8fd09440fbc7d296fa9b3e78effb68 Source-Link: https://github.com/googleapis/googleapis-gen/commit/37fe0b159cf9611ecbcd4f08985d5e0b56bb0a4c Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzdmZTBiMTU5Y2Y5NjExZWNiY2Q0ZjA4OTg1ZDVlMGI1NmJiMGE0YyJ9
1 parent c1c7536 commit 4964982

File tree

237 files changed

+4719
-461
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

237 files changed

+4719
-461
lines changed

google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/FirestoreAdminClient.java

+7-11
Original file line numberDiff line numberDiff line change
@@ -496,7 +496,7 @@
496496
* </tr>
497497
* <tr>
498498
* <td><p> CreateBackupSchedule</td>
499-
* <td><p> Creates a backup schedule on a database. At most two backup schedules can be configured on a database, one daily backup schedule with retention up to 7 days and one weekly backup schedule with retention up to 14 weeks.</td>
499+
* <td><p> Creates a backup schedule on a database. At most two backup schedules can be configured on a database, one daily backup schedule and one weekly backup schedule.</td>
500500
* <td>
501501
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
502502
* <ul>
@@ -3240,8 +3240,7 @@ public final UnaryCallable<RestoreDatabaseRequest, Operation> restoreDatabaseCal
32403240
// AUTO-GENERATED DOCUMENTATION AND METHOD.
32413241
/**
32423242
* Creates a backup schedule on a database. At most two backup schedules can be configured on a
3243-
* database, one daily backup schedule with retention up to 7 days and one weekly backup schedule
3244-
* with retention up to 14 weeks.
3243+
* database, one daily backup schedule and one weekly backup schedule.
32453244
*
32463245
* <p>Sample code:
32473246
*
@@ -3276,8 +3275,7 @@ public final BackupSchedule createBackupSchedule(
32763275
// AUTO-GENERATED DOCUMENTATION AND METHOD.
32773276
/**
32783277
* Creates a backup schedule on a database. At most two backup schedules can be configured on a
3279-
* database, one daily backup schedule with retention up to 7 days and one weekly backup schedule
3280-
* with retention up to 14 weeks.
3278+
* database, one daily backup schedule and one weekly backup schedule.
32813279
*
32823280
* <p>Sample code:
32833281
*
@@ -3311,8 +3309,7 @@ public final BackupSchedule createBackupSchedule(String parent, BackupSchedule b
33113309
// AUTO-GENERATED DOCUMENTATION AND METHOD.
33123310
/**
33133311
* Creates a backup schedule on a database. At most two backup schedules can be configured on a
3314-
* database, one daily backup schedule with retention up to 7 days and one weekly backup schedule
3315-
* with retention up to 14 weeks.
3312+
* database, one daily backup schedule and one weekly backup schedule.
33163313
*
33173314
* <p>Sample code:
33183315
*
@@ -3342,8 +3339,7 @@ public final BackupSchedule createBackupSchedule(CreateBackupScheduleRequest req
33423339
// AUTO-GENERATED DOCUMENTATION AND METHOD.
33433340
/**
33443341
* Creates a backup schedule on a database. At most two backup schedules can be configured on a
3345-
* database, one daily backup schedule with retention up to 7 days and one weekly backup schedule
3346-
* with retention up to 14 weeks.
3342+
* database, one daily backup schedule and one weekly backup schedule.
33473343
*
33483344
* <p>Sample code:
33493345
*
@@ -3715,7 +3711,7 @@ public final BackupSchedule updateBackupSchedule(UpdateBackupScheduleRequest req
37153711
* }
37163712
* }</pre>
37173713
*
3718-
* @param name Required. The name of backup schedule.
3714+
* @param name Required. The name of the backup schedule.
37193715
* <p>Format `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
37203716
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
37213717
*/
@@ -3746,7 +3742,7 @@ public final void deleteBackupSchedule(BackupScheduleName name) {
37463742
* }
37473743
* }</pre>
37483744
*
3749-
* @param name Required. The name of backup schedule.
3745+
* @param name Required. The name of the backup schedule.
37503746
* <p>Format `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
37513747
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
37523748
*/

google-cloud-firestore-admin/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreAdminStubSettings.java

-18
Original file line numberDiff line numberDiff line change
@@ -486,15 +486,6 @@ public FirestoreAdminStub createStub() throws IOException {
486486
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
487487
}
488488

489-
/** Returns the endpoint set by the user or the the service's default endpoint. */
490-
@Override
491-
public String getEndpoint() {
492-
if (super.getEndpoint() != null) {
493-
return super.getEndpoint();
494-
}
495-
return getDefaultEndpoint();
496-
}
497-
498489
/** Returns the default service name. */
499490
@Override
500491
public String getServiceName() {
@@ -1386,15 +1377,6 @@ public UnaryCallSettings.Builder<RestoreDatabaseRequest, Operation> restoreDatab
13861377
return deleteBackupScheduleSettings;
13871378
}
13881379

1389-
/** Returns the endpoint set by the user or the the service's default endpoint. */
1390-
@Override
1391-
public String getEndpoint() {
1392-
if (super.getEndpoint() != null) {
1393-
return super.getEndpoint();
1394-
}
1395-
return getDefaultEndpoint();
1396-
}
1397-
13981380
@Override
13991381
public FirestoreAdminStubSettings build() throws IOException {
14001382
return new FirestoreAdminStubSettings(this);

google-cloud-firestore-admin/src/main/resources/META-INF/native-image/com.google.cloud.firestore.v1/reflect-config.json

+36
Original file line numberDiff line numberDiff line change
@@ -1133,6 +1133,42 @@
11331133
"allDeclaredClasses": true,
11341134
"allPublicClasses": true
11351135
},
1136+
{
1137+
"name": "com.google.firestore.admin.v1.Index$IndexField$VectorConfig",
1138+
"queryAllDeclaredConstructors": true,
1139+
"queryAllPublicConstructors": true,
1140+
"queryAllDeclaredMethods": true,
1141+
"allPublicMethods": true,
1142+
"allDeclaredClasses": true,
1143+
"allPublicClasses": true
1144+
},
1145+
{
1146+
"name": "com.google.firestore.admin.v1.Index$IndexField$VectorConfig$Builder",
1147+
"queryAllDeclaredConstructors": true,
1148+
"queryAllPublicConstructors": true,
1149+
"queryAllDeclaredMethods": true,
1150+
"allPublicMethods": true,
1151+
"allDeclaredClasses": true,
1152+
"allPublicClasses": true
1153+
},
1154+
{
1155+
"name": "com.google.firestore.admin.v1.Index$IndexField$VectorConfig$FlatIndex",
1156+
"queryAllDeclaredConstructors": true,
1157+
"queryAllPublicConstructors": true,
1158+
"queryAllDeclaredMethods": true,
1159+
"allPublicMethods": true,
1160+
"allDeclaredClasses": true,
1161+
"allPublicClasses": true
1162+
},
1163+
{
1164+
"name": "com.google.firestore.admin.v1.Index$IndexField$VectorConfig$FlatIndex$Builder",
1165+
"queryAllDeclaredConstructors": true,
1166+
"queryAllPublicConstructors": true,
1167+
"queryAllDeclaredMethods": true,
1168+
"allPublicMethods": true,
1169+
"allDeclaredClasses": true,
1170+
"allPublicClasses": true
1171+
},
11361172
{
11371173
"name": "com.google.firestore.admin.v1.Index$QueryScope",
11381174
"queryAllDeclaredConstructors": true,

google-cloud-firestore/src/main/java/com/google/cloud/firestore/v1/stub/FirestoreStubSettings.java

-18
Original file line numberDiff line numberDiff line change
@@ -426,15 +426,6 @@ public FirestoreStub createStub() throws IOException {
426426
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
427427
}
428428

429-
/** Returns the endpoint set by the user or the the service's default endpoint. */
430-
@Override
431-
public String getEndpoint() {
432-
if (super.getEndpoint() != null) {
433-
return super.getEndpoint();
434-
}
435-
return getDefaultEndpoint();
436-
}
437-
438429
/** Returns the default service name. */
439430
@Override
440431
public String getServiceName() {
@@ -974,15 +965,6 @@ public UnaryCallSettings.Builder<CreateDocumentRequest, Document> createDocument
974965
return createDocumentSettings;
975966
}
976967

977-
/** Returns the endpoint set by the user or the the service's default endpoint. */
978-
@Override
979-
public String getEndpoint() {
980-
if (super.getEndpoint() != null) {
981-
return super.getEndpoint();
982-
}
983-
return getDefaultEndpoint();
984-
}
985-
986968
@Override
987969
public FirestoreStubSettings build() throws IOException {
988970
return new FirestoreStubSettings(this);

google-cloud-firestore/src/main/resources/META-INF/native-image/com.google.cloud.firestore.v1/reflect-config.json

+27
Original file line numberDiff line numberDiff line change
@@ -1457,6 +1457,33 @@
14571457
"allDeclaredClasses": true,
14581458
"allPublicClasses": true
14591459
},
1460+
{
1461+
"name": "com.google.firestore.v1.StructuredQuery$FindNearest",
1462+
"queryAllDeclaredConstructors": true,
1463+
"queryAllPublicConstructors": true,
1464+
"queryAllDeclaredMethods": true,
1465+
"allPublicMethods": true,
1466+
"allDeclaredClasses": true,
1467+
"allPublicClasses": true
1468+
},
1469+
{
1470+
"name": "com.google.firestore.v1.StructuredQuery$FindNearest$Builder",
1471+
"queryAllDeclaredConstructors": true,
1472+
"queryAllPublicConstructors": true,
1473+
"queryAllDeclaredMethods": true,
1474+
"allPublicMethods": true,
1475+
"allDeclaredClasses": true,
1476+
"allPublicClasses": true
1477+
},
1478+
{
1479+
"name": "com.google.firestore.v1.StructuredQuery$FindNearest$DistanceMeasure",
1480+
"queryAllDeclaredConstructors": true,
1481+
"queryAllPublicConstructors": true,
1482+
"queryAllDeclaredMethods": true,
1483+
"allPublicMethods": true,
1484+
"allDeclaredClasses": true,
1485+
"allPublicClasses": true
1486+
},
14601487
{
14611488
"name": "com.google.firestore.v1.StructuredQuery$Order",
14621489
"queryAllDeclaredConstructors": true,

grpc-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/FirestoreAdminGrpc.java

+4-8
Original file line numberDiff line numberDiff line change
@@ -1453,8 +1453,7 @@ default void restoreDatabase(
14531453
* <pre>
14541454
* Creates a backup schedule on a database.
14551455
* At most two backup schedules can be configured on a database, one daily
1456-
* backup schedule with retention up to 7 days and one weekly backup schedule
1457-
* with retention up to 14 weeks.
1456+
* backup schedule and one weekly backup schedule.
14581457
* </pre>
14591458
*/
14601459
default void createBackupSchedule(
@@ -1938,8 +1937,7 @@ public void restoreDatabase(
19381937
* <pre>
19391938
* Creates a backup schedule on a database.
19401939
* At most two backup schedules can be configured on a database, one daily
1941-
* backup schedule with retention up to 7 days and one weekly backup schedule
1942-
* with retention up to 14 weeks.
1940+
* backup schedule and one weekly backup schedule.
19431941
* </pre>
19441942
*/
19451943
public void createBackupSchedule(
@@ -2349,8 +2347,7 @@ public com.google.longrunning.Operation restoreDatabase(
23492347
* <pre>
23502348
* Creates a backup schedule on a database.
23512349
* At most two backup schedules can be configured on a database, one daily
2352-
* backup schedule with retention up to 7 days and one weekly backup schedule
2353-
* with retention up to 14 weeks.
2350+
* backup schedule and one weekly backup schedule.
23542351
* </pre>
23552352
*/
23562353
public com.google.firestore.admin.v1.BackupSchedule createBackupSchedule(
@@ -2746,8 +2743,7 @@ protected FirestoreAdminFutureStub build(
27462743
* <pre>
27472744
* Creates a backup schedule on a database.
27482745
* At most two backup schedules can be configured on a database, one daily
2749-
* backup schedule with retention up to 7 days and one weekly backup schedule
2750-
* with retention up to 14 weeks.
2746+
* backup schedule and one weekly backup schedule.
27512747
* </pre>
27522748
*/
27532749
public com.google.common.util.concurrent.ListenableFuture<

proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/Backup.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// Generated by the protocol buffer compiler. DO NOT EDIT!
1717
// source: google/firestore/admin/v1/backup.proto
1818

19-
// Protobuf Java Version: 3.25.2
19+
// Protobuf Java Version: 3.25.3
2020
package com.google.firestore.admin.v1;
2121

2222
/**

proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/BackupOrBuilder.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// Generated by the protocol buffer compiler. DO NOT EDIT!
1717
// source: google/firestore/admin/v1/backup.proto
1818

19-
// Protobuf Java Version: 3.25.2
19+
// Protobuf Java Version: 3.25.3
2020
package com.google.firestore.admin.v1;
2121

2222
public interface BackupOrBuilder

proto-google-cloud-firestore-admin-v1/src/main/java/com/google/firestore/admin/v1/BackupProto.java

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616
// Generated by the protocol buffer compiler. DO NOT EDIT!
1717
// source: google/firestore/admin/v1/backup.proto
1818

19-
// Protobuf Java Version: 3.25.2
19+
// Protobuf Java Version: 3.25.3
2020
package com.google.firestore.admin.v1;
2121

2222
public final class BackupProto {

0 commit comments

Comments
 (0)