接口 GatewayOuterClass.PortOrBuilder

所有超级接口:
com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder
所有已知实现类:
GatewayOuterClass.Port, GatewayOuterClass.Port.Builder
封闭类:
GatewayOuterClass

public static interface GatewayOuterClass.PortOrBuilder extends com.google.protobuf.MessageOrBuilder
  • 方法概要

    修饰符和类型
    方法
    说明
    Label assigned to the port.
    com.google.protobuf.ByteString
    Label assigned to the port.
    int
    A valid non-negative integer port number.
    The protocol exposed on the port.
    com.google.protobuf.ByteString
    The protocol exposed on the port.
    int
    The port number on the endpoint where the traffic will be received.

    从接口继承的方法 com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    从接口继承的方法 com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 方法详细资料

    • getNumber

      int getNumber()
       A valid non-negative integer port number.
       
      uint32 number = 1 [(.google.api.field_behavior) = REQUIRED];
      返回:
      The number.
    • getProtocol

      String getProtocol()
       The protocol exposed on the port.
       MUST BE one of HTTP|HTTPS|GRPC|HTTP2|MONGO|TCP|TLS.
       TLS implies the connection will be routed based on the SNI header to
       the destination without terminating the TLS connection.
       
      string protocol = 2 [(.google.api.field_behavior) = REQUIRED];
      返回:
      The protocol.
    • getProtocolBytes

      com.google.protobuf.ByteString getProtocolBytes()
       The protocol exposed on the port.
       MUST BE one of HTTP|HTTPS|GRPC|HTTP2|MONGO|TCP|TLS.
       TLS implies the connection will be routed based on the SNI header to
       the destination without terminating the TLS connection.
       
      string protocol = 2 [(.google.api.field_behavior) = REQUIRED];
      返回:
      The bytes for protocol.
    • getName

      String getName()
       Label assigned to the port.
       
      string name = 3 [(.google.api.field_behavior) = REQUIRED];
      返回:
      The name.
    • getNameBytes

      com.google.protobuf.ByteString getNameBytes()
       Label assigned to the port.
       
      string name = 3 [(.google.api.field_behavior) = REQUIRED];
      返回:
      The bytes for name.
    • getTargetPort

      int getTargetPort()
       The port number on the endpoint where the traffic will be
       received. Applicable only when used with ServiceEntries.
       
      uint32 target_port = 4;
      返回:
      The targetPort.