diff --git a/java-cloudbuild/README.md b/java-cloudbuild/README.md index b6818bcf8fcb..e1bf318e8385 100644 --- a/java-cloudbuild/README.md +++ b/java-cloudbuild/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-build - 3.57.0 + 3.58.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-build:3.57.0' +implementation 'com.google.cloud:google-cloud-build:3.58.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.57.0" +libraryDependencies += "com.google.cloud" % "google-cloud-build" % "3.58.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-build.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.57.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-build/3.58.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java index 5e80bbf91175..875663f6eb73 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptions.java @@ -2624,6 +2624,26 @@ public int getDefaultLogsBucketBehaviorValue() { : result; } + public static final int ENABLE_STRUCTURED_LOGGING_FIELD_NUMBER = 23; + private boolean enableStructuredLogging_ = false; + /** + * + * + *
+   * Optional. Option to specify whether structured logging is enabled.
+   *
+   * If true, JSON-formatted logs are parsed as structured logs.
+   * 
+ * + * bool enable_structured_logging = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableStructuredLogging. + */ + @java.lang.Override + public boolean getEnableStructuredLogging() { + return enableStructuredLogging_; + } + private byte memoizedIsInitialized = -1; @java.lang.Override @@ -2695,6 +2715,9 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io if (automapSubstitutions_ != false) { output.writeBool(22, automapSubstitutions_); } + if (enableStructuredLogging_ != false) { + output.writeBool(23, enableStructuredLogging_); + } getUnknownFields().writeTo(output); } @@ -2777,6 +2800,9 @@ public int getSerializedSize() { if (automapSubstitutions_ != false) { size += com.google.protobuf.CodedOutputStream.computeBoolSize(22, automapSubstitutions_); } + if (enableStructuredLogging_ != false) { + size += com.google.protobuf.CodedOutputStream.computeBoolSize(23, enableStructuredLogging_); + } size += getUnknownFields().getSerializedSize(); memoizedSize = size; return size; @@ -2810,6 +2836,7 @@ public boolean equals(final java.lang.Object obj) { if (!getSecretEnvList().equals(other.getSecretEnvList())) return false; if (!getVolumesList().equals(other.getVolumesList())) return false; if (defaultLogsBucketBehavior_ != other.defaultLogsBucketBehavior_) return false; + if (getEnableStructuredLogging() != other.getEnableStructuredLogging()) return false; if (!getUnknownFields().equals(other.getUnknownFields())) return false; return true; } @@ -2861,6 +2888,8 @@ public int hashCode() { } hash = (37 * hash) + DEFAULT_LOGS_BUCKET_BEHAVIOR_FIELD_NUMBER; hash = (53 * hash) + defaultLogsBucketBehavior_; + hash = (37 * hash) + ENABLE_STRUCTURED_LOGGING_FIELD_NUMBER; + hash = (53 * hash) + com.google.protobuf.Internal.hashBoolean(getEnableStructuredLogging()); hash = (29 * hash) + getUnknownFields().hashCode(); memoizedHashCode = hash; return hash; @@ -3035,6 +3064,7 @@ public Builder clear() { } bitField0_ = (bitField0_ & ~0x00002000); defaultLogsBucketBehavior_ = 0; + enableStructuredLogging_ = false; return this; } @@ -3132,6 +3162,9 @@ private void buildPartial0(com.google.cloudbuild.v1.BuildOptions result) { if (((from_bitField0_ & 0x00004000) != 0)) { result.defaultLogsBucketBehavior_ = defaultLogsBucketBehavior_; } + if (((from_bitField0_ & 0x00008000) != 0)) { + result.enableStructuredLogging_ = enableStructuredLogging_; + } result.bitField0_ |= to_bitField0_; } @@ -3272,6 +3305,9 @@ public Builder mergeFrom(com.google.cloudbuild.v1.BuildOptions other) { if (other.defaultLogsBucketBehavior_ != 0) { setDefaultLogsBucketBehaviorValue(other.getDefaultLogsBucketBehaviorValue()); } + if (other.getEnableStructuredLogging() != false) { + setEnableStructuredLogging(other.getEnableStructuredLogging()); + } this.mergeUnknownFields(other.getUnknownFields()); onChanged(); return this; @@ -3409,6 +3445,12 @@ public Builder mergeFrom( bitField0_ |= 0x00000040; break; } // case 176 + case 184: + { + enableStructuredLogging_ = input.readBool(); + bitField0_ |= 0x00008000; + break; + } // case 184 default: { if (!super.parseUnknownField(input, extensionRegistry, tag)) { @@ -5741,6 +5783,65 @@ public Builder clearDefaultLogsBucketBehavior() { return this; } + private boolean enableStructuredLogging_; + /** + * + * + *
+     * Optional. Option to specify whether structured logging is enabled.
+     *
+     * If true, JSON-formatted logs are parsed as structured logs.
+     * 
+ * + * bool enable_structured_logging = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableStructuredLogging. + */ + @java.lang.Override + public boolean getEnableStructuredLogging() { + return enableStructuredLogging_; + } + /** + * + * + *
+     * Optional. Option to specify whether structured logging is enabled.
+     *
+     * If true, JSON-formatted logs are parsed as structured logs.
+     * 
+ * + * bool enable_structured_logging = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * @param value The enableStructuredLogging to set. + * @return This builder for chaining. + */ + public Builder setEnableStructuredLogging(boolean value) { + + enableStructuredLogging_ = value; + bitField0_ |= 0x00008000; + onChanged(); + return this; + } + /** + * + * + *
+     * Optional. Option to specify whether structured logging is enabled.
+     *
+     * If true, JSON-formatted logs are parsed as structured logs.
+     * 
+ * + * bool enable_structured_logging = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return This builder for chaining. + */ + public Builder clearEnableStructuredLogging() { + bitField0_ = (bitField0_ & ~0x00008000); + enableStructuredLogging_ = false; + onChanged(); + return this; + } + @java.lang.Override public final Builder setUnknownFields(final com.google.protobuf.UnknownFieldSet unknownFields) { return super.setUnknownFields(unknownFields); diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptionsOrBuilder.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptionsOrBuilder.java index d66ff18ac95c..675fe8fba56a 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptionsOrBuilder.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/BuildOptionsOrBuilder.java @@ -616,4 +616,19 @@ public interface BuildOptionsOrBuilder * @return The defaultLogsBucketBehavior. */ com.google.cloudbuild.v1.BuildOptions.DefaultLogsBucketBehavior getDefaultLogsBucketBehavior(); + + /** + * + * + *
+   * Optional. Option to specify whether structured logging is enabled.
+   *
+   * If true, JSON-formatted logs are parsed as structured logs.
+   * 
+ * + * bool enable_structured_logging = 23 [(.google.api.field_behavior) = OPTIONAL]; + * + * @return The enableStructuredLogging. + */ + boolean getEnableStructuredLogging(); } diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java index 7737c1acc501..d0c5f685ba5f 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/java/com/google/cloudbuild/v1/Cloudbuild.java @@ -742,7 +742,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "\027\n\ntrigger_id\030\002 \001(\tB\003\340A\002\022A\n\007trigger\030\003 \001(" + "\0132+.google.devtools.cloudbuild.v1.BuildT" + "riggerB\003\340A\002\022/\n\013update_mask\030\005 \001(\0132\032.googl" - + "e.protobuf.FieldMask\"\372\013\n\014BuildOptions\022L\n" + + "e.protobuf.FieldMask\"\242\014\n\014BuildOptions\022L\n" + "\026source_provenance_hash\030\001 \003(\0162,.google.d" + "evtools.cloudbuild.v1.Hash.HashType\022Y\n\027r" + "equested_verify_option\030\002 \001(\01628.google.de" @@ -765,7 +765,8 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "loudbuild.v1.Volume\022p\n\034default_logs_buck" + "et_behavior\030\025 \001(\0162E.google.devtools.clou" + "dbuild.v1.BuildOptions.DefaultLogsBucket" - + "BehaviorB\003\340A\001\032E\n\nPoolOption\0227\n\004name\030\001 \001(" + + "BehaviorB\003\340A\001\022&\n\031enable_structured_loggi" + + "ng\030\027 \001(\010B\003\340A\001\032E\n\nPoolOption\0227\n\004name\030\001 \001(" + "\tB)\372A&\n$cloudbuild.googleapis.com/Worker" + "Pool\".\n\014VerifyOption\022\020\n\014NOT_VERIFIED\020\000\022\014" + "\n\010VERIFIED\020\001\"w\n\013MachineType\022\017\n\013UNSPECIFI" @@ -779,9 +780,9 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_ONLY\020\002\022\030\n\020STACKDRIVER_ONLY\020\003\032\002\010\001\022\026\n\022CLO" + "UD_LOGGING_ONLY\020\005\022\010\n\004NONE\020\004\"|\n\031DefaultLo" + "gsBucketBehavior\022,\n(DEFAULT_LOGS_BUCKET_" - + "BEHAVIOR_UNSPECIFIED\020\000\022\036\n\032REGIONAL_USER_" - + "OWNED_BUCKET\020\001\022\021\n\rLEGACY_BUCKET\020\002\"\205\001\n\034Re", - "ceiveTriggerWebhookRequest\022\014\n\004name\030\005 \001(\t" + + "BEHAVIOR_UNSPECIFIED\020\000\022\036\n\032REGIONAL_USER_", + "OWNED_BUCKET\020\001\022\021\n\rLEGACY_BUCKET\020\002\"\205\001\n\034Re" + + "ceiveTriggerWebhookRequest\022\014\n\004name\030\005 \001(\t" + "\022\"\n\004body\030\001 \001(\0132\024.google.api.HttpBody\022\022\n\n" + "project_id\030\002 \001(\t\022\017\n\007trigger\030\003 \001(\t\022\016\n\006sec" + "ret\030\004 \001(\t\"\037\n\035ReceiveTriggerWebhookRespon" @@ -1723,6 +1724,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { "SecretEnv", "Volumes", "DefaultLogsBucketBehavior", + "EnableStructuredLogging", }); internal_static_google_devtools_cloudbuild_v1_BuildOptions_PoolOption_descriptor = internal_static_google_devtools_cloudbuild_v1_BuildOptions_descriptor diff --git a/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto b/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto index 7c69fa7a8be2..efe98627bbe4 100644 --- a/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto +++ b/java-cloudbuild/proto-google-cloud-build-v1/src/main/proto/google/devtools/cloudbuild/v1/cloudbuild.proto @@ -2388,6 +2388,11 @@ message BuildOptions { // Optional. Option to specify how default logs buckets are setup. DefaultLogsBucketBehavior default_logs_bucket_behavior = 21 [(google.api.field_behavior) = OPTIONAL]; + + // Optional. Option to specify whether structured logging is enabled. + // + // If true, JSON-formatted logs are parsed as structured logs. + bool enable_structured_logging = 23 [(google.api.field_behavior) = OPTIONAL]; } // ReceiveTriggerWebhookRequest [Experimental] is the request object accepted by diff --git a/java-tpu/README.md b/java-tpu/README.md index a0bfb9f12799..270c3f71ea57 100644 --- a/java-tpu/README.md +++ b/java-tpu/README.md @@ -42,20 +42,20 @@ If you are using Maven without the BOM, add this to your dependencies: com.google.cloud google-cloud-tpu - 2.56.0 + 2.57.0 ``` If you are using Gradle without BOM, add this to your dependencies: ```Groovy -implementation 'com.google.cloud:google-cloud-tpu:2.56.0' +implementation 'com.google.cloud:google-cloud-tpu:2.57.0' ``` If you are using SBT, add this to your dependencies: ```Scala -libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.56.0" +libraryDependencies += "com.google.cloud" % "google-cloud-tpu" % "2.57.0" ``` ## Authentication @@ -194,7 +194,7 @@ Java is a registered trademark of Oracle and/or its affiliates. [kokoro-badge-link-5]: http://storage.googleapis.com/cloud-devrel-public/java/badges/google-cloud-java/java11.html [stability-image]: https://img.shields.io/badge/stability-stable-green [maven-version-image]: https://img.shields.io/maven-central/v/com.google.cloud/google-cloud-tpu.svg -[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.56.0 +[maven-version-link]: https://central.sonatype.com/artifact/com.google.cloud/google-cloud-tpu/2.57.0 [authentication]: https://github.com/googleapis/google-cloud-java#authentication [auth-scopes]: https://developers.google.com/identity/protocols/oauth2/scopes [predefined-iam-roles]: https://cloud.google.com/iam/docs/understanding-roles#predefined_roles diff --git a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java index 649e62dc0e0f..48e9c8407159 100644 --- a/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java +++ b/java-tpu/proto-google-cloud-tpu-v1/src/main/java/com/google/cloud/tpu/v1/CloudTpuProto.java @@ -133,7 +133,7 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "ions.proto\032\037google/protobuf/timestamp.pr" + "oto\"9\n\020SchedulingConfig\022\023\n\013preemptible\030\001" + " \001(\010\022\020\n\010reserved\030\002 \001(\010\"3\n\017NetworkEndpoin" - + "t\022\022\n\nip_address\030\001 \001(\t\022\014\n\004port\030\002 \001(\005\"\264\n\n\004" + + "t\022\022\n\nip_address\030\001 \001(\t\022\014\n\004port\030\002 \001(\005\"\301\n\n\004" + "Node\022\024\n\004name\030\001 \001(\tB\006\340A\005\340A\003\022\023\n\013descriptio" + "n\030\003 \001(\t\022\035\n\020accelerator_type\030\005 \001(\tB\003\340A\002\022\026" + "\n\nip_address\030\010 \001(\tB\002\030\001\022\020\n\004port\030\016 \001(\tB\002\030\001" @@ -153,131 +153,132 @@ public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { + "_version\030& \001(\0162$.google.cloud.tpu.v1.Nod" + "e.ApiVersionB\003\340A\003\0223\n\010symptoms\030\' \003(\0132\034.go" + "ogle.cloud.tpu.v1.SymptomB\003\340A\003\032-\n\013Labels" - + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\341\001" + + "Entry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030\002 \001(\t:\0028\001\"\356\001" + "\n\005State\022\025\n\021STATE_UNSPECIFIED\020\000\022\014\n\010CREATI" + "NG\020\001\022\t\n\005READY\020\002\022\016\n\nRESTARTING\020\003\022\r\n\tREIMA" + "GING\020\004\022\014\n\010DELETING\020\005\022\r\n\tREPAIRING\020\006\022\013\n\007S" + "TOPPED\020\010\022\014\n\010STOPPING\020\t\022\014\n\010STARTING\020\n\022\r\n\t" + "PREEMPTED\020\013\022\016\n\nTERMINATED\020\014\022\n\n\006HIDING\020\r\022" - + "\n\n\006HIDDEN\020\016\022\014\n\010UNHIDING\020\017\"\211\001\n\006Health\022\026\n\022" - + "HEALTH_UNSPECIFIED\020\000\022\013\n\007HEALTHY\020\001\022\030\n\024DEP" - + "RECATED_UNHEALTHY\020\002\022\013\n\007TIMEOUT\020\003\022\030\n\024UNHE" - + "ALTHY_TENSORFLOW\020\004\022\031\n\025UNHEALTHY_MAINTENA" - + "NCE\020\005\"O\n\nApiVersion\022\033\n\027API_VERSION_UNSPE" - + "CIFIED\020\000\022\r\n\tV1_ALPHA1\020\001\022\006\n\002V1\020\002\022\r\n\tV2_AL" - + "PHA1\020\003:R\352AO\n\027tpu.googleapis.com/Node\0224pr" - + "ojects/{project}/locations/{location}/no" - + "des/{node}\"j\n\020ListNodesRequest\022/\n\006parent" - + "\030\001 \001(\tB\037\340A\002\372A\031\022\027tpu.googleapis.com/Node\022" - + "\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\"k" - + "\n\021ListNodesResponse\022(\n\005nodes\030\001 \003(\0132\031.goo" - + "gle.cloud.tpu.v1.Node\022\027\n\017next_page_token" - + "\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"?\n\016GetNodeRe" - + "quest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027tpu.googlea" - + "pis.com/Node\"\203\001\n\021CreateNodeRequest\022/\n\006pa" - + "rent\030\001 \001(\tB\037\340A\002\372A\031\022\027tpu.googleapis.com/N" - + "ode\022\017\n\007node_id\030\002 \001(\t\022,\n\004node\030\003 \001(\0132\031.goo" - + "gle.cloud.tpu.v1.NodeB\003\340A\002\"B\n\021DeleteNode" - + "Request\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031\n\027tpu.googl" - + "eapis.com/Node\">\n\022ReimageNodeRequest\022\014\n\004" - + "name\030\001 \001(\t\022\032\n\022tensorflow_version\030\002 \001(\t\"\037" - + "\n\017StopNodeRequest\022\014\n\004name\030\001 \001(\t\" \n\020Start" - + "NodeRequest\022\014\n\004name\030\001 \001(\t\"\257\001\n\021TensorFlow" - + "Version\022\014\n\004name\030\001 \001(\t\022\017\n\007version\030\002 \001(\t:{" - + "\352Ax\n$tpu.googleapis.com/TensorFlowVersio" - + "n\022Pprojects/{project}/locations/{locatio" - + "n}/tensorFlowVersions/{tensor_flow_versi" - + "on}\"Y\n\033GetTensorFlowVersionRequest\022:\n\004na" - + "me\030\001 \001(\tB,\340A\002\372A&\n$tpu.googleapis.com/Ten" - + "sorFlowVersion\"\246\001\n\035ListTensorFlowVersion" - + "sRequest\022<\n\006parent\030\001 \001(\tB,\340A\002\372A&\n$tpu.go" - + "ogleapis.com/TensorFlowVersion\022\021\n\tpage_s" - + "ize\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n\006filter\030" - + "\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\"\223\001\n\036ListTensorFl" - + "owVersionsResponse\022C\n\023tensorflow_version" - + "s\030\001 \003(\0132&.google.cloud.tpu.v1.TensorFlow" - + "Version\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013unre" - + "achable\030\003 \003(\t\"\243\001\n\017AcceleratorType\022\014\n\004nam" - + "e\030\001 \001(\t\022\014\n\004type\030\002 \001(\t:t\352Aq\n\"tpu.googleap" - + "is.com/AcceleratorType\022Kprojects/{projec" - + "t}/locations/{location}/acceleratorTypes" - + "/{accelerator_type}\"U\n\031GetAcceleratorTyp" - + "eRequest\0228\n\004name\030\001 \001(\tB*\340A\002\372A$\n\"tpu.goog" - + "leapis.com/AcceleratorType\"\242\001\n\033ListAccel" - + "eratorTypesRequest\022:\n\006parent\030\001 \001(\tB*\340A\002\372" - + "A$\n\"tpu.googleapis.com/AcceleratorType\022\021" - + "\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001(\t\022\016\n" - + "\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\"\215\001\n\034List" - + "AcceleratorTypesResponse\022?\n\021accelerator_" - + "types\030\001 \003(\0132$.google.cloud.tpu.v1.Accele" - + "ratorType\022\027\n\017next_page_token\030\002 \001(\t\022\023\n\013un" - + "reachable\030\003 \003(\t\"\326\001\n\021OperationMetadata\022/\n" - + "\013create_time\030\001 \001(\0132\032.google.protobuf.Tim" - + "estamp\022,\n\010end_time\030\002 \001(\0132\032.google.protob" - + "uf.Timestamp\022\016\n\006target\030\003 \001(\t\022\014\n\004verb\030\004 \001" - + "(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\030\n\020cancel_requ" - + "ested\030\006 \001(\010\022\023\n\013api_version\030\007 \001(\t\"\305\002\n\007Sym" - + "ptom\022/\n\013create_time\030\001 \001(\0132\032.google.proto" - + "buf.Timestamp\022>\n\014symptom_type\030\002 \001(\0162(.go" - + "ogle.cloud.tpu.v1.Symptom.SymptomType\022\017\n" - + "\007details\030\003 \001(\t\022\021\n\tworker_id\030\004 \001(\t\"\244\001\n\013Sy" - + "mptomType\022\034\n\030SYMPTOM_TYPE_UNSPECIFIED\020\000\022" - + "\016\n\nLOW_MEMORY\020\001\022\021\n\rOUT_OF_MEMORY\020\002\022\025\n\021EX" - + "ECUTE_TIMED_OUT\020\003\022\023\n\017MESH_BUILD_FAIL\020\004\022\025" - + "\n\021HBM_OUT_OF_MEMORY\020\005\022\021\n\rPROJECT_ABUSE\020\006" - + "2\336\017\n\003Tpu\022\226\001\n\tListNodes\022%.google.cloud.tp" - + "u.v1.ListNodesRequest\032&.google.cloud.tpu" - + ".v1.ListNodesResponse\":\332A\006parent\202\323\344\223\002+\022)" - + "/v1/{parent=projects/*/locations/*}/node" - + "s\022\203\001\n\007GetNode\022#.google.cloud.tpu.v1.GetN" - + "odeRequest\032\031.google.cloud.tpu.v1.Node\"8\332" - + "A\004name\202\323\344\223\002+\022)/v1/{name=projects/*/locat" - + "ions/*/nodes/*}\022\276\001\n\nCreateNode\022&.google." - + "cloud.tpu.v1.CreateNodeRequest\032\035.google." - + "longrunning.Operation\"i\312A\031\n\004Node\022\021Operat" - + "ionMetadata\332A\023parent,node,node_id\202\323\344\223\0021\"" - + ")/v1/{parent=projects/*/locations/*}/nod" - + "es:\004node\022\251\001\n\nDeleteNode\022&.google.cloud.t" - + "pu.v1.DeleteNodeRequest\032\035.google.longrun" - + "ning.Operation\"T\312A\031\n\004Node\022\021OperationMeta" - + "data\332A\004name\202\323\344\223\002+*)/v1/{name=projects/*/" - + "locations/*/nodes/*}\022\257\001\n\013ReimageNode\022\'.g" - + "oogle.cloud.tpu.v1.ReimageNodeRequest\032\035." - + "google.longrunning.Operation\"X\312A\031\n\004Node\022" - + "\021OperationMetadata\202\323\344\223\0026\"1/v1/{name=proj" - + "ects/*/locations/*/nodes/*}:reimage:\001*\022\246" - + "\001\n\010StopNode\022$.google.cloud.tpu.v1.StopNo" - + "deRequest\032\035.google.longrunning.Operation" - + "\"U\312A\031\n\004Node\022\021OperationMetadata\202\323\344\223\0023\"./v" - + "1/{name=projects/*/locations/*/nodes/*}:" - + "stop:\001*\022\251\001\n\tStartNode\022%.google.cloud.tpu" - + ".v1.StartNodeRequest\032\035.google.longrunnin" - + "g.Operation\"V\312A\031\n\004Node\022\021OperationMetadat" - + "a\202\323\344\223\0024\"//v1/{name=projects/*/locations/" - + "*/nodes/*}:start:\001*\022\312\001\n\026ListTensorFlowVe" - + "rsions\0222.google.cloud.tpu.v1.ListTensorF" - + "lowVersionsRequest\0323.google.cloud.tpu.v1" - + ".ListTensorFlowVersionsResponse\"G\332A\006pare" - + "nt\202\323\344\223\0028\0226/v1/{parent=projects/*/locatio" - + "ns/*}/tensorflowVersions\022\267\001\n\024GetTensorFl" - + "owVersion\0220.google.cloud.tpu.v1.GetTenso" - + "rFlowVersionRequest\032&.google.cloud.tpu.v" - + "1.TensorFlowVersion\"E\332A\004name\202\323\344\223\0028\0226/v1/" - + "{name=projects/*/locations/*/tensorflowV" - + "ersions/*}\022\302\001\n\024ListAcceleratorTypes\0220.go" - + "ogle.cloud.tpu.v1.ListAcceleratorTypesRe" - + "quest\0321.google.cloud.tpu.v1.ListAccelera" - + "torTypesResponse\"E\332A\006parent\202\323\344\223\0026\0224/v1/{" - + "parent=projects/*/locations/*}/accelerat" - + "orTypes\022\257\001\n\022GetAcceleratorType\022..google." - + "cloud.tpu.v1.GetAcceleratorTypeRequest\032$" - + ".google.cloud.tpu.v1.AcceleratorType\"C\332A" - + "\004name\202\323\344\223\0026\0224/v1/{name=projects/*/locati" - + "ons/*/acceleratorTypes/*}\032F\312A\022tpu.google" - + "apis.com\322A.https://www.googleapis.com/au" - + "th/cloud-platformBU\n\027com.google.cloud.tp" - + "u.v1B\rCloudTpuProtoP\001Z)cloud.google.com/" - + "go/tpu/apiv1/tpupb;tpupbb\006proto3" + + "\n\n\006HIDDEN\020\016\022\014\n\010UNHIDING\020\017\022\013\n\007UNKNOWN\020\020\"\211" + + "\001\n\006Health\022\026\n\022HEALTH_UNSPECIFIED\020\000\022\013\n\007HEA" + + "LTHY\020\001\022\030\n\024DEPRECATED_UNHEALTHY\020\002\022\013\n\007TIME" + + "OUT\020\003\022\030\n\024UNHEALTHY_TENSORFLOW\020\004\022\031\n\025UNHEA" + + "LTHY_MAINTENANCE\020\005\"O\n\nApiVersion\022\033\n\027API_" + + "VERSION_UNSPECIFIED\020\000\022\r\n\tV1_ALPHA1\020\001\022\006\n\002" + + "V1\020\002\022\r\n\tV2_ALPHA1\020\003:R\352AO\n\027tpu.googleapis" + + ".com/Node\0224projects/{project}/locations/" + + "{location}/nodes/{node}\"j\n\020ListNodesRequ" + + "est\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027tpu.googlea" + + "pis.com/Node\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_" + + "token\030\003 \001(\t\"k\n\021ListNodesResponse\022(\n\005node" + + "s\030\001 \003(\0132\031.google.cloud.tpu.v1.Node\022\027\n\017ne" + + "xt_page_token\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t" + + "\"?\n\016GetNodeRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372A\031" + + "\n\027tpu.googleapis.com/Node\"\203\001\n\021CreateNode" + + "Request\022/\n\006parent\030\001 \001(\tB\037\340A\002\372A\031\022\027tpu.goo" + + "gleapis.com/Node\022\017\n\007node_id\030\002 \001(\t\022,\n\004nod" + + "e\030\003 \001(\0132\031.google.cloud.tpu.v1.NodeB\003\340A\002\"" + + "B\n\021DeleteNodeRequest\022-\n\004name\030\001 \001(\tB\037\340A\002\372" + + "A\031\n\027tpu.googleapis.com/Node\">\n\022ReimageNo" + + "deRequest\022\014\n\004name\030\001 \001(\t\022\032\n\022tensorflow_ve" + + "rsion\030\002 \001(\t\"\037\n\017StopNodeRequest\022\014\n\004name\030\001" + + " \001(\t\" \n\020StartNodeRequest\022\014\n\004name\030\001 \001(\t\"\257" + + "\001\n\021TensorFlowVersion\022\014\n\004name\030\001 \001(\t\022\017\n\007ve" + + "rsion\030\002 \001(\t:{\352Ax\n$tpu.googleapis.com/Ten" + + "sorFlowVersion\022Pprojects/{project}/locat" + + "ions/{location}/tensorFlowVersions/{tens" + + "or_flow_version}\"Y\n\033GetTensorFlowVersion" + + "Request\022:\n\004name\030\001 \001(\tB,\340A\002\372A&\n$tpu.googl" + + "eapis.com/TensorFlowVersion\"\246\001\n\035ListTens" + + "orFlowVersionsRequest\022<\n\006parent\030\001 \001(\tB,\340" + + "A\002\372A&\n$tpu.googleapis.com/TensorFlowVers" + + "ion\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_token\030\003 \001" + + "(\t\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030\006 \001(\t\"\223\001\n" + + "\036ListTensorFlowVersionsResponse\022C\n\023tenso" + + "rflow_versions\030\001 \003(\0132&.google.cloud.tpu." + + "v1.TensorFlowVersion\022\027\n\017next_page_token\030" + + "\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"\243\001\n\017Accelerat" + + "orType\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\002 \001(\t:t\352Aq\n" + + "\"tpu.googleapis.com/AcceleratorType\022Kpro" + + "jects/{project}/locations/{location}/acc" + + "eleratorTypes/{accelerator_type}\"U\n\031GetA" + + "cceleratorTypeRequest\0228\n\004name\030\001 \001(\tB*\340A\002" + + "\372A$\n\"tpu.googleapis.com/AcceleratorType\"" + + "\242\001\n\033ListAcceleratorTypesRequest\022:\n\006paren" + + "t\030\001 \001(\tB*\340A\002\372A$\n\"tpu.googleapis.com/Acce" + + "leratorType\022\021\n\tpage_size\030\002 \001(\005\022\022\n\npage_t" + + "oken\030\003 \001(\t\022\016\n\006filter\030\005 \001(\t\022\020\n\010order_by\030\006" + + " \001(\t\"\215\001\n\034ListAcceleratorTypesResponse\022?\n" + + "\021accelerator_types\030\001 \003(\0132$.google.cloud." + + "tpu.v1.AcceleratorType\022\027\n\017next_page_toke" + + "n\030\002 \001(\t\022\023\n\013unreachable\030\003 \003(\t\"\326\001\n\021Operati" + + "onMetadata\022/\n\013create_time\030\001 \001(\0132\032.google" + + ".protobuf.Timestamp\022,\n\010end_time\030\002 \001(\0132\032." + + "google.protobuf.Timestamp\022\016\n\006target\030\003 \001(" + + "\t\022\014\n\004verb\030\004 \001(\t\022\025\n\rstatus_detail\030\005 \001(\t\022\030" + + "\n\020cancel_requested\030\006 \001(\010\022\023\n\013api_version\030" + + "\007 \001(\t\"\305\002\n\007Symptom\022/\n\013create_time\030\001 \001(\0132\032" + + ".google.protobuf.Timestamp\022>\n\014symptom_ty" + + "pe\030\002 \001(\0162(.google.cloud.tpu.v1.Symptom.S" + + "ymptomType\022\017\n\007details\030\003 \001(\t\022\021\n\tworker_id" + + "\030\004 \001(\t\"\244\001\n\013SymptomType\022\034\n\030SYMPTOM_TYPE_U" + + "NSPECIFIED\020\000\022\016\n\nLOW_MEMORY\020\001\022\021\n\rOUT_OF_M" + + "EMORY\020\002\022\025\n\021EXECUTE_TIMED_OUT\020\003\022\023\n\017MESH_B" + + "UILD_FAIL\020\004\022\025\n\021HBM_OUT_OF_MEMORY\020\005\022\021\n\rPR" + + "OJECT_ABUSE\020\0062\336\017\n\003Tpu\022\226\001\n\tListNodes\022%.go" + + "ogle.cloud.tpu.v1.ListNodesRequest\032&.goo" + + "gle.cloud.tpu.v1.ListNodesResponse\":\332A\006p" + + "arent\202\323\344\223\002+\022)/v1/{parent=projects/*/loca" + + "tions/*}/nodes\022\203\001\n\007GetNode\022#.google.clou" + + "d.tpu.v1.GetNodeRequest\032\031.google.cloud.t" + + "pu.v1.Node\"8\332A\004name\202\323\344\223\002+\022)/v1/{name=pro" + + "jects/*/locations/*/nodes/*}\022\276\001\n\nCreateN" + + "ode\022&.google.cloud.tpu.v1.CreateNodeRequ" + + "est\032\035.google.longrunning.Operation\"i\312A\031\n" + + "\004Node\022\021OperationMetadata\332A\023parent,node,n" + + "ode_id\202\323\344\223\0021\")/v1/{parent=projects/*/loc" + + "ations/*}/nodes:\004node\022\251\001\n\nDeleteNode\022&.g" + + "oogle.cloud.tpu.v1.DeleteNodeRequest\032\035.g" + + "oogle.longrunning.Operation\"T\312A\031\n\004Node\022\021" + + "OperationMetadata\332A\004name\202\323\344\223\002+*)/v1/{nam" + + "e=projects/*/locations/*/nodes/*}\022\257\001\n\013Re" + + "imageNode\022\'.google.cloud.tpu.v1.ReimageN" + + "odeRequest\032\035.google.longrunning.Operatio" + + "n\"X\312A\031\n\004Node\022\021OperationMetadata\202\323\344\223\0026\"1/" + + "v1/{name=projects/*/locations/*/nodes/*}" + + ":reimage:\001*\022\246\001\n\010StopNode\022$.google.cloud." + + "tpu.v1.StopNodeRequest\032\035.google.longrunn" + + "ing.Operation\"U\312A\031\n\004Node\022\021OperationMetad" + + "ata\202\323\344\223\0023\"./v1/{name=projects/*/location" + + "s/*/nodes/*}:stop:\001*\022\251\001\n\tStartNode\022%.goo" + + "gle.cloud.tpu.v1.StartNodeRequest\032\035.goog" + + "le.longrunning.Operation\"V\312A\031\n\004Node\022\021Ope" + + "rationMetadata\202\323\344\223\0024\"//v1/{name=projects" + + "/*/locations/*/nodes/*}:start:\001*\022\312\001\n\026Lis" + + "tTensorFlowVersions\0222.google.cloud.tpu.v" + + "1.ListTensorFlowVersionsRequest\0323.google" + + ".cloud.tpu.v1.ListTensorFlowVersionsResp" + + "onse\"G\332A\006parent\202\323\344\223\0028\0226/v1/{parent=proje" + + "cts/*/locations/*}/tensorflowVersions\022\267\001" + + "\n\024GetTensorFlowVersion\0220.google.cloud.tp" + + "u.v1.GetTensorFlowVersionRequest\032&.googl" + + "e.cloud.tpu.v1.TensorFlowVersion\"E\332A\004nam" + + "e\202\323\344\223\0028\0226/v1/{name=projects/*/locations/" + + "*/tensorflowVersions/*}\022\302\001\n\024ListAccelera" + + "torTypes\0220.google.cloud.tpu.v1.ListAccel" + + "eratorTypesRequest\0321.google.cloud.tpu.v1" + + ".ListAcceleratorTypesResponse\"E\332A\006parent" + + "\202\323\344\223\0026\0224/v1/{parent=projects/*/locations" + + "/*}/acceleratorTypes\022\257\001\n\022GetAcceleratorT" + + "ype\022..google.cloud.tpu.v1.GetAccelerator" + + "TypeRequest\032$.google.cloud.tpu.v1.Accele" + + "ratorType\"C\332A\004name\202\323\344\223\0026\0224/v1/{name=proj" + + "ects/*/locations/*/acceleratorTypes/*}\032F" + + "\312A\022tpu.googleapis.com\322A.https://www.goog" + + "leapis.com/auth/cloud-platformBU\n\027com.go" + + "ogle.cloud.tpu.v1B\rCloudTpuProtoP\001Z)clou" + + "d.google.com/go/tpu/apiv1/tpupb;tpupbb\006p" + + "roto3" }; descriptor = com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 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 80c6cb3a7bef..e868b5bcc4bf 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 @@ -250,6 +250,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * UNHIDING = 15; */ UNHIDING(15), + /** + * + * + *
+     * TPU node has unknown state after a failed repair.
+     * 
+ * + * UNKNOWN = 16; + */ + UNKNOWN(16), UNRECOGNIZED(-1), ; @@ -405,6 +415,16 @@ public enum State implements com.google.protobuf.ProtocolMessageEnum { * UNHIDING = 15; */ public static final int UNHIDING_VALUE = 15; + /** + * + * + *
+     * TPU node has unknown state after a failed repair.
+     * 
+ * + * UNKNOWN = 16; + */ + public static final int UNKNOWN_VALUE = 16; public final int getNumber() { if (this == UNRECOGNIZED) { @@ -460,6 +480,8 @@ public static State forNumber(int value) { return HIDDEN; case 15: return UNHIDING; + case 16: + return UNKNOWN; default: return null; } @@ -1092,7 +1114,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=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=282 * @return The ipAddress. */ @java.lang.Override @@ -1120,7 +1142,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=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=282 * @return The bytes for ipAddress. */ @java.lang.Override @@ -1152,7 +1174,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=283 + * google/cloud/tpu/v1/cloud_tpu.proto;l=286 * @return The port. */ @java.lang.Override @@ -1179,7 +1201,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=283 + * google/cloud/tpu/v1/cloud_tpu.proto;l=286 * @return The bytes for port. */ @java.lang.Override @@ -3243,7 +3265,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=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=282 * @return The ipAddress. */ @java.lang.Deprecated @@ -3270,7 +3292,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=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=282 * @return The bytes for ipAddress. */ @java.lang.Deprecated @@ -3297,7 +3319,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=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=282 * @param value The ipAddress to set. * @return This builder for chaining. */ @@ -3323,7 +3345,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=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=282 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3345,7 +3367,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=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=282 * @param value The bytes for ipAddress to set. * @return This builder for chaining. */ @@ -3373,7 +3395,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=283 + * google/cloud/tpu/v1/cloud_tpu.proto;l=286 * @return The port. */ @java.lang.Deprecated @@ -3399,7 +3421,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=283 + * google/cloud/tpu/v1/cloud_tpu.proto;l=286 * @return The bytes for port. */ @java.lang.Deprecated @@ -3425,7 +3447,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=283 + * google/cloud/tpu/v1/cloud_tpu.proto;l=286 * @param value The port to set. * @return This builder for chaining. */ @@ -3450,7 +3472,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=283 + * google/cloud/tpu/v1/cloud_tpu.proto;l=286 * @return This builder for chaining. */ @java.lang.Deprecated @@ -3471,7 +3493,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=283 + * google/cloud/tpu/v1/cloud_tpu.proto;l=286 * @param value The bytes for port to set. * @return This builder for chaining. */ 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 7af52dcea6ba..bd307502f252 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 @@ -115,7 +115,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=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=282 * @return The ipAddress. */ @java.lang.Deprecated @@ -132,7 +132,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=279 + * google/cloud/tpu/v1/cloud_tpu.proto;l=282 * @return The bytes for ipAddress. */ @java.lang.Deprecated @@ -149,7 +149,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=283 + * google/cloud/tpu/v1/cloud_tpu.proto;l=286 * @return The port. */ @java.lang.Deprecated @@ -165,7 +165,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=283 + * google/cloud/tpu/v1/cloud_tpu.proto;l=286 * @return The bytes for port. */ @java.lang.Deprecated 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 3ad0bb109b37..c1d6cc630460 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 @@ -222,6 +222,9 @@ message Node { // TPU node is currently unhiding. UNHIDING = 15; + + // TPU node has unknown state after a failed repair. + UNKNOWN = 16; } // Health defines the status of a TPU node as reported by