From f3e31ecc11282ce5280b5149873bc65df4bf788b Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Mon, 31 Jan 2022 15:15:41 -0800 Subject: [PATCH] feat: add dedicated_resources to DeployedIndex in aiplatform v1beta1 index_endpoint.proto feat: add Scaling to OnlineServingConfig in aiplatform v1beta1 featurestore.proto chore: sort imports (#262) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add dedicated_resources to DeployedIndex in aiplatform v1beta1 index_endpoint.proto feat: add Scaling to OnlineServingConfig in aiplatform v1beta1 featurestore.proto chore: sort imports PiperOrigin-RevId: 425395202 Source-Link: https://github.com/googleapis/googleapis/commit/e3bcc1ee4f7bdeeaad2c947dea7f4388b7d864e7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/62beef78559c8bab47ecd36eed1aa6b678db6088 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNjJiZWVmNzg1NTljOGJhYjQ3ZWNkMzZlZWQxYWE2YjY3OGRiNjA4OCJ9 * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot Co-authored-by: Yu-Han Liu --- .../aiplatform/v1beta1/accelerator_type.proto | 2 +- .../cloud/aiplatform/v1beta1/annotation.proto | 4 +- .../aiplatform/v1beta1/annotation_spec.proto | 4 +- .../cloud/aiplatform/v1beta1/artifact.proto | 4 +- .../v1beta1/batch_prediction_job.proto | 4 +- .../aiplatform/v1beta1/completion_stats.proto | 4 +- .../cloud/aiplatform/v1beta1/context.proto | 4 +- .../cloud/aiplatform/v1beta1/custom_job.proto | 5 +- .../cloud/aiplatform/v1beta1/data_item.proto | 4 +- .../v1beta1/data_labeling_job.proto | 4 +- .../cloud/aiplatform/v1beta1/dataset.proto | 4 +- .../aiplatform/v1beta1/dataset_service.proto | 2 +- .../v1beta1/deployed_index_ref.proto | 4 +- .../v1beta1/deployed_model_ref.proto | 4 +- .../aiplatform/v1beta1/encryption_spec.proto | 4 +- .../cloud/aiplatform/v1beta1/endpoint.proto | 4 +- .../aiplatform/v1beta1/endpoint_service.proto | 2 +- .../aiplatform/v1beta1/entity_type.proto | 4 +- .../cloud/aiplatform/v1beta1/env_var.proto | 4 +- .../cloud/aiplatform/v1beta1/event.proto | 4 +- .../cloud/aiplatform/v1beta1/execution.proto | 4 +- .../aiplatform/v1beta1/explanation.proto | 4 +- .../v1beta1/explanation_metadata.proto | 4 +- .../cloud/aiplatform/v1beta1/feature.proto | 4 +- .../v1beta1/feature_monitoring_stats.proto | 4 +- .../aiplatform/v1beta1/feature_selector.proto | 4 +- .../aiplatform/v1beta1/featurestore.proto | 24 +- .../v1beta1/featurestore_monitoring.proto | 4 +- .../v1beta1/featurestore_online_service.proto | 2 +- .../v1beta1/featurestore_service.proto | 3 +- .../v1beta1/hyperparameter_tuning_job.proto | 4 +- .../cloud/aiplatform/v1beta1/index.proto | 4 +- .../aiplatform/v1beta1/index_endpoint.proto | 18 +- .../v1beta1/index_endpoint_service.proto | 2 +- .../aiplatform/v1beta1/index_service.proto | 2 +- .../google/cloud/aiplatform/v1beta1/io.proto | 4 +- .../aiplatform/v1beta1/job_service.proto | 2 +- .../cloud/aiplatform/v1beta1/job_state.proto | 2 +- .../aiplatform/v1beta1/lineage_subgraph.proto | 4 +- .../v1beta1/machine_resources.proto | 4 +- .../manual_batch_tuning_parameters.proto | 4 +- .../aiplatform/v1beta1/metadata_schema.proto | 4 +- .../aiplatform/v1beta1/metadata_service.proto | 2 +- .../aiplatform/v1beta1/metadata_store.proto | 4 +- .../v1beta1/migratable_resource.proto | 4 +- .../v1beta1/migration_service.proto | 6 +- .../cloud/aiplatform/v1beta1/model.proto | 14 +- .../model_deployment_monitoring_job.proto | 8 +- .../aiplatform/v1beta1/model_evaluation.proto | 4 +- .../v1beta1/model_evaluation_slice.proto | 4 +- .../aiplatform/v1beta1/model_monitoring.proto | 4 +- .../aiplatform/v1beta1/model_service.proto | 5 +- .../cloud/aiplatform/v1beta1/operation.proto | 4 +- .../aiplatform/v1beta1/pipeline_job.proto | 4 +- .../aiplatform/v1beta1/pipeline_service.proto | 2 +- .../aiplatform/v1beta1/pipeline_state.proto | 2 +- .../v1beta1/prediction_service.proto | 2 +- .../aiplatform/v1beta1/specialist_pool.proto | 4 +- .../v1beta1/specialist_pool_service.proto | 2 +- .../cloud/aiplatform/v1beta1/study.proto | 5 +- .../aiplatform/v1beta1/tensorboard.proto | 4 +- .../aiplatform/v1beta1/tensorboard_data.proto | 4 +- .../v1beta1/tensorboard_experiment.proto | 4 +- .../aiplatform/v1beta1/tensorboard_run.proto | 4 +- .../v1beta1/tensorboard_service.proto | 2 +- .../v1beta1/tensorboard_time_series.proto | 4 +- .../v1beta1/training_pipeline.proto | 4 +- .../cloud/aiplatform/v1beta1/types.proto | 2 +- .../v1beta1/unmanaged_container_model.proto | 4 +- .../v1beta1/user_action_reference.proto | 2 +- .../cloud/aiplatform/v1beta1/value.proto | 2 +- .../aiplatform/v1beta1/vizier_service.proto | 2 +- protos/protos.d.ts | 111 ++++++++ protos/protos.js | 267 +++++++++++++++++- protos/protos.json | 28 ++ 75 files changed, 575 insertions(+), 135 deletions(-) diff --git a/protos/google/cloud/aiplatform/v1beta1/accelerator_type.proto b/protos/google/cloud/aiplatform/v1beta1/accelerator_type.proto index 92b01fae..cde9f765 100644 --- a/protos/google/cloud/aiplatform/v1beta1/accelerator_type.proto +++ b/protos/google/cloud/aiplatform/v1beta1/accelerator_type.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/annotation.proto b/protos/google/cloud/aiplatform/v1beta1/annotation.proto index 1724bfb9..98915325 100644 --- a/protos/google/cloud/aiplatform/v1beta1/annotation.proto +++ b/protos/google/cloud/aiplatform/v1beta1/annotation.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,13 +16,13 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/user_action_reference.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/annotation_spec.proto b/protos/google/cloud/aiplatform/v1beta1/annotation_spec.proto index a23a1ec0..cac7f761 100644 --- a/protos/google/cloud/aiplatform/v1beta1/annotation_spec.proto +++ b/protos/google/cloud/aiplatform/v1beta1/annotation_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/artifact.proto b/protos/google/cloud/aiplatform/v1beta1/artifact.proto index 2817349e..bc314f1a 100644 --- a/protos/google/cloud/aiplatform/v1beta1/artifact.proto +++ b/protos/google/cloud/aiplatform/v1beta1/artifact.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/value.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto b/protos/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto index 2b7cf5d8..313c7874 100644 --- a/protos/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto +++ b/protos/google/cloud/aiplatform/v1beta1/batch_prediction_job.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/completion_stats.proto"; @@ -30,7 +31,6 @@ import "google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/completion_stats.proto b/protos/google/cloud/aiplatform/v1beta1/completion_stats.proto index 2c54b961..268a541e 100644 --- a/protos/google/cloud/aiplatform/v1beta1/completion_stats.proto +++ b/protos/google/cloud/aiplatform/v1beta1/completion_stats.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,9 +16,9 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/rpc/status.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/context.proto b/protos/google/cloud/aiplatform/v1beta1/context.proto index 64d25ea7..13e5a576 100644 --- a/protos/google/cloud/aiplatform/v1beta1/context.proto +++ b/protos/google/cloud/aiplatform/v1beta1/context.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/value.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/custom_job.proto b/protos/google/cloud/aiplatform/v1beta1/custom_job.proto index 54a4b0be..a8ae99ee 100644 --- a/protos/google/cloud/aiplatform/v1beta1/custom_job.proto +++ b/protos/google/cloud/aiplatform/v1beta1/custom_job.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; @@ -26,7 +27,6 @@ import "google/cloud/aiplatform/v1beta1/machine_resources.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; @@ -107,6 +107,7 @@ message CustomJob { } // Represents the spec of a CustomJob. +// Next Id: 14 message CustomJobSpec { // Required. The spec of the worker pools including machine type and Docker image. // All worker pools except the first one are optional and can be skipped by diff --git a/protos/google/cloud/aiplatform/v1beta1/data_item.proto b/protos/google/cloud/aiplatform/v1beta1/data_item.proto index 2f904487..016dd1a0 100644 --- a/protos/google/cloud/aiplatform/v1beta1/data_item.proto +++ b/protos/google/cloud/aiplatform/v1beta1/data_item.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/data_labeling_job.proto b/protos/google/cloud/aiplatform/v1beta1/data_labeling_job.proto index 5c2de665..8479899d 100644 --- a/protos/google/cloud/aiplatform/v1beta1/data_labeling_job.proto +++ b/protos/google/cloud/aiplatform/v1beta1/data_labeling_job.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/accelerator_type.proto"; @@ -26,7 +27,6 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; import "google/type/money.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/dataset.proto b/protos/google/cloud/aiplatform/v1beta1/dataset.proto index 23e8626d..92031150 100644 --- a/protos/google/cloud/aiplatform/v1beta1/dataset.proto +++ b/protos/google/cloud/aiplatform/v1beta1/dataset.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,13 +16,13 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/cloud/aiplatform/v1beta1/io.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/dataset_service.proto b/protos/google/cloud/aiplatform/v1beta1/dataset_service.proto index 172859a5..285c2740 100644 --- a/protos/google/cloud/aiplatform/v1beta1/dataset_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/dataset_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto b/protos/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto index ed7cf737..64c54023 100644 --- a/protos/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto +++ b/protos/google/cloud/aiplatform/v1beta1/deployed_index_ref.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,9 +16,9 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto b/protos/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto index 1c85e8ef..68f234a2 100644 --- a/protos/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto +++ b/protos/google/cloud/aiplatform/v1beta1/deployed_model_ref.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,9 +16,9 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/encryption_spec.proto b/protos/google/cloud/aiplatform/v1beta1/encryption_spec.proto index d74e3b93..9a514ea6 100644 --- a/protos/google/cloud/aiplatform/v1beta1/encryption_spec.proto +++ b/protos/google/cloud/aiplatform/v1beta1/encryption_spec.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,8 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; -import "google/api/field_behavior.proto"; import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/endpoint.proto b/protos/google/cloud/aiplatform/v1beta1/endpoint.proto index 3971a35b..176a2423 100644 --- a/protos/google/cloud/aiplatform/v1beta1/endpoint.proto +++ b/protos/google/cloud/aiplatform/v1beta1/endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; @@ -25,7 +26,6 @@ import "google/cloud/aiplatform/v1beta1/machine_resources.proto"; import "google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto"; import "google/cloud/aiplatform/v1beta1/model_monitoring.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/endpoint_service.proto b/protos/google/cloud/aiplatform/v1beta1/endpoint_service.proto index 9cf261f2..e30077dc 100644 --- a/protos/google/cloud/aiplatform/v1beta1/endpoint_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/endpoint_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/entity_type.proto b/protos/google/cloud/aiplatform/v1beta1/entity_type.proto index 232b0ec2..e1fd6cfc 100644 --- a/protos/google/cloud/aiplatform/v1beta1/entity_type.proto +++ b/protos/google/cloud/aiplatform/v1beta1/entity_type.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/feature.proto"; import "google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/env_var.proto b/protos/google/cloud/aiplatform/v1beta1/env_var.proto index e62c594b..6970f614 100644 --- a/protos/google/cloud/aiplatform/v1beta1/env_var.proto +++ b/protos/google/cloud/aiplatform/v1beta1/env_var.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,8 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; -import "google/api/field_behavior.proto"; import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/event.proto b/protos/google/cloud/aiplatform/v1beta1/event.proto index c2d7abbd..edc38932 100644 --- a/protos/google/cloud/aiplatform/v1beta1/event.proto +++ b/protos/google/cloud/aiplatform/v1beta1/event.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/execution.proto b/protos/google/cloud/aiplatform/v1beta1/execution.proto index f26554de..ebb57f81 100644 --- a/protos/google/cloud/aiplatform/v1beta1/execution.proto +++ b/protos/google/cloud/aiplatform/v1beta1/execution.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/value.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/explanation.proto b/protos/google/cloud/aiplatform/v1beta1/explanation.proto index e8c85200..e7d0d3d5 100644 --- a/protos/google/cloud/aiplatform/v1beta1/explanation.proto +++ b/protos/google/cloud/aiplatform/v1beta1/explanation.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,11 +16,11 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1beta1/explanation_metadata.proto"; import "google/cloud/aiplatform/v1beta1/io.proto"; import "google/protobuf/struct.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/explanation_metadata.proto b/protos/google/cloud/aiplatform/v1beta1/explanation_metadata.proto index 9919dbd8..6b024023 100644 --- a/protos/google/cloud/aiplatform/v1beta1/explanation_metadata.proto +++ b/protos/google/cloud/aiplatform/v1beta1/explanation_metadata.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,9 +16,9 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/protobuf/struct.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/feature.proto b/protos/google/cloud/aiplatform/v1beta1/feature.proto index a4f8b36c..5776bac6 100644 --- a/protos/google/cloud/aiplatform/v1beta1/feature.proto +++ b/protos/google/cloud/aiplatform/v1beta1/feature.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto"; import "google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto b/protos/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto index 051b93b5..f468e95a 100644 --- a/protos/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto +++ b/protos/google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,8 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; -import "google/protobuf/timestamp.proto"; import "google/api/annotations.proto"; +import "google/protobuf/timestamp.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/feature_selector.proto b/protos/google/cloud/aiplatform/v1beta1/feature_selector.proto index 74d9aa69..65b851d0 100644 --- a/protos/google/cloud/aiplatform/v1beta1/feature_selector.proto +++ b/protos/google/cloud/aiplatform/v1beta1/feature_selector.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,8 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; -import "google/api/field_behavior.proto"; import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/featurestore.proto b/protos/google/cloud/aiplatform/v1beta1/featurestore.proto index b48c5d80..1240acdc 100644 --- a/protos/google/cloud/aiplatform/v1beta1/featurestore.proto +++ b/protos/google/cloud/aiplatform/v1beta1/featurestore.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,11 +16,11 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; @@ -42,10 +42,30 @@ message Featurestore { // OnlineServingConfig specifies the details for provisioning online serving // resources. message OnlineServingConfig { + // Online serving scaling configuration. If min_node_count and + // max_node_count are set to the same value, the cluster will be configured + // with the fixed number of node (no auto-scaling). + message Scaling { + // Required. The minimum number of nodes to scale down to. Must be greater than or + // equal to 1. + int32 min_node_count = 1 [(google.api.field_behavior) = REQUIRED]; + + // The maximum number of nodes to scale up to. Must be greater or equal to + // min_node_count. + int32 max_node_count = 2; + } + // The number of nodes for each cluster. The number of nodes will not // scale automatically but can be scaled manually by providing different // values when updating. + // Only one of `fixed_node_count` and `scaling` can be set. Setting one will + // reset the other. int32 fixed_node_count = 2; + + // Online serving scaling configuration. + // Only one of `fixed_node_count` and `scaling` can be set. Setting one will + // reset the other. + Scaling scaling = 4; } // Possible states a Featurestore can have. diff --git a/protos/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto b/protos/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto index ca1d29c9..90805eb8 100644 --- a/protos/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto +++ b/protos/google/cloud/aiplatform/v1beta1/featurestore_monitoring.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,8 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; -import "google/protobuf/duration.proto"; import "google/api/annotations.proto"; +import "google/protobuf/duration.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto b/protos/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto index 69722343..235c4fb5 100644 --- a/protos/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/featurestore_online_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/featurestore_service.proto b/protos/google/cloud/aiplatform/v1beta1/featurestore_service.proto index f4c4bcde..6b93be8b 100644 --- a/protos/google/cloud/aiplatform/v1beta1/featurestore_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/featurestore_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -25,6 +25,7 @@ import "google/cloud/aiplatform/v1beta1/feature.proto"; import "google/cloud/aiplatform/v1beta1/feature_monitoring_stats.proto"; import "google/cloud/aiplatform/v1beta1/feature_selector.proto"; import "google/cloud/aiplatform/v1beta1/featurestore.proto"; +import "google/cloud/aiplatform/v1beta1/featurestore_online_service.proto"; import "google/cloud/aiplatform/v1beta1/io.proto"; import "google/cloud/aiplatform/v1beta1/operation.proto"; import "google/longrunning/operations.proto"; diff --git a/protos/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto b/protos/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto index aa4a633d..52bfade9 100644 --- a/protos/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto +++ b/protos/google/cloud/aiplatform/v1beta1/hyperparameter_tuning_job.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/custom_job.proto"; @@ -24,7 +25,6 @@ import "google/cloud/aiplatform/v1beta1/job_state.proto"; import "google/cloud/aiplatform/v1beta1/study.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/index.proto b/protos/google/cloud/aiplatform/v1beta1/index.proto index 53996f29..e7bffd97 100644 --- a/protos/google/cloud/aiplatform/v1beta1/index.proto +++ b/protos/google/cloud/aiplatform/v1beta1/index.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,13 +16,13 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/deployed_index_ref.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/index_endpoint.proto b/protos/google/cloud/aiplatform/v1beta1/index_endpoint.proto index c33f01a2..97df3f78 100644 --- a/protos/google/cloud/aiplatform/v1beta1/index_endpoint.proto +++ b/protos/google/cloud/aiplatform/v1beta1/index_endpoint.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; -import "google/cloud/aiplatform/v1beta1/index.proto"; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1beta1/index.proto"; import "google/cloud/aiplatform/v1beta1/machine_resources.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; @@ -154,6 +154,18 @@ message DeployedIndex { // 1000. AutomaticResources automatic_resources = 7 [(google.api.field_behavior) = OPTIONAL]; + // Optional. A description of resources that are dedicated to the DeployedIndex, and + // that need a higher degree of manual configuration. + // If min_replica_count is not set, the default value is 2 (we don't provide + // SLA when min_replica_count=1). If max_replica_count is not set, the + // default value is min_replica_count. The max allowed replica count is + // 1000. + // + // Available machine types: + // n1-standard-16 + // n1-standard-32 + DedicatedResources dedicated_resources = 16 [(google.api.field_behavior) = OPTIONAL]; + // Optional. If true, private endpoint's access logs are sent to StackDriver Logging. // // These logs are like standard server access logs, containing diff --git a/protos/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto b/protos/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto index 3d106135..c688741f 100644 --- a/protos/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/index_endpoint_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/index_service.proto b/protos/google/cloud/aiplatform/v1beta1/index_service.proto index 6af0465c..db6aaaa0 100644 --- a/protos/google/cloud/aiplatform/v1beta1/index_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/index_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/io.proto b/protos/google/cloud/aiplatform/v1beta1/io.proto index 8027a8e0..ce1fddf1 100644 --- a/protos/google/cloud/aiplatform/v1beta1/io.proto +++ b/protos/google/cloud/aiplatform/v1beta1/io.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,8 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; -import "google/api/field_behavior.proto"; import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/job_service.proto b/protos/google/cloud/aiplatform/v1beta1/job_service.proto index 06d2daf5..de3c5cd3 100644 --- a/protos/google/cloud/aiplatform/v1beta1/job_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/job_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/job_state.proto b/protos/google/cloud/aiplatform/v1beta1/job_state.proto index 9efe88bf..174e6b5f 100644 --- a/protos/google/cloud/aiplatform/v1beta1/job_state.proto +++ b/protos/google/cloud/aiplatform/v1beta1/job_state.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto b/protos/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto index 24d81891..ec045f7c 100644 --- a/protos/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto +++ b/protos/google/cloud/aiplatform/v1beta1/lineage_subgraph.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/cloud/aiplatform/v1beta1/artifact.proto"; import "google/cloud/aiplatform/v1beta1/event.proto"; import "google/cloud/aiplatform/v1beta1/execution.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/machine_resources.proto b/protos/google/cloud/aiplatform/v1beta1/machine_resources.proto index 1a7ef3f2..c15ff89f 100644 --- a/protos/google/cloud/aiplatform/v1beta1/machine_resources.proto +++ b/protos/google/cloud/aiplatform/v1beta1/machine_resources.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,9 +16,9 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1beta1/accelerator_type.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto b/protos/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto index 4c7594ce..7068a8b8 100644 --- a/protos/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto +++ b/protos/google/cloud/aiplatform/v1beta1/manual_batch_tuning_parameters.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,8 +16,8 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; -import "google/api/field_behavior.proto"; import "google/api/annotations.proto"; +import "google/api/field_behavior.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/metadata_schema.proto b/protos/google/cloud/aiplatform/v1beta1/metadata_schema.proto index e36d1bfc..1491d52d 100644 --- a/protos/google/cloud/aiplatform/v1beta1/metadata_schema.proto +++ b/protos/google/cloud/aiplatform/v1beta1/metadata_schema.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/metadata_service.proto b/protos/google/cloud/aiplatform/v1beta1/metadata_service.proto index ba425ceb..ce26547f 100644 --- a/protos/google/cloud/aiplatform/v1beta1/metadata_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/metadata_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/metadata_store.proto b/protos/google/cloud/aiplatform/v1beta1/metadata_store.proto index a7fc6670..4b93aac9 100644 --- a/protos/google/cloud/aiplatform/v1beta1/metadata_store.proto +++ b/protos/google/cloud/aiplatform/v1beta1/metadata_store.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,11 +16,11 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/migratable_resource.proto b/protos/google/cloud/aiplatform/v1beta1/migratable_resource.proto index 5e6f5f69..37d179cd 100644 --- a/protos/google/cloud/aiplatform/v1beta1/migratable_resource.proto +++ b/protos/google/cloud/aiplatform/v1beta1/migratable_resource.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/migration_service.proto b/protos/google/cloud/aiplatform/v1beta1/migration_service.proto index 4b843523..05bf7e5d 100644 --- a/protos/google/cloud/aiplatform/v1beta1/migration_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/migration_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,13 +16,13 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; -import "google/cloud/aiplatform/v1beta1/dataset.proto"; -import "google/cloud/aiplatform/v1beta1/model.proto"; import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1beta1/dataset.proto"; import "google/cloud/aiplatform/v1beta1/migratable_resource.proto"; +import "google/cloud/aiplatform/v1beta1/model.proto"; import "google/cloud/aiplatform/v1beta1/operation.proto"; import "google/longrunning/operations.proto"; import "google/rpc/status.proto"; diff --git a/protos/google/cloud/aiplatform/v1beta1/model.proto b/protos/google/cloud/aiplatform/v1beta1/model.proto index aec1b35c..ebbbaf9f 100644 --- a/protos/google/cloud/aiplatform/v1beta1/model.proto +++ b/protos/google/cloud/aiplatform/v1beta1/model.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/dataset.proto"; @@ -26,7 +27,6 @@ import "google/cloud/aiplatform/v1beta1/explanation.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; @@ -344,7 +344,7 @@ message PredictSchemata { // Specification of a container for serving predictions. Some fields in this // message correspond to fields in the [Kubernetes Container v1 core -// specification](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). +// specification](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). message ModelContainerSpec { // Required. Immutable. URI of the Docker image to be used as the custom container for serving // predictions. This URI must identify an image in Artifact Registry or @@ -402,7 +402,7 @@ message ModelContainerSpec { // $$(VARIABLE_NAME) // This field corresponds to the `command` field of the Kubernetes Containers // [v1 core - // API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). + // API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). repeated string command = 2 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. Specifies arguments for the command that runs when the container starts. @@ -440,7 +440,7 @@ message ModelContainerSpec { // $$(VARIABLE_NAME) // This field corresponds to the `args` field of the Kubernetes Containers // [v1 core - // API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). + // API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). repeated string args = 3 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. List of environment variables to set in the container. After the container @@ -470,7 +470,7 @@ message ModelContainerSpec { // // This field corresponds to the `env` field of the Kubernetes Containers // [v1 core - // API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). + // API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). repeated EnvVar env = 4 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. List of ports to expose from the container. Vertex AI sends any @@ -493,7 +493,7 @@ message ModelContainerSpec { // Vertex AI does not use ports other than the first one listed. This field // corresponds to the `ports` field of the Kubernetes Containers // [v1 core - // API](https://v1-18.docs.kubernetes.io/docs/reference/generated/kubernetes-api/v1.18/#container-v1-core). + // API](https://kubernetes.io/docs/reference/generated/kubernetes-api/v1.23/#container-v1-core). repeated Port ports = 5 [(google.api.field_behavior) = IMMUTABLE]; // Immutable. HTTP path on the container to send prediction requests to. Vertex AI diff --git a/protos/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto b/protos/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto index dd855413..fde72be9 100644 --- a/protos/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto +++ b/protos/google/cloud/aiplatform/v1beta1/model_deployment_monitoring_job.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; @@ -28,7 +29,6 @@ import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; @@ -252,8 +252,8 @@ message ModelDeploymentMonitoringObjectiveConfig { // The config for scheduling monitoring job. message ModelDeploymentMonitoringScheduleConfig { - // Required. The model monitoring job running interval. It will be rounded up to next - // full hour. + // Required. The model monitoring job scheduling interval. It will be rounded up to next + // full hour. This defines how often the monitoring jobs are triggered. google.protobuf.Duration monitor_interval = 1 [(google.api.field_behavior) = REQUIRED]; } diff --git a/protos/google/cloud/aiplatform/v1beta1/model_evaluation.proto b/protos/google/cloud/aiplatform/v1beta1/model_evaluation.proto index 14845831..67186bb3 100644 --- a/protos/google/cloud/aiplatform/v1beta1/model_evaluation.proto +++ b/protos/google/cloud/aiplatform/v1beta1/model_evaluation.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/explanation.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto b/protos/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto index 8a882c43..b2a2b8b9 100644 --- a/protos/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto +++ b/protos/google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,11 +16,11 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/model_monitoring.proto b/protos/google/cloud/aiplatform/v1beta1/model_monitoring.proto index d1bdc0f5..08974f94 100644 --- a/protos/google/cloud/aiplatform/v1beta1/model_monitoring.proto +++ b/protos/google/cloud/aiplatform/v1beta1/model_monitoring.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,9 +16,9 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/io.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/model_service.proto b/protos/google/cloud/aiplatform/v1beta1/model_service.proto index ac8f22e9..99318b85 100644 --- a/protos/google/cloud/aiplatform/v1beta1/model_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/model_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -20,12 +20,15 @@ import "google/api/annotations.proto"; import "google/api/client.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; +import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; +import "google/cloud/aiplatform/v1beta1/explanation.proto"; import "google/cloud/aiplatform/v1beta1/io.proto"; import "google/cloud/aiplatform/v1beta1/model.proto"; import "google/cloud/aiplatform/v1beta1/model_evaluation.proto"; import "google/cloud/aiplatform/v1beta1/model_evaluation_slice.proto"; import "google/cloud/aiplatform/v1beta1/operation.proto"; import "google/longrunning/operations.proto"; + import "google/protobuf/field_mask.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; diff --git a/protos/google/cloud/aiplatform/v1beta1/operation.proto b/protos/google/cloud/aiplatform/v1beta1/operation.proto index 045f921b..b441d6f2 100644 --- a/protos/google/cloud/aiplatform/v1beta1/operation.proto +++ b/protos/google/cloud/aiplatform/v1beta1/operation.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/pipeline_job.proto b/protos/google/cloud/aiplatform/v1beta1/pipeline_job.proto index 999dff9d..fccdc743 100644 --- a/protos/google/cloud/aiplatform/v1beta1/pipeline_job.proto +++ b/protos/google/cloud/aiplatform/v1beta1/pipeline_job.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/artifact.proto"; @@ -27,7 +28,6 @@ import "google/cloud/aiplatform/v1beta1/value.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/pipeline_service.proto b/protos/google/cloud/aiplatform/v1beta1/pipeline_service.proto index 7ab9340f..87f92ff1 100644 --- a/protos/google/cloud/aiplatform/v1beta1/pipeline_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/pipeline_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/pipeline_state.proto b/protos/google/cloud/aiplatform/v1beta1/pipeline_state.proto index 1dfb08e5..7544acc9 100644 --- a/protos/google/cloud/aiplatform/v1beta1/pipeline_state.proto +++ b/protos/google/cloud/aiplatform/v1beta1/pipeline_state.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/prediction_service.proto b/protos/google/cloud/aiplatform/v1beta1/prediction_service.proto index e8ee52ce..bc5e12ac 100644 --- a/protos/google/cloud/aiplatform/v1beta1/prediction_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/prediction_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/specialist_pool.proto b/protos/google/cloud/aiplatform/v1beta1/specialist_pool.proto index ab536bca..42536fcb 100644 --- a/protos/google/cloud/aiplatform/v1beta1/specialist_pool.proto +++ b/protos/google/cloud/aiplatform/v1beta1/specialist_pool.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,9 +16,9 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto b/protos/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto index 2687d2df..a110b9cb 100644 --- a/protos/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/specialist_pool_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/study.proto b/protos/google/cloud/aiplatform/v1beta1/study.proto index 9d123a94..a315bf44 100644 --- a/protos/google/cloud/aiplatform/v1beta1/study.proto +++ b/protos/google/cloud/aiplatform/v1beta1/study.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,12 +16,12 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/duration.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; @@ -31,7 +31,6 @@ option java_package = "com.google.cloud.aiplatform.v1beta1"; option php_namespace = "Google\\Cloud\\AIPlatform\\V1beta1"; option ruby_package = "Google::Cloud::AIPlatform::V1beta1"; -// LINT.IfChange // A message representing a Study. message Study { option (google.api.resource) = { diff --git a/protos/google/cloud/aiplatform/v1beta1/tensorboard.proto b/protos/google/cloud/aiplatform/v1beta1/tensorboard.proto index dda3557d..3f49bf32 100644 --- a/protos/google/cloud/aiplatform/v1beta1/tensorboard.proto +++ b/protos/google/cloud/aiplatform/v1beta1/tensorboard.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,11 +16,11 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/tensorboard_data.proto b/protos/google/cloud/aiplatform/v1beta1/tensorboard_data.proto index 1e7e0f2a..39048391 100644 --- a/protos/google/cloud/aiplatform/v1beta1/tensorboard_data.proto +++ b/protos/google/cloud/aiplatform/v1beta1/tensorboard_data.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto b/protos/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto index 1895d848..b789d11b 100644 --- a/protos/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto +++ b/protos/google/cloud/aiplatform/v1beta1/tensorboard_experiment.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/tensorboard_run.proto b/protos/google/cloud/aiplatform/v1beta1/tensorboard_run.proto index e06b565f..dd9809dd 100644 --- a/protos/google/cloud/aiplatform/v1beta1/tensorboard_run.proto +++ b/protos/google/cloud/aiplatform/v1beta1/tensorboard_run.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/tensorboard_service.proto b/protos/google/cloud/aiplatform/v1beta1/tensorboard_service.proto index d8a063bf..629e5d79 100644 --- a/protos/google/cloud/aiplatform/v1beta1/tensorboard_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/tensorboard_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto b/protos/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto index e99b51c1..0dc2e774 100644 --- a/protos/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto +++ b/protos/google/cloud/aiplatform/v1beta1/tensorboard_time_series.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,10 +16,10 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/protobuf/timestamp.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/training_pipeline.proto b/protos/google/cloud/aiplatform/v1beta1/training_pipeline.proto index 316c066e..a0b2fe5a 100644 --- a/protos/google/cloud/aiplatform/v1beta1/training_pipeline.proto +++ b/protos/google/cloud/aiplatform/v1beta1/training_pipeline.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,6 +16,7 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/api/resource.proto"; import "google/cloud/aiplatform/v1beta1/encryption_spec.proto"; @@ -27,7 +28,6 @@ import "google/cloud/aiplatform/v1beta1/pipeline_state.proto"; import "google/protobuf/struct.proto"; import "google/protobuf/timestamp.proto"; import "google/rpc/status.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/types.proto b/protos/google/cloud/aiplatform/v1beta1/types.proto index bc4016e2..1b4db9f2 100644 --- a/protos/google/cloud/aiplatform/v1beta1/types.proto +++ b/protos/google/cloud/aiplatform/v1beta1/types.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto b/protos/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto index d9337bca..01a65e00 100644 --- a/protos/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto +++ b/protos/google/cloud/aiplatform/v1beta1/unmanaged_container_model.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. @@ -16,9 +16,9 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; +import "google/api/annotations.proto"; import "google/api/field_behavior.proto"; import "google/cloud/aiplatform/v1beta1/model.proto"; -import "google/api/annotations.proto"; option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; diff --git a/protos/google/cloud/aiplatform/v1beta1/user_action_reference.proto b/protos/google/cloud/aiplatform/v1beta1/user_action_reference.proto index cd17de28..9f17635f 100644 --- a/protos/google/cloud/aiplatform/v1beta1/user_action_reference.proto +++ b/protos/google/cloud/aiplatform/v1beta1/user_action_reference.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/value.proto b/protos/google/cloud/aiplatform/v1beta1/value.proto index 699c1040..42dea90f 100644 --- a/protos/google/cloud/aiplatform/v1beta1/value.proto +++ b/protos/google/cloud/aiplatform/v1beta1/value.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/google/cloud/aiplatform/v1beta1/vizier_service.proto b/protos/google/cloud/aiplatform/v1beta1/vizier_service.proto index 3ca9143b..079c514a 100644 --- a/protos/google/cloud/aiplatform/v1beta1/vizier_service.proto +++ b/protos/google/cloud/aiplatform/v1beta1/vizier_service.proto @@ -1,4 +1,4 @@ -// Copyright 2021 Google LLC +// Copyright 2022 Google LLC // // Licensed under the Apache License, Version 2.0 (the "License"); // you may not use this file except in compliance with the License. diff --git a/protos/protos.d.ts b/protos/protos.d.ts index 2739e07b..5c628e9f 100644 --- a/protos/protos.d.ts +++ b/protos/protos.d.ts @@ -76614,6 +76614,9 @@ export namespace google { /** OnlineServingConfig fixedNodeCount */ fixedNodeCount?: (number|null); + + /** OnlineServingConfig scaling */ + scaling?: (google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling|null); } /** Represents an OnlineServingConfig. */ @@ -76628,6 +76631,9 @@ export namespace google { /** OnlineServingConfig fixedNodeCount. */ public fixedNodeCount: number; + /** OnlineServingConfig scaling. */ + public scaling?: (google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling|null); + /** * Creates a new OnlineServingConfig instance using the specified properties. * @param [properties] Properties to set @@ -76699,6 +76705,105 @@ export namespace google { public toJSON(): { [k: string]: any }; } + namespace OnlineServingConfig { + + /** Properties of a Scaling. */ + interface IScaling { + + /** Scaling minNodeCount */ + minNodeCount?: (number|null); + + /** Scaling maxNodeCount */ + maxNodeCount?: (number|null); + } + + /** Represents a Scaling. */ + class Scaling implements IScaling { + + /** + * Constructs a new Scaling. + * @param [properties] Properties to set + */ + constructor(properties?: google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling); + + /** Scaling minNodeCount. */ + public minNodeCount: number; + + /** Scaling maxNodeCount. */ + public maxNodeCount: number; + + /** + * Creates a new Scaling instance using the specified properties. + * @param [properties] Properties to set + * @returns Scaling instance + */ + public static create(properties?: google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling): google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling; + + /** + * Encodes the specified Scaling message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.verify|verify} messages. + * @param message Scaling message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encode(message: google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Encodes the specified Scaling message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.verify|verify} messages. + * @param message Scaling message or plain object to encode + * @param [writer] Writer to encode to + * @returns Writer + */ + public static encodeDelimited(message: google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling, writer?: $protobuf.Writer): $protobuf.Writer; + + /** + * Decodes a Scaling message from the specified reader or buffer. + * @param reader Reader or buffer to decode from + * @param [length] Message length if known beforehand + * @returns Scaling + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decode(reader: ($protobuf.Reader|Uint8Array), length?: number): google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling; + + /** + * Decodes a Scaling message from the specified reader or buffer, length delimited. + * @param reader Reader or buffer to decode from + * @returns Scaling + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + public static decodeDelimited(reader: ($protobuf.Reader|Uint8Array)): google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling; + + /** + * Verifies a Scaling message. + * @param message Plain object to verify + * @returns `null` if valid, otherwise the reason why it is not + */ + public static verify(message: { [k: string]: any }): (string|null); + + /** + * Creates a Scaling message from a plain object. Also converts values to their respective internal types. + * @param object Plain object + * @returns Scaling + */ + public static fromObject(object: { [k: string]: any }): google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling; + + /** + * Creates a plain object from a Scaling message. Also converts values to other types if specified. + * @param message Scaling + * @param [options] Conversion options + * @returns Plain object + */ + public static toObject(message: google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling, options?: $protobuf.IConversionOptions): { [k: string]: any }; + + /** + * Converts this Scaling to JSON. + * @returns JSON object + */ + public toJSON(): { [k: string]: any }; + } + } + /** State enum. */ enum State { STATE_UNSPECIFIED = 0, @@ -85458,6 +85563,9 @@ export namespace google { /** DeployedIndex automaticResources */ automaticResources?: (google.cloud.aiplatform.v1beta1.IAutomaticResources|null); + /** DeployedIndex dedicatedResources */ + dedicatedResources?: (google.cloud.aiplatform.v1beta1.IDedicatedResources|null); + /** DeployedIndex enableAccessLogging */ enableAccessLogging?: (boolean|null); @@ -85501,6 +85609,9 @@ export namespace google { /** DeployedIndex automaticResources. */ public automaticResources?: (google.cloud.aiplatform.v1beta1.IAutomaticResources|null); + /** DeployedIndex dedicatedResources. */ + public dedicatedResources?: (google.cloud.aiplatform.v1beta1.IDedicatedResources|null); + /** DeployedIndex enableAccessLogging. */ public enableAccessLogging: boolean; diff --git a/protos/protos.js b/protos/protos.js index 256edb25..6087bbc5 100644 --- a/protos/protos.js +++ b/protos/protos.js @@ -185241,6 +185241,7 @@ * @memberof google.cloud.aiplatform.v1beta1.Featurestore * @interface IOnlineServingConfig * @property {number|null} [fixedNodeCount] OnlineServingConfig fixedNodeCount + * @property {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling|null} [scaling] OnlineServingConfig scaling */ /** @@ -185266,6 +185267,14 @@ */ OnlineServingConfig.prototype.fixedNodeCount = 0; + /** + * OnlineServingConfig scaling. + * @member {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling|null|undefined} scaling + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig + * @instance + */ + OnlineServingConfig.prototype.scaling = null; + /** * Creates a new OnlineServingConfig instance using the specified properties. * @function create @@ -185292,6 +185301,8 @@ writer = $Writer.create(); if (message.fixedNodeCount != null && Object.hasOwnProperty.call(message, "fixedNodeCount")) writer.uint32(/* id 2, wireType 0 =*/16).int32(message.fixedNodeCount); + if (message.scaling != null && Object.hasOwnProperty.call(message, "scaling")) + $root.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.encode(message.scaling, writer.uint32(/* id 4, wireType 2 =*/34).fork()).ldelim(); return writer; }; @@ -185329,6 +185340,9 @@ case 2: message.fixedNodeCount = reader.int32(); break; + case 4: + message.scaling = $root.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.decode(reader, reader.uint32()); + break; default: reader.skipType(tag & 7); break; @@ -185367,6 +185381,11 @@ if (message.fixedNodeCount != null && message.hasOwnProperty("fixedNodeCount")) if (!$util.isInteger(message.fixedNodeCount)) return "fixedNodeCount: integer expected"; + if (message.scaling != null && message.hasOwnProperty("scaling")) { + var error = $root.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.verify(message.scaling); + if (error) + return "scaling." + error; + } return null; }; @@ -185384,6 +185403,11 @@ var message = new $root.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig(); if (object.fixedNodeCount != null) message.fixedNodeCount = object.fixedNodeCount | 0; + if (object.scaling != null) { + if (typeof object.scaling !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.scaling: object expected"); + message.scaling = $root.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.fromObject(object.scaling); + } return message; }; @@ -185400,10 +185424,14 @@ if (!options) options = {}; var object = {}; - if (options.defaults) + if (options.defaults) { object.fixedNodeCount = 0; + object.scaling = null; + } if (message.fixedNodeCount != null && message.hasOwnProperty("fixedNodeCount")) object.fixedNodeCount = message.fixedNodeCount; + if (message.scaling != null && message.hasOwnProperty("scaling")) + object.scaling = $root.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.toObject(message.scaling, options); return object; }; @@ -185418,6 +185446,216 @@ return this.constructor.toObject(this, $protobuf.util.toJSONOptions); }; + OnlineServingConfig.Scaling = (function() { + + /** + * Properties of a Scaling. + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig + * @interface IScaling + * @property {number|null} [minNodeCount] Scaling minNodeCount + * @property {number|null} [maxNodeCount] Scaling maxNodeCount + */ + + /** + * Constructs a new Scaling. + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig + * @classdesc Represents a Scaling. + * @implements IScaling + * @constructor + * @param {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling=} [properties] Properties to set + */ + function Scaling(properties) { + if (properties) + for (var keys = Object.keys(properties), i = 0; i < keys.length; ++i) + if (properties[keys[i]] != null) + this[keys[i]] = properties[keys[i]]; + } + + /** + * Scaling minNodeCount. + * @member {number} minNodeCount + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @instance + */ + Scaling.prototype.minNodeCount = 0; + + /** + * Scaling maxNodeCount. + * @member {number} maxNodeCount + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @instance + */ + Scaling.prototype.maxNodeCount = 0; + + /** + * Creates a new Scaling instance using the specified properties. + * @function create + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @static + * @param {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling=} [properties] Properties to set + * @returns {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling} Scaling instance + */ + Scaling.create = function create(properties) { + return new Scaling(properties); + }; + + /** + * Encodes the specified Scaling message. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.verify|verify} messages. + * @function encode + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @static + * @param {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling} message Scaling message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Scaling.encode = function encode(message, writer) { + if (!writer) + writer = $Writer.create(); + if (message.minNodeCount != null && Object.hasOwnProperty.call(message, "minNodeCount")) + writer.uint32(/* id 1, wireType 0 =*/8).int32(message.minNodeCount); + if (message.maxNodeCount != null && Object.hasOwnProperty.call(message, "maxNodeCount")) + writer.uint32(/* id 2, wireType 0 =*/16).int32(message.maxNodeCount); + return writer; + }; + + /** + * Encodes the specified Scaling message, length delimited. Does not implicitly {@link google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling.verify|verify} messages. + * @function encodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @static + * @param {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.IScaling} message Scaling message or plain object to encode + * @param {$protobuf.Writer} [writer] Writer to encode to + * @returns {$protobuf.Writer} Writer + */ + Scaling.encodeDelimited = function encodeDelimited(message, writer) { + return this.encode(message, writer).ldelim(); + }; + + /** + * Decodes a Scaling message from the specified reader or buffer. + * @function decode + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @param {number} [length] Message length if known beforehand + * @returns {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling} Scaling + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Scaling.decode = function decode(reader, length) { + if (!(reader instanceof $Reader)) + reader = $Reader.create(reader); + var end = length === undefined ? reader.len : reader.pos + length, message = new $root.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling(); + while (reader.pos < end) { + var tag = reader.uint32(); + switch (tag >>> 3) { + case 1: + message.minNodeCount = reader.int32(); + break; + case 2: + message.maxNodeCount = reader.int32(); + break; + default: + reader.skipType(tag & 7); + break; + } + } + return message; + }; + + /** + * Decodes a Scaling message from the specified reader or buffer, length delimited. + * @function decodeDelimited + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @static + * @param {$protobuf.Reader|Uint8Array} reader Reader or buffer to decode from + * @returns {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling} Scaling + * @throws {Error} If the payload is not a reader or valid buffer + * @throws {$protobuf.util.ProtocolError} If required fields are missing + */ + Scaling.decodeDelimited = function decodeDelimited(reader) { + if (!(reader instanceof $Reader)) + reader = new $Reader(reader); + return this.decode(reader, reader.uint32()); + }; + + /** + * Verifies a Scaling message. + * @function verify + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @static + * @param {Object.} message Plain object to verify + * @returns {string|null} `null` if valid, otherwise the reason why it is not + */ + Scaling.verify = function verify(message) { + if (typeof message !== "object" || message === null) + return "object expected"; + if (message.minNodeCount != null && message.hasOwnProperty("minNodeCount")) + if (!$util.isInteger(message.minNodeCount)) + return "minNodeCount: integer expected"; + if (message.maxNodeCount != null && message.hasOwnProperty("maxNodeCount")) + if (!$util.isInteger(message.maxNodeCount)) + return "maxNodeCount: integer expected"; + return null; + }; + + /** + * Creates a Scaling message from a plain object. Also converts values to their respective internal types. + * @function fromObject + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @static + * @param {Object.} object Plain object + * @returns {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling} Scaling + */ + Scaling.fromObject = function fromObject(object) { + if (object instanceof $root.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling) + return object; + var message = new $root.google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling(); + if (object.minNodeCount != null) + message.minNodeCount = object.minNodeCount | 0; + if (object.maxNodeCount != null) + message.maxNodeCount = object.maxNodeCount | 0; + return message; + }; + + /** + * Creates a plain object from a Scaling message. Also converts values to other types if specified. + * @function toObject + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @static + * @param {google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling} message Scaling + * @param {$protobuf.IConversionOptions} [options] Conversion options + * @returns {Object.} Plain object + */ + Scaling.toObject = function toObject(message, options) { + if (!options) + options = {}; + var object = {}; + if (options.defaults) { + object.minNodeCount = 0; + object.maxNodeCount = 0; + } + if (message.minNodeCount != null && message.hasOwnProperty("minNodeCount")) + object.minNodeCount = message.minNodeCount; + if (message.maxNodeCount != null && message.hasOwnProperty("maxNodeCount")) + object.maxNodeCount = message.maxNodeCount; + return object; + }; + + /** + * Converts this Scaling to JSON. + * @function toJSON + * @memberof google.cloud.aiplatform.v1beta1.Featurestore.OnlineServingConfig.Scaling + * @instance + * @returns {Object.} JSON object + */ + Scaling.prototype.toJSON = function toJSON() { + return this.constructor.toObject(this, $protobuf.util.toJSONOptions); + }; + + return Scaling; + })(); + return OnlineServingConfig; })(); @@ -206844,6 +207082,7 @@ * @property {google.cloud.aiplatform.v1beta1.IIndexPrivateEndpoints|null} [privateEndpoints] DeployedIndex privateEndpoints * @property {google.protobuf.ITimestamp|null} [indexSyncTime] DeployedIndex indexSyncTime * @property {google.cloud.aiplatform.v1beta1.IAutomaticResources|null} [automaticResources] DeployedIndex automaticResources + * @property {google.cloud.aiplatform.v1beta1.IDedicatedResources|null} [dedicatedResources] DeployedIndex dedicatedResources * @property {boolean|null} [enableAccessLogging] DeployedIndex enableAccessLogging * @property {google.cloud.aiplatform.v1beta1.IDeployedIndexAuthConfig|null} [deployedIndexAuthConfig] DeployedIndex deployedIndexAuthConfig * @property {Array.|null} [reservedIpRanges] DeployedIndex reservedIpRanges @@ -206922,6 +207161,14 @@ */ DeployedIndex.prototype.automaticResources = null; + /** + * DeployedIndex dedicatedResources. + * @member {google.cloud.aiplatform.v1beta1.IDedicatedResources|null|undefined} dedicatedResources + * @memberof google.cloud.aiplatform.v1beta1.DeployedIndex + * @instance + */ + DeployedIndex.prototype.dedicatedResources = null; + /** * DeployedIndex enableAccessLogging. * @member {boolean} enableAccessLogging @@ -207001,6 +207248,8 @@ writer.uint32(/* id 10, wireType 2 =*/82).string(message.reservedIpRanges[i]); if (message.deploymentGroup != null && Object.hasOwnProperty.call(message, "deploymentGroup")) writer.uint32(/* id 11, wireType 2 =*/90).string(message.deploymentGroup); + if (message.dedicatedResources != null && Object.hasOwnProperty.call(message, "dedicatedResources")) + $root.google.cloud.aiplatform.v1beta1.DedicatedResources.encode(message.dedicatedResources, writer.uint32(/* id 16, wireType 2 =*/130).fork()).ldelim(); return writer; }; @@ -207056,6 +207305,9 @@ case 7: message.automaticResources = $root.google.cloud.aiplatform.v1beta1.AutomaticResources.decode(reader, reader.uint32()); break; + case 16: + message.dedicatedResources = $root.google.cloud.aiplatform.v1beta1.DedicatedResources.decode(reader, reader.uint32()); + break; case 8: message.enableAccessLogging = reader.bool(); break; @@ -207134,6 +207386,11 @@ if (error) return "automaticResources." + error; } + if (message.dedicatedResources != null && message.hasOwnProperty("dedicatedResources")) { + var error = $root.google.cloud.aiplatform.v1beta1.DedicatedResources.verify(message.dedicatedResources); + if (error) + return "dedicatedResources." + error; + } if (message.enableAccessLogging != null && message.hasOwnProperty("enableAccessLogging")) if (typeof message.enableAccessLogging !== "boolean") return "enableAccessLogging: boolean expected"; @@ -207193,6 +207450,11 @@ throw TypeError(".google.cloud.aiplatform.v1beta1.DeployedIndex.automaticResources: object expected"); message.automaticResources = $root.google.cloud.aiplatform.v1beta1.AutomaticResources.fromObject(object.automaticResources); } + if (object.dedicatedResources != null) { + if (typeof object.dedicatedResources !== "object") + throw TypeError(".google.cloud.aiplatform.v1beta1.DeployedIndex.dedicatedResources: object expected"); + message.dedicatedResources = $root.google.cloud.aiplatform.v1beta1.DedicatedResources.fromObject(object.dedicatedResources); + } if (object.enableAccessLogging != null) message.enableAccessLogging = Boolean(object.enableAccessLogging); if (object.deployedIndexAuthConfig != null) { @@ -207238,6 +207500,7 @@ object.enableAccessLogging = false; object.deployedIndexAuthConfig = null; object.deploymentGroup = ""; + object.dedicatedResources = null; } if (message.id != null && message.hasOwnProperty("id")) object.id = message.id; @@ -207264,6 +207527,8 @@ } if (message.deploymentGroup != null && message.hasOwnProperty("deploymentGroup")) object.deploymentGroup = message.deploymentGroup; + if (message.dedicatedResources != null && message.hasOwnProperty("dedicatedResources")) + object.dedicatedResources = $root.google.cloud.aiplatform.v1beta1.DedicatedResources.toObject(message.dedicatedResources, options); return object; }; diff --git a/protos/protos.json b/protos/protos.json index 3ecb1078..cc3e6ee5 100644 --- a/protos/protos.json +++ b/protos/protos.json @@ -20910,6 +20910,27 @@ "fixedNodeCount": { "type": "int32", "id": 2 + }, + "scaling": { + "type": "Scaling", + "id": 4 + } + }, + "nested": { + "Scaling": { + "fields": { + "minNodeCount": { + "type": "int32", + "id": 1, + "options": { + "(google.api.field_behavior)": "REQUIRED" + } + }, + "maxNodeCount": { + "type": "int32", + "id": 2 + } + } } } }, @@ -23413,6 +23434,13 @@ "(google.api.field_behavior)": "OPTIONAL" } }, + "dedicatedResources": { + "type": "DedicatedResources", + "id": 16, + "options": { + "(google.api.field_behavior)": "OPTIONAL" + } + }, "enableAccessLogging": { "type": "bool", "id": 8,