public final class MasterAuthorizedNetworksConfig extends GeneratedMessageV3 implements MasterAuthorizedNetworksConfigOrBuilder
Configuration options for the master authorized networks feature. Enabled
master authorized networks will disallow all external traffic to access
Kubernetes master through HTTPS except traffic from the given CIDR blocks,
Google Compute Engine Public IPs and Google Prod IPs.
Protobuf type google.container.v1beta1.MasterAuthorizedNetworksConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
Static Fields
CIDR_BLOCKS_FIELD_NUMBER
public static final int CIDR_BLOCKS_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
ENABLED_FIELD_NUMBER
public static final int ENABLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
GCP_PUBLIC_CIDRS_ACCESS_ENABLED_FIELD_NUMBER
public static final int GCP_PUBLIC_CIDRS_ACCESS_ENABLED_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static MasterAuthorizedNetworksConfig getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static MasterAuthorizedNetworksConfig.Builder newBuilder()
newBuilder(MasterAuthorizedNetworksConfig prototype)
public static MasterAuthorizedNetworksConfig.Builder newBuilder(MasterAuthorizedNetworksConfig prototype)
public static MasterAuthorizedNetworksConfig parseDelimitedFrom(InputStream input)
public static MasterAuthorizedNetworksConfig parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static MasterAuthorizedNetworksConfig parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static MasterAuthorizedNetworksConfig parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig parseFrom(CodedInputStream input)
public static MasterAuthorizedNetworksConfig parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig parseFrom(InputStream input)
public static MasterAuthorizedNetworksConfig parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static MasterAuthorizedNetworksConfig parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static MasterAuthorizedNetworksConfig parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<MasterAuthorizedNetworksConfig> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getCidrBlocks(int index)
public 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 |
---|
Name | Description |
index | int
|
getCidrBlocksCount()
public 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 |
---|
Type | Description |
int | |
getCidrBlocksList()
public 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;
getCidrBlocksOrBuilder(int index)
public 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 |
---|
Name | Description |
index | int
|
getCidrBlocksOrBuilderList()
public 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 |
---|
Type | Description |
List<? extends com.google.container.v1beta1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> | |
getDefaultInstanceForType()
public MasterAuthorizedNetworksConfig getDefaultInstanceForType()
getEnabled()
public boolean getEnabled()
Whether or not master authorized networks is enabled.
bool enabled = 1;
Returns |
---|
Type | Description |
boolean | The enabled.
|
getGcpPublicCidrsAccessEnabled()
public 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.
|
getParserForType()
public Parser<MasterAuthorizedNetworksConfig> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
hasGcpPublicCidrsAccessEnabled()
public 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.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public MasterAuthorizedNetworksConfig.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected MasterAuthorizedNetworksConfig.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public MasterAuthorizedNetworksConfig.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides