Interface NetworkPolicy.NetworkServiceOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean getEnabled()
      True if the service is enabled; false otherwise.
      NetworkPolicy.NetworkService.State getState()
      Output only.
      int getStateValue()
      Output only.
      • Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

        isInitialized
      • Methods inherited from interface com.google.protobuf.MessageOrBuilder

        findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
    • Method Detail

      • getEnabled

        boolean getEnabled()
         True if the service is enabled; false otherwise.
         
        bool enabled = 1;
        Returns:
        The enabled.
      • getStateValue

        int getStateValue()
         Output only. State of the service. New values may be added to this enum
         when appropriate.
         
        .google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The enum numeric value on the wire for state.
      • getState

        NetworkPolicy.NetworkService.State getState()
         Output only. State of the service. New values may be added to this enum
         when appropriate.
         
        .google.cloud.vmwareengine.v1.NetworkPolicy.NetworkService.State state = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];
        Returns:
        The state.