Skip to content

Commit 01c0b96

Browse files
authored
chore: update googleapis SHA circa 2025-01-28 (#14964)
* chore: update googleapis SHA circa 2025-01-28 PiperOrigin-RevId: 720741557
1 parent 540fd7e commit 01c0b96

File tree

79 files changed

+6184
-329
lines changed

Some content is hidden

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

79 files changed

+6184
-329
lines changed

MODULE.bazel

+3-3
Original file line numberDiff line numberDiff line change
@@ -55,12 +55,12 @@ python.toolchain(
5555
bazel_dep(name = "googleapis", version = "0.0.0", repo_name = "com_google_googleapis")
5656
archive_override(
5757
module_name = "googleapis",
58-
integrity = "sha256-GZXEZMbkpRFnuoJjXh4dMXRtMMlLa2BLP0SqZb+YcTw=",
58+
integrity = "sha256-WpRQzxrRGHyCorXN/1Pk1YS21FKStfcbUECDrLA619A=",
5959
patch_strip = 1,
6060
patches = ["//bazel:googleapis.modules.patch"],
61-
strip_prefix = "googleapis-c3556b45dc35a145e04b5692bc72e01a4f58a6b2",
61+
strip_prefix = "googleapis-280725e991516d4a0f136268faf5aa6d32d21b54",
6262
urls = [
63-
"https://github.com/googleapis/googleapis/archive/c3556b45dc35a145e04b5692bc72e01a4f58a6b2.tar.gz",
63+
"https://github.com/googleapis/googleapis/archive/280725e991516d4a0f136268faf5aa6d32d21b54.tar.gz",
6464
],
6565
)
6666

bazel/workspace0.bzl

+3-3
Original file line numberDiff line numberDiff line change
@@ -126,10 +126,10 @@ def gl_cpp_workspace0(name = None):
126126
http_archive,
127127
name = "com_google_googleapis",
128128
urls = [
129-
"https://github.com/googleapis/googleapis/archive/c3556b45dc35a145e04b5692bc72e01a4f58a6b2.tar.gz",
129+
"https://github.com/googleapis/googleapis/archive/280725e991516d4a0f136268faf5aa6d32d21b54.tar.gz",
130130
],
131-
sha256 = "1995c464c6e4a51167ba82635e1e1d31746d30c94b6b604b3f44aa65bf98713c",
132-
strip_prefix = "googleapis-c3556b45dc35a145e04b5692bc72e01a4f58a6b2",
131+
sha256 = "5a9450cf1ad1187c82a2b5cdff53e4d584b6d45292b5f71b504083acb03ad7d0",
132+
strip_prefix = "googleapis-280725e991516d4a0f136268faf5aa6d32d21b54",
133133
build_file = Label("//bazel:googleapis.BUILD"),
134134
# Scaffolding for patching googleapis after download. For example:
135135
# patches = ["googleapis.patch"]

cmake/GoogleapisConfig.cmake

+2-2
Original file line numberDiff line numberDiff line change
@@ -27,9 +27,9 @@ set(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
2727
mark_as_advanced(GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256)
2828

2929
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA
30-
"c3556b45dc35a145e04b5692bc72e01a4f58a6b2")
30+
"280725e991516d4a0f136268faf5aa6d32d21b54")
3131
set(_GOOGLE_CLOUD_CPP_GOOGLEAPIS_SHA256
32-
"1995c464c6e4a51167ba82635e1e1d31746d30c94b6b604b3f44aa65bf98713c")
32+
"5a9450cf1ad1187c82a2b5cdff53e4d584b6d45292b5f71b504083acb03ad7d0")
3333

