Interface NetworkPolicy.NetworkServiceOrBuilder (0.25.0)

public static interface NetworkPolicy.NetworkServiceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

True if the service is enabled; false otherwise.

bool enabled = 1;

Returns
TypeDescription
boolean

The enabled.

getState()

public abstract 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
TypeDescription
NetworkPolicy.NetworkService.State

The state.

getStateValue()

public abstract 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
TypeDescription
int

The enum numeric value on the wire for state.