@java.lang.Override
    public com.google.cloud.vmwareengine.v1.LoggingServer.Protocol getProtocol() {
      com.google.cloud.vmwareengine.v1.LoggingServer.Protocol result =
          com.google.cloud.vmwareengine.v1.LoggingServer.Protocol.forNumber(protocol_);
      return result == null
          ? com.google.cloud.vmwareengine.v1.LoggingServer.Protocol.UNRECOGNIZED
          : result;
    }
<pre>
Required. Protocol used by vCenter to send logs to a logging server.
</pre>

<code>
.google.cloud.vmwareengine.v1.LoggingServer.Protocol protocol = 6 [(.google.api.field_behavior) = REQUIRED];
</code>

@return The protocol.
java-vmwareengine/proto-google-cloud-vmwareengine-v1/src/main/java/com/google/cloud/vmwareengine/v1/LoggingServer.java