@java.lang.Override
    public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io.IOException {
      if (enabled_ != false) {
        output.writeBool(1, enabled_);
      }
      if (state_
          != com.google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.State.STATE_UNSPECIFIED
              .getNumber()) {
        output.writeEnum(2, state_);
      }
      getUnknownFields().writeTo(output);
    }
<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