Skip to content

Commit

Permalink
fix(deps): Update the Java code generator (gapic-generator-java) to 2…
Browse files Browse the repository at this point in the history
….39.0 (#1629)

- [ ] Regenerate this pull request now.

PiperOrigin-RevId: 626430774

Source-Link: https://togithub.com/googleapis/googleapis/commit/835b84ebfc4974ab5dcd9b31ad66c01ef3455475

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/43f369d90f19d09ac18720151ab106042beb811b
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDNmMzY5ZDkwZjE5ZDA5YWMxODcyMDE1MWFiMTA2MDQyYmViODExYiJ9

build: Update protobuf to 25.3 in WORKSPACE

PiperOrigin-RevId: 624989428

Source-Link: https://togithub.com/googleapis/googleapis/commit/caf600abae856335abbfcfa6d978bca051c2bc8c

Source-Link: https://togithub.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://togithub.com/googleapis/googleapis/commit/d0ed6724c4f2868bf4c6d8e0fe9223221f0f0e50

Source-Link: https://togithub.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://togithub.com/googleapis/googleapis/commit/8fe68cf33c51264152c321321ee78b8a3197f497

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/1a8186f74665611f485811ac5ab643c9f05655c7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMWE4MTg2Zjc0NjY1NjExZjQ4NTgxMWFjNWFiNjQzYzlmMDU2NTVjNyJ9

feat: add Vector Index API

PiperOrigin-RevId: 618867415

Source-Link: https://togithub.com/googleapis/googleapis/commit/277145d108819fa30fbed3a7cbbb50f91eb6155e

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/adcd3076784b5ae4e53a7b9be15d7720c2c07de7
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiYWRjZDMwNzY3ODRiNWFlNGU1M2E3YjliZTE1ZDc3MjBjMmMwN2RlNyJ9

feat: add VectorSearch API

PiperOrigin-RevId: 617982192

Source-Link: https://togithub.com/googleapis/googleapis/commit/5e2ca445cd8fd09440fbc7d296fa9b3e78effb68

Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/37fe0b159cf9611ecbcd4f08985d5e0b56bb0a4c
Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiMzdmZTBiMTU5Y2Y5NjExZWNiY2Q0ZjA4OTg1ZDVlMGI1NmJiMGE0YyJ9
  • Loading branch information
gcf-owl-bot[bot] committed Apr 26, 2024
1 parent c1c7536 commit 4964982
Show file tree
Hide file tree
Showing 237 changed files with 4,719 additions and 461 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -496,7 +496,7 @@
* </tr>
* <tr>
* <td><p> CreateBackupSchedule</td>
* <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>
* <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>
* <td>
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
* <ul>
Expand Down Expand Up @@ -3240,8 +3240,7 @@ public final UnaryCallable<RestoreDatabaseRequest, Operation> restoreDatabaseCal
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* 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.
* database, one daily backup schedule and one weekly backup schedule.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -3276,8 +3275,7 @@ public final BackupSchedule createBackupSchedule(
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* 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.
* database, one daily backup schedule and one weekly backup schedule.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -3311,8 +3309,7 @@ public final BackupSchedule createBackupSchedule(String parent, BackupSchedule b
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* 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.
* database, one daily backup schedule and one weekly backup schedule.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -3342,8 +3339,7 @@ public final BackupSchedule createBackupSchedule(CreateBackupScheduleRequest req
// AUTO-GENERATED DOCUMENTATION AND METHOD.
/**
* 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.
* database, one daily backup schedule and one weekly backup schedule.
*
* <p>Sample code:
*
Expand Down Expand Up @@ -3715,7 +3711,7 @@ public final BackupSchedule updateBackupSchedule(UpdateBackupScheduleRequest req
* }
* }</pre>
*
* @param name Required. The name of backup schedule.
* @param name Required. The name of the backup schedule.
* <p>Format `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down Expand Up @@ -3746,7 +3742,7 @@ public final void deleteBackupSchedule(BackupScheduleName name) {
* }
* }</pre>
*
* @param name Required. The name of backup schedule.
* @param name Required. The name of the backup schedule.
* <p>Format `projects/{project}/databases/{database}/backupSchedules/{backup_schedule}`
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
*/
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -486,15 +486,6 @@ public FirestoreAdminStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}

/** Returns the endpoint set by the user or the the service's default endpoint. */
@Override
public String getEndpoint() {
if (super.getEndpoint() != null) {
return super.getEndpoint();
}
return getDefaultEndpoint();
}

/** Returns the default service name. */
@Override
public String getServiceName() {
Expand Down Expand Up @@ -1386,15 +1377,6 @@ public UnaryCallSettings.Builder<RestoreDatabaseRequest, Operation> restoreDatab
return deleteBackupScheduleSettings;
}

/** Returns the endpoint set by the user or the the service's default endpoint. */
@Override
public String getEndpoint() {
if (super.getEndpoint() != null) {
return super.getEndpoint();
}
return getDefaultEndpoint();
}

@Override
public FirestoreAdminStubSettings build() throws IOException {
return new FirestoreAdminStubSettings(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1133,6 +1133,42 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.firestore.admin.v1.Index$IndexField$VectorConfig",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.firestore.admin.v1.Index$IndexField$VectorConfig$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.firestore.admin.v1.Index$IndexField$VectorConfig$FlatIndex",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.firestore.admin.v1.Index$IndexField$VectorConfig$FlatIndex$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.firestore.admin.v1.Index$QueryScope",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -426,15 +426,6 @@ public FirestoreStub createStub() throws IOException {
"Transport not supported: %s", getTransportChannelProvider().getTransportName()));
}

/** Returns the endpoint set by the user or the the service's default endpoint. */
@Override
public String getEndpoint() {
if (super.getEndpoint() != null) {
return super.getEndpoint();
}
return getDefaultEndpoint();
}

/** Returns the default service name. */
@Override
public String getServiceName() {
Expand Down Expand Up @@ -974,15 +965,6 @@ public UnaryCallSettings.Builder<CreateDocumentRequest, Document> createDocument
return createDocumentSettings;
}

/** Returns the endpoint set by the user or the the service's default endpoint. */
@Override
public String getEndpoint() {
if (super.getEndpoint() != null) {
return super.getEndpoint();
}
return getDefaultEndpoint();
}

@Override
public FirestoreStubSettings build() throws IOException {
return new FirestoreStubSettings(this);
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1457,6 +1457,33 @@
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.firestore.v1.StructuredQuery$FindNearest",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.firestore.v1.StructuredQuery$FindNearest$Builder",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.firestore.v1.StructuredQuery$FindNearest$DistanceMeasure",
"queryAllDeclaredConstructors": true,
"queryAllPublicConstructors": true,
"queryAllDeclaredMethods": true,
"allPublicMethods": true,
"allDeclaredClasses": true,
"allPublicClasses": true
},
{
"name": "com.google.firestore.v1.StructuredQuery$Order",
"queryAllDeclaredConstructors": true,
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -1453,8 +1453,7 @@ default void restoreDatabase(
* <pre>
* 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.
* backup schedule and one weekly backup schedule.
* </pre>
*/
default void createBackupSchedule(
Expand Down Expand Up @@ -1938,8 +1937,7 @@ public void restoreDatabase(
* <pre>
* 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.
* backup schedule and one weekly backup schedule.
* </pre>
*/
public void createBackupSchedule(
Expand Down Expand Up @@ -2349,8 +2347,7 @@ public com.google.longrunning.Operation restoreDatabase(
* <pre>
* 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.
* backup schedule and one weekly backup schedule.
* </pre>
*/
public com.google.firestore.admin.v1.BackupSchedule createBackupSchedule(
Expand Down Expand Up @@ -2746,8 +2743,7 @@ protected FirestoreAdminFutureStub build(
* <pre>
* 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.
* backup schedule and one weekly backup schedule.
* </pre>
*/
public com.google.common.util.concurrent.ListenableFuture<
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/firestore/admin/v1/backup.proto

// Protobuf Java Version: 3.25.2
// Protobuf Java Version: 3.25.3
package com.google.firestore.admin.v1;

/**
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/firestore/admin/v1/backup.proto

// Protobuf Java Version: 3.25.2
// Protobuf Java Version: 3.25.3
package com.google.firestore.admin.v1;

public interface BackupOrBuilder
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/firestore/admin/v1/backup.proto

// Protobuf Java Version: 3.25.2
// Protobuf Java Version: 3.25.3
package com.google.firestore.admin.v1;

public final class BackupProto {
Expand Down
Loading

0 comments on commit 4964982

Please sign in to comment.