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, 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
public 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.Builder
clear
in interface com.google.protobuf.MessageLite.Builder
clear
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType
in interface com.google.protobuf.Message.Builder
getDescriptorForType
in interface com.google.protobuf.MessageOrBuilder
getDescriptorForType
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>
public V1beta1Extensions.IPBlock getDefaultInstanceForType()
getDefaultInstanceForType
in interface com.google.protobuf.MessageLiteOrBuilder
getDefaultInstanceForType
in interface com.google.protobuf.MessageOrBuilder
public V1beta1Extensions.IPBlock build()
build
in interface com.google.protobuf.Message.Builder
build
in interface com.google.protobuf.MessageLite.Builder
public V1beta1Extensions.IPBlock buildPartial()
buildPartial
in interface com.google.protobuf.Message.Builder
buildPartial
in interface com.google.protobuf.MessageLite.Builder
public V1beta1Extensions.IPBlock.Builder clone()
clone
in interface com.google.protobuf.Message.Builder
clone
in interface com.google.protobuf.MessageLite.Builder
clone
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.Builder
setField
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.Builder
clearField
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.Builder
clearOneof
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.Builder
setRepeatedField
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.Builder
addRepeatedField
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.Builder
mergeFrom
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.MessageLiteOrBuilder
isInitialized
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.Builder
mergeFrom
in interface com.google.protobuf.MessageLite.Builder
mergeFrom
in class com.google.protobuf.AbstractMessage.Builder<V1beta1Extensions.IPBlock.Builder>
IOException
public 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.IPBlockOrBuilder
public 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.IPBlockOrBuilder
public 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.IPBlockOrBuilder
public 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.IPBlockOrBuilder
public 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.IPBlockOrBuilder
public 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.IPBlockOrBuilder
public 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.IPBlockOrBuilder
public 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.Builder
setUnknownFields
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.Builder
mergeUnknownFields
in class com.google.protobuf.GeneratedMessageV3.Builder<V1beta1Extensions.IPBlock.Builder>
Copyright © 2021. All rights reserved.