3434
set(DOXYGEN_ALIASES
3535
"googleapis_link{2}=\"[\\1](https://github.com/googleapis/googleapis/blob/${_GOOGLE_CLOUD_CPP_GOOGLEAPIS_COMMIT_SHA}/\\2)\""

external/googleapis/protodeps/aiplatform.deps

+1
Original file line numberDiff line numberDiff line change
@@ -9,4 +9,5 @@
99
@com_google_googleapis//google/rpc:status_proto
1010
@com_google_googleapis//google/type:date_proto
1111
@com_google_googleapis//google/type:interval_proto
12+
@com_google_googleapis//google/type:latlng_proto
1213
@com_google_googleapis//google/type:money_proto

external/googleapis/protodeps/redis.deps

+1
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,7 @@
11
@com_google_googleapis//google/api:annotations_proto
22
@com_google_googleapis//google/api:client_proto
33
@com_google_googleapis//google/api:field_behavior_proto
4+
@com_google_googleapis//google/api:field_info_proto
45
@com_google_googleapis//google/api:http_proto
56
@com_google_googleapis//google/api:launch_stage_proto
67
@com_google_googleapis//google/api:resource_proto

external/googleapis/protodeps/tpu.deps

+1
Original file line numberDiff line numberDiff line change
@@ -6,3 +6,4 @@
66
@com_google_googleapis//google/api:resource_proto
77
@com_google_googleapis//google/longrunning:operations_proto
88
@com_google_googleapis//google/rpc:status_proto
9+
@com_google_googleapis//google/type:interval_proto

external/googleapis/protolists/aiplatform.list

+5
Original file line numberDiff line numberDiff line change
@@ -41,6 +41,7 @@
4141
@com_google_googleapis//google/cloud/aiplatform/v1:api_auth.proto
4242
@com_google_googleapis//google/cloud/aiplatform/v1:artifact.proto
4343
@com_google_googleapis//google/cloud/aiplatform/v1:batch_prediction_job.proto
44+
@com_google_googleapis//google/cloud/aiplatform/v1:cached_content.proto
4445
@com_google_googleapis//google/cloud/aiplatform/v1:completion_stats.proto
4546
@com_google_googleapis//google/cloud/aiplatform/v1:content.proto
4647
@com_google_googleapis//google/cloud/aiplatform/v1:context.proto
@@ -79,6 +80,7 @@
7980
@com_google_googleapis//google/cloud/aiplatform/v1:featurestore_monitoring.proto
8081
@com_google_googleapis//google/cloud/aiplatform/v1:featurestore_online_service.proto
8182
@com_google_googleapis//google/cloud/aiplatform/v1:featurestore_service.proto
83+
@com_google_googleapis//google/cloud/aiplatform/v1:gen_ai_cache_service.proto
8284
@com_google_googleapis//google/cloud/aiplatform/v1:genai_tuning_service.proto
8385
@com_google_googleapis//google/cloud/aiplatform/v1:hyperparameter_tuning_job.proto
8486
@com_google_googleapis//google/cloud/aiplatform/v1:index.proto
@@ -123,6 +125,9 @@
123125
@com_google_googleapis//google/cloud/aiplatform/v1:pipeline_state.proto
124126
@com_google_googleapis//google/cloud/aiplatform/v1:prediction_service.proto
125127
@com_google_googleapis//google/cloud/aiplatform/v1:publisher_model.proto
128+
@com_google_googleapis//google/cloud/aiplatform/v1:reasoning_engine.proto
129+
@com_google_googleapis//google/cloud/aiplatform/v1:reasoning_engine_execution_service.proto
130+
@com_google_googleapis//google/cloud/aiplatform/v1:reasoning_engine_service.proto
126131
@com_google_googleapis//google/cloud/aiplatform/v1:reservation_affinity.proto
127132
@com_google_googleapis//google/cloud/aiplatform/v1:saved_query.proto
128133
@com_google_googleapis//google/cloud/aiplatform/v1:schedule.proto
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,5 @@
11
@com_google_googleapis//google/cloud/networkmanagement/v1:connectivity_test.proto
22
@com_google_googleapis//google/cloud/networkmanagement/v1:reachability.proto
33
@com_google_googleapis//google/cloud/networkmanagement/v1:trace.proto
4+
@com_google_googleapis//google/cloud/networkmanagement/v1:vpc_flow_logs.proto
5+
@com_google_googleapis//google/cloud/networkmanagement/v1:vpc_flow_logs_config.proto

google/cloud/aiplatform/v1/feature_online_store_admin_client.h

+8-8
Original file line numberDiff line numberDiff line change
@@ -661,7 +661,7 @@ class FeatureOnlineStoreAdminServiceClient {
661661
/// [`StatusOr`]: @ref google::cloud::StatusOr
662662
/// [`Status`]: @ref google::cloud::Status
663663
/// [google.cloud.aiplatform.v1.CreateFeatureViewRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_online_store_admin_service.proto#L350}
664-
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L33}
664+
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L34}
665665
///
666666
// clang-format on
667667
future<StatusOr<google::cloud::aiplatform::v1::FeatureView>>
@@ -717,7 +717,7 @@ class FeatureOnlineStoreAdminServiceClient {
717717
/// [`StatusOr`]: @ref google::cloud::StatusOr
718718
/// [`Status`]: @ref google::cloud::Status
719719
/// [google.cloud.aiplatform.v1.CreateFeatureViewRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_online_store_admin_service.proto#L350}
720-
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L33}
720+
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L34}
721721
///
722722
// clang-format on
723723
future<StatusOr<google::cloud::aiplatform::v1::FeatureView>>
@@ -774,7 +774,7 @@ class FeatureOnlineStoreAdminServiceClient {
774774
/// [`future`]: @ref google::cloud::future
775775
/// [`StatusOr`]: @ref google::cloud::StatusOr
776776
/// [`Status`]: @ref google::cloud::Status
777-
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L33}
777+
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L34}
778778
/// [google.cloud.aiplatform.v1.GetFeatureViewRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_online_store_admin_service.proto#L382}
779779
///
780780
// clang-format on
@@ -804,7 +804,7 @@ class FeatureOnlineStoreAdminServiceClient {
804804
/// [`future`]: @ref google::cloud::future
805805
/// [`StatusOr`]: @ref google::cloud::StatusOr
806806
/// [`Status`]: @ref google::cloud::Status
807-
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L33}
807+
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L34}
808808
/// [google.cloud.aiplatform.v1.GetFeatureViewRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_online_store_admin_service.proto#L382}
809809
///
810810
// clang-format on
@@ -841,7 +841,7 @@ class FeatureOnlineStoreAdminServiceClient {
841841
/// [`future`]: @ref google::cloud::future
842842
/// [`StatusOr`]: @ref google::cloud::StatusOr
843843
/// [`Status`]: @ref google::cloud::Status
844-
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L33}
844+
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L34}
845845
/// [google.cloud.aiplatform.v1.ListFeatureViewsRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_online_store_admin_service.proto#L396}
846846
///
847847
// clang-format on
@@ -880,7 +880,7 @@ class FeatureOnlineStoreAdminServiceClient {
880880
/// [`future`]: @ref google::cloud::future
881881
/// [`StatusOr`]: @ref google::cloud::StatusOr
882882
/// [`Status`]: @ref google::cloud::Status
883-
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L33}
883+
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L34}
884884
/// [google.cloud.aiplatform.v1.ListFeatureViewsRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_online_store_admin_service.proto#L396}
885885
///
886886
// clang-format on
@@ -935,7 +935,7 @@ class FeatureOnlineStoreAdminServiceClient {
935935
/// [`future`]: @ref google::cloud::future
936936
/// [`StatusOr`]: @ref google::cloud::StatusOr
937937
/// [`Status`]: @ref google::cloud::Status
938-
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L33}
938+
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L34}
939939
/// [google.cloud.aiplatform.v1.UpdateFeatureViewRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_online_store_admin_service.proto#L468}
940940
///
941941
// clang-format on
@@ -990,7 +990,7 @@ class FeatureOnlineStoreAdminServiceClient {
990990
/// [`future`]: @ref google::cloud::future
991991
/// [`StatusOr`]: @ref google::cloud::StatusOr
992992
/// [`Status`]: @ref google::cloud::Status
993-
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L33}
993+
/// [google.cloud.aiplatform.v1.FeatureView]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_view.proto#L34}
994994
/// [google.cloud.aiplatform.v1.UpdateFeatureViewRequest]: @googleapis_reference_link{google/cloud/aiplatform/v1/feature_online_store_admin_service.proto#L468}
995995
///
996996
// clang-format on

