From da8737e2d955a1ca481e9df82c062dd075f86ad9 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Wed, 4 Sep 2024 18:46:19 +0000 Subject: [PATCH] feat(aiplatform): add FLEX_START to Scheduling.strategy (#10816) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 670984417 Source-Link: https://togithub.com/googleapis/googleapis/commit/fa23e3050b1f3e99f9b07696bfebdffdf207cabb Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/474efb3c269fc104457db2d3db4e11d7c7c0a063 Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiNDc0ZWZiM2MyNjlmYzEwNDQ1N2RiMmQzZGI0ZTExZDdjN2MwYTA2MyJ9 --- aiplatform/apiv1/aiplatformpb/custom_job.pb.go | 15 ++++++++++----- 1 file changed, 10 insertions(+), 5 deletions(-) diff --git a/aiplatform/apiv1/aiplatformpb/custom_job.pb.go b/aiplatform/apiv1/aiplatformpb/custom_job.pb.go index a65fb6e2b24e..1bf2fd662a03 100755 --- a/aiplatform/apiv1/aiplatformpb/custom_job.pb.go +++ b/aiplatform/apiv1/aiplatformpb/custom_job.pb.go @@ -49,11 +49,11 @@ type Scheduling_Strategy int32 const ( // Strategy will default to STANDARD. Scheduling_STRATEGY_UNSPECIFIED Scheduling_Strategy = 0 - // Regular on-demand provisioning strategy. + // Deprecated. Regular on-demand provisioning strategy. // // Deprecated: Marked as deprecated in google/cloud/aiplatform/v1/custom_job.proto. Scheduling_ON_DEMAND Scheduling_Strategy = 1 - // Low cost by making potential use of spot resources. + // Deprecated. Low cost by making potential use of spot resources. // // Deprecated: Marked as deprecated in google/cloud/aiplatform/v1/custom_job.proto. Scheduling_LOW_COST Scheduling_Strategy = 2 @@ -61,6 +61,8 @@ const ( Scheduling_STANDARD Scheduling_Strategy = 3 // Spot provisioning strategy uses spot resources. Scheduling_SPOT Scheduling_Strategy = 4 + // Flex Start strategy uses DWS to queue for resources. + Scheduling_FLEX_START Scheduling_Strategy = 6 ) // Enum value maps for Scheduling_Strategy. @@ -71,6 +73,7 @@ var ( 2: "LOW_COST", 3: "STANDARD", 4: "SPOT", + 6: "FLEX_START", } Scheduling_Strategy_value = map[string]int32{ "STRATEGY_UNSPECIFIED": 0, @@ -78,6 +81,7 @@ var ( "LOW_COST": 2, "STANDARD": 3, "SPOT": 4, + "FLEX_START": 6, } ) @@ -1164,7 +1168,7 @@ var file_google_cloud_aiplatform_v1_custom_job_proto_rawDesc = []byte{ 0x67, 0x73, 0x12, 0x34, 0x0a, 0x03, 0x65, 0x6e, 0x76, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x22, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x2e, 0x45, 0x6e, 0x76, - 0x56, 0x61, 0x72, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x22, 0xb2, 0x03, 0x0a, 0x0a, 0x53, 0x63, 0x68, + 0x56, 0x61, 0x72, 0x52, 0x03, 0x65, 0x6e, 0x76, 0x22, 0xc2, 0x03, 0x0a, 0x0a, 0x53, 0x63, 0x68, 0x65, 0x64, 0x75, 0x6c, 0x69, 0x6e, 0x67, 0x12, 0x33, 0x0a, 0x07, 0x74, 0x69, 0x6d, 0x65, 0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, @@ -1185,13 +1189,14 @@ var file_google_cloud_aiplatform_v1_custom_job_proto_rawDesc = []byte{ 0x69, 0x6f, 0x6e, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0f, 0x6d, 0x61, 0x78, 0x57, 0x61, - 0x69, 0x74, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x61, 0x0a, 0x08, 0x53, 0x74, + 0x69, 0x74, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x71, 0x0a, 0x08, 0x53, 0x74, 0x72, 0x61, 0x74, 0x65, 0x67, 0x79, 0x12, 0x18, 0x0a, 0x14, 0x53, 0x54, 0x52, 0x41, 0x54, 0x45, 0x47, 0x59, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x11, 0x0a, 0x09, 0x4f, 0x4e, 0x5f, 0x44, 0x45, 0x4d, 0x41, 0x4e, 0x44, 0x10, 0x01, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x10, 0x0a, 0x08, 0x4c, 0x4f, 0x57, 0x5f, 0x43, 0x4f, 0x53, 0x54, 0x10, 0x02, 0x1a, 0x02, 0x08, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, - 0x44, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x50, 0x4f, 0x54, 0x10, 0x04, 0x42, 0xcc, 0x01, + 0x44, 0x10, 0x03, 0x12, 0x08, 0x0a, 0x04, 0x53, 0x50, 0x4f, 0x54, 0x10, 0x04, 0x12, 0x0e, 0x0a, + 0x0a, 0x46, 0x4c, 0x45, 0x58, 0x5f, 0x53, 0x54, 0x41, 0x52, 0x54, 0x10, 0x06, 0x42, 0xcc, 0x01, 0x0a, 0x1e, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x61, 0x69, 0x70, 0x6c, 0x61, 0x74, 0x66, 0x6f, 0x72, 0x6d, 0x2e, 0x76, 0x31, 0x42, 0x0e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x4a, 0x6f, 0x62, 0x50, 0x72, 0x6f, 0x74, 0x6f,