Package k8s.io.api.networking.v1
Interface Generated.IPBlockOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.IPBlock,Generated.IPBlock.Builder
- Enclosing class:
- Generated
public static interface Generated.IPBlockOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCidr()cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"com.google.protobuf.ByteStringgetCidrBytes()cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"StringgetExcept(int index)except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomiccom.google.protobuf.ByteStringgetExceptBytes(int index)except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomicintgetExceptCount()except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomicList<String>getExceptList()except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomicbooleanhasCidr()cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasCidr
boolean hasCidr()
cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"
optional string cidr = 1;- Returns:
- Whether the cidr field is set.
-
getCidr
String getCidr()
cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"
optional string cidr = 1;- Returns:
- The cidr.
-
getCidrBytes
com.google.protobuf.ByteString getCidrBytes()
cidr is a string representing the IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64"
optional string cidr = 1;- Returns:
- The bytes for cidr.
-
getExceptList
List<String> getExceptList()
except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomic
repeated string except = 2;- Returns:
- A list containing the except.
-
getExceptCount
int getExceptCount()
except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomic
repeated string except = 2;- Returns:
- The count of except.
-
getExcept
String getExcept(int index)
except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomic
repeated string except = 2;- Parameters:
index- The index of the element to return.- Returns:
- The except at the given index.
-
getExceptBytes
com.google.protobuf.ByteString getExceptBytes(int index)
except is a slice of CIDRs that should not be included within an IPBlock Valid examples are "192.168.1.0/24" or "2001:db8::/64" Except values will be rejected if they are outside the cidr range +optional +listType=atomic
repeated string except = 2;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the except at the given index.
-
-