google/cloud/aiplatform/v1/internal/model_auth_decorator.cc

+10
Original file line numberDiff line numberDiff line change
@@ -85,6 +85,16 @@ ModelServiceAuth::ListModelVersions(
8585
return child_->ListModelVersions(context, options, request);
8686
}
8787

88+
StatusOr<google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse>
89+
ModelServiceAuth::ListModelVersionCheckpoints(
90+
grpc::ClientContext& context, Options const& options,
91+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest const&
92+
request) {
93+
auto status = auth_->ConfigureContext(context);
94+
if (!status.ok()) return status;
95+
return child_->ListModelVersionCheckpoints(context, options, request);
96+
}
97+
8898
StatusOr<google::cloud::aiplatform::v1::Model> ModelServiceAuth::UpdateModel(
8999
grpc::ClientContext& context, Options const& options,
90100
google::cloud::aiplatform::v1::UpdateModelRequest const& request) {

google/cloud/aiplatform/v1/internal/model_auth_decorator.h

+6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ class ModelServiceAuth : public ModelServiceStub {
6565
google::cloud::aiplatform::v1::ListModelVersionsRequest const& request)
6666
override;
6767

68+
StatusOr<google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse>
69+
ListModelVersionCheckpoints(
70+
grpc::ClientContext& context, Options const& options,
71+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest const&
72+
request) override;
73+
6874
StatusOr<google::cloud::aiplatform::v1::Model> UpdateModel(
6975
grpc::ClientContext& context, Options const& options,
7076
google::cloud::aiplatform::v1::UpdateModelRequest const& request)

google/cloud/aiplatform/v1/internal/model_connection_impl.cc

+37
Original file line numberDiff line numberDiff line change
@@ -239,6 +239,43 @@ ModelServiceConnectionImpl::ListModelVersions(
239239
});
240240
}
241241

