Skip to content

Commit 8179bb9

Browse files
chore: update googleapis commit at Tue Apr 30 20:27:53 UTC 2024 (#10767)
* chore: update googleapis commit at Tue Apr 30 20:27:53 UTC 2024 * chore: generate libraries at Tue Apr 30 20:31:00 UTC 2024 * chore: update googleapis commit at Wed May 1 02:17:37 UTC 2024 * chore: generate libraries at Wed May 1 02:19:10 UTC 2024 * chore: update googleapis commit at Wed May 1 02:33:33 UTC 2024 * chore: update googleapis commit at Wed May 1 02:43:45 UTC 2024 * chore: update googleapis commit at Wed May 1 02:52:37 UTC 2024 * chore: update googleapis commit at Wed May 1 03:02:20 UTC 2024
1 parent 6388fbc commit 8179bb9

File tree

477 files changed

+179577
-17736
lines changed

Some content is hidden

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

477 files changed

+179577
-17736
lines changed

generation_config.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
gapic_generator_version: 2.39.0
22
protobuf_version: '25.3'
3-
googleapis_commitish: 0179dcc4d2b4d7376e7f0292b15c72aab3100dd6
3+
googleapis_commitish: 5a0ae652df1ef39b7849bf2bd6ba417376ce3204
44
libraries_bom_version: 26.38.0
55
owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409
66
synthtool_commitish: 63cc541da2c45fcfca2136c43e638da1fbae174d

java-aiplatform/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
195195
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
196196
[stability-image]: https://img.shields.io/badge/stability-stable-green
197197
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-aiplatform.svg
198-
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.42.0
198+
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.43.0
199199
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
200200
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
201201
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1/FeatureRegistryServiceClient.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -479,7 +479,7 @@ public final OperationsClient getOperationsClient() {
479479
* }</pre>
480480
*
481481
* @param parent Required. The resource name of the Location to create FeatureGroups. Format:
482-
* `projects/{project}/locations/{location}'`
482+
* `projects/{project}/locations/{location}`
483483
* @param featureGroup Required. The FeatureGroup to create.
484484
* @param featureGroupId Required. The ID to use for this FeatureGroup, which will become the
485485
* final component of the FeatureGroup's resource name.
@@ -525,7 +525,7 @@ public final OperationsClient getOperationsClient() {
525525
* }</pre>
526526
*
527527
* @param parent Required. The resource name of the Location to create FeatureGroups. Format:
528-
* `projects/{project}/locations/{location}'`
528+
* `projects/{project}/locations/{location}`
529529
* @param featureGroup Required. The FeatureGroup to create.
530530
* @param featureGroupId Required. The ID to use for this FeatureGroup, which will become the
531531
* final component of the FeatureGroup's resource name.

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceClient.java

Lines changed: 614 additions & 0 deletions
Large diffs are not rendered by default.

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/NotebookServiceSettings.java

Lines changed: 57 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package com.google.cloud.aiplatform.v1beta1;
1818

1919
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListLocationsPagedResponse;
20+
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookExecutionJobsPagedResponse;
2021
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse;
2122
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimesPagedResponse;
2223

@@ -208,6 +209,34 @@ public UnaryCallSettings<StartNotebookRuntimeRequest, Operation> startNotebookRu
208209
.startNotebookRuntimeOperationSettings();
209210
}
210211

