Package com.google.cloud.vmwareengine.v1
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 TypeMethodDescriptionbooleanTrue if the service is enabled; false otherwise.getState()Output only.intOutput only.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods 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
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.
-