diff --git a/java-tpu/README.md b/java-tpu/README.md index cbae065533b0..09b0e8b209a3 100644 --- a/java-tpu/README.md +++ b/java-tpu/README.md @@ -20,7 +20,7 @@ If you are using Maven with [BOM][libraries-bom], add this to your pom.xml file: com.google.cloud libraries-bom - 26.22.0 + 26.23.0 pom import @@ -195,7 +195,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tpu.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.24.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.25.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java index 54eb2459e781..05879aa3d04c 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CloudTpuProto.java @@ -402,7 +402,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "leapis.com/QueuedResource\022Iprojects/{pro" + "ject}/locations/{location}/queuedResourc" + "es/{queued_resource}B\n\n\010resourceB\006\n\004tier" - + "\"\200\n\n\023QueuedResourceState\022C\n\005state\030\001 \001(\0162" + + "\"\233\n\n\023QueuedResourceState\022C\n\005state\030\001 \001(\0162" + "4.google.cloud.tpu.v2alpha1.QueuedResour" + "ceState.State\022T\n\rcreating_data\030\002 \001(\0132;.g" + "oogle.cloud.tpu.v2alpha1.QueuedResourceS" @@ -428,224 +428,224 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "visioningData\032/\n\nFailedData\022!\n\005error\030\001 \001" + "(\0132\022.google.rpc.Status\032\016\n\014DeletingData\032\014" + "\n\nActiveData\032\020\n\016SuspendingData\032\017\n\rSuspen" - + "dedData\"\221\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000" + + "dedData\"\254\001\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000" + "\022\014\n\010CREATING\020\001\022\014\n\010ACCEPTED\020\002\022\020\n\014PROVISIO" + "NING\020\003\022\n\n\006FAILED\020\004\022\014\n\010DELETING\020\005\022\n\n\006ACTI" - + "VE\020\006\022\016\n\nSUSPENDING\020\007\022\r\n\tSUSPENDED\020\010\"H\n\016S" - + "tateInitiator\022\037\n\033STATE_INITIATOR_UNSPECI" - + "FIED\020\000\022\010\n\004USER\020\001\022\013\n\007SERVICE\020\002B\014\n\nstate_d" - + "ata\"k\n\020ListNodesRequest\0220\n\006parent\030\001 \001(\tB" - + " \342A\001\002\372A\031\022\027tpu.googleapis.com/Node\022\021\n\tpag" - + "e_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"q\n\021List" - + "NodesResponse\022.\n\005nodes\030\001 \003(\0132\037.google.cl" - + "oud.tpu.v2alpha1.Node\022\027\n\017next_page_token" - + "\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"@\n\016GetNodeRe" + + "VE\020\006\022\016\n\nSUSPENDING\020\007\022\r\n\tSUSPENDED\020\010\022\031\n\025W" + + "AITING_FOR_RESOURCES\020\t\"H\n\016StateInitiator" + + "\022\037\n\033STATE_INITIATOR_UNSPECIFIED\020\000\022\010\n\004USE" + + "R\020\001\022\013\n\007SERVICE\020\002B\014\n\nstate_data\"k\n\020ListNo" + + "desRequest\0220\n\006parent\030\001 \001(\tB \342A\001\002\372A\031\022\027tpu" + + ".googleapis.com/Node\022\021\n\tpage_size\030\002 \001(\005\022" + + "\022\n\npage_token\030\003 \001(\t\"q\n\021ListNodesResponse" + + "\022.\n\005nodes\030\001 \003(\0132\037.google.cloud.tpu.v2alp" + + "ha1.Node\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unr" + + "eachable\030\003 \003(\t\"@\n\016GetNodeRequest\022.\n\004name" + + "\030\001 \001(\tB \342A\001\002\372A\031\n\027tpu.googleapis.com/Node" + + "\"\251\001\n\021CreateNodeRequest\022:\n\006parent\030\001 \001(\tB*" + + "\342A\001\002\372A#\n!locations.googleapis.com/Locati" + + "on\022\017\n\007node_id\030\002 \001(\t\0223\n\004node\030\003 \001(\0132\037.goog" + + "le.cloud.tpu.v2alpha1.NodeB\004\342A\001\002\022\022\n\nrequ" + + "est_id\030\006 \001(\t\"W\n\021DeleteNodeRequest\022.\n\004nam" + + "e\030\001 \001(\tB \342A\001\002\372A\031\n\027tpu.googleapis.com/Nod" + + "e\022\022\n\nrequest_id\030\003 \001(\t\"A\n\017StopNodeRequest" + + "\022.\n\004name\030\001 \001(\tB \342A\001\002\372A\031\n\027tpu.googleapis." + + "com/Node\"B\n\020StartNodeRequest\022.\n\004name\030\001 \001" + + "(\tB \342A\001\002\372A\031\n\027tpu.googleapis.com/Node\"\177\n\021" + + "UpdateNodeRequest\0225\n\013update_mask\030\001 \001(\0132\032" + + ".google.protobuf.FieldMaskB\004\342A\001\002\0223\n\004node" + + "\030\002 \001(\0132\037.google.cloud.tpu.v2alpha1.NodeB" + + "\004\342A\001\002\"\177\n\032ListQueuedResourcesRequest\022:\n\006p" + + "arent\030\001 \001(\tB*\342A\001\002\372A#\022!tpu.googleapis.com" + + "/QueuedResource\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npa" + + "ge_token\030\003 \001(\t\"\220\001\n\033ListQueuedResourcesRe" + + "sponse\022C\n\020queued_resources\030\001 \003(\0132).googl" + + "e.cloud.tpu.v2alpha1.QueuedResource\022\027\n\017n" + + "ext_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(" + + "\t\"T\n\030GetQueuedResourceRequest\0228\n\004name\030\001 " + + "\001(\tB*\342A\001\002\372A#\n!tpu.googleapis.com/QueuedR" + + "esource\"\323\001\n\033CreateQueuedResourceRequest\022" + + ":\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.goog" + + "leapis.com/Location\022\032\n\022queued_resource_i" + + "d\030\002 \001(\t\022H\n\017queued_resource\030\003 \001(\0132).googl" + + "e.cloud.tpu.v2alpha1.QueuedResourceB\004\342A\001" + + "\002\022\022\n\nrequest_id\030\004 \001(\t\"z\n\033DeleteQueuedRes" + + "ourceRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!tpu" + + ".googleapis.com/QueuedResource\022\022\n\nreques" + + "t_id\030\002 \001(\t\022\r\n\005force\030\003 \001(\010\"V\n\032ResetQueued" + + "ResourceRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!" + + "tpu.googleapis.com/QueuedResource\" \n\017Ser" + + "viceIdentity\022\r\n\005email\030\001 \001(\t\"\\\n\036GenerateS" + + "erviceIdentityRequest\022:\n\006parent\030\001 \001(\tB*\342" + + "A\001\002\372A#\n!locations.googleapis.com/Locatio" + + "n\"_\n\037GenerateServiceIdentityResponse\022<\n\010" + + "identity\030\001 \001(\0132*.google.cloud.tpu.v2alph" + + "a1.ServiceIdentity\"\356\001\n\017AcceleratorType\022\014" + + "\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022I\n\023accelerato" + + "r_configs\030\003 \003(\0132,.google.cloud.tpu.v2alp" + + "ha1.AcceleratorConfig:t\352Aq\n\"tpu.googleap" + + "is.com/AcceleratorType\022Kprojects/{projec" + + "t}/locations/{location}/acceleratorTypes" + + "/{accelerator_type}\"V\n\031GetAcceleratorTyp" + + "eRequest\0229\n\004name\030\001 \001(\tB+\342A\001\002\372A$\n\"tpu.goo" + + "gleapis.com/AcceleratorType\"\243\001\n\033ListAcce" + + "leratorTypesRequest\022;\n\006parent\030\001 \001(\tB+\342A\001" + + "\002\372A$\022\"tpu.googleapis.com/AcceleratorType" + + "\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022" + + "\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\"\223\001\n\034Li" + + "stAcceleratorTypesResponse\022E\n\021accelerato" + + "r_types\030\001 \003(\0132*.google.cloud.tpu.v2alpha" + + "1.AcceleratorType\022\027\n\017next_page_token\030\002 \001" + + "(\t\022\023\n\013unreachable\030\003 \003(\t\"\242\001\n\016RuntimeVersi" + + "on\022\014\n\004name\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:q\352An\n!" + + "tpu.googleapis.com/RuntimeVersion\022Iproje" + + "cts/{project}/locations/{location}/runti" + + "meVersions/{runtime_version}\"T\n\030GetRunti" + + "meVersionRequest\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n" + + "!tpu.googleapis.com/RuntimeVersion\"\241\001\n\032L" + + "istRuntimeVersionsRequest\022:\n\006parent\030\001 \001(" + + "\tB*\342A\001\002\372A#\022!tpu.googleapis.com/RuntimeVe" + + "rsion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003" + + " \001(\t\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\"\220" + + "\001\n\033ListRuntimeVersionsResponse\022C\n\020runtim" + + "e_versions\030\001 \003(\0132).google.cloud.tpu.v2al" + + "pha1.RuntimeVersion\022\027\n\017next_page_token\030\002" + + " \001(\t\022\023\n\013unreachable\030\003 \003(\t\"\326\001\n\021OperationM" + + "etadata\022/\n\013create_time\030\001 \001(\0132\032.google.pr" + + "otobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032.goo" + + "gle.protobuf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014" + + "\n\004verb\030\004 \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\030\n\020c" + + "ancel_requested\030\006 \001(\010\022\023\n\013api_version\030\007 \001" + + "(\t\"\313\002\n\007Symptom\022/\n\013create_time\030\001 \001(\0132\032.go" + + "ogle.protobuf.Timestamp\022D\n\014symptom_type\030" + + "\002 \001(\0162..google.cloud.tpu.v2alpha1.Sympto" + + "m.SymptomType\022\017\n\007details\030\003 \001(\t\022\021\n\tworker" + + "_id\030\004 \001(\t\"\244\001\n\013SymptomType\022\034\n\030SYMPTOM_TYP" + + "E_UNSPECIFIED\020\000\022\016\n\nLOW_MEMORY\020\001\022\021\n\rOUT_O" + + "F_MEMORY\020\002\022\025\n\021EXECUTE_TIMED_OUT\020\003\022\023\n\017MES" + + "H_BUILD_FAIL\020\004\022\025\n\021HBM_OUT_OF_MEMORY\020\005\022\021\n" + + "\rPROJECT_ABUSE\020\006\"s\n\031GetGuestAttributesRe" + "quest\022.\n\004name\030\001 \001(\tB \342A\001\002\372A\031\n\027tpu.google" - + "apis.com/Node\"\251\001\n\021CreateNodeRequest\022:\n\006p" - + "arent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.googleap" - + "is.com/Location\022\017\n\007node_id\030\002 \001(\t\0223\n\004node" - + "\030\003 \001(\0132\037.google.cloud.tpu.v2alpha1.NodeB" - + "\004\342A\001\002\022\022\n\nrequest_id\030\006 \001(\t\"W\n\021DeleteNodeR" - + "equest\022.\n\004name\030\001 \001(\tB \342A\001\002\372A\031\n\027tpu.googl" - + "eapis.com/Node\022\022\n\nrequest_id\030\003 \001(\t\"A\n\017St" - + "opNodeRequest\022.\n\004name\030\001 \001(\tB \342A\001\002\372A\031\n\027tp" - + "u.googleapis.com/Node\"B\n\020StartNodeReques" - + "t\022.\n\004name\030\001 \001(\tB \342A\001\002\372A\031\n\027tpu.googleapis" - + ".com/Node\"\177\n\021UpdateNodeRequest\0225\n\013update" - + "_mask\030\001 \001(\0132\032.google.protobuf.FieldMaskB" - + "\004\342A\001\002\0223\n\004node\030\002 \001(\0132\037.google.cloud.tpu.v" - + "2alpha1.NodeB\004\342A\001\002\"\177\n\032ListQueuedResource" - + "sRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\022!tpu.g" - + "oogleapis.com/QueuedResource\022\021\n\tpage_siz" - + "e\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"\220\001\n\033ListQueu" - + "edResourcesResponse\022C\n\020queued_resources\030" - + "\001 \003(\0132).google.cloud.tpu.v2alpha1.Queued" - + "Resource\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unr" - + "eachable\030\003 \003(\t\"T\n\030GetQueuedResourceReque" - + "st\0228\n\004name\030\001 \001(\tB*\342A\001\002\372A#\n!tpu.googleapi" - + "s.com/QueuedResource\"\323\001\n\033CreateQueuedRes" - + "ourceRequest\022:\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\n!l" - + "ocations.googleapis.com/Location\022\032\n\022queu" - + "ed_resource_id\030\002 \001(\t\022H\n\017queued_resource\030" - + "\003 \001(\0132).google.cloud.tpu.v2alpha1.Queued" - + "ResourceB\004\342A\001\002\022\022\n\nrequest_id\030\004 \001(\t\"z\n\033De" - + "leteQueuedResourceRequest\0228\n\004name\030\001 \001(\tB" - + "*\342A\001\002\372A#\n!tpu.googleapis.com/QueuedResou" - + "rce\022\022\n\nrequest_id\030\002 \001(\t\022\r\n\005force\030\003 \001(\010\"V" - + "\n\032ResetQueuedResourceRequest\0228\n\004name\030\001 \001" - + "(\tB*\342A\001\002\372A#\n!tpu.googleapis.com/QueuedRe" - + "source\" \n\017ServiceIdentity\022\r\n\005email\030\001 \001(\t" - + "\"\\\n\036GenerateServiceIdentityRequest\022:\n\006pa" - + "rent\030\001 \001(\tB*\342A\001\002\372A#\n!locations.googleapi" - + "s.com/Location\"_\n\037GenerateServiceIdentit" - + "yResponse\022<\n\010identity\030\001 \001(\0132*.google.clo" - + "ud.tpu.v2alpha1.ServiceIdentity\"\356\001\n\017Acce" - + "leratorType\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t\022" - + "I\n\023accelerator_configs\030\003 \003(\0132,.google.cl" - + "oud.tpu.v2alpha1.AcceleratorConfig:t\352Aq\n" - + "\"tpu.googleapis.com/AcceleratorType\022Kpro" - + "jects/{project}/locations/{location}/acc" - + "eleratorTypes/{accelerator_type}\"V\n\031GetA" - + "cceleratorTypeRequest\0229\n\004name\030\001 \001(\tB+\342A\001" - + "\002\372A$\n\"tpu.googleapis.com/AcceleratorType" - + "\"\243\001\n\033ListAcceleratorTypesRequest\022;\n\006pare" - + "nt\030\001 \001(\tB+\342A\001\002\372A$\022\"tpu.googleapis.com/Ac" - + "celeratorType\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage" - + "_token\030\003 \001(\t\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by" - + "\030\006 \001(\t\"\223\001\n\034ListAcceleratorTypesResponse\022" - + "E\n\021accelerator_types\030\001 \003(\0132*.google.clou" - + "d.tpu.v2alpha1.AcceleratorType\022\027\n\017next_p" - + "age_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"\242\001\n" - + "\016RuntimeVersion\022\014\n\004name\030\001 \001(\t\022\017\n\007version" - + "\030\002 \001(\t:q\352An\n!tpu.googleapis.com/RuntimeV" - + "ersion\022Iprojects/{project}/locations/{lo" - + "cation}/runtimeVersions/{runtime_version" - + "}\"T\n\030GetRuntimeVersionRequest\0228\n\004name\030\001 " - + "\001(\tB*\342A\001\002\372A#\n!tpu.googleapis.com/Runtime" - + "Version\"\241\001\n\032ListRuntimeVersionsRequest\022:" - + "\n\006parent\030\001 \001(\tB*\342A\001\002\372A#\022!tpu.googleapis." - + "com/RuntimeVersion\022\021\n\tpage_size\030\002 \001(\005\022\022\n" - + "\npage_token\030\003 \001(\t\022\016\n\006filter\030\005 \001(\t\022\020\n\010ord" - + "er_by\030\006 \001(\t\"\220\001\n\033ListRuntimeVersionsRespo" - + "nse\022C\n\020runtime_versions\030\001 \003(\0132).google.c" - + "loud.tpu.v2alpha1.RuntimeVersion\022\027\n\017next" - + "_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"\326" - + "\001\n\021OperationMetadata\022/\n\013create_time\030\001 \001(" - + "\0132\032.google.protobuf.Timestamp\022,\n\010end_tim" - + "e\030\002 \001(\0132\032.google.protobuf.Timestamp\022\016\n\006t" - + "arget\030\003 \001(\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_deta" - + "il\030\005 \001(\t\022\030\n\020cancel_requested\030\006 \001(\010\022\023\n\013ap" - + "i_version\030\007 \001(\t\"\313\002\n\007Symptom\022/\n\013create_ti" - + "me\030\001 \001(\0132\032.google.protobuf.Timestamp\022D\n\014" - + "symptom_type\030\002 \001(\0162..google.cloud.tpu.v2" - + "alpha1.Symptom.SymptomType\022\017\n\007details\030\003 " - + "\001(\t\022\021\n\tworker_id\030\004 \001(\t\"\244\001\n\013SymptomType\022\034" - + "\n\030SYMPTOM_TYPE_UNSPECIFIED\020\000\022\016\n\nLOW_MEMO" - + "RY\020\001\022\021\n\rOUT_OF_MEMORY\020\002\022\025\n\021EXECUTE_TIMED" - + "_OUT\020\003\022\023\n\017MESH_BUILD_FAIL\020\004\022\025\n\021HBM_OUT_O" - + "F_MEMORY\020\005\022\021\n\rPROJECT_ABUSE\020\006\"s\n\031GetGues" - + "tAttributesRequest\022.\n\004name\030\001 \001(\tB \342A\001\002\372A" - + "\031\n\027tpu.googleapis.com/Node\022\022\n\nquery_path" - + "\030\002 \001(\t\022\022\n\nworker_ids\030\003 \003(\t\"b\n\032GetGuestAt" - + "tributesResponse\022D\n\020guest_attributes\030\001 \003" - + "(\0132*.google.cloud.tpu.v2alpha1.GuestAttr" - + "ibutes\"e\n\037SimulateMaintenanceEventReques" - + "t\022.\n\004name\030\001 \001(\tB \342A\001\002\372A\031\n\027tpu.googleapis" - + ".com/Node\022\022\n\nworker_ids\030\002 \003(\t\"\250\001\n\021Accele" - + "ratorConfig\022E\n\004type\030\001 \001(\01621.google.cloud" - + ".tpu.v2alpha1.AcceleratorConfig.TypeB\004\342A" - + "\001\002\022\026\n\010topology\030\002 \001(\tB\004\342A\001\002\"4\n\004Type\022\024\n\020TY" - + "PE_UNSPECIFIED\020\000\022\006\n\002V2\020\002\022\006\n\002V3\020\004\022\006\n\002V4\020\007" - + "\"4\n\026ShieldedInstanceConfig\022\032\n\022enable_sec" - + "ure_boot\030\001 \001(\010\"\224\001\n\016BootDiskConfig\022W\n\027cus" - + "tomer_encryption_key\030\001 \001(\01320.google.clou" - + "d.tpu.v2alpha1.CustomerEncryptionKeyB\004\342A" - + "\001\001\022)\n\033enable_confidential_compute\030\002 \001(\010B" - + "\004\342A\001\001\"6\n\025CustomerEncryptionKey\022\026\n\014kms_ke" - + "y_name\030\007 \001(\tH\000B\005\n\003key2\236\037\n\003Tpu\022\250\001\n\tListNo" - + "des\022+.google.cloud.tpu.v2alpha1.ListNode" - + "sRequest\032,.google.cloud.tpu.v2alpha1.Lis" - + "tNodesResponse\"@\332A\006parent\202\323\344\223\0021\022//v2alph" - + "a1/{parent=projects/*/locations/*}/nodes" - + "\022\225\001\n\007GetNode\022).google.cloud.tpu.v2alpha1" - + ".GetNodeRequest\032\037.google.cloud.tpu.v2alp" - + "ha1.Node\">\332A\004name\202\323\344\223\0021\022//v2alpha1/{name" - + "=projects/*/locations/*/nodes/*}\022\312\001\n\nCre" - + "ateNode\022,.google.cloud.tpu.v2alpha1.Crea" - + "teNodeRequest\032\035.google.longrunning.Opera" - + "tion\"o\312A\031\n\004Node\022\021OperationMetadata\332A\023par" - + "ent,node,node_id\202\323\344\223\0027\"//v2alpha1/{paren" - + "t=projects/*/locations/*}/nodes:\004node\022\306\001" - + "\n\nDeleteNode\022,.google.cloud.tpu.v2alpha1" - + ".DeleteNodeRequest\032\035.google.longrunning." - + "Operation\"k\312A*\n\025google.protobuf.Empty\022\021O" - + "perationMetadata\332A\004name\202\323\344\223\0021*//v2alpha1" - + "/{name=projects/*/locations/*/nodes/*}\022\262" - + "\001\n\010StopNode\022*.google.cloud.tpu.v2alpha1." - + "StopNodeRequest\032\035.google.longrunning.Ope" - + "ration\"[\312A\031\n\004Node\022\021OperationMetadata\202\323\344\223" - + "\0029\"4/v2alpha1/{name=projects/*/locations" - + "/*/nodes/*}:stop:\001*\022\265\001\n\tStartNode\022+.goog" - + "le.cloud.tpu.v2alpha1.StartNodeRequest\032\035" - + ".google.longrunning.Operation\"\\\312A\031\n\004Node" - + "\022\021OperationMetadata\202\323\344\223\002:\"5/v2alpha1/{na" - + "me=projects/*/locations/*/nodes/*}:start" - + ":\001*\022\314\001\n\nUpdateNode\022,.google.cloud.tpu.v2" - + "alpha1.UpdateNodeRequest\032\035.google.longru" - + "nning.Operation\"q\312A\031\n\004Node\022\021OperationMet" - + "adata\332A\020node,update_mask\202\323\344\223\002<24/v2alpha" - + "1/{node.name=projects/*/locations/*/node" - + "s/*}:\004node\022\320\001\n\023ListQueuedResources\0225.goo" - + "gle.cloud.tpu.v2alpha1.ListQueuedResourc" - + "esRequest\0326.google.cloud.tpu.v2alpha1.Li" - + "stQueuedResourcesResponse\"J\332A\006parent\202\323\344\223" + + "apis.com/Node\022\022\n\nquery_path\030\002 \001(\t\022\022\n\nwor" + + "ker_ids\030\003 \003(\t\"b\n\032GetGuestAttributesRespo" + + "nse\022D\n\020guest_attributes\030\001 \003(\0132*.google.c" + + "loud.tpu.v2alpha1.GuestAttributes\"e\n\037Sim" + + "ulateMaintenanceEventRequest\022.\n\004name\030\001 \001" + + "(\tB \342A\001\002\372A\031\n\027tpu.googleapis.com/Node\022\022\n\n" + + "worker_ids\030\002 \003(\t\"\250\001\n\021AcceleratorConfig\022E" + + "\n\004type\030\001 \001(\01621.google.cloud.tpu.v2alpha1" + + ".AcceleratorConfig.TypeB\004\342A\001\002\022\026\n\010topolog" + + "y\030\002 \001(\tB\004\342A\001\002\"4\n\004Type\022\024\n\020TYPE_UNSPECIFIE" + + "D\020\000\022\006\n\002V2\020\002\022\006\n\002V3\020\004\022\006\n\002V4\020\007\"4\n\026ShieldedI" + + "nstanceConfig\022\032\n\022enable_secure_boot\030\001 \001(" + + "\010\"\224\001\n\016BootDiskConfig\022W\n\027customer_encrypt" + + "ion_key\030\001 \001(\01320.google.cloud.tpu.v2alpha" + + "1.CustomerEncryptionKeyB\004\342A\001\001\022)\n\033enable_" + + "confidential_compute\030\002 \001(\010B\004\342A\001\001\"6\n\025Cust" + + "omerEncryptionKey\022\026\n\014kms_key_name\030\007 \001(\tH" + + "\000B\005\n\003key2\236\037\n\003Tpu\022\250\001\n\tListNodes\022+.google." + + "cloud.tpu.v2alpha1.ListNodesRequest\032,.go" + + "ogle.cloud.tpu.v2alpha1.ListNodesRespons" + + "e\"@\332A\006parent\202\323\344\223\0021\022//v2alpha1/{parent=pr" + + "ojects/*/locations/*}/nodes\022\225\001\n\007GetNode\022" + + ").google.cloud.tpu.v2alpha1.GetNodeReque" + + "st\032\037.google.cloud.tpu.v2alpha1.Node\">\332A\004" + + "name\202\323\344\223\0021\022//v2alpha1/{name=projects/*/l" + + "ocations/*/nodes/*}\022\312\001\n\nCreateNode\022,.goo" + + "gle.cloud.tpu.v2alpha1.CreateNodeRequest" + + "\032\035.google.longrunning.Operation\"o\312A\031\n\004No" + + "de\022\021OperationMetadata\332A\023parent,node,node" + + "_id\202\323\344\223\0027\"//v2alpha1/{parent=projects/*/" + + "locations/*}/nodes:\004node\022\306\001\n\nDeleteNode\022" + + ",.google.cloud.tpu.v2alpha1.DeleteNodeRe" + + "quest\032\035.google.longrunning.Operation\"k\312A" + + "*\n\025google.protobuf.Empty\022\021OperationMetad" + + "ata\332A\004name\202\323\344\223\0021*//v2alpha1/{name=projec" + + "ts/*/locations/*/nodes/*}\022\262\001\n\010StopNode\022*" + + ".google.cloud.tpu.v2alpha1.StopNodeReque" + + "st\032\035.google.longrunning.Operation\"[\312A\031\n\004" + + "Node\022\021OperationMetadata\202\323\344\223\0029\"4/v2alpha1" + + "/{name=projects/*/locations/*/nodes/*}:s" + + "top:\001*\022\265\001\n\tStartNode\022+.google.cloud.tpu." + + "v2alpha1.StartNodeRequest\032\035.google.longr" + + "unning.Operation\"\\\312A\031\n\004Node\022\021OperationMe" + + "tadata\202\323\344\223\002:\"5/v2alpha1/{name=projects/*" + + "/locations/*/nodes/*}:start:\001*\022\314\001\n\nUpdat" + + "eNode\022,.google.cloud.tpu.v2alpha1.Update" + + "NodeRequest\032\035.google.longrunning.Operati" + + "on\"q\312A\031\n\004Node\022\021OperationMetadata\332A\020node," + + "update_mask\202\323\344\223\002<24/v2alpha1/{node.name=" + + "projects/*/locations/*/nodes/*}:\004node\022\320\001" + + "\n\023ListQueuedResources\0225.google.cloud.tpu" + + ".v2alpha1.ListQueuedResourcesRequest\0326.g" + + "oogle.cloud.tpu.v2alpha1.ListQueuedResou" + + "rcesResponse\"J\332A\006parent\202\323\344\223\002;\0229/v2alpha1" + + "/{parent=projects/*/locations/*}/queuedR" + + "esources\022\275\001\n\021GetQueuedResource\0223.google." + + "cloud.tpu.v2alpha1.GetQueuedResourceRequ" + + "est\032).google.cloud.tpu.v2alpha1.QueuedRe" + + "source\"H\332A\004name\202\323\344\223\002;\0229/v2alpha1/{name=p" + + "rojects/*/locations/*/queuedResources/*}" + + "\022\224\002\n\024CreateQueuedResource\0226.google.cloud" + + ".tpu.v2alpha1.CreateQueuedResourceReques" + + "t\032\035.google.longrunning.Operation\"\244\001\312A#\n\016" + + "QueuedResource\022\021OperationMetadata\332A)pare" + + "nt,queued_resource,queued_resource_id\202\323\344" + + "\223\002L\"9/v2alpha1/{parent=projects/*/locati" + + "ons/*}/queuedResources:\017queued_resource\022" + + "\335\001\n\024DeleteQueuedResource\0226.google.cloud." + + "tpu.v2alpha1.DeleteQueuedResourceRequest" + + "\032\035.google.longrunning.Operation\"n\312A#\n\016Qu" + + "euedResource\022\021OperationMetadata\332A\004name\202\323" + + "\344\223\002;*9/v2alpha1/{name=projects/*/locatio" + + "ns/*/queuedResources/*}\022\344\001\n\023ResetQueuedR" + + "esource\0225.google.cloud.tpu.v2alpha1.Rese" + + "tQueuedResourceRequest\032\035.google.longrunn" + + "ing.Operation\"w\312A#\n\016QueuedResource\022\021Oper" + + "ationMetadata\332A\004name\202\323\344\223\002D\"?/v2alpha1/{n" + + "ame=projects/*/locations/*/queuedResourc" + + "es/*}:reset:\001*\022\336\001\n\027GenerateServiceIdenti" + + "ty\0229.google.cloud.tpu.v2alpha1.GenerateS" + + "erviceIdentityRequest\032:.google.cloud.tpu" + + ".v2alpha1.GenerateServiceIdentityRespons" + + "e\"L\202\323\344\223\002F\"A/v2alpha1/{parent=projects/*/" + + "locations/*}:generateServiceIdentity:\001*\022" + + "\324\001\n\024ListAcceleratorTypes\0226.google.cloud." + + "tpu.v2alpha1.ListAcceleratorTypesRequest" + + "\0327.google.cloud.tpu.v2alpha1.ListAcceler" + + "atorTypesResponse\"K\332A\006parent\202\323\344\223\002<\022:/v2a" + + "lpha1/{parent=projects/*/locations/*}/ac" + + "celeratorTypes\022\301\001\n\022GetAcceleratorType\0224." + + "google.cloud.tpu.v2alpha1.GetAccelerator" + + "TypeRequest\032*.google.cloud.tpu.v2alpha1." + + "AcceleratorType\"I\332A\004name\202\323\344\223\002<\022:/v2alpha" + + "1/{name=projects/*/locations/*/accelerat" + + "orTypes/*}\022\320\001\n\023ListRuntimeVersions\0225.goo" + + "gle.cloud.tpu.v2alpha1.ListRuntimeVersio" + + "nsRequest\0326.google.cloud.tpu.v2alpha1.Li" + + "stRuntimeVersionsResponse\"J\332A\006parent\202\323\344\223" + "\002;\0229/v2alpha1/{parent=projects/*/locatio" - + "ns/*}/queuedResources\022\275\001\n\021GetQueuedResou" - + "rce\0223.google.cloud.tpu.v2alpha1.GetQueue" - + "dResourceRequest\032).google.cloud.tpu.v2al" - + "pha1.QueuedResource\"H\332A\004name\202\323\344\223\002;\0229/v2a" - + "lpha1/{name=projects/*/locations/*/queue" - + "dResources/*}\022\224\002\n\024CreateQueuedResource\0226" - + ".google.cloud.tpu.v2alpha1.CreateQueuedR" - + "esourceRequest\032\035.google.longrunning.Oper" - + "ation\"\244\001\312A#\n\016QueuedResource\022\021OperationMe" - + "tadata\332A)parent,queued_resource,queued_r" - + "esource_id\202\323\344\223\002L\"9/v2alpha1/{parent=proj" - + "ects/*/locations/*}/queuedResources:\017que" - + "ued_resource\022\335\001\n\024DeleteQueuedResource\0226." - + "google.cloud.tpu.v2alpha1.DeleteQueuedRe" - + "sourceRequest\032\035.google.longrunning.Opera" - + "tion\"n\312A#\n\016QueuedResource\022\021OperationMeta" - + "data\332A\004name\202\323\344\223\002;*9/v2alpha1/{name=proje" - + "cts/*/locations/*/queuedResources/*}\022\344\001\n" - + "\023ResetQueuedResource\0225.google.cloud.tpu." - + "v2alpha1.ResetQueuedResourceRequest\032\035.go" - + "ogle.longrunning.Operation\"w\312A#\n\016QueuedR" - + "esource\022\021OperationMetadata\332A\004name\202\323\344\223\002D\"" - + "?/v2alpha1/{name=projects/*/locations/*/" - + "queuedResources/*}:reset:\001*\022\336\001\n\027Generate" - + "ServiceIdentity\0229.google.cloud.tpu.v2alp" - + "ha1.GenerateServiceIdentityRequest\032:.goo" - + "gle.cloud.tpu.v2alpha1.GenerateServiceId" - + "entityResponse\"L\202\323\344\223\002F\"A/v2alpha1/{paren" - + "t=projects/*/locations/*}:generateServic" - + "eIdentity:\001*\022\324\001\n\024ListAcceleratorTypes\0226." - + "google.cloud.tpu.v2alpha1.ListAccelerato" - + "rTypesRequest\0327.google.cloud.tpu.v2alpha" - + "1.ListAcceleratorTypesResponse\"K\332A\006paren" - + "t\202\323\344\223\002<\022:/v2alpha1/{parent=projects/*/lo" - + "cations/*}/acceleratorTypes\022\301\001\n\022GetAccel" - + "eratorType\0224.google.cloud.tpu.v2alpha1.G" - + "etAcceleratorTypeRequest\032*.google.cloud." - + "tpu.v2alpha1.AcceleratorType\"I\332A\004name\202\323\344" - + "\223\002<\022:/v2alpha1/{name=projects/*/location" - + "s/*/acceleratorTypes/*}\022\320\001\n\023ListRuntimeV" - + "ersions\0225.google.cloud.tpu.v2alpha1.List" - + "RuntimeVersionsRequest\0326.google.cloud.tp" - + "u.v2alpha1.ListRuntimeVersionsResponse\"J" - + "\332A\006parent\202\323\344\223\002;\0229/v2alpha1/{parent=proje" - + "cts/*/locations/*}/runtimeVersions\022\275\001\n\021G" - + "etRuntimeVersion\0223.google.cloud.tpu.v2al" - + "pha1.GetRuntimeVersionRequest\032).google.c" - + "loud.tpu.v2alpha1.RuntimeVersion\"H\332A\004nam" - + "e\202\323\344\223\002;\0229/v2alpha1/{name=projects/*/loca" - + "tions/*/runtimeVersions/*}\022\320\001\n\022GetGuestA" - + "ttributes\0224.google.cloud.tpu.v2alpha1.Ge" - + "tGuestAttributesRequest\0325.google.cloud.t" - + "pu.v2alpha1.GetGuestAttributesResponse\"M" - + "\202\323\344\223\002G\"B/v2alpha1/{name=projects/*/locat" - + "ions/*/nodes/*}:getGuestAttributes:\001*\022\346\001" - + "\n\030SimulateMaintenanceEvent\022:.google.clou" - + "d.tpu.v2alpha1.SimulateMaintenanceEventR" - + "equest\032\035.google.longrunning.Operation\"o\312" - + "A\031\n\004Node\022\021OperationMetadata\202\323\344\223\002M\"H/v2al" + + "ns/*}/runtimeVersions\022\275\001\n\021GetRuntimeVers" + + "ion\0223.google.cloud.tpu.v2alpha1.GetRunti" + + "meVersionRequest\032).google.cloud.tpu.v2al" + + "pha1.RuntimeVersion\"H\332A\004name\202\323\344\223\002;\0229/v2a" + + "lpha1/{name=projects/*/locations/*/runti" + + "meVersions/*}\022\320\001\n\022GetGuestAttributes\0224.g" + + "oogle.cloud.tpu.v2alpha1.GetGuestAttribu" + + "tesRequest\0325.google.cloud.tpu.v2alpha1.G" + + "etGuestAttributesResponse\"M\202\323\344\223\002G\"B/v2al" + "pha1/{name=projects/*/locations/*/nodes/" - + "*}:simulateMaintenanceEvent:\001*\032F\312A\022tpu.g" - + "oogleapis.com\322A.https://www.googleapis.c" - + "om/auth/cloud-platformBa\n\035com.google.clo" - + "ud.tpu.v2alpha1B\rCloudTpuProtoP\001Z/cloud." - + "google.com/go/tpu/apiv2alpha1/tpupb;tpup" - + "bb\006proto3" + + "*}:getGuestAttributes:\001*\022\346\001\n\030SimulateMai" + + "ntenanceEvent\022:.google.cloud.tpu.v2alpha" + + "1.SimulateMaintenanceEventRequest\032\035.goog" + + "le.longrunning.Operation\"o\312A\031\n\004Node\022\021Ope" + + "rationMetadata\202\323\344\223\002M\"H/v2alpha1/{name=pr" + + "ojects/*/locations/*/nodes/*}:simulateMa" + + "intenanceEvent:\001*\032F\312A\022tpu.googleapis.com" + + "\322A.https://www.googleapis.com/auth/cloud" + + "-platformBa\n\035com.google.cloud.tpu.v2alph" + + "a1B\rCloudTpuProtoP\001Z/cloud.google.com/go" + + "/tpu/apiv2alpha1/tpupb;tpupbb\006proto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResourceState.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResourceState.java index 302a9f9f2d0f..c104d23161d2 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResourceState.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResourceState.java @@ -174,6 +174,24 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * SUSPENDED = 8; */ SUSPENDED(8), + /** + * + * + *
+     * The QueuedResource request has passed initial validation and has been
+     * persisted in the queue. It will remain in this state until there are
+     * sufficient free resources to begin provisioning your request. Wait times
+     * will vary significantly depending on demand levels. When demand is high,
+     * not all requests can be immediately provisioned. If you
+     * need more reliable obtainability of TPUs consider purchasing a
+     * reservation. To put a limit on how long you are willing to wait, use
+     * [timing
+     * constraints](https://cloud.google.com/tpu/docs/queued-resources#request_a_queued_resource_before_a_specified_time).
+     * 
+ * + * WAITING_FOR_RESOURCES = 9; + */ + WAITING_FOR_RESOURCES(9), UNRECOGNIZED(-1), ; @@ -278,6 +296,24 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * SUSPENDED = 8; */ public static final int SUSPENDED_VALUE = 8; + /** + * + * + *
+     * The QueuedResource request has passed initial validation and has been
+     * persisted in the queue. It will remain in this state until there are
+     * sufficient free resources to begin provisioning your request. Wait times
+     * will vary significantly depending on demand levels. When demand is high,
+     * not all requests can be immediately provisioned. If you
+     * need more reliable obtainability of TPUs consider purchasing a
+     * reservation. To put a limit on how long you are willing to wait, use
+     * [timing
+     * constraints](https://cloud.google.com/tpu/docs/queued-resources#request_a_queued_resource_before_a_specified_time).
+     * 
+ * + * WAITING_FOR_RESOURCES = 9; + */ + public static final int WAITING_FOR_RESOURCES_VALUE = 9; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -321,6 +357,8 @@ public static State forNumber(int value) { return SUSPENDING; case 8: return SUSPENDED; + case 9: + return WAITING_FOR_RESOURCES; default: return null; } diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/proto/google/cloud/tpu/v2alpha1/cloud_tpu.proto b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/proto/google/cloud/tpu/v2alpha1/cloud_tpu.proto index 7bead65aa972..574806b457e1 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/proto/google/cloud/tpu/v2alpha1/cloud_tpu.proto +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/proto/google/cloud/tpu/v2alpha1/cloud_tpu.proto @@ -723,6 +723,17 @@ message QueuedResourceState { // The resources specified in the QueuedResource request have been // deleted. SUSPENDED = 8; + + // The QueuedResource request has passed initial validation and has been + // persisted in the queue. It will remain in this state until there are + // sufficient free resources to begin provisioning your request. Wait times + // will vary significantly depending on demand levels. When demand is high, + // not all requests can be immediately provisioned. If you + // need more reliable obtainability of TPUs consider purchasing a + // reservation. To put a limit on how long you are willing to wait, use + // [timing + // constraints](https://cloud.google.com/tpu/docs/queued-resources#request_a_queued_resource_before_a_specified_time). + WAITING_FOR_RESOURCES = 9; } // Further data for the creating state.