Package k8s.io.api.networking.v1
Interface Generated.ServiceCIDRSpecOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.ServiceCIDRSpec,Generated.ServiceCIDRSpec.Builder
- Enclosing class:
- Generated
public static interface Generated.ServiceCIDRSpecOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetCidrs(int index)CIDRs defines the IP blocks in CIDR notation (e.g.com.google.protobuf.ByteStringgetCidrsBytes(int index)CIDRs defines the IP blocks in CIDR notation (e.g.intgetCidrsCount()CIDRs defines the IP blocks in CIDR notation (e.g.List<String>getCidrsList()CIDRs defines the IP blocks in CIDR notation (e.g.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getCidrsList
List<String> getCidrsList()
CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. +optional +listType=atomic
repeated string cidrs = 1;- Returns:
- A list containing the cidrs.
-
getCidrsCount
int getCidrsCount()
CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. +optional +listType=atomic
repeated string cidrs = 1;- Returns:
- The count of cidrs.
-
getCidrs
String getCidrs(int index)
CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. +optional +listType=atomic
repeated string cidrs = 1;- Parameters:
index- The index of the element to return.- Returns:
- The cidrs at the given index.
-
getCidrsBytes
com.google.protobuf.ByteString getCidrsBytes(int index)
CIDRs defines the IP blocks in CIDR notation (e.g. "192.168.0.0/24" or "2001:db8::/64") from which to assign service cluster IPs. Max of two CIDRs is allowed, one of each IP family. This field is immutable. +optional +listType=atomic
repeated string cidrs = 1;- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the cidrs at the given index.
-
-