Package k8s.io.api.networking.v1
Interface Generated.IngressPortStatusOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Generated.IngressPortStatus,Generated.IngressPortStatus.Builder
- Enclosing class:
- Generated
public static interface Generated.IngressPortStatusOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description StringgetError()error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.com.google.protobuf.ByteStringgetErrorBytes()error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.intgetPort()port is the port number of the ingress port.StringgetProtocol()protocol is the protocol of the ingress port.com.google.protobuf.ByteStringgetProtocolBytes()protocol is the protocol of the ingress port.booleanhasError()error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase.booleanhasPort()port is the port number of the ingress port.booleanhasProtocol()protocol is the protocol of the ingress port.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
hasPort
boolean hasPort()
port is the port number of the ingress port.
optional int32 port = 1;- Returns:
- Whether the port field is set.
-
getPort
int getPort()
port is the port number of the ingress port.
optional int32 port = 1;- Returns:
- The port.
-
hasProtocol
boolean hasProtocol()
protocol is the protocol of the ingress port. The supported values are: "TCP", "UDP", "SCTP"
optional string protocol = 2;- Returns:
- Whether the protocol field is set.
-
getProtocol
String getProtocol()
protocol is the protocol of the ingress port. The supported values are: "TCP", "UDP", "SCTP"
optional string protocol = 2;- Returns:
- The protocol.
-
getProtocolBytes
com.google.protobuf.ByteString getProtocolBytes()
protocol is the protocol of the ingress port. The supported values are: "TCP", "UDP", "SCTP"
optional string protocol = 2;- Returns:
- The bytes for protocol.
-
hasError
boolean hasError()
error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. --- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) +optional +kubebuilder:validation:Required +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$` +kubebuilder:validation:MaxLength=316
optional string error = 3;- Returns:
- Whether the error field is set.
-
getError
String getError()
error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. --- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) +optional +kubebuilder:validation:Required +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$` +kubebuilder:validation:MaxLength=316
optional string error = 3;- Returns:
- The error.
-
getErrorBytes
com.google.protobuf.ByteString getErrorBytes()
error is to record the problem with the service port The format of the error shall comply with the following rules: - built-in error values shall be specified in this file and those shall use CamelCase names - cloud provider specific error values must have names that comply with the format foo.example.com/CamelCase. --- The regex it matches is (dns1123SubdomainFmt/)?(qualifiedNameFmt) +optional +kubebuilder:validation:Required +kubebuilder:validation:Pattern=`^([a-z0-9]([-a-z0-9]*[a-z0-9])?(\.[a-z0-9]([-a-z0-9]*[a-z0-9])?)*/)?(([A-Za-z0-9][-A-Za-z0-9_.]*)?[A-Za-z0-9])$` +kubebuilder:validation:MaxLength=316
optional string error = 3;- Returns:
- The bytes for error.
-
-