242+
StreamRange<google::cloud::aiplatform::v1::ModelVersionCheckpoint>
243+
ModelServiceConnectionImpl::ListModelVersionCheckpoints(
244+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest request) {
245+
request.clear_page_token();
246+
auto current = google::cloud::internal::SaveCurrentOptions();
247+
auto idempotency =
248+
idempotency_policy(*current)->ListModelVersionCheckpoints(request);
249+
char const* function_name = __func__;
250+
return google::cloud::internal::MakePaginationRange<
251+
StreamRange<google::cloud::aiplatform::v1::ModelVersionCheckpoint>>(
252+
current, std::move(request),
253+
[idempotency, function_name, stub = stub_,
254+
retry = std::shared_ptr<aiplatform_v1::ModelServiceRetryPolicy>(
255+
retry_policy(*current)),
256+
backoff = std::shared_ptr<BackoffPolicy>(backoff_policy(*current))](
257+
Options const& options,
258+
google::cloud::aiplatform::v1::
259+
ListModelVersionCheckpointsRequest const& r) {
260+
return google::cloud::internal::RetryLoop(
261+
retry->clone(), backoff->clone(), idempotency,
262+
[stub](grpc::ClientContext& context, Options const& options,
263+
google::cloud::aiplatform::v1::
264+
ListModelVersionCheckpointsRequest const& request) {
265+
return stub->ListModelVersionCheckpoints(context, options,
266+
request);
267+
},
268+
options, r, function_name);
269+
},
270+
[](google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse r) {
271+
std::vector<google::cloud::aiplatform::v1::ModelVersionCheckpoint>
272+
result(r.checkpoints().size());
273+
auto& messages = *r.mutable_checkpoints();
274+
std::move(messages.begin(), messages.end(), result.begin());
275+
return result;
276+
});
277+
}
278+
242279
StatusOr<google::cloud::aiplatform::v1::Model>
243280
ModelServiceConnectionImpl::UpdateModel(
244281
google::cloud::aiplatform::v1::UpdateModelRequest const& request) {

google/cloud/aiplatform/v1/internal/model_connection_impl.h

+5
Original file line numberDiff line numberDiff line change
@@ -73,6 +73,11 @@ class ModelServiceConnectionImpl
7373
StreamRange<google::cloud::aiplatform::v1::Model> ListModelVersions(
7474
google::cloud::aiplatform::v1::ListModelVersionsRequest request) override;
7575

76+
StreamRange<google::cloud::aiplatform::v1::ModelVersionCheckpoint>
77+
ListModelVersionCheckpoints(
78+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest request)
79+
override;
80+
7681
StatusOr<google::cloud::aiplatform::v1::Model> UpdateModel(
7782
google::cloud::aiplatform::v1::UpdateModelRequest const& request)
7883
override;

google/cloud/aiplatform/v1/internal/model_logging_decorator.cc

+14
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,20 @@ ModelServiceLogging::ListModelVersions(
100100
context, options, request, __func__, tracing_options_);
101101
}
102102

