- 2.57.0 (latest)
- 2.56.0
- 2.55.0
- 2.54.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.27.0
- 2.26.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.2
- 2.4.1
- 2.3.8
public static final class MasterAuthorizedNetworksConfig.Builder extends GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder> 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.v1.MasterAuthorizedNetworksConfig
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > MasterAuthorizedNetworksConfig.BuilderImplements
MasterAuthorizedNetworksConfigOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllCidrBlocks(Iterable<? extends MasterAuthorizedNetworksConfig.CidrBlock> values)
public MasterAuthorizedNetworksConfig.Builder addAllCidrBlocks(Iterable<? extends MasterAuthorizedNetworksConfig.CidrBlock> values)
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 |
values |
Iterable<? extends com.google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock> |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock value)
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock value)
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 |
value |
MasterAuthorizedNetworksConfig.CidrBlock |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
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 |
builderForValue |
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MasterAuthorizedNetworksConfig.CidrBlock |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
addCidrBlocksBuilder()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder()
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 |
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
addCidrBlocksBuilder(int index)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder(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.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MasterAuthorizedNetworksConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
build()
public MasterAuthorizedNetworksConfig build()
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig |
buildPartial()
public MasterAuthorizedNetworksConfig buildPartial()
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig |
clear()
public MasterAuthorizedNetworksConfig.Builder clear()
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
clearCidrBlocks()
public MasterAuthorizedNetworksConfig.Builder clearCidrBlocks()
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 |
MasterAuthorizedNetworksConfig.Builder |
clearEnabled()
public MasterAuthorizedNetworksConfig.Builder clearEnabled()
Whether or not master authorized networks is enabled.
bool enabled = 1;
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public MasterAuthorizedNetworksConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
clearGcpPublicCidrsAccessEnabled()
public MasterAuthorizedNetworksConfig.Builder clearGcpPublicCidrsAccessEnabled()
Whether master is accessbile via Google Compute Engine Public IP addresses.
optional bool gcp_public_cidrs_access_enabled = 3;
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public MasterAuthorizedNetworksConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
clearPrivateEndpointEnforcementEnabled()
public MasterAuthorizedNetworksConfig.Builder clearPrivateEndpointEnforcementEnabled()
Whether master authorized networks is enforced on private endpoint or not.
optional bool private_endpoint_enforcement_enabled = 5;
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
This builder for chaining. |
clone()
public MasterAuthorizedNetworksConfig.Builder clone()
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
getCidrBlocks(int index)
public 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 |
getCidrBlocksBuilder(int index)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder getCidrBlocksBuilder(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.Builder |
getCidrBlocksBuilderList()
public List<MasterAuthorizedNetworksConfig.CidrBlock.Builder> getCidrBlocksBuilderList()
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<Builder> |
getCidrBlocksCount()
public 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 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 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 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> |
getDefaultInstanceForType()
public MasterAuthorizedNetworksConfig getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
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. |
getPrivateEndpointEnforcementEnabled()
public 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 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 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. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(MasterAuthorizedNetworksConfig other)
public MasterAuthorizedNetworksConfig.Builder mergeFrom(MasterAuthorizedNetworksConfig other)
Parameter | |
---|---|
Name | Description |
other |
MasterAuthorizedNetworksConfig |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public MasterAuthorizedNetworksConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public MasterAuthorizedNetworksConfig.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MasterAuthorizedNetworksConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
removeCidrBlocks(int index)
public MasterAuthorizedNetworksConfig.Builder removeCidrBlocks(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.Builder |
setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)
public MasterAuthorizedNetworksConfig.Builder setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
value |
MasterAuthorizedNetworksConfig.CidrBlock |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
public MasterAuthorizedNetworksConfig.Builder setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
cidr_blocks define up to 50 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
setEnabled(boolean value)
public MasterAuthorizedNetworksConfig.Builder setEnabled(boolean value)
Whether or not master authorized networks is enabled.
bool enabled = 1;
Parameter | |
---|---|
Name | Description |
value |
boolean The enabled to set. |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public MasterAuthorizedNetworksConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
setGcpPublicCidrsAccessEnabled(boolean value)
public MasterAuthorizedNetworksConfig.Builder setGcpPublicCidrsAccessEnabled(boolean value)
Whether master is accessbile via Google Compute Engine Public IP addresses.
optional bool gcp_public_cidrs_access_enabled = 3;
Parameter | |
---|---|
Name | Description |
value |
boolean The gcpPublicCidrsAccessEnabled to set. |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
This builder for chaining. |
setPrivateEndpointEnforcementEnabled(boolean value)
public MasterAuthorizedNetworksConfig.Builder setPrivateEndpointEnforcementEnabled(boolean value)
Whether master authorized networks is enforced on private endpoint or not.
optional bool private_endpoint_enforcement_enabled = 5;
Parameter | |
---|---|
Name | Description |
value |
boolean The privateEndpointEnforcementEnabled to set. |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MasterAuthorizedNetworksConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final MasterAuthorizedNetworksConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
MasterAuthorizedNetworksConfig.Builder |