Interface MasterAuthorizedNetworksConfigOrBuilder (2.21.0)

public interface MasterAuthorizedNetworksConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getCidrBlocks(int index)

public abstract MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlock

getCidrBlocksCount()

public abstract int getCidrBlocksCount()

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

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

Returns
TypeDescription
int

getCidrBlocksList()

public abstract List<MasterAuthorizedNetworksConfig.CidrBlock> getCidrBlocksList()

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

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

Returns
TypeDescription
List<CidrBlock>

getCidrBlocksOrBuilder(int index)

public abstract MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder(int index)

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

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

Parameter
NameDescription
indexint
Returns
TypeDescription
MasterAuthorizedNetworksConfig.CidrBlockOrBuilder

getCidrBlocksOrBuilderList()

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

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

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

Returns
TypeDescription
List<? extends com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder>

getEnabled()

public abstract boolean getEnabled()

Whether or not master authorized networks is enabled.

bool enabled = 1;

Returns
TypeDescription
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
TypeDescription
boolean

The gcpPublicCidrsAccessEnabled.

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
TypeDescription
boolean

Whether the gcpPublicCidrsAccessEnabled field is set.