diff --git a/java-tpu/README.md b/java-tpu/README.md index 1a720c0468ba..a234aa784d9b 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.9.0 + 2.10.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tpu:2.9.0' +implementation 'com.google.cloud:google-cloud-tpu:2.10.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.9.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.10.0" ``` ## Authentication diff --git a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/HttpJsonTpuStub.java b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/HttpJsonTpuStub.java index 09d996c00c5c..8fede9b1915b 100644 --- a/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/HttpJsonTpuStub.java +++ b/java-tpu/google-cloud-tpu/src/main/java/com/google/cloud/tpu/v2/stub/HttpJsonTpuStub.java @@ -585,7 +585,7 @@ public class HttpJsonTpuStub extends TpuStub { .setRequestFormatter( ProtoMessageRequestFormatter.newBuilder() .setPath( - "/v1alpha1/{name=projects/*}/locations", + "/v2/{name=projects/*}/locations", request -> { Map fields = new HashMap<>(); ProtoRestSerializer serializer = @@ -593,10 +593,6 @@ public class HttpJsonTpuStub extends TpuStub { serializer.putPathParam(fields, "name", request.getName()); return fields; }) - .setAdditionalPaths( - "/v1/{name=projects/*}/locations", - "/v2alpha1/{name=projects/*}/locations", - "/v2/{name=projects/*}/locations") .setQueryParamsExtractor( request -> { Map> fields = new HashMap<>(); @@ -623,7 +619,7 @@ public class HttpJsonTpuStub extends TpuStub { .setRequestFormatter( ProtoMessageRequestFormatter.newBuilder() .setPath( - "/v1alpha1/{name=projects/*/locations/*}", + "/v2/{name=projects/*/locations/*}", request -> { Map fields = new HashMap<>(); ProtoRestSerializer serializer = @@ -631,10 +627,6 @@ public class HttpJsonTpuStub extends TpuStub { serializer.putPathParam(fields, "name", request.getName()); return fields; }) - .setAdditionalPaths( - "/v1/{name=projects/*/locations/*}", - "/v2alpha1/{name=projects/*/locations/*}", - "/v2/{name=projects/*/locations/*}") .setQueryParamsExtractor( request -> { Map> fields = new HashMap<>(); 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 a1919b239d38..e9f3f21dda6b 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-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequest.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequest.java index 02afd605450f..a7d26c5a1428 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/GetTensorFlowVersionRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion].
+ * Request for
+ * [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion].
  * 
* * Protobuf type {@code google.cloud.tpu.v1.GetTensorFlowVersionRequest} @@ -285,7 +286,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion].
+   * Request for
+   * [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion].
    * 
* * Protobuf type {@code google.cloud.tpu.v1.GetTensorFlowVersionRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesRequest.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesRequest.java index 0fb43b28b40f..cdde6becacef 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
+ * Request for
+ * [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
  * 
* * Protobuf type {@code google.cloud.tpu.v1.ListAcceleratorTypesRequest} @@ -495,7 +496,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
+   * Request for
+   * [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
    * 
* * Protobuf type {@code google.cloud.tpu.v1.ListAcceleratorTypesRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesResponse.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesResponse.java index 98dbde9b1a5a..6a1a68f89a7d 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListAcceleratorTypesResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
+ * Response for
+ * [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
  * 
* * Protobuf type {@code google.cloud.tpu.v1.ListAcceleratorTypesResponse} @@ -444,7 +445,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
+   * Response for
+   * [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes].
    * 
* * Protobuf type {@code google.cloud.tpu.v1.ListAcceleratorTypesResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsRequest.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsRequest.java index 5e18f38b57a0..d1419976c8b9 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
+ * Request for
+ * [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
  * 
* * Protobuf type {@code google.cloud.tpu.v1.ListTensorFlowVersionsRequest} @@ -496,7 +497,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
+   * Request for
+   * [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
    * 
* * Protobuf type {@code google.cloud.tpu.v1.ListTensorFlowVersionsRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsResponse.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsResponse.java index e2e3d7bc384a..8590eb74fc7f 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/ListTensorFlowVersionsResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
+ * Response for
+ * [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
  * 
* * Protobuf type {@code google.cloud.tpu.v1.ListTensorFlowVersionsResponse} @@ -448,7 +449,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
+   * Response for
+   * [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions].
    * 
* * Protobuf type {@code google.cloud.tpu.v1.ListTensorFlowVersionsResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/Node.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/Node.java index 0f710f8ee520..289ea470084c 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/Node.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/Node.java @@ -1094,7 +1094,7 @@ public com.google.protobuf.ByteString getAcceleratorTypeBytes() { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The ipAddress. */ @java.lang.Override @@ -1122,7 +1122,7 @@ public java.lang.String getIpAddress() { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The bytes for ipAddress. */ @java.lang.Override @@ -1154,7 +1154,7 @@ public com.google.protobuf.ByteString getIpAddressBytes() { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The port. */ @java.lang.Override @@ -1181,7 +1181,7 @@ public java.lang.String getPort() { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The bytes for port. */ @java.lang.Override @@ -1243,8 +1243,8 @@ public com.google.cloud.tpu.v1.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]; @@ -1267,8 +1267,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]; @@ -1467,10 +1467,10 @@ public com.google.protobuf.ByteString getCidrBlockBytes() { * * *
-   * Output only. The service account used to run the tensor flow services within the node.
-   * To share resources, including Google Cloud Storage data, with the
-   * Tensorflow job running in the Node, this account must have permissions to
-   * that data.
+   * Output only. The service account used to run the tensor flow services
+   * within the node. To share resources, including Google Cloud Storage data,
+   * with the Tensorflow job running in the Node, this account must have
+   * permissions to that data.
    * 
* * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -1493,10 +1493,10 @@ public java.lang.String getServiceAccount() { * * *
-   * Output only. The service account used to run the tensor flow services within the node.
-   * To share resources, including Google Cloud Storage data, with the
-   * Tensorflow job running in the Node, this account must have permissions to
-   * that data.
+   * Output only. The service account used to run the tensor flow services
+   * within the node. To share resources, including Google Cloud Storage data,
+   * with the Tensorflow job running in the Node, this account must have
+   * permissions to that data.
    * 
* * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -3227,7 +3227,7 @@ public Builder setAcceleratorTypeBytes(com.google.protobuf.ByteString value) { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The ipAddress. */ @java.lang.Deprecated @@ -3254,7 +3254,7 @@ public java.lang.String getIpAddress() { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The bytes for ipAddress. */ @java.lang.Deprecated @@ -3281,7 +3281,7 @@ public com.google.protobuf.ByteString getIpAddressBytes() { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @param value The ipAddress to set. * @return This builder for chaining. */ @@ -3307,7 +3307,7 @@ public Builder setIpAddress(java.lang.String value) { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3329,7 +3329,7 @@ public Builder clearIpAddress() { * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ @@ -3357,7 +3357,7 @@ public Builder setIpAddressBytes(com.google.protobuf.ByteString value) { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The port. */ @java.lang.Deprecated @@ -3383,7 +3383,7 @@ public java.lang.String getPort() { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The bytes for port. */ @java.lang.Deprecated @@ -3409,7 +3409,7 @@ public com.google.protobuf.ByteString getPortBytes() { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @param value The port to set. * @return This builder for chaining. */ @@ -3434,7 +3434,7 @@ public Builder setPort(java.lang.String value) { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3455,7 +3455,7 @@ public Builder clearPort() { * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @param value The bytes for port to set. * @return This builder for chaining. */ @@ -3571,8 +3571,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]; @@ -3594,8 +3594,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]; @@ -3617,8 +3617,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]; @@ -3639,8 +3639,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]; @@ -3657,8 +3657,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]; @@ -4045,10 +4045,10 @@ public Builder setCidrBlockBytes(com.google.protobuf.ByteString value) { * * *
-     * Output only. The service account used to run the tensor flow services within the node.
-     * To share resources, including Google Cloud Storage data, with the
-     * Tensorflow job running in the Node, this account must have permissions to
-     * that data.
+     * Output only. The service account used to run the tensor flow services
+     * within the node. To share resources, including Google Cloud Storage data,
+     * with the Tensorflow job running in the Node, this account must have
+     * permissions to that data.
      * 
* * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4070,10 +4070,10 @@ public java.lang.String getServiceAccount() { * * *
-     * Output only. The service account used to run the tensor flow services within the node.
-     * To share resources, including Google Cloud Storage data, with the
-     * Tensorflow job running in the Node, this account must have permissions to
-     * that data.
+     * Output only. The service account used to run the tensor flow services
+     * within the node. To share resources, including Google Cloud Storage data,
+     * with the Tensorflow job running in the Node, this account must have
+     * permissions to that data.
      * 
* * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4095,10 +4095,10 @@ public com.google.protobuf.ByteString getServiceAccountBytes() { * * *
-     * Output only. The service account used to run the tensor flow services within the node.
-     * To share resources, including Google Cloud Storage data, with the
-     * Tensorflow job running in the Node, this account must have permissions to
-     * that data.
+     * Output only. The service account used to run the tensor flow services
+     * within the node. To share resources, including Google Cloud Storage data,
+     * with the Tensorflow job running in the Node, this account must have
+     * permissions to that data.
      * 
* * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4119,10 +4119,10 @@ public Builder setServiceAccount(java.lang.String value) { * * *
-     * Output only. The service account used to run the tensor flow services within the node.
-     * To share resources, including Google Cloud Storage data, with the
-     * Tensorflow job running in the Node, this account must have permissions to
-     * that data.
+     * Output only. The service account used to run the tensor flow services
+     * within the node. To share resources, including Google Cloud Storage data,
+     * with the Tensorflow job running in the Node, this account must have
+     * permissions to that data.
      * 
* * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -4139,10 +4139,10 @@ public Builder clearServiceAccount() { * * *
-     * Output only. The service account used to run the tensor flow services within the node.
-     * To share resources, including Google Cloud Storage data, with the
-     * Tensorflow job running in the Node, this account must have permissions to
-     * that data.
+     * Output only. The service account used to run the tensor flow services
+     * within the node. To share resources, including Google Cloud Storage data,
+     * with the Tensorflow job running in the Node, this account must have
+     * permissions to that data.
      * 
* * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/NodeOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/NodeOrBuilder.java index e5ecfe38e20f..ae3b78bbac00 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/NodeOrBuilder.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/NodeOrBuilder.java @@ -114,7 +114,7 @@ public interface NodeOrBuilder * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The ipAddress. */ @java.lang.Deprecated @@ -131,7 +131,7 @@ public interface NodeOrBuilder * string ip_address = 8 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.ip_address is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=275 + * google/cloud/tpu/v1/cloud_tpu.proto;l=279 * @return The bytes for ipAddress. */ @java.lang.Deprecated @@ -148,7 +148,7 @@ public interface NodeOrBuilder * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The port. */ @java.lang.Deprecated @@ -164,7 +164,7 @@ public interface NodeOrBuilder * string port = 14 [deprecated = true]; * * @deprecated google.cloud.tpu.v1.Node.port is deprecated. See - * google/cloud/tpu/v1/cloud_tpu.proto;l=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=283 * @return The bytes for port. */ @java.lang.Deprecated @@ -201,8 +201,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]; @@ -214,8 +214,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]; @@ -321,10 +321,10 @@ public interface NodeOrBuilder * * *
-   * Output only. The service account used to run the tensor flow services within the node.
-   * To share resources, including Google Cloud Storage data, with the
-   * Tensorflow job running in the Node, this account must have permissions to
-   * that data.
+   * Output only. The service account used to run the tensor flow services
+   * within the node. To share resources, including Google Cloud Storage data,
+   * with the Tensorflow job running in the Node, this account must have
+   * permissions to that data.
    * 
* * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; @@ -336,10 +336,10 @@ public interface NodeOrBuilder * * *
-   * Output only. The service account used to run the tensor flow services within the node.
-   * To share resources, including Google Cloud Storage data, with the
-   * Tensorflow job running in the Node, this account must have permissions to
-   * that data.
+   * Output only. The service account used to run the tensor flow services
+   * within the node. To share resources, including Google Cloud Storage data,
+   * with the Tensorflow job running in the Node, this account must have
+   * permissions to that data.
    * 
* * string service_account = 15 [(.google.api.field_behavior) = OUTPUT_ONLY]; diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/proto/google/cloud/tpu/v1/cloud_tpu.proto b/java-tpu/proto-google-cloud-tpu-v1/src/main/proto/google/cloud/tpu/v1/cloud_tpu.proto index c2acf92f4397..7436286628e7 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/proto/google/cloud/tpu/v1/cloud_tpu.proto +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/proto/google/cloud/tpu/v1/cloud_tpu.proto @@ -33,7 +33,8 @@ option java_package = "com.google.cloud.tpu.v1"; // TPU API v1 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) { @@ -113,7 +114,8 @@ service Tpu { } // List TensorFlow versions supported by this API. - rpc ListTensorFlowVersions(ListTensorFlowVersionsRequest) returns (ListTensorFlowVersionsResponse) { + rpc ListTensorFlowVersions(ListTensorFlowVersionsRequest) + returns (ListTensorFlowVersionsResponse) { option (google.api.http) = { get: "/v1/{parent=projects/*/locations/*}/tensorflowVersions" }; @@ -121,7 +123,8 @@ service Tpu { } // Gets TensorFlow Version. - rpc GetTensorFlowVersion(GetTensorFlowVersionRequest) returns (TensorFlowVersion) { + rpc GetTensorFlowVersion(GetTensorFlowVersionRequest) + returns (TensorFlowVersion) { option (google.api.http) = { get: "/v1/{name=projects/*/locations/*/tensorflowVersions/*}" }; @@ -129,7 +132,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: "/v1/{parent=projects/*/locations/*}/acceleratorTypes" }; @@ -282,8 +286,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 version of Tensorflow running in the Node. @@ -304,14 +308,15 @@ message Node { // block. string cidr_block = 13; - // Output only. The service account used to run the tensor flow services within the node. - // To share resources, including Google Cloud Storage data, with the - // Tensorflow job running in the Node, this account must have permissions to - // that data. + // Output only. The service account used to run the tensor flow services + // within the node. To share resources, including Google Cloud Storage data, + // with the Tensorflow job running in the Node, this account must have + // permissions to that data. string service_account = 15 [(google.api.field_behavior) = OUTPUT_ONLY]; // 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; @@ -319,7 +324,8 @@ message Node { // Output only. The network endpoints where TPU workers can be accessed and // sent work. It is recommended that Tensorflow 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; @@ -346,9 +352,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. @@ -375,9 +379,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" } ]; } @@ -386,9 +388,7 @@ message CreateNodeRequest { // 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 unqualified resource name. @@ -403,9 +403,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" } ]; } @@ -444,7 +442,8 @@ message TensorFlowVersion { string version = 2; } -// Request for [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion]. +// Request for +// [GetTensorFlowVersion][google.cloud.tpu.v1.Tpu.GetTensorFlowVersion]. message GetTensorFlowVersionRequest { // Required. The resource name. string name = 1 [ @@ -455,7 +454,8 @@ message GetTensorFlowVersionRequest { ]; } -// Request for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions]. +// Request for +// [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions]. message ListTensorFlowVersionsRequest { // Required. The parent resource name. string parent = 1 [ @@ -478,7 +478,8 @@ message ListTensorFlowVersionsRequest { string order_by = 6; } -// Response for [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions]. +// Response for +// [ListTensorFlowVersions][google.cloud.tpu.v1.Tpu.ListTensorFlowVersions]. message ListTensorFlowVersionsResponse { // The listed nodes. repeated TensorFlowVersion tensorflow_versions = 1; @@ -515,7 +516,8 @@ message GetAcceleratorTypeRequest { ]; } -// Request for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes]. +// Request for +// [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes]. message ListAcceleratorTypesRequest { // Required. The parent resource name. string parent = 1 [ @@ -538,7 +540,8 @@ message ListAcceleratorTypesRequest { string order_by = 6; } -// Response for [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes]. +// Response for +// [ListAcceleratorTypes][google.cloud.tpu.v1.Tpu.ListAcceleratorTypes]. message ListAcceleratorTypesResponse { // The listed nodes. repeated AcceleratorType accelerator_types = 1; diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityRequest.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityRequest.java index 937f894fce19..4e0849f7e210 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
+ * Request for
+ * [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
  * 
* * Protobuf type {@code google.cloud.tpu.v2.GenerateServiceIdentityRequest} @@ -287,7 +288,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
+   * Request for
+   * [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
    * 
* * Protobuf type {@code google.cloud.tpu.v2.GenerateServiceIdentityRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityResponse.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityResponse.java index 34e58f81d77f..5d8d4acad0d7 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GenerateServiceIdentityResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
+ * Response for
+ * [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
  * 
* * Protobuf type {@code google.cloud.tpu.v2.GenerateServiceIdentityResponse} @@ -285,7 +286,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
+   * Response for
+   * [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity].
    * 
* * Protobuf type {@code google.cloud.tpu.v2.GenerateServiceIdentityResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GetGuestAttributesResponse.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GetGuestAttributesResponse.java index 066e422241bd..cf90385f1698 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GetGuestAttributesResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/GetGuestAttributesResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].
+ * Response for
+ * [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].
  * 
* * Protobuf type {@code google.cloud.tpu.v2.GetGuestAttributesResponse} @@ -303,7 +304,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].
+   * Response for
+   * [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes].
    * 
* * Protobuf type {@code google.cloud.tpu.v2.GetGuestAttributesResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesRequest.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesRequest.java index fe5f8aeaa5c3..da8d771f50cb 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
+ * Request for
+ * [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
  * 
* * Protobuf type {@code google.cloud.tpu.v2.ListAcceleratorTypesRequest} @@ -495,7 +496,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
+   * Request for
+   * [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
    * 
* * Protobuf type {@code google.cloud.tpu.v2.ListAcceleratorTypesRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesResponse.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesResponse.java index 521b2626b4a8..023331c05bc6 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListAcceleratorTypesResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
+ * Response for
+ * [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
  * 
* * Protobuf type {@code google.cloud.tpu.v2.ListAcceleratorTypesResponse} @@ -444,7 +445,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
+   * Response for
+   * [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes].
    * 
* * Protobuf type {@code google.cloud.tpu.v2.ListAcceleratorTypesResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsRequest.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsRequest.java index c7bebdf18528..d953427620f4 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsRequest.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsRequest.java @@ -22,7 +22,8 @@ * * *
- * Request for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
+ * Request for
+ * [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
  * 
* * Protobuf type {@code google.cloud.tpu.v2.ListRuntimeVersionsRequest} @@ -495,7 +496,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Request for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
+   * Request for
+   * [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
    * 
* * Protobuf type {@code google.cloud.tpu.v2.ListRuntimeVersionsRequest} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsResponse.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsResponse.java index 0faea51ecfc5..e029a461ee44 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsResponse.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/ListRuntimeVersionsResponse.java @@ -22,7 +22,8 @@ * * *
- * Response for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
+ * Response for
+ * [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
  * 
* * Protobuf type {@code google.cloud.tpu.v2.ListRuntimeVersionsResponse} @@ -444,7 +445,8 @@ protected Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.Build * * *
-   * Response for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
+   * Response for
+   * [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions].
    * 
* * Protobuf type {@code google.cloud.tpu.v2.ListRuntimeVersionsResponse} diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/Node.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/Node.java index c2de6ce2d4e8..8a67917e7fb6 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/Node.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/Node.java @@ -1123,8 +1123,8 @@ public com.google.cloud.tpu.v2.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]; @@ -1147,8 +1147,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]; @@ -3627,8 +3627,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]; @@ -3650,8 +3650,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]; @@ -3673,8 +3673,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]; @@ -3695,8 +3695,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]; @@ -3713,8 +3713,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]; diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/NodeOrBuilder.java b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/NodeOrBuilder.java index 58c68a16358e..0389c8765a37 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/NodeOrBuilder.java +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/NodeOrBuilder.java @@ -133,8 +133,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]; @@ -146,8 +146,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]; diff --git a/java-tpu/proto-google-cloud-tpu-v2/src/main/proto/google/cloud/tpu/v2/cloud_tpu.proto b/java-tpu/proto-google-cloud-tpu-v2/src/main/proto/google/cloud/tpu/v2/cloud_tpu.proto index b99a2013c2d2..6f06133af6a2 100644 --- a/java-tpu/proto-google-cloud-tpu-v2/src/main/proto/google/cloud/tpu/v2/cloud_tpu.proto +++ b/java-tpu/proto-google-cloud-tpu-v2/src/main/proto/google/cloud/tpu/v2/cloud_tpu.proto @@ -34,7 +34,8 @@ option java_package = "com.google.cloud.tpu.v2"; // TPU API v2 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) { @@ -115,7 +116,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: "/v2/{parent=projects/*/locations/*}:generateServiceIdentity" body: "*" @@ -123,7 +125,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: "/v2/{parent=projects/*/locations/*}/acceleratorTypes" }; @@ -139,7 +142,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: "/v2/{parent=projects/*/locations/*}/runtimeVersions" }; @@ -155,7 +159,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: "/v2/{name=projects/*/locations/*/nodes/*}:getGuestAttributes" body: "*" @@ -389,8 +394,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. @@ -414,7 +419,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; @@ -422,7 +428,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; @@ -459,9 +466,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. @@ -488,9 +493,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" } ]; } @@ -516,9 +519,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" } ]; } @@ -527,9 +528,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" } ]; } @@ -538,9 +537,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" } ]; } @@ -549,7 +546,8 @@ 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]; @@ -561,7 +559,8 @@ message ServiceIdentity { string email = 1; } -// Request for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity]. +// Request for +// [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity]. message GenerateServiceIdentityRequest { // Required. The parent resource name. string parent = 1 [ @@ -572,7 +571,8 @@ message GenerateServiceIdentityRequest { ]; } -// Response for [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity]. +// Response for +// [GenerateServiceIdentity][google.cloud.tpu.v2.Tpu.GenerateServiceIdentity]. message GenerateServiceIdentityResponse { // ServiceIdentity that was created or retrieved. ServiceIdentity identity = 1; @@ -603,7 +603,8 @@ message GetAcceleratorTypeRequest { ]; } -// Request for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes]. +// Request for +// [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes]. message ListAcceleratorTypesRequest { // Required. The parent resource name. string parent = 1 [ @@ -626,7 +627,8 @@ message ListAcceleratorTypesRequest { string order_by = 6; } -// Response for [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes]. +// Response for +// [ListAcceleratorTypes][google.cloud.tpu.v2.Tpu.ListAcceleratorTypes]. message ListAcceleratorTypesResponse { // The listed nodes. repeated AcceleratorType accelerator_types = 1; @@ -663,7 +665,8 @@ message GetRuntimeVersionRequest { ]; } -// Request for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions]. +// Request for +// [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions]. message ListRuntimeVersionsRequest { // Required. The parent resource name. string parent = 1 [ @@ -686,7 +689,8 @@ message ListRuntimeVersionsRequest { string order_by = 6; } -// Response for [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions]. +// Response for +// [ListRuntimeVersions][google.cloud.tpu.v2.Tpu.ListRuntimeVersions]. message ListRuntimeVersionsResponse { // The listed nodes. repeated RuntimeVersion runtime_versions = 1; @@ -769,9 +773,7 @@ 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. @@ -782,7 +784,8 @@ message GetGuestAttributesRequest { repeated string worker_ids = 3; } -// Response for [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes]. +// Response for +// [GetGuestAttributes][google.cloud.tpu.v2.Tpu.GetGuestAttributes]. message GetGuestAttributesResponse { // The guest attributes for the TPU workers. repeated GuestAttributes guest_attributes = 1; 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 3fc27fcfa92a..ef0f7afdf513 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 @@ -133,7 +133,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.
    * 
* @@ -157,7 +157,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.
    * 
* @@ -830,7 +830,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.
      * 
* @@ -853,7 +853,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.
      * 
* @@ -876,7 +876,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.
      * 
* @@ -898,7 +898,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.
      * 
* @@ -916,7 +916,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 00332158714b..14bc6d7bcb85 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/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 dc179c8183cf..7f618ebdc647 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 @@ -880,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;