@java.lang.Override
      public com.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.State getState() {
        com.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.State result =
            com.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.State.forNumber(state_);
        return result == null
            ? com.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.State.UNRECOGNIZED
            : result;
      }
<pre>
Output only. State of the service. New values may be added to this enum
when appropriate.
</pre>

<code>
.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
</code>

@return The state.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/NetworkPolicy.java