Package io.kubernetes.client.proto
Interface V1.EndpointPortOrBuilder
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
V1.EndpointPort,V1.EndpointPort.Builder
- Enclosing class:
- V1
public static interface V1.EndpointPortOrBuilder
extends com.google.protobuf.MessageOrBuilder
-
Method Summary
Modifier and TypeMethodDescriptionThe application protocol for this port.com.google.protobuf.ByteStringThe application protocol for this port.getName()The name of this port.com.google.protobuf.ByteStringThe name of this port.intgetPort()The port number of the endpoint.The IP protocol for this port.com.google.protobuf.ByteStringThe IP protocol for this port.booleanThe application protocol for this port.booleanhasName()The name of this port.booleanhasPort()The port number of the endpoint.booleanThe IP protocol for this port.Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
hasName
boolean hasName()The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. +optional
optional string name = 1; -
getName
String getName()The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. +optional
optional string name = 1; -
getNameBytes
com.google.protobuf.ByteString getNameBytes()The name of this port. This must match the 'name' field in the corresponding ServicePort. Must be a DNS_LABEL. Optional only if one port is defined. +optional
optional string name = 1; -
hasPort
boolean hasPort()The port number of the endpoint.
optional int32 port = 2; -
getPort
int getPort()The port number of the endpoint.
optional int32 port = 2; -
hasProtocol
boolean hasProtocol()The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. +optional
optional string protocol = 3; -
getProtocol
String getProtocol()The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. +optional
optional string protocol = 3; -
getProtocolBytes
com.google.protobuf.ByteString getProtocolBytes()The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. +optional
optional string protocol = 3; -
hasAppProtocol
boolean hasAppProtocol()The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. +optional
optional string appProtocol = 4; -
getAppProtocol
String getAppProtocol()The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. +optional
optional string appProtocol = 4; -
getAppProtocolBytes
com.google.protobuf.ByteString getAppProtocolBytes()The application protocol for this port. This field follows standard Kubernetes label syntax. Un-prefixed names are reserved for IANA standard service names (as per RFC-6335 and http://www.iana.org/assignments/service-names). Non-standard protocols should use prefixed names such as mycompany.com/my-custom-protocol. +optional
optional string appProtocol = 4;
-