public static final class MasterAuthorizedNetworksConfig.Builder extends GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder> implements MasterAuthorizedNetworksConfigOrBuilder
Master authorized networks is a Beta feature. 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
Modifier and Type | Method and Description |
---|---|
MasterAuthorizedNetworksConfig.Builder |
addAllCidrBlocks(java.lang.Iterable<? extends MasterAuthorizedNetworksConfig.CidrBlock> values)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.Builder |
addCidrBlocks(int index,
MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.Builder |
addCidrBlocks(int index,
MasterAuthorizedNetworksConfig.CidrBlock value)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.Builder |
addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.Builder |
addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock value)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
addCidrBlocksBuilder()
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
addCidrBlocksBuilder(int index)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.Builder |
addRepeatedField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
MasterAuthorizedNetworksConfig |
build() |
MasterAuthorizedNetworksConfig |
buildPartial() |
MasterAuthorizedNetworksConfig.Builder |
clear() |
MasterAuthorizedNetworksConfig.Builder |
clearCidrBlocks()
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.Builder |
clearEnabled()
Whether or not master authorized networks is enabled.
|
MasterAuthorizedNetworksConfig.Builder |
clearField(Descriptors.FieldDescriptor field) |
MasterAuthorizedNetworksConfig.Builder |
clearOneof(Descriptors.OneofDescriptor oneof) |
MasterAuthorizedNetworksConfig.Builder |
clone() |
MasterAuthorizedNetworksConfig.CidrBlock |
getCidrBlocks(int index)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.CidrBlock.Builder |
getCidrBlocksBuilder(int index)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
java.util.List<MasterAuthorizedNetworksConfig.CidrBlock.Builder> |
getCidrBlocksBuilderList()
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
int |
getCidrBlocksCount()
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
java.util.List<MasterAuthorizedNetworksConfig.CidrBlock> |
getCidrBlocksList()
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.CidrBlockOrBuilder |
getCidrBlocksOrBuilder(int index)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
java.util.List<? extends MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> |
getCidrBlocksOrBuilderList()
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
Descriptors.Descriptor |
getDescriptorForType() |
boolean |
getEnabled()
Whether or not master authorized networks is enabled.
|
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
MasterAuthorizedNetworksConfig.Builder |
mergeFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
MasterAuthorizedNetworksConfig.Builder |
mergeFrom(MasterAuthorizedNetworksConfig other) |
MasterAuthorizedNetworksConfig.Builder |
mergeFrom(Message other) |
MasterAuthorizedNetworksConfig.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields) |
MasterAuthorizedNetworksConfig.Builder |
removeCidrBlocks(int index)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.Builder |
setCidrBlocks(int index,
MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.Builder |
setCidrBlocks(int index,
MasterAuthorizedNetworksConfig.CidrBlock value)
cidr_blocks define up to 10 external networks that could access
Kubernetes master through HTTPS.
|
MasterAuthorizedNetworksConfig.Builder |
setEnabled(boolean value)
Whether or not master authorized networks is enabled.
|
MasterAuthorizedNetworksConfig.Builder |
setField(Descriptors.FieldDescriptor field,
java.lang.Object value) |
MasterAuthorizedNetworksConfig.Builder |
setRepeatedField(Descriptors.FieldDescriptor field,
int index,
java.lang.Object value) |
MasterAuthorizedNetworksConfig.Builder |
setUnknownFields(UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
addAll, addAll, mergeFrom, newUninitializedMessageException
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
mergeFrom
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public MasterAuthorizedNetworksConfig.Builder clear()
clear
in interface Message.Builder
clear
in interface MessageLite.Builder
clear
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface Message.Builder
getDescriptorForType
in interface MessageOrBuilder
getDescriptorForType
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public MasterAuthorizedNetworksConfig getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
public MasterAuthorizedNetworksConfig build()
build
in interface Message.Builder
build
in interface MessageLite.Builder
public MasterAuthorizedNetworksConfig buildPartial()
buildPartial
in interface Message.Builder
buildPartial
in interface MessageLite.Builder
public MasterAuthorizedNetworksConfig.Builder clone()
clone
in interface Message.Builder
clone
in interface MessageLite.Builder
clone
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public MasterAuthorizedNetworksConfig.Builder setField(Descriptors.FieldDescriptor field, java.lang.Object value)
setField
in interface Message.Builder
setField
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public MasterAuthorizedNetworksConfig.Builder clearField(Descriptors.FieldDescriptor field)
clearField
in interface Message.Builder
clearField
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public MasterAuthorizedNetworksConfig.Builder clearOneof(Descriptors.OneofDescriptor oneof)
clearOneof
in interface Message.Builder
clearOneof
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public MasterAuthorizedNetworksConfig.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, java.lang.Object value)
setRepeatedField
in interface Message.Builder
setRepeatedField
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public MasterAuthorizedNetworksConfig.Builder addRepeatedField(Descriptors.FieldDescriptor field, java.lang.Object value)
addRepeatedField
in interface Message.Builder
addRepeatedField
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public MasterAuthorizedNetworksConfig.Builder mergeFrom(Message other)
mergeFrom
in interface Message.Builder
mergeFrom
in class AbstractMessage.Builder<MasterAuthorizedNetworksConfig.Builder>
public MasterAuthorizedNetworksConfig.Builder mergeFrom(MasterAuthorizedNetworksConfig other)
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public MasterAuthorizedNetworksConfig.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws java.io.IOException
mergeFrom
in interface Message.Builder
mergeFrom
in interface MessageLite.Builder
mergeFrom
in class AbstractMessage.Builder<MasterAuthorizedNetworksConfig.Builder>
java.io.IOException
public boolean getEnabled()
Whether or not master authorized networks is enabled.
bool enabled = 1;
getEnabled
in interface MasterAuthorizedNetworksConfigOrBuilder
public MasterAuthorizedNetworksConfig.Builder setEnabled(boolean value)
Whether or not master authorized networks is enabled.
bool enabled = 1;
public MasterAuthorizedNetworksConfig.Builder clearEnabled()
Whether or not master authorized networks is enabled.
bool enabled = 1;
public java.util.List<MasterAuthorizedNetworksConfig.CidrBlock> getCidrBlocksList()
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
getCidrBlocksList
in interface MasterAuthorizedNetworksConfigOrBuilder
public int getCidrBlocksCount()
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
getCidrBlocksCount
in interface MasterAuthorizedNetworksConfigOrBuilder
public MasterAuthorizedNetworksConfig.CidrBlock getCidrBlocks(int index)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
getCidrBlocks
in interface MasterAuthorizedNetworksConfigOrBuilder
public MasterAuthorizedNetworksConfig.Builder setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.Builder setCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock value)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock value)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.Builder addCidrBlocks(int index, MasterAuthorizedNetworksConfig.CidrBlock.Builder builderForValue)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.Builder addAllCidrBlocks(java.lang.Iterable<? extends MasterAuthorizedNetworksConfig.CidrBlock> values)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.Builder clearCidrBlocks()
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.Builder removeCidrBlocks(int index)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.CidrBlock.Builder getCidrBlocksBuilder(int index)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.CidrBlockOrBuilder getCidrBlocksOrBuilder(int index)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
getCidrBlocksOrBuilder
in interface MasterAuthorizedNetworksConfigOrBuilder
public java.util.List<? extends MasterAuthorizedNetworksConfig.CidrBlockOrBuilder> getCidrBlocksOrBuilderList()
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
getCidrBlocksOrBuilderList
in interface MasterAuthorizedNetworksConfigOrBuilder
public MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder()
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public MasterAuthorizedNetworksConfig.CidrBlock.Builder addCidrBlocksBuilder(int index)
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public java.util.List<MasterAuthorizedNetworksConfig.CidrBlock.Builder> getCidrBlocksBuilderList()
cidr_blocks define up to 10 external networks that could access Kubernetes master through HTTPS.
repeated .google.container.v1.MasterAuthorizedNetworksConfig.CidrBlock cidr_blocks = 2;
public final MasterAuthorizedNetworksConfig.Builder setUnknownFields(UnknownFieldSet unknownFields)
setUnknownFields
in interface Message.Builder
setUnknownFields
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>
public final MasterAuthorizedNetworksConfig.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
mergeUnknownFields
in interface Message.Builder
mergeUnknownFields
in class GeneratedMessageV3.Builder<MasterAuthorizedNetworksConfig.Builder>