Interface NetworkPolicy.NetworkServiceOrBuilder

All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
All Known Implementing Classes:
NetworkPolicy.NetworkService, NetworkPolicy.NetworkService.Builder
Enclosing class:
NetworkPolicy

public static interface NetworkPolicy.NetworkServiceOrBuilder extends com.google.protobuf.MessageOrBuilder
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    True if the service is enabled; false otherwise.
    Output only.
    int
    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 Details

    • 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

       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.