public java.lang.String getNodeId() {
        java.lang.Object ref = "";
        if (nameStrategyCase_ == 2) {
          ref = nameStrategy_;
        }
        if (ref instanceof java.lang.String) {
          return (java.lang.String) ref;
        } else {
          com.google.protobuf.ByteString bs = (com.google.protobuf.ByteString) ref;
          java.lang.String s = bs.toStringUtf8();
          if (nameStrategyCase_ == 2) {
            nameStrategy_ = s;
          }
          return s;
        }
      }
<pre>
Optional. The unqualified resource name. Should follow the
`^[A-Za-z0-9_.~+%-]+$` regex format. This is only specified when
requesting a single node. In case of multislice requests,
multislice_params must be populated instead.
</pre>

<code>string node_id = 2 [(.google.api.field_behavior) = OPTIONAL];</code>

@return The nodeId.
java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/QueuedResource.java