Interface NetworkPolicyOrBuilder (2.39.0)

public interface NetworkPolicyOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getEnabled()

public abstract boolean getEnabled()

Whether network policy is enabled on the cluster.

bool enabled = 2;

Returns
TypeDescription
boolean

The enabled.

getProvider()

public abstract NetworkPolicy.Provider getProvider()

The selected network policy provider.

.google.container.v1.NetworkPolicy.Provider provider = 1;

Returns
TypeDescription
NetworkPolicy.Provider

The provider.

getProviderValue()

public abstract int getProviderValue()

The selected network policy provider.

.google.container.v1.NetworkPolicy.Provider provider = 1;

Returns
TypeDescription
int

The enum numeric value on the wire for provider.