103+
StatusOr<google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse>
104+
ModelServiceLogging::ListModelVersionCheckpoints(
105+
grpc::ClientContext& context, Options const& options,
106+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest const&
107+
request) {
108+
return google::cloud::internal::LogWrapper(
109+
[this](grpc::ClientContext& context, Options const& options,
110+
google::cloud::aiplatform::v1::
111+
ListModelVersionCheckpointsRequest const& request) {
112+
return child_->ListModelVersionCheckpoints(context, options, request);
113+
},
114+
context, options, request, __func__, tracing_options_);
115+
}
116+
103117
StatusOr<google::cloud::aiplatform::v1::Model> ModelServiceLogging::UpdateModel(
104118
grpc::ClientContext& context, Options const& options,
105119
google::cloud::aiplatform::v1::UpdateModelRequest const& request) {

google/cloud/aiplatform/v1/internal/model_logging_decorator.h

+6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ class ModelServiceLogging : public ModelServiceStub {
6565
google::cloud::aiplatform::v1::ListModelVersionsRequest const& request)
6666
override;
6767

68+
StatusOr<google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse>
69+
ListModelVersionCheckpoints(
70+
grpc::ClientContext& context, Options const& options,
71+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest const&
72+
request) override;
73+
6874
StatusOr<google::cloud::aiplatform::v1::Model> UpdateModel(
6975
grpc::ClientContext& context, Options const& options,
7076
google::cloud::aiplatform::v1::UpdateModelRequest const& request)

google/cloud/aiplatform/v1/internal/model_metadata_decorator.cc

+10
Original file line numberDiff line numberDiff line change
@@ -90,6 +90,16 @@ ModelServiceMetadata::ListModelVersions(
9090
return child_->ListModelVersions(context, options, request);
9191
}
9292

93+
StatusOr<google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse>
94+
ModelServiceMetadata::ListModelVersionCheckpoints(
95+
grpc::ClientContext& context, Options const& options,
96+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest const&
97+
request) {
98+
SetMetadata(context, options,
99+
absl::StrCat("name=", internal::UrlEncode(request.name())));
100+
return child_->ListModelVersionCheckpoints(context, options, request);
101+
}
102+
93103
StatusOr<google::cloud::aiplatform::v1::Model>
94104
ModelServiceMetadata::UpdateModel(
95105
grpc::ClientContext& context, Options const& options,

google/cloud/aiplatform/v1/internal/model_metadata_decorator.h

+6
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,12 @@ class ModelServiceMetadata : public ModelServiceStub {
6565
google::cloud::aiplatform::v1::ListModelVersionsRequest const& request)
6666
override;
6767

68+
StatusOr<google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse>
69+
ListModelVersionCheckpoints(
70+
grpc::ClientContext& context, Options const& options,
71+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest const&
72+
request) override;
73+
6874
StatusOr<google::cloud::aiplatform::v1::Model> UpdateModel(
6975
grpc::ClientContext& context, Options const& options,
7076
google::cloud::aiplatform::v1::UpdateModelRequest const& request)

google/cloud/aiplatform/v1/internal/model_stub.cc

+14
Original file line numberDiff line numberDiff line change
@@ -96,6 +96,20 @@ DefaultModelServiceStub::ListModelVersions(
9696
return response;
9797
}
9898

99+
StatusOr<google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse>
100+
DefaultModelServiceStub::ListModelVersionCheckpoints(
101+
grpc::ClientContext& context, Options const&,
102+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest const&
103+
request) {
104+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse response;
105+
auto status =
106+
grpc_stub_->ListModelVersionCheckpoints(&context, request, &response);
107+
if (!status.ok()) {
108+
return google::cloud::MakeStatusFromRpcError(status);
109+
}
110+
return response;
111+
}
112+
99113
StatusOr<google::cloud::aiplatform::v1::Model>
100114
DefaultModelServiceStub::UpdateModel(
101115
grpc::ClientContext& context, Options const&,

google/cloud/aiplatform/v1/internal/model_stub.h

+13
Original file line numberDiff line numberDiff line change
@@ -65,6 +65,13 @@ class ModelServiceStub {
6565
google::cloud::aiplatform::v1::ListModelVersionsRequest const&
6666
request) = 0;
6767

68+
virtual StatusOr<
69+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse>
70+
ListModelVersionCheckpoints(
71+
grpc::ClientContext& context, Options const& options,
72+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest const&
73+
request) = 0;
74+
6875
virtual StatusOr<google::cloud::aiplatform::v1::Model> UpdateModel(
6976
grpc::ClientContext& context, Options const& options,
7077
google::cloud::aiplatform::v1::UpdateModelRequest const& request) = 0;
@@ -272,6 +279,12 @@ class DefaultModelServiceStub : public ModelServiceStub {
272279
google::cloud::aiplatform::v1::ListModelVersionsRequest const& request)
273280
override;
274281

282+
StatusOr<google::cloud::aiplatform::v1::ListModelVersionCheckpointsResponse>
283+
ListModelVersionCheckpoints(
284+
grpc::ClientContext& context, Options const& options,
285+
google::cloud::aiplatform::v1::ListModelVersionCheckpointsRequest const&
286+
request) override;
287+
275288
StatusOr<google::cloud::aiplatform::v1::Model> UpdateModel(
276289
grpc::ClientContext& context, Options const& options,
277290
google::cloud::aiplatform::v1::UpdateModelRequest const& request)

0 commit comments

Comments
 (0)