Interface NetworkPolicyOrBuilder (2.46.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
Type Description
boolean

The enabled.

getProvider()

public abstract NetworkPolicy.Provider getProvider()

The selected network policy provider.

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

Returns
Type Description
NetworkPolicy.Provider

The provider.

getProviderValue()

public abstract int getProviderValue()

The selected network policy provider.

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

Returns
Type Description
int

The enum numeric value on the wire for provider.