From 9cd20966181ecaa1cf5c367be7dfd083e69cb1d2 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Tue, 22 Feb 2022 15:15:28 -0800 Subject: [PATCH] feat: add TPU_V2 & TPU_V3 values to AcceleratorType in aiplatform v1/v1beta1 accelerator_type.proto (#269) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit * feat: add TPU_V2 & TPU_V3 values to AcceleratorType in aiplatform v1/v1beta1 accelerator_type.proto PiperOrigin-RevId: 430259767 Source-Link: https://github.com/googleapis/googleapis/commit/f873e7f132a5062dc9a643335f35275e43cbc3c7 Source-Link: https://github.com/googleapis/googleapis-gen/commit/49f573f3b76da8880d3a82b7903036fad1a3afc5 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDlmNTczZjNiNzZkYTg4ODBkM2E4MmI3OTAzMDM2ZmFkMWEzYWZjNSJ9 * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md * 🦉 Updates from OwlBot post-processor See https://github.com/googleapis/repo-automation-bots/blob/main/packages/owl-bot/README.md Co-authored-by: Owl Bot --- .../aiplatform/v1/accelerator_type.proto | 8 ++++-- .../aiplatform/v1beta1/accelerator_type.proto | 8 ++++-- .../protos/protos.d.ts | 8 ++++-- .../google-cloud-aiplatform/protos/protos.js | 28 +++++++++++++++++++ .../protos/protos.json | 8 ++++-- 5 files changed, 52 insertions(+), 8 deletions(-) diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/accelerator_type.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/accelerator_type.proto index 21e33bfb2f7..726ec203d4c 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/accelerator_type.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1/accelerator_type.proto @@ -16,8 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1; -import "google/api/annotations.proto"; - option csharp_namespace = "Google.Cloud.AIPlatform.V1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1;aiplatform"; option java_multiple_files = true; @@ -48,4 +46,10 @@ enum AcceleratorType { // Nvidia Tesla A100 GPU. NVIDIA_TESLA_A100 = 8; + + // TPU v2. + TPU_V2 = 6; + + // TPU v3. + TPU_V3 = 7; } diff --git a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/accelerator_type.proto b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/accelerator_type.proto index cde9f765c08..af624cb732b 100644 --- a/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/accelerator_type.proto +++ b/packages/google-cloud-aiplatform/protos/google/cloud/aiplatform/v1beta1/accelerator_type.proto @@ -16,8 +16,6 @@ syntax = "proto3"; package google.cloud.aiplatform.v1beta1; -import "google/api/annotations.proto"; - option csharp_namespace = "Google.Cloud.AIPlatform.V1Beta1"; option go_package = "google.golang.org/genproto/googleapis/cloud/aiplatform/v1beta1;aiplatform"; option java_multiple_files = true; @@ -48,4 +46,10 @@ enum AcceleratorType { // Nvidia Tesla A100 GPU. NVIDIA_TESLA_A100 = 8; + + // TPU v2. + TPU_V2 = 6; + + // TPU v3. + TPU_V3 = 7; } diff --git a/packages/google-cloud-aiplatform/protos/protos.d.ts b/packages/google-cloud-aiplatform/protos/protos.d.ts index 5c628e9fd6e..a6dfd44b89d 100644 --- a/packages/google-cloud-aiplatform/protos/protos.d.ts +++ b/packages/google-cloud-aiplatform/protos/protos.d.ts @@ -34,7 +34,9 @@ export namespace google { NVIDIA_TESLA_V100 = 3, NVIDIA_TESLA_P4 = 4, NVIDIA_TESLA_T4 = 5, - NVIDIA_TESLA_A100 = 8 + NVIDIA_TESLA_A100 = 8, + TPU_V2 = 6, + TPU_V3 = 7 } /** Properties of an Annotation. */ @@ -60504,7 +60506,9 @@ export namespace google { NVIDIA_TESLA_V100 = 3, NVIDIA_TESLA_P4 = 4, NVIDIA_TESLA_T4 = 5, - NVIDIA_TESLA_A100 = 8 + NVIDIA_TESLA_A100 = 8, + TPU_V2 = 6, + TPU_V3 = 7 } /** Properties of an Annotation. */ diff --git a/packages/google-cloud-aiplatform/protos/protos.js b/packages/google-cloud-aiplatform/protos/protos.js index 6087bbc5c36..fdd3a2e1171 100644 --- a/packages/google-cloud-aiplatform/protos/protos.js +++ b/packages/google-cloud-aiplatform/protos/protos.js @@ -77,6 +77,8 @@ * @property {number} NVIDIA_TESLA_P4=4 NVIDIA_TESLA_P4 value * @property {number} NVIDIA_TESLA_T4=5 NVIDIA_TESLA_T4 value * @property {number} NVIDIA_TESLA_A100=8 NVIDIA_TESLA_A100 value + * @property {number} TPU_V2=6 TPU_V2 value + * @property {number} TPU_V3=7 TPU_V3 value */ v1.AcceleratorType = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -87,6 +89,8 @@ values[valuesById[4] = "NVIDIA_TESLA_P4"] = 4; values[valuesById[5] = "NVIDIA_TESLA_T4"] = 5; values[valuesById[8] = "NVIDIA_TESLA_A100"] = 8; + values[valuesById[6] = "TPU_V2"] = 6; + values[valuesById[7] = "TPU_V3"] = 7; return values; })(); @@ -11241,6 +11245,8 @@ case 4: case 5: case 8: + case 6: + case 7: break; } if (message.acceleratorCount != null && message.hasOwnProperty("acceleratorCount")) @@ -11292,6 +11298,14 @@ case 8: message.acceleratorType = 8; break; + case "TPU_V2": + case 6: + message.acceleratorType = 6; + break; + case "TPU_V3": + case 7: + message.acceleratorType = 7; + break; } if (object.acceleratorCount != null) message.acceleratorCount = object.acceleratorCount | 0; @@ -143878,6 +143892,8 @@ * @property {number} NVIDIA_TESLA_P4=4 NVIDIA_TESLA_P4 value * @property {number} NVIDIA_TESLA_T4=5 NVIDIA_TESLA_T4 value * @property {number} NVIDIA_TESLA_A100=8 NVIDIA_TESLA_A100 value + * @property {number} TPU_V2=6 TPU_V2 value + * @property {number} TPU_V3=7 TPU_V3 value */ v1beta1.AcceleratorType = (function() { var valuesById = {}, values = Object.create(valuesById); @@ -143888,6 +143904,8 @@ values[valuesById[4] = "NVIDIA_TESLA_P4"] = 4; values[valuesById[5] = "NVIDIA_TESLA_T4"] = 5; values[valuesById[8] = "NVIDIA_TESLA_A100"] = 8; + values[valuesById[6] = "TPU_V2"] = 6; + values[valuesById[7] = "TPU_V3"] = 7; return values; })(); @@ -155296,6 +155314,8 @@ case 4: case 5: case 8: + case 6: + case 7: break; } if (message.acceleratorCount != null && message.hasOwnProperty("acceleratorCount")) @@ -155347,6 +155367,14 @@ case 8: message.acceleratorType = 8; break; + case "TPU_V2": + case 6: + message.acceleratorType = 6; + break; + case "TPU_V3": + case 7: + message.acceleratorType = 7; + break; } if (object.acceleratorCount != null) message.acceleratorCount = object.acceleratorCount | 0; diff --git a/packages/google-cloud-aiplatform/protos/protos.json b/packages/google-cloud-aiplatform/protos/protos.json index cc3e6ee51c3..b0bf0817bf6 100644 --- a/packages/google-cloud-aiplatform/protos/protos.json +++ b/packages/google-cloud-aiplatform/protos/protos.json @@ -27,7 +27,9 @@ "NVIDIA_TESLA_V100": 3, "NVIDIA_TESLA_P4": 4, "NVIDIA_TESLA_T4": 5, - "NVIDIA_TESLA_A100": 8 + "NVIDIA_TESLA_A100": 8, + "TPU_V2": 6, + "TPU_V3": 7 } }, "Annotation": { @@ -16326,7 +16328,9 @@ "NVIDIA_TESLA_V100": 3, "NVIDIA_TESLA_P4": 4, "NVIDIA_TESLA_T4": 5, - "NVIDIA_TESLA_A100": 8 + "NVIDIA_TESLA_A100": 8, + "TPU_V2": 6, + "TPU_V3": 7 } }, "Annotation": {