public static interface V1.EndpointPortOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
String |
getAppProtocol()
The application protocol for this port.
|
com.google.protobuf.ByteString |
getAppProtocolBytes()
The application protocol for this port.
|
String |
getName()
The name of this port.
|
com.google.protobuf.ByteString |
getNameBytes()
The name of this port.
|
int |
getPort()
The port number of the endpoint.
|
String |
getProtocol()
The IP protocol for this port.
|
com.google.protobuf.ByteString |
getProtocolBytes()
The IP protocol for this port.
|
boolean |
hasAppProtocol()
The application protocol for this port.
|
boolean |
hasName()
The name of this port.
|
boolean |
hasPort()
The port number of the endpoint.
|
boolean |
hasProtocol()
The IP protocol for this port.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofboolean 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;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;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;boolean hasPort()
The port number of the endpoint.
optional int32 port = 2;int getPort()
The port number of the endpoint.
optional int32 port = 2;boolean hasProtocol()
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. +optional
optional string protocol = 3;String getProtocol()
The IP protocol for this port. Must be UDP, TCP, or SCTP. Default is TCP. +optional
optional string protocol = 3;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;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;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;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;Copyright © 2023. All rights reserved.