Package io.kubernetes.client.proto
Interface V1.PortStatusOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.PortStatus
,V1.PortStatus.Builder
- Enclosing class:
- V1
public static interface V1.PortStatusOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptiongetError()
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.ByteString
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.int
getPort()
Port is the port number of the service port of which status is recorded hereProtocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"com.google.protobuf.ByteString
Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"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.boolean
hasPort()
Port is the port number of the service port of which status is recorded hereboolean
Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitialized
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasPort
boolean hasPort()Port is the port number of the service port of which status is recorded here
optional int32 port = 1;
-
getPort
int getPort()Port is the port number of the service port of which status is recorded here
optional int32 port = 1;
-
hasProtocol
boolean hasProtocol()Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"
optional string protocol = 2;
-
getProtocol
String getProtocol()Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"
optional string protocol = 2;
-
getProtocolBytes
com.google.protobuf.ByteString getProtocolBytes()Protocol is the protocol of the service port of which status is recorded here The supported values are: "TCP", "UDP", "SCTP"
optional string protocol = 2;
-
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;
-
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;
-
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;
-