@java.lang.Override
      public com.google.protobuf.Duration getValidUntilDuration() {
        if (validUntilDurationBuilder_ == null) {
          if (startTimingConstraintsCase_ == 1) {
            return (com.google.protobuf.Duration) startTimingConstraints_;
          }
          return com.google.protobuf.Duration.getDefaultInstance();
        } else {
          if (startTimingConstraintsCase_ == 1) {
            return validUntilDurationBuilder_.getMessage();
          }
          return com.google.protobuf.Duration.getDefaultInstance();
        }
      }
<pre>
Optional. A relative time after which resources should not be created.
If the request cannot be fulfilled by this time the request will be
failed.
</pre>

<code>
.google.protobuf.Duration valid_until_duration = 1 [(.google.api.field_behavior) = OPTIONAL];
</code>

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