Skip to content

Commit 1a41bf1

Browse files
chore: generate libraries at Wed Jul 23 02:40:21 UTC 2025
1 parent 6d7b322 commit 1a41bf1

File tree

19 files changed

+3054
-323
lines changed

19 files changed

+3054
-323
lines changed

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

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2330,6 +2330,42 @@
23302330
"allDeclaredClasses": true,
23312331
"allPublicClasses": true
23322332
},
2333+
{
2334+
"name": "com.google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest",
2335+
"queryAllDeclaredConstructors": true,
2336+
"queryAllPublicConstructors": true,
2337+
"queryAllDeclaredMethods": true,
2338+
"allPublicMethods": true,
2339+
"allDeclaredClasses": true,
2340+
"allPublicClasses": true
2341+
},
2342+
{
2343+
"name": "com.google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest$Builder",
2344+
"queryAllDeclaredConstructors": true,
2345+
"queryAllPublicConstructors": true,
2346+
"queryAllDeclaredMethods": true,
2347+
"allPublicMethods": true,
2348+
"allDeclaredClasses": true,
2349+
"allPublicClasses": true
2350+
},
2351+
{
2352+
"name": "com.google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse",
2353+
"queryAllDeclaredConstructors": true,
2354+
"queryAllPublicConstructors": true,
2355+
"queryAllDeclaredMethods": true,
2356+
"allPublicMethods": true,
2357+
"allDeclaredClasses": true,
2358+
"allPublicClasses": true
2359+
},
2360+
{
2361+
"name": "com.google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse$Builder",
2362+
"queryAllDeclaredConstructors": true,
2363+
"queryAllPublicConstructors": true,
2364+
"queryAllDeclaredMethods": true,
2365+
"allPublicMethods": true,
2366+
"allDeclaredClasses": true,
2367+
"allPublicClasses": true
2368+
},
23332369
{
23342370
"name": "com.google.spanner.admin.database.v1.ListBackupOperationsRequest",
23352371
"queryAllDeclaredConstructors": true,

google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminClient.java

Lines changed: 161 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -66,6 +66,8 @@
6666
import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse;
6767
import com.google.spanner.admin.database.v1.GetDatabaseRequest;
6868
import com.google.spanner.admin.database.v1.InstanceName;
69+
import com.google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
70+
import com.google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
6971
import com.google.spanner.admin.database.v1.ListBackupOperationsRequest;
7072
import com.google.spanner.admin.database.v1.ListBackupOperationsResponse;
7173
import com.google.spanner.admin.database.v1.ListBackupSchedulesRequest;
@@ -640,6 +642,25 @@
640642
* </ul>
641643
* </td>
642644
* </tr>
645+
* <tr>
646+
* <td><p> InternalUpdateGraphOperation</td>
647+
* <td><p> This is an internal API called by Spanner Graph jobs. You should never need to call this API directly.</td>
648+
* <td>
649+
* <p>Request object method variants only take one parameter, a request object, which must be constructed before the call.</p>
650+
* <ul>
651+
* <li><p> internalUpdateGraphOperation(InternalUpdateGraphOperationRequest request)
652+
* </ul>
653+
* <p>"Flattened" method variants have converted the fields of the request object into function parameters to enable multiple ways to call the same method.</p>
654+
* <ul>
655+
* <li><p> internalUpdateGraphOperation(DatabaseName database, String operationId)
656+
* <li><p> internalUpdateGraphOperation(String database, String operationId)
657+
* </ul>
658+
* <p>Callable method variants take no parameters and return an immutable API callable object, which can be used to initiate calls to the service.</p>
659+
* <ul>
660+
* <li><p> internalUpdateGraphOperationCallable()
661+
* </ul>
662+
* </td>
663+
* </tr>
643664
* </table>
644665
*
645666
* <p>See the individual methods for example code.
@@ -5119,6 +5140,146 @@ public final ListBackupSchedulesPagedResponse listBackupSchedules(
51195140
return stub.listBackupSchedulesCallable();
51205141
}
51215142

5143+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
5144+
/**
5145+
* This is an internal API called by Spanner Graph jobs. You should never need to call this API
5146+
* directly.
5147+
*
5148+
* <p>Sample code:
5149+
*
5150+
* <pre>{@code
5151+
* // This snippet has been automatically generated and should be regarded as a code template only.
5152+
* // It will require modifications to work:
5153+
* // - It may require correct/in-range values for request initialization.
5154+
* // - It may require specifying regional endpoints when creating the service client as shown in
5155+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5156+
* try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
5157+
* DatabaseName database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]");
5158+
* String operationId = "operationId129704162";
5159+
* InternalUpdateGraphOperationResponse response =
5160+
* databaseAdminClient.internalUpdateGraphOperation(database, operationId);
5161+
* }
5162+
* }</pre>
5163+
*
5164+
* @param database Internal field, do not use directly.
5165+
* @param operationId Internal field, do not use directly.
5166+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
5167+
*/
5168+
public final InternalUpdateGraphOperationResponse internalUpdateGraphOperation(
5169+
DatabaseName database, String operationId) {
5170+
InternalUpdateGraphOperationRequest request =
5171+
InternalUpdateGraphOperationRequest.newBuilder()
5172+
.setDatabase(database == null ? null : database.toString())
5173+
.setOperationId(operationId)
5174+
.build();
5175+
return internalUpdateGraphOperation(request);
5176+
}
5177+
5178+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
5179+
/**
5180+
* This is an internal API called by Spanner Graph jobs. You should never need to call this API
5181+
* directly.
5182+
*
5183+
* <p>Sample code:
5184+
*
5185+
* <pre>{@code
5186+
* // This snippet has been automatically generated and should be regarded as a code template only.
5187+
* // It will require modifications to work:
5188+
* // - It may require correct/in-range values for request initialization.
5189+
* // - It may require specifying regional endpoints when creating the service client as shown in
5190+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5191+
* try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
5192+
* String database = DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString();
5193+
* String operationId = "operationId129704162";
5194+
* InternalUpdateGraphOperationResponse response =
5195+
* databaseAdminClient.internalUpdateGraphOperation(database, operationId);
5196+
* }
5197+
* }</pre>
5198+
*
5199+
* @param database Internal field, do not use directly.
5200+
* @param operationId Internal field, do not use directly.
5201+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
5202+
*/
5203+
public final InternalUpdateGraphOperationResponse internalUpdateGraphOperation(
5204+
String database, String operationId) {
5205+
InternalUpdateGraphOperationRequest request =
5206+
InternalUpdateGraphOperationRequest.newBuilder()
5207+
.setDatabase(database)
5208+
.setOperationId(operationId)
5209+
.build();
5210+
return internalUpdateGraphOperation(request);
5211+
}
5212+
5213+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
5214+
/**
5215+
* This is an internal API called by Spanner Graph jobs. You should never need to call this API
5216+
* directly.
5217+
*
5218+
* <p>Sample code:
5219+
*
5220+
* <pre>{@code
5221+
* // This snippet has been automatically generated and should be regarded as a code template only.
5222+
* // It will require modifications to work:
5223+
* // - It may require correct/in-range values for request initialization.
5224+
* // - It may require specifying regional endpoints when creating the service client as shown in
5225+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5226+
* try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
5227+
* InternalUpdateGraphOperationRequest request =
5228+
* InternalUpdateGraphOperationRequest.newBuilder()
5229+
* .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
5230+
* .setOperationId("operationId129704162")
5231+
* .setVmIdentityToken("vmIdentityToken-417652124")
5232+
* .setProgress(-1001078227)
5233+
* .setStatus(Status.newBuilder().build())
5234+
* .build();
5235+
* InternalUpdateGraphOperationResponse response =
5236+
* databaseAdminClient.internalUpdateGraphOperation(request);
5237+
* }
5238+
* }</pre>
5239+
*
5240+
* @param request The request object containing all of the parameters for the API call.
5241+
* @throws com.google.api.gax.rpc.ApiException if the remote call fails
5242+
*/
5243+
public final InternalUpdateGraphOperationResponse internalUpdateGraphOperation(
5244+
InternalUpdateGraphOperationRequest request) {
5245+
return internalUpdateGraphOperationCallable().call(request);
5246+
}
5247+
5248+
// AUTO-GENERATED DOCUMENTATION AND METHOD.
5249+
/**
5250+
* This is an internal API called by Spanner Graph jobs. You should never need to call this API
5251+
* directly.
5252+
*
5253+
* <p>Sample code:
5254+
*
5255+
* <pre>{@code
5256+
* // This snippet has been automatically generated and should be regarded as a code template only.
5257+
* // It will require modifications to work:
5258+
* // - It may require correct/in-range values for request initialization.
5259+
* // - It may require specifying regional endpoints when creating the service client as shown in
5260+
* // https://cloud.google.com/java/docs/setup#configure_endpoints_for_the_client_library
5261+
* try (DatabaseAdminClient databaseAdminClient = DatabaseAdminClient.create()) {
5262+
* InternalUpdateGraphOperationRequest request =
5263+
* InternalUpdateGraphOperationRequest.newBuilder()
5264+
* .setDatabase(DatabaseName.of("[PROJECT]", "[INSTANCE]", "[DATABASE]").toString())
5265+
* .setOperationId("operationId129704162")
5266+
* .setVmIdentityToken("vmIdentityToken-417652124")
5267+
* .setProgress(-1001078227)
5268+
* .setStatus(Status.newBuilder().build())
5269+
* .build();
5270+
* ApiFuture<InternalUpdateGraphOperationResponse> future =
5271+
* databaseAdminClient.internalUpdateGraphOperationCallable().futureCall(request);
5272+
* // Do something.
5273+
* InternalUpdateGraphOperationResponse response = future.get();
5274+
* }
5275+
* }</pre>
5276+
*/
5277+
public final UnaryCallable<
5278+
InternalUpdateGraphOperationRequest, InternalUpdateGraphOperationResponse>
5279+
internalUpdateGraphOperationCallable() {
5280+
return stub.internalUpdateGraphOperationCallable();
5281+
}
5282+
51225283
@Override
51235284
public final void close() {
51245285
stub.close();

google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/DatabaseAdminSettings.java

Lines changed: 16 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -64,6 +64,8 @@
6464
import com.google.spanner.admin.database.v1.GetDatabaseDdlRequest;
6565
import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse;
6666
import com.google.spanner.admin.database.v1.GetDatabaseRequest;
67+
import com.google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
68+
import com.google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
6769
import com.google.spanner.admin.database.v1.ListBackupOperationsRequest;
6870
import com.google.spanner.admin.database.v1.ListBackupOperationsResponse;
6971
import com.google.spanner.admin.database.v1.ListBackupSchedulesRequest;
@@ -348,6 +350,13 @@ public UnaryCallSettings<DeleteBackupScheduleRequest, Empty> deleteBackupSchedul
348350
return ((DatabaseAdminStubSettings) getStubSettings()).listBackupSchedulesSettings();
349351
}
350352

353+
/** Returns the object with the settings used for calls to internalUpdateGraph. */
354+
public UnaryCallSettings<
355+
InternalUpdateGraphOperationRequest, InternalUpdateGraphOperationResponse>
356+
internalUpdateGraphOperationSettings() {
357+
return ((DatabaseAdminStubSettings) getStubSettings()).internalUpdateGraphOperationSettings();
358+
}
359+
351360
public static final DatabaseAdminSettings create(DatabaseAdminStubSettings stub)
352361
throws IOException {
353362
return new DatabaseAdminSettings.Builder(stub.toBuilder()).build();
@@ -652,6 +661,13 @@ public UnaryCallSettings.Builder<RestoreDatabaseRequest, Operation> restoreDatab
652661
return getStubSettingsBuilder().listBackupSchedulesSettings();
653662
}
654663

664+
/** Returns the builder for the settings used for calls to internalUpdateGraph. */
665+
public UnaryCallSettings.Builder<
666+
InternalUpdateGraphOperationRequest, InternalUpdateGraphOperationResponse>
667+
internalUpdateGraphOperationSettings() {
668+
return getStubSettingsBuilder().internalUpdateGraphOperationSettings();
669+
}
670+
655671
@Override
656672
public DatabaseAdminSettings build() throws IOException {
657673
return new DatabaseAdminSettings(this);

google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/gapic_metadata.json

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -49,6 +49,9 @@
4949
"GetIamPolicy": {
5050
"methods": ["getIamPolicy", "getIamPolicy", "getIamPolicy", "getIamPolicyCallable"]
5151
},
52+
"InternalUpdateGraphOperation": {
53+
"methods": ["internalUpdateGraphOperation", "internalUpdateGraphOperation", "internalUpdateGraphOperation", "internalUpdateGraphOperationCallable"]
54+
},
5255
"ListBackupOperations": {
5356
"methods": ["listBackupOperations", "listBackupOperations", "listBackupOperations", "listBackupOperationsPagedCallable", "listBackupOperationsCallable"]
5457
},

google-cloud-spanner/src/main/java/com/google/cloud/spanner/admin/database/v1/stub/DatabaseAdminStub.java

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -54,6 +54,8 @@
5454
import com.google.spanner.admin.database.v1.GetDatabaseDdlRequest;
5555
import com.google.spanner.admin.database.v1.GetDatabaseDdlResponse;
5656
import com.google.spanner.admin.database.v1.GetDatabaseRequest;
57+
import com.google.spanner.admin.database.v1.InternalUpdateGraphOperationRequest;
58+
import com.google.spanner.admin.database.v1.InternalUpdateGraphOperationResponse;
5759
import com.google.spanner.admin.database.v1.ListBackupOperationsRequest;
5860
import com.google.spanner.admin.database.v1.ListBackupOperationsResponse;
5961
import com.google.spanner.admin.database.v1.ListBackupSchedulesRequest;
@@ -263,6 +265,12 @@ public UnaryCallable<DeleteBackupScheduleRequest, Empty> deleteBackupScheduleCal
263265
throw new UnsupportedOperationException("Not implemented: listBackupSchedulesCallable()");
264266
}
265267

268+
public UnaryCallable<InternalUpdateGraphOperationRequest, InternalUpdateGraphOperationResponse>
269+
internalUpdateGraphOperationCallable() {
270+
throw new UnsupportedOperationException(
271+
"Not implemented: internalUpdateGraphOperationCallable()");
272+
}
273+
266274
@Override
267275
public abstract void close();
268276
}

0 commit comments

Comments
 (0)