public static final class V1beta1Extensions.IPBlock.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder> implements V1beta1Extensions.IPBlockOrBuilder
DEPRECATED 1.9 - This group version of IPBlock is deprecated by networking/v1/IPBlock. IPBlock describes a particular CIDR (Ex. "192.168.1.1/24") that is allowed to the pods matched by a NetworkPolicySpec's podSelector. The except entry describes CIDRs that should not be included within this rule.Protobuf type
k8s.io.api.extensions.v1beta1.IPBlock| Modifier and Type | Method and Description |
|---|---|
V1beta1Extensions.IPBlock.Builder |
addAllExcept(Iterable<String> values)
Except is a slice of CIDRs that should not be included within an IP Block
Valid examples are "192.168.1.1/24"
Except values will be rejected if they are outside the CIDR range
+optional
|
V1beta1Extensions.IPBlock.Builder |
addExcept(String value)
Except is a slice of CIDRs that should not be included within an IP Block
Valid examples are "192.168.1.1/24"
Except values will be rejected if they are outside the CIDR range
+optional
|
V1beta1Extensions.IPBlock.Builder |
addExceptBytes(com.google.protobuf.ByteString value)
Except is a slice of CIDRs that should not be included within an IP Block
Valid examples are "192.168.1.1/24"
Except values will be rejected if they are outside the CIDR range
+optional
|
V1beta1Extensions.IPBlock.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Extensions.IPBlock |
build() |
V1beta1Extensions.IPBlock |
buildPartial() |
V1beta1Extensions.IPBlock.Builder |
clear() |
V1beta1Extensions.IPBlock.Builder |
clearCidr()
CIDR is a string representing the IP Block
Valid examples are "192.168.1.1/24"
|
V1beta1Extensions.IPBlock.Builder |
clearExcept()
Except is a slice of CIDRs that should not be included within an IP Block
Valid examples are "192.168.1.1/24"
Except values will be rejected if they are outside the CIDR range
+optional
|
V1beta1Extensions.IPBlock.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
V1beta1Extensions.IPBlock.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
V1beta1Extensions.IPBlock.Builder |
clone() |
String |
getCidr()
CIDR is a string representing the IP Block
Valid examples are "192.168.1.1/24"
|
com.google.protobuf.ByteString |
getCidrBytes()
CIDR is a string representing the IP Block
Valid examples are "192.168.1.1/24"
|
V1beta1Extensions.IPBlock |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
String |
getExcept(int index)
Except is a slice of CIDRs that should not be included within an IP Block
Valid examples are "192.168.1.1/24"
Except values will be rejected if they are outside the CIDR range
+optional
|
com.google.protobuf.ByteString |
getExceptBytes(int index)
Except is a slice of CIDRs that should not be included within an IP Block
Valid examples are "192.168.1.1/24"
Except values will be rejected if they are outside the CIDR range
+optional
|
int |
getExceptCount()
Except is a slice of CIDRs that should not be included within an IP Block
Valid examples are "192.168.1.1/24"
Except values will be rejected if they are outside the CIDR range
+optional
|
com.google.protobuf.ProtocolStringList |
getExceptList()
Except is a slice of CIDRs that should not be included within an IP Block
Valid examples are "192.168.1.1/24"
Except values will be rejected if they are outside the CIDR range
+optional
|
boolean |
hasCidr()
CIDR is a string representing the IP Block
Valid examples are "192.168.1.1/24"
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
V1beta1Extensions.IPBlock.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
V1beta1Extensions.IPBlock.Builder |
mergeFrom(com.google.protobuf.Message other) |
V1beta1Extensions.IPBlock.Builder |
mergeFrom(V1beta1Extensions.IPBlock other) |
V1beta1Extensions.IPBlock.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
V1beta1Extensions.IPBlock.Builder |
setCidr(String value)
CIDR is a string representing the IP Block
Valid examples are "192.168.1.1/24"
|
V1beta1Extensions.IPBlock.Builder |
setCidrBytes(com.google.protobuf.ByteString value)
CIDR is a string representing the IP Block
Valid examples are "192.168.1.1/24"
|
V1beta1Extensions.IPBlock.Builder |
setExcept(int index,
String value)
Except is a slice of CIDRs that should not be included within an IP Block
Valid examples are "192.168.1.1/24"
Except values will be rejected if they are outside the CIDR range
+optional
|
V1beta1Extensions.IPBlock.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
V1beta1Extensions.IPBlock.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
V1beta1Extensions.IPBlock.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, newBuilderForField, onBuilt, onChanged, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public V1beta1Extensions.IPBlock.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public V1beta1Extensions.IPBlock getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic V1beta1Extensions.IPBlock build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.IPBlock buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic V1beta1Extensions.IPBlock.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public V1beta1Extensions.IPBlock.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public V1beta1Extensions.IPBlock.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public V1beta1Extensions.IPBlock.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public V1beta1Extensions.IPBlock.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public V1beta1Extensions.IPBlock.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public V1beta1Extensions.IPBlock.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.IPBlock.Builder>public V1beta1Extensions.IPBlock.Builder mergeFrom(V1beta1Extensions.IPBlock other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public V1beta1Extensions.IPBlock.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.IPBlock.Builder>IOExceptionpublic boolean hasCidr()
CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
optional string cidr = 1;hasCidr in interface V1beta1Extensions.IPBlockOrBuilderpublic String getCidr()
CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
optional string cidr = 1;getCidr in interface V1beta1Extensions.IPBlockOrBuilderpublic com.google.protobuf.ByteString getCidrBytes()
CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
optional string cidr = 1;getCidrBytes in interface V1beta1Extensions.IPBlockOrBuilderpublic V1beta1Extensions.IPBlock.Builder setCidr(String value)
CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
optional string cidr = 1;public V1beta1Extensions.IPBlock.Builder clearCidr()
CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
optional string cidr = 1;public V1beta1Extensions.IPBlock.Builder setCidrBytes(com.google.protobuf.ByteString value)
CIDR is a string representing the IP Block Valid examples are "192.168.1.1/24"
optional string cidr = 1;public com.google.protobuf.ProtocolStringList getExceptList()
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range +optional
repeated string except = 2;getExceptList in interface V1beta1Extensions.IPBlockOrBuilderpublic int getExceptCount()
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range +optional
repeated string except = 2;getExceptCount in interface V1beta1Extensions.IPBlockOrBuilderpublic String getExcept(int index)
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range +optional
repeated string except = 2;getExcept in interface V1beta1Extensions.IPBlockOrBuilderpublic com.google.protobuf.ByteString getExceptBytes(int index)
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range +optional
repeated string except = 2;getExceptBytes in interface V1beta1Extensions.IPBlockOrBuilderpublic V1beta1Extensions.IPBlock.Builder setExcept(int index, String value)
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range +optional
repeated string except = 2;public V1beta1Extensions.IPBlock.Builder addExcept(String value)
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range +optional
repeated string except = 2;public V1beta1Extensions.IPBlock.Builder addAllExcept(Iterable<String> values)
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range +optional
repeated string except = 2;public V1beta1Extensions.IPBlock.Builder clearExcept()
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range +optional
repeated string except = 2;public V1beta1Extensions.IPBlock.Builder addExceptBytes(com.google.protobuf.ByteString value)
Except is a slice of CIDRs that should not be included within an IP Block Valid examples are "192.168.1.1/24" Except values will be rejected if they are outside the CIDR range +optional
repeated string except = 2;public final V1beta1Extensions.IPBlock.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>public final V1beta1Extensions.IPBlock.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>Copyright © 2019. All rights reserved.