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.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addAllCidrBlocks(Iterable<? extends MasterAuthorizedNetworksConfig.CidrBlock> values)
public MasterAuthorizedNetworksConfig.Builder addAllCidrBlocks(Iterable<? extends MasterAuthorizedNetworksConfig.CidrBlock> values)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameter
Name |
Description |
values |
Iterable<? extends com.google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock>
|
Returns
addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock value)
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock value)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameter
Returns
addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameter
Returns
addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameters
Returns
addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameters
Returns
addCidrBlocksBuilder()
public MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder()
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Returns
addCidrBlocksBuilder(int index)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder(int index)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameter
Name |
Description |
index |
int
|
Returns
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public MasterAuthorizedNetworksConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public MasterAuthorizedNetworksConfig build()
Returns
buildPartial()
public MasterAuthorizedNetworksConfig buildPartial()
Returns
clear()
public MasterAuthorizedNetworksConfig.Builder clear()
Returns
Overrides
clearCidrBlocks()
public MasterAuthorizedNetworksConfig.Builder clearCidrBlocks()
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Returns
clearEnabled()
public MasterAuthorizedNetworksConfig.Builder clearEnabled()
Whether or not master authorized networks feature is enabled.
bool enabled = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public MasterAuthorizedNetworksConfig.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public MasterAuthorizedNetworksConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public MasterAuthorizedNetworksConfig.Builder clone()
Returns
Overrides
getCidrBlocks(int index)
public MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getCidrBlocksBuilder(int index)
public MasterAuthorizedNetworksConfig.CidrBlock.Builder getCidrBlocksBuilder(int index)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getCidrBlocksBuilderList()
public List<MasterAuthorizedNetworksConfig.CidrBlock.Builder> getCidrBlocksBuilderList()
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Returns
getCidrBlocksCount()
public int getCidrBlocksCount()
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Returns
getCidrBlocksList()
public List<MasterAuthorizedNetworksConfig.CidrBlock> getCidrBlocksList()
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Returns
getCidrBlocksOrBuilder(int index)
public MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder(int index)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameter
Name |
Description |
index |
int
|
Returns
getCidrBlocksOrBuilderList()
public List<? extends MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksOrBuilderList()
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Returns
Type |
Description |
List<? extends com.google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> |
|
getDefaultInstanceForType()
public MasterAuthorizedNetworksConfig getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEnabled()
public boolean getEnabled()
Whether or not master authorized networks feature is enabled.
bool enabled = 1;
Returns
Type |
Description |
boolean |
The enabled.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(MasterAuthorizedNetworksConfig other)
public MasterAuthorizedNetworksConfig.Builder mergeFrom(MasterAuthorizedNetworksConfig other)
Parameter
Returns
public MasterAuthorizedNetworksConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public MasterAuthorizedNetworksConfig.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final MasterAuthorizedNetworksConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
removeCidrBlocks(int index)
public MasterAuthorizedNetworksConfig.Builder removeCidrBlocks(int index)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameter
Name |
Description |
index |
int
|
Returns
setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)
public MasterAuthorizedNetworksConfig.Builder setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameters
Returns
setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
public MasterAuthorizedNetworksConfig.Builder setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
Up to 50 external networks that could access Kubernetes master through
HTTPS.
repeated .google.cloud.orchestration.airflow.service.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
Parameters
Returns
setEnabled(boolean value)
public MasterAuthorizedNetworksConfig.Builder setEnabled(boolean value)
Whether or not master authorized networks feature is enabled.
bool enabled = 1;
Parameter
Name |
Description |
value |
boolean
The enabled to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public MasterAuthorizedNetworksConfig.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public MasterAuthorizedNetworksConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final MasterAuthorizedNetworksConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides