@java.lang.Override
        public boolean hasNodeId() {
          return nameStrategyCase_ == 2;
        }
<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 Whether the nodeId field is set.
java-tpu/proto-google-cloud-tpu-v2/src/main/java/com/google/cloud/tpu/v2/QueuedResource.java