Interface MasterAuthorizedNetworksConfigOrBuilder (2.56.0)

public interface MasterAuthorizedNetworksConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCidrBlocks(int index)

public abstract MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index)

cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;

Parameter
Name Description
index int
Returns
Type Description
MasterAuthorizedNetworksConfig.CidrBlock

getCidrBlocksCount()

public abstract int getCidrBlocksCount()

cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;

Returns
Type Description
int

getCidrBlocksList()

public abstract List<MasterAuthorizedNetworksConfig.CidrBlock> getCidrBlocksList()

cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;

Returns
Type Description
List<CidrBlock>

getCidrBlocksOrBuilder(int index)

public abstract MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder(int index)

cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;

Parameter
Name Description
index int
Returns
Type Description
MasterAuthorizedNetworksConfig.CidrBlockOrBuilder

getCidrBlocksOrBuilderList()

public abstract List<? extends MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksOrBuilderList()

cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.

repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;

Returns
Type Description
List<? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>

getEnabled()

public abstract boolean getEnabled()

Whether or not master authorized networks is enabled.

bool enabled = 1;

Returns
Type Description
boolean

The enabled.

getGcpPublicCidrsAccessEnabled()

public abstract boolean getGcpPublicCidrsAccessEnabled()

Whether master is accessbile via Google Compute Engine Public IP addresses.

optional bool gcp_public_cidrs_access_enabled = 3;

Returns
Type Description
boolean

The gcpPublicCidrsAccessEnabled.

getPrivateEndpointEnforcementEnabled()

public abstract boolean getPrivateEndpointEnforcementEnabled()

Whether master authorized networks is enforced on private endpoint or not.

optional bool private_endpoint_enforcement_enabled = 5;

Returns
Type Description
boolean

The privateEndpointEnforcementEnabled.

hasGcpPublicCidrsAccessEnabled()

public abstract boolean hasGcpPublicCidrsAccessEnabled()

Whether master is accessbile via Google Compute Engine Public IP addresses.

optional bool gcp_public_cidrs_access_enabled = 3;

Returns
Type Description
boolean

Whether the gcpPublicCidrsAccessEnabled field is set.

hasPrivateEndpointEnforcementEnabled()

public abstract boolean hasPrivateEndpointEnforcementEnabled()

Whether master authorized networks is enforced on private endpoint or not.

optional bool private_endpoint_enforcement_enabled = 5;

Returns
Type Description
boolean

Whether the privateEndpointEnforcementEnabled field is set.