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 Type
    Method
    Description
    The application protocol for this port.
    com.google.protobuf.ByteString
    The application protocol for this port.
    The name of this port.
    com.google.protobuf.ByteString
    The name of this port.
    int
    The port number of the endpoint.
    The IP protocol for this port.
    com.google.protobuf.ByteString
    The IP protocol for this port.
    boolean
    The application protocol for this port.
    boolean
    The name of this port.
    boolean
    The port number of the endpoint.
    boolean
    The IP protocol for this port.

    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

    • 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;