diff --git a/java-tpu/README.md b/java-tpu/README.md index 70f263757625..04a4382163ae 100644 --- a/java-tpu/README.md +++ b/java-tpu/README.md @@ -19,20 +19,20 @@ If you are using Maven, add this to your pom.xml file: com.google.cloud google-cloud-tpu - 2.7.0 + 2.8.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tpu:2.7.0' +implementation 'com.google.cloud:google-cloud-tpu:2.8.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.7.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.8.0" ``` ## Authentication diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/TpuClient.java b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/TpuClient.java index e9f3f21dda6b..a1919b239d38 100644 --- a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/TpuClient.java +++ b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2alpha1/TpuClient.java @@ -1336,7 +1336,7 @@ public final UnaryCallable getQueuedRe * * @param parent Required. The parent resource name. * @param queuedResource Required. The queued resource. - * @param queuedResourceId The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ + * @param queuedResourceId The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` * regex format. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ @@ -1374,7 +1374,7 @@ public final OperationFuture createQueuedReso * * @param parent Required. The parent resource name. * @param queuedResource Required. The queued resource. - * @param queuedResourceId The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ + * @param queuedResourceId The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` * regex format. * @throws com.google.api.gax.rpc.ApiException if the remote call fails */ diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequest.java index 5533c053b41d..f92567520a44 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [CreateQueuedResource][google.cloud.tpu.v2alpha1.Tpu.CreateQueuedResource].
+ * Request for
+ * [CreateQueuedResource][google.cloud.tpu.v2alpha1.Tpu.CreateQueuedResource].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.CreateQueuedResourceRequest} @@ -128,7 +129,7 @@ public com.google.protobuf.ByteString getParentBytes() { * * *
-   * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+   * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
    * regex format.
    * 
* @@ -152,7 +153,7 @@ public java.lang.String getQueuedResourceId() { * * *
-   * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+   * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
    * regex format.
    * 
* @@ -472,7 +473,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [CreateQueuedResource][google.cloud.tpu.v2alpha1.Tpu.CreateQueuedResource].
+   * Request for
+   * [CreateQueuedResource][google.cloud.tpu.v2alpha1.Tpu.CreateQueuedResource].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.CreateQueuedResourceRequest} @@ -806,7 +808,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) { * * *
-     * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+     * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      * regex format.
      * 
* @@ -829,7 +831,7 @@ public java.lang.String getQueuedResourceId() { * * *
-     * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+     * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      * regex format.
      * 
* @@ -852,7 +854,7 @@ public com.google.protobuf.ByteString getQueuedResourceIdBytes() { * * *
-     * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+     * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      * regex format.
      * 
* @@ -874,7 +876,7 @@ public Builder setQueuedResourceId(java.lang.String value) { * * *
-     * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+     * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      * regex format.
      * 
* @@ -892,7 +894,7 @@ public Builder clearQueuedResourceId() { * * *
-     * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+     * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
      * regex format.
      * 
* diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequestOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequestOrBuilder.java index 14bc6d7bcb85..00332158714b 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequestOrBuilder.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/CreateQueuedResourceRequestOrBuilder.java @@ -56,7 +56,7 @@ public interface CreateQueuedResourceRequestOrBuilder * * *
-   * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+   * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
    * regex format.
    * 
* @@ -69,7 +69,7 @@ public interface CreateQueuedResourceRequestOrBuilder * * *
-   * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+   * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
    * regex format.
    * 
* diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/DeleteQueuedResourceRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/DeleteQueuedResourceRequest.java index 152d9ae64ae7..a21cb09e685c 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/DeleteQueuedResourceRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/DeleteQueuedResourceRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [DeleteQueuedResource][google.cloud.tpu.v2alpha1.Tpu.DeleteQueuedResource].
+ * Request for
+ * [DeleteQueuedResource][google.cloud.tpu.v2alpha1.Tpu.DeleteQueuedResource].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.DeleteQueuedResourceRequest} @@ -343,7 +344,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [DeleteQueuedResource][google.cloud.tpu.v2alpha1.Tpu.DeleteQueuedResource].
+   * Request for
+   * [DeleteQueuedResource][google.cloud.tpu.v2alpha1.Tpu.DeleteQueuedResource].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.DeleteQueuedResourceRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityRequest.java index b4fd6d1fcf0d..7ce9f18f94d0 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity].
+ * Request for
+ * [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GenerateServiceIdentityRequest} @@ -285,7 +286,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity].
+   * Request for
+   * [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GenerateServiceIdentityRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityResponse.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityResponse.java index 7615d22a61ef..2addba1f4403 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GenerateServiceIdentityResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity].
+ * Response for
+ * [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GenerateServiceIdentityResponse} @@ -283,7 +284,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity].
+   * Response for
+   * [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GenerateServiceIdentityResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetAcceleratorTypeRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetAcceleratorTypeRequest.java index a443448367b1..0ea8f88362a0 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetAcceleratorTypeRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetAcceleratorTypeRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [GetAcceleratorType][google.cloud.tpu.v2alpha1.Tpu.GetAcceleratorType].
+ * Request for
+ * [GetAcceleratorType][google.cloud.tpu.v2alpha1.Tpu.GetAcceleratorType].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GetAcceleratorTypeRequest} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [GetAcceleratorType][google.cloud.tpu.v2alpha1.Tpu.GetAcceleratorType].
+   * Request for
+   * [GetAcceleratorType][google.cloud.tpu.v2alpha1.Tpu.GetAcceleratorType].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GetAcceleratorTypeRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetGuestAttributesRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetGuestAttributesRequest.java index ff443c6bfd20..116002d7c025 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetGuestAttributesRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetGuestAttributesRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes].
+ * Request for
+ * [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GetGuestAttributesRequest} @@ -425,7 +426,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes].
+   * Request for
+   * [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GetGuestAttributesRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetGuestAttributesResponse.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetGuestAttributesResponse.java index 1202e41b266f..c8fdd1ac7bda 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetGuestAttributesResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetGuestAttributesResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes].
+ * Response for
+ * [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GetGuestAttributesResponse} @@ -303,7 +304,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes].
+   * Response for
+   * [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GetGuestAttributesResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetQueuedResourceRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetQueuedResourceRequest.java index 3269662a9980..fcff57843450 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetQueuedResourceRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetQueuedResourceRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [GetQueuedResource][google.cloud.tpu.v2alpha1.Tpu.GetQueuedResource]
+ * Request for
+ * [GetQueuedResource][google.cloud.tpu.v2alpha1.Tpu.GetQueuedResource]
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GetQueuedResourceRequest} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [GetQueuedResource][google.cloud.tpu.v2alpha1.Tpu.GetQueuedResource]
+   * Request for
+   * [GetQueuedResource][google.cloud.tpu.v2alpha1.Tpu.GetQueuedResource]
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GetQueuedResourceRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetRuntimeVersionRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetRuntimeVersionRequest.java index 2a8f4bb6f706..121a75455b0a 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetRuntimeVersionRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/GetRuntimeVersionRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [GetRuntimeVersion][google.cloud.tpu.v2alpha1.Tpu.GetRuntimeVersion].
+ * Request for
+ * [GetRuntimeVersion][google.cloud.tpu.v2alpha1.Tpu.GetRuntimeVersion].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GetRuntimeVersionRequest} @@ -284,7 +285,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [GetRuntimeVersion][google.cloud.tpu.v2alpha1.Tpu.GetRuntimeVersion].
+   * Request for
+   * [GetRuntimeVersion][google.cloud.tpu.v2alpha1.Tpu.GetRuntimeVersion].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.GetRuntimeVersionRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListAcceleratorTypesRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListAcceleratorTypesRequest.java index 84b07189b463..b82b55daf02a 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListAcceleratorTypesRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListAcceleratorTypesRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes].
+ * Request for
+ * [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListAcceleratorTypesRequest} @@ -488,7 +489,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes].
+   * Request for
+   * [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListAcceleratorTypesRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListAcceleratorTypesResponse.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListAcceleratorTypesResponse.java index 38bbc1facdf0..198eceaf6b7c 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListAcceleratorTypesResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListAcceleratorTypesResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes].
+ * Response for
+ * [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListAcceleratorTypesResponse} @@ -440,7 +441,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes].
+   * Response for
+   * [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListAcceleratorTypesResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListQueuedResourcesRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListQueuedResourcesRequest.java index 01e725dcd135..318621a443a7 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListQueuedResourcesRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListQueuedResourcesRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources].
+ * Request for
+ * [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListQueuedResourcesRequest} @@ -370,7 +371,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources].
+   * Request for
+   * [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListQueuedResourcesRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListQueuedResourcesResponse.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListQueuedResourcesResponse.java index e7df41bef3f8..486d28340e2d 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListQueuedResourcesResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListQueuedResourcesResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources].
+ * Response for
+ * [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListQueuedResourcesResponse} @@ -440,7 +441,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources].
+   * Response for
+   * [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListQueuedResourcesResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListRuntimeVersionsRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListRuntimeVersionsRequest.java index 96a5ee076d7e..2b8243436636 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListRuntimeVersionsRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListRuntimeVersionsRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions].
+ * Request for
+ * [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListRuntimeVersionsRequest} @@ -488,7 +489,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions].
+   * Request for
+   * [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListRuntimeVersionsRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListRuntimeVersionsResponse.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListRuntimeVersionsResponse.java index 740c73663af1..de3b56447e45 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListRuntimeVersionsResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/ListRuntimeVersionsResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions].
+ * Response for
+ * [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListRuntimeVersionsResponse} @@ -440,7 +441,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions].
+   * Response for
+   * [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.ListRuntimeVersionsResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/Node.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/Node.java index cb429528686c..159be00c6831 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/Node.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/Node.java @@ -1098,8 +1098,8 @@ public com.google.cloud.tpu.v2alpha1.Node.State getState() { * * *
-   * Output only. If this field is populated, it contains a description of why the TPU Node
-   * is unhealthy.
+   * Output only. If this field is populated, it contains a description of why
+   * the TPU Node is unhealthy.
    * 
* * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1122,8 +1122,8 @@ public java.lang.String getHealthDescription() { * * *
-   * Output only. If this field is populated, it contains a description of why the TPU Node
-   * is unhealthy.
+   * Output only. If this field is populated, it contains a description of why
+   * the TPU Node is unhealthy.
    * 
* * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2055,7 +2055,8 @@ public com.google.cloud.tpu.v2alpha1.SymptomOrBuilder getSymptomsOrBuilder(int i * * *
-   * Output only. The qualified name of the QueuedResource that requested this Node.
+   * Output only. The qualified name of the QueuedResource that requested this
+   * Node.
    * 
* * string queued_resource = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -2078,7 +2079,8 @@ public java.lang.String getQueuedResource() { * * *
-   * Output only. The qualified name of the QueuedResource that requested this Node.
+   * Output only. The qualified name of the QueuedResource that requested this
+   * Node.
    * 
* * string queued_resource = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3631,8 +3633,8 @@ public Builder clearState() { * * *
-     * Output only. If this field is populated, it contains a description of why the TPU Node
-     * is unhealthy.
+     * Output only. If this field is populated, it contains a description of why
+     * the TPU Node is unhealthy.
      * 
* * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3654,8 +3656,8 @@ public java.lang.String getHealthDescription() { * * *
-     * Output only. If this field is populated, it contains a description of why the TPU Node
-     * is unhealthy.
+     * Output only. If this field is populated, it contains a description of why
+     * the TPU Node is unhealthy.
      * 
* * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3677,8 +3679,8 @@ public com.google.protobuf.ByteString getHealthDescriptionBytes() { * * *
-     * Output only. If this field is populated, it contains a description of why the TPU Node
-     * is unhealthy.
+     * Output only. If this field is populated, it contains a description of why
+     * the TPU Node is unhealthy.
      * 
* * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3699,8 +3701,8 @@ public Builder setHealthDescription(java.lang.String value) { * * *
-     * Output only. If this field is populated, it contains a description of why the TPU Node
-     * is unhealthy.
+     * Output only. If this field is populated, it contains a description of why
+     * the TPU Node is unhealthy.
      * 
* * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3717,8 +3719,8 @@ public Builder clearHealthDescription() { * * *
-     * Output only. If this field is populated, it contains a description of why the TPU Node
-     * is unhealthy.
+     * Output only. If this field is populated, it contains a description of why
+     * the TPU Node is unhealthy.
      * 
* * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -6669,7 +6671,8 @@ public java.util.List getSymptoms * * *
-     * Output only. The qualified name of the QueuedResource that requested this Node.
+     * Output only. The qualified name of the QueuedResource that requested this
+     * Node.
      * 
* * string queued_resource = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -6691,7 +6694,8 @@ public java.lang.String getQueuedResource() { * * *
-     * Output only. The qualified name of the QueuedResource that requested this Node.
+     * Output only. The qualified name of the QueuedResource that requested this
+     * Node.
      * 
* * string queued_resource = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -6713,7 +6717,8 @@ public com.google.protobuf.ByteString getQueuedResourceBytes() { * * *
-     * Output only. The qualified name of the QueuedResource that requested this Node.
+     * Output only. The qualified name of the QueuedResource that requested this
+     * Node.
      * 
* * string queued_resource = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -6734,7 +6739,8 @@ public Builder setQueuedResource(java.lang.String value) { * * *
-     * Output only. The qualified name of the QueuedResource that requested this Node.
+     * Output only. The qualified name of the QueuedResource that requested this
+     * Node.
      * 
* * string queued_resource = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -6751,7 +6757,8 @@ public Builder clearQueuedResource() { * * *
-     * Output only. The qualified name of the QueuedResource that requested this Node.
+     * Output only. The qualified name of the QueuedResource that requested this
+     * Node.
      * 
* * string queued_resource = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/NodeOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/NodeOrBuilder.java index 155eb32abc34..7f972ceed2ae 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/NodeOrBuilder.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/NodeOrBuilder.java @@ -135,8 +135,8 @@ public interface NodeOrBuilder * * *
-   * Output only. If this field is populated, it contains a description of why the TPU Node
-   * is unhealthy.
+   * Output only. If this field is populated, it contains a description of why
+   * the TPU Node is unhealthy.
    * 
* * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -148,8 +148,8 @@ public interface NodeOrBuilder * * *
-   * Output only. If this field is populated, it contains a description of why the TPU Node
-   * is unhealthy.
+   * Output only. If this field is populated, it contains a description of why
+   * the TPU Node is unhealthy.
    * 
* * string health_description = 10 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -803,7 +803,8 @@ java.lang.String getMetadataOrDefault( * * *
-   * Output only. The qualified name of the QueuedResource that requested this Node.
+   * Output only. The qualified name of the QueuedResource that requested this
+   * Node.
    * 
* * string queued_resource = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -815,7 +816,8 @@ java.lang.String getMetadataOrDefault( * * *
-   * Output only. The qualified name of the QueuedResource that requested this Node.
+   * Output only. The qualified name of the QueuedResource that requested this
+   * Node.
    * 
* * string queued_resource = 43 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResource.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResource.java index 520825861497..bf8c960810cd 100644 --- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResource.java +++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/QueuedResource.java @@ -213,7 +213,7 @@ public interface NodeSpecOrBuilder * * *
-       * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+       * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
        * regex format. This is only specified when requesting a single node.
        * In case of multi-node requests, multi_node_params must be populated
        * instead. It's an error to specify both node_id and multi_node_params.
@@ -228,7 +228,7 @@ public interface NodeSpecOrBuilder
        *
        *
        * 
-       * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+       * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
        * regex format. This is only specified when requesting a single node.
        * In case of multi-node requests, multi_node_params must be populated
        * instead. It's an error to specify both node_id and multi_node_params.
@@ -389,7 +389,7 @@ public com.google.protobuf.ByteString getParentBytes() {
        *
        *
        * 
-       * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+       * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
        * regex format. This is only specified when requesting a single node.
        * In case of multi-node requests, multi_node_params must be populated
        * instead. It's an error to specify both node_id and multi_node_params.
@@ -415,7 +415,7 @@ public java.lang.String getNodeId() {
        *
        *
        * 
-       * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+       * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
        * regex format. This is only specified when requesting a single node.
        * In case of multi-node requests, multi_node_params must be populated
        * instead. It's an error to specify both node_id and multi_node_params.
@@ -1003,7 +1003,7 @@ public Builder setParentBytes(com.google.protobuf.ByteString value) {
          *
          *
          * 
-         * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+         * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
          * regex format. This is only specified when requesting a single node.
          * In case of multi-node requests, multi_node_params must be populated
          * instead. It's an error to specify both node_id and multi_node_params.
@@ -1028,7 +1028,7 @@ public java.lang.String getNodeId() {
          *
          *
          * 
-         * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+         * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
          * regex format. This is only specified when requesting a single node.
          * In case of multi-node requests, multi_node_params must be populated
          * instead. It's an error to specify both node_id and multi_node_params.
@@ -1053,7 +1053,7 @@ public com.google.protobuf.ByteString getNodeIdBytes() {
          *
          *
          * 
-         * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+         * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
          * regex format. This is only specified when requesting a single node.
          * In case of multi-node requests, multi_node_params must be populated
          * instead. It's an error to specify both node_id and multi_node_params.
@@ -1077,7 +1077,7 @@ public Builder setNodeId(java.lang.String value) {
          *
          *
          * 
-         * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+         * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
          * regex format. This is only specified when requesting a single node.
          * In case of multi-node requests, multi_node_params must be populated
          * instead. It's an error to specify both node_id and multi_node_params.
@@ -1097,7 +1097,7 @@ public Builder clearNodeId() {
          *
          *
          * 
-         * The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$
+         * The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$`
          * regex format. This is only specified when requesting a single node.
          * In case of multi-node requests, multi_node_params must be populated
          * instead. It's an error to specify both node_id and multi_node_params.
diff --git a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/SimulateMaintenanceEventRequest.java b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/SimulateMaintenanceEventRequest.java
index 8e9a629a0cde..6627588fb995 100644
--- a/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/SimulateMaintenanceEventRequest.java
+++ b/java-tpu/proto-google-cloud-tpu-v2alpha1/src/main/java/com/google/cloud/tpu/v2alpha1/SimulateMaintenanceEventRequest.java
@@ -22,7 +22,8 @@
  *
  *
  * 
- * Request for [SimulateMaintenanceEvent][google.cloud.tpu.v2alpha1.Tpu.SimulateMaintenanceEvent].
+ * Request for
+ * [SimulateMaintenanceEvent][google.cloud.tpu.v2alpha1.Tpu.SimulateMaintenanceEvent].
  * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.SimulateMaintenanceEventRequest} @@ -375,7 +376,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [SimulateMaintenanceEvent][google.cloud.tpu.v2alpha1.Tpu.SimulateMaintenanceEvent].
+   * Request for
+   * [SimulateMaintenanceEvent][google.cloud.tpu.v2alpha1.Tpu.SimulateMaintenanceEvent].
    * 
* * Protobuf type {@code google.cloud.tpu.v2alpha1.SimulateMaintenanceEventRequest} 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 b6f0623b7870..dc179c8183cf 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 @@ -37,7 +37,8 @@ option java_package = "com.google.cloud.tpu.v2alpha1"; // TPU API v2alpha1 service Tpu { option (google.api.default_host) = "tpu.googleapis.com"; - option (google.api.oauth_scopes) = "https://www.googleapis.com/auth/cloud-platform"; + option (google.api.oauth_scopes) = + "https://www.googleapis.com/auth/cloud-platform"; // Lists nodes. rpc ListNodes(ListNodesRequest) returns (ListNodesResponse) { @@ -118,7 +119,8 @@ service Tpu { } // Lists queued resources. - rpc ListQueuedResources(ListQueuedResourcesRequest) returns (ListQueuedResourcesResponse) { + rpc ListQueuedResources(ListQueuedResourcesRequest) + returns (ListQueuedResourcesResponse) { option (google.api.http) = { get: "/v2alpha1/{parent=projects/*/locations/*}/queuedResources" }; @@ -134,12 +136,14 @@ service Tpu { } // Creates a QueuedResource TPU instance. - rpc CreateQueuedResource(CreateQueuedResourceRequest) returns (google.longrunning.Operation) { + rpc CreateQueuedResource(CreateQueuedResourceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2alpha1/{parent=projects/*/locations/*}/queuedResources" body: "queued_resource" }; - option (google.api.method_signature) = "parent,queued_resource,queued_resource_id"; + option (google.api.method_signature) = + "parent,queued_resource,queued_resource_id"; option (google.longrunning.operation_info) = { response_type: "QueuedResource" metadata_type: "OperationMetadata" @@ -147,7 +151,8 @@ service Tpu { } // Deletes a QueuedResource TPU instance. - rpc DeleteQueuedResource(DeleteQueuedResourceRequest) returns (google.longrunning.Operation) { + rpc DeleteQueuedResource(DeleteQueuedResourceRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { delete: "/v2alpha1/{name=projects/*/locations/*/queuedResources/*}" }; @@ -159,7 +164,8 @@ service Tpu { } // Generates the Cloud TPU service identity for the project. - rpc GenerateServiceIdentity(GenerateServiceIdentityRequest) returns (GenerateServiceIdentityResponse) { + rpc GenerateServiceIdentity(GenerateServiceIdentityRequest) + returns (GenerateServiceIdentityResponse) { option (google.api.http) = { post: "/v2alpha1/{parent=projects/*/locations/*}:generateServiceIdentity" body: "*" @@ -167,7 +173,8 @@ service Tpu { } // Lists accelerator types supported by this API. - rpc ListAcceleratorTypes(ListAcceleratorTypesRequest) returns (ListAcceleratorTypesResponse) { + rpc ListAcceleratorTypes(ListAcceleratorTypesRequest) + returns (ListAcceleratorTypesResponse) { option (google.api.http) = { get: "/v2alpha1/{parent=projects/*/locations/*}/acceleratorTypes" }; @@ -183,7 +190,8 @@ service Tpu { } // Lists runtime versions supported by this API. - rpc ListRuntimeVersions(ListRuntimeVersionsRequest) returns (ListRuntimeVersionsResponse) { + rpc ListRuntimeVersions(ListRuntimeVersionsRequest) + returns (ListRuntimeVersionsResponse) { option (google.api.http) = { get: "/v2alpha1/{parent=projects/*/locations/*}/runtimeVersions" }; @@ -199,7 +207,8 @@ service Tpu { } // Retrieves the guest attributes for the node. - rpc GetGuestAttributes(GetGuestAttributesRequest) returns (GetGuestAttributesResponse) { + rpc GetGuestAttributes(GetGuestAttributesRequest) + returns (GetGuestAttributesResponse) { option (google.api.http) = { post: "/v2alpha1/{name=projects/*/locations/*/nodes/*}:getGuestAttributes" body: "*" @@ -207,7 +216,8 @@ service Tpu { } // Simulates a maintenance event. - rpc SimulateMaintenanceEvent(SimulateMaintenanceEventRequest) returns (google.longrunning.Operation) { + rpc SimulateMaintenanceEvent(SimulateMaintenanceEventRequest) + returns (google.longrunning.Operation) { option (google.api.http) = { post: "/v2alpha1/{name=projects/*/locations/*/nodes/*}:simulateMaintenanceEvent" body: "*" @@ -442,8 +452,8 @@ message Node { // Output only. The current state for the TPU Node. State state = 9 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. If this field is populated, it contains a description of why the TPU Node - // is unhealthy. + // Output only. If this field is populated, it contains a description of why + // the TPU Node is unhealthy. string health_description = 10 [(google.api.field_behavior) = OUTPUT_ONLY]; // Required. The runtime version running in the Node. @@ -467,7 +477,8 @@ message Node { ServiceAccount service_account = 37; // Output only. The time when the node was created. - google.protobuf.Timestamp create_time = 16 [(google.api.field_behavior) = OUTPUT_ONLY]; + google.protobuf.Timestamp create_time = 16 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The scheduling options for this node. SchedulingConfig scheduling_config = 17; @@ -475,7 +486,8 @@ message Node { // Output only. The network endpoints where TPU workers can be accessed and // sent work. It is recommended that runtime clients of the node reach out // to the 0th entry in this map first. - repeated NetworkEndpoint network_endpoints = 21 [(google.api.field_behavior) = OUTPUT_ONLY]; + repeated NetworkEndpoint network_endpoints = 21 + [(google.api.field_behavior) = OUTPUT_ONLY]; // The health status of the TPU node. Health health = 22; @@ -503,7 +515,8 @@ message Node { // Output only. The Symptoms that have occurred to the TPU Node. repeated Symptom symptoms = 39 [(google.api.field_behavior) = OUTPUT_ONLY]; - // Output only. The qualified name of the QueuedResource that requested this Node. + // Output only. The qualified name of the QueuedResource that requested this + // Node. string queued_resource = 43 [(google.api.field_behavior) = OUTPUT_ONLY]; // Shielded Instance options. @@ -532,7 +545,7 @@ message QueuedResource { } ]; - // The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ + // The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` // regex format. This is only specified when requesting a single node. // In case of multi-node requests, multi_node_params must be populated // instead. It's an error to specify both node_id and multi_node_params. @@ -547,16 +560,15 @@ message QueuedResource { } // BestEffort tier definition. - message BestEffort { - - } + message BestEffort {} // Guaranteed tier definition. message Guaranteed { // Optional. Defines the minimum duration of the guarantee. If specified, // the requested resources will only be provisioned if they can be // allocated for at least the given duration. - google.protobuf.Duration min_duration = 1 [(google.api.field_behavior) = OPTIONAL]; + google.protobuf.Duration min_duration = 1 + [(google.api.field_behavior) = OPTIONAL]; // Optional. Specifies the request should be scheduled on reserved capacity. bool reserved = 2 [(google.api.field_behavior) = OPTIONAL]; @@ -659,19 +671,13 @@ message QueuedResourceState { } // Further data for the creating state. - message CreatingData { - - } + message CreatingData {} // Further data for the accepted state. - message AcceptedData { - - } + message AcceptedData {} // Further data for the provisioning state. - message ProvisioningData { - - } + message ProvisioningData {} // Further data for the failed state. message FailedData { @@ -680,24 +686,16 @@ message QueuedResourceState { } // Further data for the deleting state. - message DeletingData { - - } + message DeletingData {} // Further data for the active state. - message ActiveData { - - } + message ActiveData {} // Further data for the suspending state. - message SuspendingData { - - } + message SuspendingData {} // Further data for the suspended state. - message SuspendedData { - - } + message SuspendedData {} // State of the QueuedResource request. State state = 1; @@ -735,9 +733,7 @@ message ListNodesRequest { // Required. The parent resource name. string parent = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - child_type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { child_type: "tpu.googleapis.com/Node" } ]; // The maximum number of items to return. @@ -764,9 +760,7 @@ message GetNodeRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; } @@ -795,9 +789,7 @@ message DeleteNodeRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; // Idempotent request UUID. @@ -809,9 +801,7 @@ message StopNodeRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; } @@ -820,9 +810,7 @@ message StartNodeRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; } @@ -831,13 +819,15 @@ message UpdateNodeRequest { // Required. Mask of fields from [Node][Tpu.Node] to update. // Supported fields: [description, tags, labels, metadata, // network_config.enable_external_ips]. - google.protobuf.FieldMask update_mask = 1 [(google.api.field_behavior) = REQUIRED]; + google.protobuf.FieldMask update_mask = 1 + [(google.api.field_behavior) = REQUIRED]; // Required. The node. Only fields specified in update_mask are updated. Node node = 2 [(google.api.field_behavior) = REQUIRED]; } -// Request for [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources]. +// Request for +// [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources]. message ListQueuedResourcesRequest { // Required. The parent resource name. string parent = 1 [ @@ -854,7 +844,8 @@ message ListQueuedResourcesRequest { string page_token = 3; } -// Response for [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources]. +// Response for +// [ListQueuedResources][google.cloud.tpu.v2alpha1.Tpu.ListQueuedResources]. message ListQueuedResourcesResponse { // The listed queued resources. repeated QueuedResource queued_resources = 1; @@ -866,7 +857,8 @@ message ListQueuedResourcesResponse { repeated string unreachable = 3; } -// Request for [GetQueuedResource][google.cloud.tpu.v2alpha1.Tpu.GetQueuedResource] +// Request for +// [GetQueuedResource][google.cloud.tpu.v2alpha1.Tpu.GetQueuedResource] message GetQueuedResourceRequest { // Required. The resource name. string name = 1 [ @@ -877,7 +869,8 @@ message GetQueuedResourceRequest { ]; } -// Request for [CreateQueuedResource][google.cloud.tpu.v2alpha1.Tpu.CreateQueuedResource]. +// Request for +// [CreateQueuedResource][google.cloud.tpu.v2alpha1.Tpu.CreateQueuedResource]. message CreateQueuedResourceRequest { // Required. The parent resource name. string parent = 1 [ @@ -887,7 +880,7 @@ message CreateQueuedResourceRequest { } ]; - // The unqualified resource name. Should follow the ^[A-Za-z0-9_.~+%-]+$ + // The unqualified resource name. Should follow the `^[A-Za-z0-9_.~+%-]+$` // regex format. string queued_resource_id = 2; @@ -898,7 +891,8 @@ message CreateQueuedResourceRequest { string request_id = 4; } -// Request for [DeleteQueuedResource][google.cloud.tpu.v2alpha1.Tpu.DeleteQueuedResource]. +// Request for +// [DeleteQueuedResource][google.cloud.tpu.v2alpha1.Tpu.DeleteQueuedResource]. message DeleteQueuedResourceRequest { // Required. The resource name. string name = 1 [ @@ -918,7 +912,8 @@ message ServiceIdentity { string email = 1; } -// Request for [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity]. +// Request for +// [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity]. message GenerateServiceIdentityRequest { // Required. The parent resource name. string parent = 1 [ @@ -929,7 +924,8 @@ message GenerateServiceIdentityRequest { ]; } -// Response for [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity]. +// Response for +// [GenerateServiceIdentity][google.cloud.tpu.v2alpha1.Tpu.GenerateServiceIdentity]. message GenerateServiceIdentityResponse { // ServiceIdentity that was created or retrieved. ServiceIdentity identity = 1; @@ -949,7 +945,8 @@ message AcceleratorType { string type = 2; } -// Request for [GetAcceleratorType][google.cloud.tpu.v2alpha1.Tpu.GetAcceleratorType]. +// Request for +// [GetAcceleratorType][google.cloud.tpu.v2alpha1.Tpu.GetAcceleratorType]. message GetAcceleratorTypeRequest { // Required. The resource name. string name = 1 [ @@ -960,7 +957,8 @@ message GetAcceleratorTypeRequest { ]; } -// Request for [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes]. +// Request for +// [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes]. message ListAcceleratorTypesRequest { // Required. The parent resource name. string parent = 1 [ @@ -983,7 +981,8 @@ message ListAcceleratorTypesRequest { string order_by = 6; } -// Response for [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes]. +// Response for +// [ListAcceleratorTypes][google.cloud.tpu.v2alpha1.Tpu.ListAcceleratorTypes]. message ListAcceleratorTypesResponse { // The listed nodes. repeated AcceleratorType accelerator_types = 1; @@ -1009,7 +1008,8 @@ message RuntimeVersion { string version = 2; } -// Request for [GetRuntimeVersion][google.cloud.tpu.v2alpha1.Tpu.GetRuntimeVersion]. +// Request for +// [GetRuntimeVersion][google.cloud.tpu.v2alpha1.Tpu.GetRuntimeVersion]. message GetRuntimeVersionRequest { // Required. The resource name. string name = 1 [ @@ -1020,7 +1020,8 @@ message GetRuntimeVersionRequest { ]; } -// Request for [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions]. +// Request for +// [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions]. message ListRuntimeVersionsRequest { // Required. The parent resource name. string parent = 1 [ @@ -1043,7 +1044,8 @@ message ListRuntimeVersionsRequest { string order_by = 6; } -// Response for [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions]. +// Response for +// [ListRuntimeVersions][google.cloud.tpu.v2alpha1.Tpu.ListRuntimeVersions]. message ListRuntimeVersionsResponse { // The listed nodes. repeated RuntimeVersion runtime_versions = 1; @@ -1121,14 +1123,13 @@ message Symptom { string worker_id = 4; } -// Request for [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes]. +// Request for +// [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes]. message GetGuestAttributesRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; // The guest attributes path to be queried. @@ -1139,20 +1140,20 @@ message GetGuestAttributesRequest { repeated string worker_ids = 3; } -// Response for [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes]. +// Response for +// [GetGuestAttributes][google.cloud.tpu.v2alpha1.Tpu.GetGuestAttributes]. message GetGuestAttributesResponse { // The guest attributes for the TPU workers. repeated GuestAttributes guest_attributes = 1; } -// Request for [SimulateMaintenanceEvent][google.cloud.tpu.v2alpha1.Tpu.SimulateMaintenanceEvent]. +// Request for +// [SimulateMaintenanceEvent][google.cloud.tpu.v2alpha1.Tpu.SimulateMaintenanceEvent]. message SimulateMaintenanceEventRequest { // Required. The resource name. string name = 1 [ (google.api.field_behavior) = REQUIRED, - (google.api.resource_reference) = { - type: "tpu.googleapis.com/Node" - } + (google.api.resource_reference) = { type: "tpu.googleapis.com/Node" } ]; // The 0-based worker ID. If it is empty, worker ID 0 will be selected for