Skip to content

Commit

Permalink
chore: update googleapis commit at Tue Apr 30 20:27:53 UTC 2024 (#10767)
Browse files Browse the repository at this point in the history
* 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
  • Loading branch information
cloud-java-bot committed May 1, 2024
1 parent 6388fbc commit 8179bb9
Show file tree
Hide file tree
Showing 477 changed files with 179,577 additions and 17,736 deletions.
2 changes: 1 addition & 1 deletion generation_config.yaml
@@ -1,6 +1,6 @@
gapic_generator_version: 2.39.0
protobuf_version: '25.3'
googleapis_commitish: 0179dcc4d2b4d7376e7f0292b15c72aab3100dd6
googleapis_commitish: 5a0ae652df1ef39b7849bf2bd6ba417376ce3204
libraries_bom_version: 26.38.0
owlbot_cli_image: sha256:623647ee79ac605858d09e60c1382a716c125fb776f69301b72de1cd35d49409
synthtool_commitish: 63cc541da2c45fcfca2136c43e638da1fbae174d
Expand Down
2 changes: 1 addition & 1 deletion java-aiplatform/README.md
Expand Up @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates.
[kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html
[stability-image]: https://img.shields.io/badge/stability-stable-green
[maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-aiplatform.svg
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.42.0
[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-aiplatform/3.43.0
[authentication]: https://github.com/googleapis/google-cloud-java#authentication
[auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes
[predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles
Expand Down
Expand Up @@ -479,7 +479,7 @@ public final OperationsClient getOperationsClient() {
* }</pre>
*
* @param parent Required. The resource name of the Location to create FeatureGroups. Format:
* `projects/{project}/locations/{location}'`
* `projects/{project}/locations/{location}`
* @param featureGroup Required. The FeatureGroup to create.
* @param featureGroupId Required. The ID to use for this FeatureGroup, which will become the
* final component of the FeatureGroup's resource name.
Expand Down Expand Up @@ -525,7 +525,7 @@ public final OperationsClient getOperationsClient() {
* }</pre>
*
* @param parent Required. The resource name of the Location to create FeatureGroups. Format:
* `projects/{project}/locations/{location}'`
* `projects/{project}/locations/{location}`
* @param featureGroup Required. The FeatureGroup to create.
* @param featureGroupId Required. The ID to use for this FeatureGroup, which will become the
* final component of the FeatureGroup's resource name.
Expand Down

Large diffs are not rendered by default.

Expand Up @@ -17,6 +17,7 @@
package com.google.cloud.aiplatform.v1beta1;

import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookExecutionJobsPagedResponse;
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse;
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimesPagedResponse;

Expand Down Expand Up @@ -208,6 +209,34 @@ public UnaryCallSettings<StartNotebookRuntimeRequest, Operation> startNotebookRu
.startNotebookRuntimeOperationSettings();
}

/** Returns the object with the settings used for calls to getNotebookExecutionJob. */
public UnaryCallSettings<GetNotebookExecutionJobRequest, NotebookExecutionJob>
getNotebookExecutionJobSettings() {
return ((NotebookServiceStubSettings) getStubSettings()).getNotebookExecutionJobSettings();
}

/** Returns the object with the settings used for calls to listNotebookExecutionJobs. */
public PagedCallSettings<
ListNotebookExecutionJobsRequest,
ListNotebookExecutionJobsResponse,
ListNotebookExecutionJobsPagedResponse>
listNotebookExecutionJobsSettings() {
return ((NotebookServiceStubSettings) getStubSettings()).listNotebookExecutionJobsSettings();
}

/** Returns the object with the settings used for calls to deleteNotebookExecutionJob. */
public UnaryCallSettings<DeleteNotebookExecutionJobRequest, Operation>
deleteNotebookExecutionJobSettings() {
return ((NotebookServiceStubSettings) getStubSettings()).deleteNotebookExecutionJobSettings();
}

/** Returns the object with the settings used for calls to deleteNotebookExecutionJob. */
public OperationCallSettings<DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata>
deleteNotebookExecutionJobOperationSettings() {
return ((NotebookServiceStubSettings) getStubSettings())
.deleteNotebookExecutionJobOperationSettings();
}

/** Returns the object with the settings used for calls to listLocations. */
public PagedCallSettings<ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
listLocationsSettings() {
Expand Down Expand Up @@ -445,6 +474,34 @@ public Builder applyToAllUnaryMethods(
return getStubSettingsBuilder().startNotebookRuntimeOperationSettings();
}

/** Returns the builder for the settings used for calls to getNotebookExecutionJob. */
public UnaryCallSettings.Builder<GetNotebookExecutionJobRequest, NotebookExecutionJob>
getNotebookExecutionJobSettings() {
return getStubSettingsBuilder().getNotebookExecutionJobSettings();
}

/** Returns the builder for the settings used for calls to listNotebookExecutionJobs. */
public PagedCallSettings.Builder<
ListNotebookExecutionJobsRequest,
ListNotebookExecutionJobsResponse,
ListNotebookExecutionJobsPagedResponse>
listNotebookExecutionJobsSettings() {
return getStubSettingsBuilder().listNotebookExecutionJobsSettings();
}

/** Returns the builder for the settings used for calls to deleteNotebookExecutionJob. */
public UnaryCallSettings.Builder<DeleteNotebookExecutionJobRequest, Operation>
deleteNotebookExecutionJobSettings() {
return getStubSettingsBuilder().deleteNotebookExecutionJobSettings();
}

/** Returns the builder for the settings used for calls to deleteNotebookExecutionJob. */
public OperationCallSettings.Builder<
DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata>
deleteNotebookExecutionJobOperationSettings() {
return getStubSettingsBuilder().deleteNotebookExecutionJobOperationSettings();
}

/** Returns the builder for the settings used for calls to listLocations. */
public PagedCallSettings.Builder<
ListLocationsRequest, ListLocationsResponse, ListLocationsPagedResponse>
Expand Down
Expand Up @@ -1141,6 +1141,9 @@
"CreateNotebookRuntimeTemplate": {
"methods": ["createNotebookRuntimeTemplateAsync", "createNotebookRuntimeTemplateAsync", "createNotebookRuntimeTemplateAsync", "createNotebookRuntimeTemplateOperationCallable", "createNotebookRuntimeTemplateCallable"]
},
"DeleteNotebookExecutionJob": {
"methods": ["deleteNotebookExecutionJobAsync", "deleteNotebookExecutionJobAsync", "deleteNotebookExecutionJobAsync", "deleteNotebookExecutionJobOperationCallable", "deleteNotebookExecutionJobCallable"]
},
"DeleteNotebookRuntime": {
"methods": ["deleteNotebookRuntimeAsync", "deleteNotebookRuntimeAsync", "deleteNotebookRuntimeAsync", "deleteNotebookRuntimeOperationCallable", "deleteNotebookRuntimeCallable"]
},
Expand All @@ -1153,6 +1156,9 @@
"GetLocation": {
"methods": ["getLocation", "getLocationCallable"]
},
"GetNotebookExecutionJob": {
"methods": ["getNotebookExecutionJob", "getNotebookExecutionJob", "getNotebookExecutionJob", "getNotebookExecutionJobCallable"]
},
"GetNotebookRuntime": {
"methods": ["getNotebookRuntime", "getNotebookRuntime", "getNotebookRuntime", "getNotebookRuntimeCallable"]
},
Expand All @@ -1162,6 +1168,9 @@
"ListLocations": {
"methods": ["listLocations", "listLocationsPagedCallable", "listLocationsCallable"]
},
"ListNotebookExecutionJobs": {
"methods": ["listNotebookExecutionJobs", "listNotebookExecutionJobs", "listNotebookExecutionJobs", "listNotebookExecutionJobsPagedCallable", "listNotebookExecutionJobsCallable"]
},
"ListNotebookRuntimeTemplates": {
"methods": ["listNotebookRuntimeTemplates", "listNotebookRuntimeTemplates", "listNotebookRuntimeTemplates", "listNotebookRuntimeTemplatesPagedCallable", "listNotebookRuntimeTemplatesCallable"]
},
Expand Down
Expand Up @@ -17,6 +17,7 @@
package com.google.cloud.aiplatform.v1beta1.stub;

import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListLocationsPagedResponse;
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookExecutionJobsPagedResponse;
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimeTemplatesPagedResponse;
import static com.google.cloud.aiplatform.v1beta1.NotebookServiceClient.ListNotebookRuntimesPagedResponse;

Expand All @@ -33,15 +34,20 @@
import com.google.cloud.aiplatform.v1beta1.AssignNotebookRuntimeRequest;
import com.google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateOperationMetadata;
import com.google.cloud.aiplatform.v1beta1.CreateNotebookRuntimeTemplateRequest;
import com.google.cloud.aiplatform.v1beta1.DeleteNotebookExecutionJobRequest;
import com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeRequest;
import com.google.cloud.aiplatform.v1beta1.DeleteNotebookRuntimeTemplateRequest;
import com.google.cloud.aiplatform.v1beta1.DeleteOperationMetadata;
import com.google.cloud.aiplatform.v1beta1.GetNotebookExecutionJobRequest;
import com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeRequest;
import com.google.cloud.aiplatform.v1beta1.GetNotebookRuntimeTemplateRequest;
import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsRequest;
import com.google.cloud.aiplatform.v1beta1.ListNotebookExecutionJobsResponse;
import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesRequest;
import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimeTemplatesResponse;
import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimesRequest;
import com.google.cloud.aiplatform.v1beta1.ListNotebookRuntimesResponse;
import com.google.cloud.aiplatform.v1beta1.NotebookExecutionJob;
import com.google.cloud.aiplatform.v1beta1.NotebookRuntime;
import com.google.cloud.aiplatform.v1beta1.NotebookRuntimeTemplate;
import com.google.cloud.aiplatform.v1beta1.StartNotebookRuntimeOperationMetadata;
Expand Down Expand Up @@ -193,6 +199,43 @@ public class GrpcNotebookServiceStub extends NotebookServiceStub {
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
.build();

private static final MethodDescriptor<GetNotebookExecutionJobRequest, NotebookExecutionJob>
getNotebookExecutionJobMethodDescriptor =
MethodDescriptor.<GetNotebookExecutionJobRequest, NotebookExecutionJob>newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
"google.cloud.aiplatform.v1beta1.NotebookService/GetNotebookExecutionJob")
.setRequestMarshaller(
ProtoUtils.marshaller(GetNotebookExecutionJobRequest.getDefaultInstance()))
.setResponseMarshaller(
ProtoUtils.marshaller(NotebookExecutionJob.getDefaultInstance()))
.build();

private static final MethodDescriptor<
ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>
listNotebookExecutionJobsMethodDescriptor =
MethodDescriptor
.<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
"google.cloud.aiplatform.v1beta1.NotebookService/ListNotebookExecutionJobs")
.setRequestMarshaller(
ProtoUtils.marshaller(ListNotebookExecutionJobsRequest.getDefaultInstance()))
.setResponseMarshaller(
ProtoUtils.marshaller(ListNotebookExecutionJobsResponse.getDefaultInstance()))
.build();

private static final MethodDescriptor<DeleteNotebookExecutionJobRequest, Operation>
deleteNotebookExecutionJobMethodDescriptor =
MethodDescriptor.<DeleteNotebookExecutionJobRequest, Operation>newBuilder()
.setType(MethodDescriptor.MethodType.UNARY)
.setFullMethodName(
"google.cloud.aiplatform.v1beta1.NotebookService/DeleteNotebookExecutionJob")
.setRequestMarshaller(
ProtoUtils.marshaller(DeleteNotebookExecutionJobRequest.getDefaultInstance()))
.setResponseMarshaller(ProtoUtils.marshaller(Operation.getDefaultInstance()))
.build();

private static final MethodDescriptor<ListLocationsRequest, ListLocationsResponse>
listLocationsMethodDescriptor =
MethodDescriptor.<ListLocationsRequest, ListLocationsResponse>newBuilder()
Expand Down Expand Up @@ -287,6 +330,17 @@ public class GrpcNotebookServiceStub extends NotebookServiceStub {
StartNotebookRuntimeResponse,
StartNotebookRuntimeOperationMetadata>
startNotebookRuntimeOperationCallable;
private final UnaryCallable<GetNotebookExecutionJobRequest, NotebookExecutionJob>
getNotebookExecutionJobCallable;
private final UnaryCallable<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>
listNotebookExecutionJobsCallable;
private final UnaryCallable<
ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsPagedResponse>
listNotebookExecutionJobsPagedCallable;
private final UnaryCallable<DeleteNotebookExecutionJobRequest, Operation>
deleteNotebookExecutionJobCallable;
private final OperationCallable<DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata>
deleteNotebookExecutionJobOperationCallable;
private final UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable;
private final UnaryCallable<ListLocationsRequest, ListLocationsPagedResponse>
listLocationsPagedCallable;
Expand Down Expand Up @@ -452,6 +506,40 @@ protected GrpcNotebookServiceStub(
return builder.build();
})
.build();
GrpcCallSettings<GetNotebookExecutionJobRequest, NotebookExecutionJob>
getNotebookExecutionJobTransportSettings =
GrpcCallSettings.<GetNotebookExecutionJobRequest, NotebookExecutionJob>newBuilder()
.setMethodDescriptor(getNotebookExecutionJobMethodDescriptor)
.setParamsExtractor(
request -> {
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("name", String.valueOf(request.getName()));
return builder.build();
})
.build();
GrpcCallSettings<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>
listNotebookExecutionJobsTransportSettings =
GrpcCallSettings
.<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>newBuilder()
.setMethodDescriptor(listNotebookExecutionJobsMethodDescriptor)
.setParamsExtractor(
request -> {
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("parent", String.valueOf(request.getParent()));
return builder.build();
})
.build();
GrpcCallSettings<DeleteNotebookExecutionJobRequest, Operation>
deleteNotebookExecutionJobTransportSettings =
GrpcCallSettings.<DeleteNotebookExecutionJobRequest, Operation>newBuilder()
.setMethodDescriptor(deleteNotebookExecutionJobMethodDescriptor)
.setParamsExtractor(
request -> {
RequestParamsBuilder builder = RequestParamsBuilder.create();
builder.add("name", String.valueOf(request.getName()));
return builder.build();
})
.build();
GrpcCallSettings<ListLocationsRequest, ListLocationsResponse> listLocationsTransportSettings =
GrpcCallSettings.<ListLocationsRequest, ListLocationsResponse>newBuilder()
.setMethodDescriptor(listLocationsMethodDescriptor)
Expand Down Expand Up @@ -600,6 +688,32 @@ protected GrpcNotebookServiceStub(
settings.startNotebookRuntimeOperationSettings(),
clientContext,
operationsStub);
this.getNotebookExecutionJobCallable =
callableFactory.createUnaryCallable(
getNotebookExecutionJobTransportSettings,
settings.getNotebookExecutionJobSettings(),
clientContext);
this.listNotebookExecutionJobsCallable =
callableFactory.createUnaryCallable(
listNotebookExecutionJobsTransportSettings,
settings.listNotebookExecutionJobsSettings(),
clientContext);
this.listNotebookExecutionJobsPagedCallable =
callableFactory.createPagedCallable(
listNotebookExecutionJobsTransportSettings,
settings.listNotebookExecutionJobsSettings(),
clientContext);
this.deleteNotebookExecutionJobCallable =
callableFactory.createUnaryCallable(
deleteNotebookExecutionJobTransportSettings,
settings.deleteNotebookExecutionJobSettings(),
clientContext);
this.deleteNotebookExecutionJobOperationCallable =
callableFactory.createOperationCallable(
deleteNotebookExecutionJobTransportSettings,
settings.deleteNotebookExecutionJobOperationSettings(),
clientContext,
operationsStub);
this.listLocationsCallable =
callableFactory.createUnaryCallable(
listLocationsTransportSettings, settings.listLocationsSettings(), clientContext);
Expand Down Expand Up @@ -743,6 +857,36 @@ public UnaryCallable<StartNotebookRuntimeRequest, Operation> startNotebookRuntim
return startNotebookRuntimeOperationCallable;
}

@Override
public UnaryCallable<GetNotebookExecutionJobRequest, NotebookExecutionJob>
getNotebookExecutionJobCallable() {
return getNotebookExecutionJobCallable;
}

@Override
public UnaryCallable<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsResponse>
listNotebookExecutionJobsCallable() {
return listNotebookExecutionJobsCallable;
}

@Override
public UnaryCallable<ListNotebookExecutionJobsRequest, ListNotebookExecutionJobsPagedResponse>
listNotebookExecutionJobsPagedCallable() {
return listNotebookExecutionJobsPagedCallable;
}

@Override
public UnaryCallable<DeleteNotebookExecutionJobRequest, Operation>
deleteNotebookExecutionJobCallable() {
return deleteNotebookExecutionJobCallable;
}

@Override
public OperationCallable<DeleteNotebookExecutionJobRequest, Empty, DeleteOperationMetadata>
deleteNotebookExecutionJobOperationCallable() {
return deleteNotebookExecutionJobOperationCallable;
}

@Override
public UnaryCallable<ListLocationsRequest, ListLocationsResponse> listLocationsCallable() {
return listLocationsCallable;
Expand Down

0 comments on commit 8179bb9

Please sign in to comment.