212+
/** Returns the object with the settings used for calls to getNotebookExecutionJob. */
213+
public UnaryCallSettings<GetNotebookExecutionJobRequest, NotebookExecutionJob>
214+
getNotebookExecutionJobSettings() {
215+
return ((NotebookServiceStubSettings) getStubSettings()).getNotebookExecutionJobSettings();
216+
}
217+
218+
/** Returns the object with the settings used for calls to listNotebookExecutionJobs. */
219+
public PagedCallSettings<
220+
ListNotebookExecutionJobsRequest,
221+
ListNotebookExecutionJobsResponse,
222+
ListNotebookExecutionJobsPagedResponse>
223+
listNotebookExecutionJobsSettings() {
224+
return ((NotebookServiceStubSettings) getStubSettings()).listNotebookExecutionJobsSettings();
225+
}
226+
227+
/** Returns the object with the settings used for calls to deleteNotebookExecutionJob. */
228+
public UnaryCallSettings<DeleteNotebookExecutionJobRequest, Operation>
229+
deleteNotebookExecutionJobSettings() {
230+
return ((NotebookServiceStubSettings) getStubSettings()).deleteNotebookExecutionJobSettings();
231+
}
232+
233+
/** Returns the object with the settings used for calls to deleteNotebookExecutionJob. */
234+
public OperationCallSettings<DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata>
235+
deleteNotebookExecutionJobOperationSettings() {
236+
return ((NotebookServiceStubSettings) getStubSettings())
237+
.deleteNotebookExecutionJobOperationSettings();
238+
}
239+
211240
/** Returns the object with the settings used for calls to listLocations. */
212241
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
213242
listLocationsSettings() {
@@ -445,6 +474,34 @@ public Builder applyToAllUnaryMethods(
445474
return getStubSettingsBuilder().startNotebookRuntimeOperationSettings();
446475
}
447476

477+
/** Returns the builder for the settings used for calls to getNotebookExecutionJob. */
478+
public UnaryCallSettings.Builder<GetNotebookExecutionJobRequest, NotebookExecutionJob>
479+
getNotebookExecutionJobSettings() {
480+
return getStubSettingsBuilder().getNotebookExecutionJobSettings();
481+
}
482+
483+
/** Returns the builder for the settings used for calls to listNotebookExecutionJobs. */
484+
public PagedCallSettings.Builder<
485+
ListNotebookExecutionJobsRequest,
486+
ListNotebookExecutionJobsResponse,
487+
ListNotebookExecutionJobsPagedResponse>
488+
listNotebookExecutionJobsSettings() {
489+
return getStubSettingsBuilder().listNotebookExecutionJobsSettings();
490+
}
491+
492+
/** Returns the builder for the settings used for calls to deleteNotebookExecutionJob. */
493+
public UnaryCallSettings.Builder<DeleteNotebookExecutionJobRequest, Operation>
494+
deleteNotebookExecutionJobSettings() {
495+
return getStubSettingsBuilder().deleteNotebookExecutionJobSettings();
496+
}
497+
498+
/** Returns the builder for the settings used for calls to deleteNotebookExecutionJob. */
499+
public OperationCallSettings.Builder<
500+
DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata>
501+
deleteNotebookExecutionJobOperationSettings() {
502+
return getStubSettingsBuilder().deleteNotebookExecutionJobOperationSettings();
503+
}
504+
448505
/** Returns the builder for the settings used for calls to listLocations. */
449506
public PagedCallSettings.Builder<
450507
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/gapic_metadata.json

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1141,6 +1141,9 @@
11411141
"CreateNotebookRuntimeTemplate": {
11421142
"methods": ["createNotebookRuntimeTemplateAsync", "createNotebookRuntimeTemplateAsync", "createNotebookRuntimeTemplateAsync", "createNotebookRuntimeTemplateOperationCallable", "createNotebookRuntimeTemplateCallable"]
11431143
},
1144+
"DeleteNotebookExecutionJob": {
1145+
"methods": ["deleteNotebookExecutionJobAsync", "deleteNotebookExecutionJobAsync", "deleteNotebookExecutionJobAsync", "deleteNotebookExecutionJobOperationCallable", "deleteNotebookExecutionJobCallable"]
1146+
},
11441147
"DeleteNotebookRuntime": {
11451148
"methods": ["deleteNotebookRuntimeAsync", "deleteNotebookRuntimeAsync", "deleteNotebookRuntimeAsync", "deleteNotebookRuntimeOperationCallable", "deleteNotebookRuntimeCallable"]
11461149
},
@@ -1153,6 +1156,9 @@
11531156
"GetLocation": {
11541157
"methods": ["getLocation", "getLocationCallable"]
11551158
},
1159+
"GetNotebookExecutionJob": {
1160+
"methods": ["getNotebookExecutionJob", "getNotebookExecutionJob", "getNotebookExecutionJob", "getNotebookExecutionJobCallable"]
1161+
},
11561162
"GetNotebookRuntime": {
11571163
"methods": ["getNotebookRuntime", "getNotebookRuntime", "getNotebookRuntime", "getNotebookRuntimeCallable"]
11581164
},
@@ -1162,6 +1168,9 @@
11621168
"ListLocations": {
11631169
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
11641170
},
1171+
"ListNotebookExecutionJobs": {
1172+
"methods": ["listNotebookExecutionJobs", "listNotebookExecutionJobs", "listNotebookExecutionJobs", "listNotebookExecutionJobsPagedCallable", "listNotebookExecutionJobsCallable"]
1173+
},
11651174
"ListNotebookRuntimeTemplates": {
11661175
"methods": ["listNotebookRuntimeTemplates", "listNotebookRuntimeTemplates", "listNotebookRuntimeTemplates", "listNotebookRuntimeTemplatesPagedCallable", "listNotebookRuntimeTemplatesCallable"]
11671176
},

java-aiplatform/google-cloud-aiplatform/src/main/java/com/google/cloud/aiplatform/v1beta1/stub/GrpcNotebookServiceStub.java

Lines changed: 144 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -17,6 +17,7 @@
1717
package com.google.cloud.aiplatform.v1beta1.stub;
1818

1919
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListLocationsPagedResponse;
20+
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookExecutionJobsPagedResponse;
2021
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse;
2122
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimesPagedResponse;
2223

@@ -33,15 +34,20 @@
3334
import com.google.cloud.aiplatform.v1beta1.AssignNotebookRuntimeRequest;
3435
import com.google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateOperationMetadata;
3536
import com.google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateRequest;
37+
import com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest;
3638
import com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeRequest;
3739
import com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeTemplateRequest;
3840
import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata;
41+
import com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest;
3942
import com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeRequest;
4043
import com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeTemplateRequest;
44+
import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest;
45+
import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse;
4146
import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesRequest;
4247
import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesResponse;
4348
import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimesRequest;
4449
import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimesResponse;
50+
import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob;
4551
import com.google.cloud.aiplatform.v1beta1.NotebookRuntime;
4652
import com.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate;
4753
import com.google.cloud.aiplatform.v1beta1.StartNotebookRuntimeOperationMetadata;
@@ -193,6 +199,43 @@ public class GrpcNotebookServiceStub extends NotebookServiceStub {
193199
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
194200
.build();
195201

202+
private static final MethodDescriptor<GetNotebookExecutionJobRequest, NotebookExecutionJob>
203+
getNotebookExecutionJobMethodDescriptor =
204+
MethodDescriptor.<GetNotebookExecutionJobRequest, NotebookExecutionJob>newBuilder()
205+
.setType(MethodDescriptor.MethodType.UNARY)
206+
.setFullMethodName(
207+
"google.cloud.aiplatform.v1beta1.NotebookService/GetNotebookExecutionJob")
208+
.setRequestMarshaller(
209+
ProtoUtils.marshaller(GetNotebookExecutionJobRequest.getDefaultInstance()))
210+
.setResponseMarshaller(
211+
ProtoUtils.marshaller(NotebookExecutionJob.getDefaultInstance()))
212+
.build();
213+
214+
private static final MethodDescriptor<
215+
ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>
216+
listNotebookExecutionJobsMethodDescriptor =
217+
MethodDescriptor
218+
.<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>newBuilder()
219+
.setType(MethodDescriptor.MethodType.UNARY)
220+
.setFullMethodName(
221+
"google.cloud.aiplatform.v1beta1.NotebookService/ListNotebookExecutionJobs")
222+
.setRequestMarshaller(
223+
ProtoUtils.marshaller(ListNotebookExecutionJobsRequest.getDefaultInstance()))
224+
.setResponseMarshaller(
225+
ProtoUtils.marshaller(ListNotebookExecutionJobsResponse.getDefaultInstance()))
226+
.build();
227+
228+
private static final MethodDescriptor<DeleteNotebookExecutionJobRequest, Operation>
229+
deleteNotebookExecutionJobMethodDescriptor =
230+
MethodDescriptor.<DeleteNotebookExecutionJobRequest, Operation>newBuilder()
231+
.setType(MethodDescriptor.MethodType.UNARY)
232+
.setFullMethodName(
233+
"google.cloud.aiplatform.v1beta1.NotebookService/DeleteNotebookExecutionJob")
234+
.setRequestMarshaller(
235+
ProtoUtils.marshaller(DeleteNotebookExecutionJobRequest.getDefaultInstance()))
236+
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
237+
.build();
238+
196239
private static final MethodDescriptor<ListLocationsRequest, ListLocationsResponse>
197240
listLocationsMethodDescriptor =
198241
MethodDescriptor.<ListLocationsRequest, ListLocationsResponse>newBuilder()
@@ -287,6 +330,17 @@ public class GrpcNotebookServiceStub extends NotebookServiceStub {
287330
StartNotebookRuntimeResponse,
288331
StartNotebookRuntimeOperationMetadata>
289332
startNotebookRuntimeOperationCallable;
333+
private final UnaryCallable<GetNotebookExecutionJobRequest, NotebookExecutionJob>
334+
getNotebookExecutionJobCallable;
335+
private final UnaryCallable<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>
336+
listNotebookExecutionJobsCallable;
337+
private final UnaryCallable<
338+
ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsPagedResponse>
339+
listNotebookExecutionJobsPagedCallable;
340+
private final UnaryCallable<DeleteNotebookExecutionJobRequest, Operation>
341+
deleteNotebookExecutionJobCallable;
342+
private final OperationCallable<DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata>
343+
deleteNotebookExecutionJobOperationCallable;
290344
private final UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable;
291345
private final UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
292346
listLocationsPagedCallable;
@@ -452,6 +506,40 @@ protected GrpcNotebookServiceStub(
452506
return builder.build();
453507
})
454508
.build();
509+
GrpcCallSettings<GetNotebookExecutionJobRequest, NotebookExecutionJob>
510+
getNotebookExecutionJobTransportSettings =
511+
GrpcCallSettings.<GetNotebookExecutionJobRequest, NotebookExecutionJob>newBuilder()
512+
.setMethodDescriptor(getNotebookExecutionJobMethodDescriptor)
513+
.setParamsExtractor(
514+
request -> {
515+
RequestParamsBuilder builder = RequestParamsBuilder.create();
516+
builder.add("name", String.valueOf(request.getName()));
517+
return builder.build();
518+
})
519+
.build();
520+
GrpcCallSettings<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>
521+
listNotebookExecutionJobsTransportSettings =
522+
GrpcCallSettings
523+
.<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>newBuilder()
524+
.setMethodDescriptor(listNotebookExecutionJobsMethodDescriptor)
525+
.setParamsExtractor(
526+
request -> {
527+
RequestParamsBuilder builder = RequestParamsBuilder.create();
528+
builder.add("parent", String.valueOf(request.getParent()));
529+
return builder.build();
530+
})
531+
.build();
532+
GrpcCallSettings<DeleteNotebookExecutionJobRequest, Operation>
533+
deleteNotebookExecutionJobTransportSettings =
534+
GrpcCallSettings.<DeleteNotebookExecutionJobRequest, Operation>newBuilder()
535+
.setMethodDescriptor(deleteNotebookExecutionJobMethodDescriptor)
536+
.setParamsExtractor(
537+
request -> {
538+
RequestParamsBuilder builder = RequestParamsBuilder.create();
539+
builder.add("name", String.valueOf(request.getName()));
540+
return builder.build();
541+
})
542+
.build();
455543
GrpcCallSettings<ListLocationsRequest, ListLocationsResponse> listLocationsTransportSettings =
456544
GrpcCallSettings.<ListLocationsRequest, ListLocationsResponse>newBuilder()
457545
.setMethodDescriptor(listLocationsMethodDescriptor)
@@ -600,6 +688,32 @@ protected GrpcNotebookServiceStub(
600688
settings.startNotebookRuntimeOperationSettings(),
601689
clientContext,
602690
operationsStub);
691+
this.getNotebookExecutionJobCallable =
692+
callableFactory.createUnaryCallable(
693+
getNotebookExecutionJobTransportSettings,
694+
settings.getNotebookExecutionJobSettings(),
695+
clientContext);
696+
this.listNotebookExecutionJobsCallable =
697+
callableFactory.createUnaryCallable(
698+
listNotebookExecutionJobsTransportSettings,
699+
settings.listNotebookExecutionJobsSettings(),
700+
clientContext);
701+
this.listNotebookExecutionJobsPagedCallable =
702+
callableFactory.createPagedCallable(
703+
listNotebookExecutionJobsTransportSettings,
704+
settings.listNotebookExecutionJobsSettings(),
705+
clientContext);
706+
this.deleteNotebookExecutionJobCallable =
707+
callableFactory.createUnaryCallable(
708+
deleteNotebookExecutionJobTransportSettings,
709+
settings.deleteNotebookExecutionJobSettings(),
710+
clientContext);
711+
this.deleteNotebookExecutionJobOperationCallable =
712+
callableFactory.createOperationCallable(
713+
deleteNotebookExecutionJobTransportSettings,
714+
settings.deleteNotebookExecutionJobOperationSettings(),
715+
clientContext,
716+
operationsStub);
603717
this.listLocationsCallable =
604718
callableFactory.createUnaryCallable(
605719
listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
@@ -743,6 +857,36 @@ public UnaryCallable<StartNotebookRuntimeRequest, Operation> startNotebookRuntim
743857
return startNotebookRuntimeOperationCallable;
744858
}
745859

860+
@Override
861+
public UnaryCallable<GetNotebookExecutionJobRequest, NotebookExecutionJob>
862+
getNotebookExecutionJobCallable() {
863+
return getNotebookExecutionJobCallable;
864+
}
865+
866+
@Override
867+
public UnaryCallable<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>
868+
listNotebookExecutionJobsCallable() {
869+
return listNotebookExecutionJobsCallable;
870+
}
871+
872+
@Override
873+
public UnaryCallable<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsPagedResponse>
874+
listNotebookExecutionJobsPagedCallable() {
875+
return listNotebookExecutionJobsPagedCallable;
876+
}
877+
878+
@Override
879+
public UnaryCallable<DeleteNotebookExecutionJobRequest, Operation>
880+
deleteNotebookExecutionJobCallable() {
881+
return deleteNotebookExecutionJobCallable;
882+
}
883+
884+
@Override
885+
public OperationCallable<DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata>
886+
deleteNotebookExecutionJobOperationCallable() {
887+
return deleteNotebookExecutionJobOperationCallable;
888+
}
889+
746890
@Override
747891
public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
748892
return listLocationsCallable;

0 commit comments

Comments
 (0)