类 GatewayOuterClass.Port

  • 所有已实现的接口:
    com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GatewayOuterClass.PortOrBuilder, java.io.Serializable
    封闭类:
    GatewayOuterClass

    public static final class GatewayOuterClass.Port
    extends com.google.protobuf.GeneratedMessageV3
    implements GatewayOuterClass.PortOrBuilder
     Port describes the properties of a specific port of a service.
     
    Protobuf type istio.networking.v1alpha3.Port
    另请参阅:
    序列化表格
    • 嵌套类概要

      嵌套类 
      修饰符和类型 说明
      static class  GatewayOuterClass.Port.Builder
      Port describes the properties of a specific port of a service.
      • 从类继承的嵌套类/接口 com.google.protobuf.GeneratedMessageV3

        com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,​BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,​BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
      • 从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite

        com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
    • 构造器概要

      构造器 
      限定符 构造器 说明
      private Port()  
      private Port​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)  
    • 字段详细资料

      • serialVersionUID

        private static final long serialVersionUID
        另请参阅:
        常量字段值
      • NUMBER_FIELD_NUMBER

        public static final int NUMBER_FIELD_NUMBER
        另请参阅:
        常量字段值
      • number_

        private int number_
      • PROTOCOL_FIELD_NUMBER

        public static final int PROTOCOL_FIELD_NUMBER
        另请参阅:
        常量字段值
      • protocol_

        private volatile java.lang.Object protocol_
      • NAME_FIELD_NUMBER

        public static final int NAME_FIELD_NUMBER
        另请参阅:
        常量字段值
      • name_

        private volatile java.lang.Object name_
      • TARGET_PORT_FIELD_NUMBER

        public static final int TARGET_PORT_FIELD_NUMBER
        另请参阅:
        常量字段值
      • targetPort_

        private int targetPort_
      • memoizedIsInitialized

        private byte memoizedIsInitialized
    • 构造器详细资料

      • Port

        private Port​(com.google.protobuf.GeneratedMessageV3.Builder<?> builder)
      • Port

        private Port()
    • 方法详细资料

      • newInstance

        protected java.lang.Object newInstance​(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
        覆盖:
        newInstance 在类中 com.google.protobuf.GeneratedMessageV3
      • getUnknownFields

        public final com.google.protobuf.UnknownFieldSet getUnknownFields()
        指定者:
        getUnknownFields 在接口中 com.google.protobuf.MessageOrBuilder
        覆盖:
        getUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3
      • getDescriptor

        public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
      • internalGetFieldAccessorTable

        protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
        指定者:
        internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3
      • getNumber

        public int getNumber()
         A valid non-negative integer port number.
         
        uint32 number = 1 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getNumber 在接口中 GatewayOuterClass.PortOrBuilder
        返回:
        The number.
      • getProtocol

        public java.lang.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];
        指定者:
        getProtocol 在接口中 GatewayOuterClass.PortOrBuilder
        返回:
        The protocol.
      • getProtocolBytes

        public 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];
        指定者:
        getProtocolBytes 在接口中 GatewayOuterClass.PortOrBuilder
        返回:
        The bytes for protocol.
      • getName

        public java.lang.String getName()
         Label assigned to the port.
         
        string name = 3 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getName 在接口中 GatewayOuterClass.PortOrBuilder
        返回:
        The name.
      • getNameBytes

        public com.google.protobuf.ByteString getNameBytes()
         Label assigned to the port.
         
        string name = 3 [(.google.api.field_behavior) = REQUIRED];
        指定者:
        getNameBytes 在接口中 GatewayOuterClass.PortOrBuilder
        返回:
        The bytes for name.
      • getTargetPort

        public int getTargetPort()
         The port number on the endpoint where the traffic will be
         received. Applicable only when used with ServiceEntries.
         
        uint32 target_port = 4;
        指定者:
        getTargetPort 在接口中 GatewayOuterClass.PortOrBuilder
        返回:
        The targetPort.
      • isInitialized

        public final boolean isInitialized()
        指定者:
        isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilder
        覆盖:
        isInitialized 在类中 com.google.protobuf.GeneratedMessageV3
      • writeTo

        public void writeTo​(com.google.protobuf.CodedOutputStream output)
                     throws java.io.IOException
        指定者:
        writeTo 在接口中 com.google.protobuf.MessageLite
        覆盖:
        writeTo 在类中 com.google.protobuf.GeneratedMessageV3
        抛出:
        java.io.IOException
      • getSerializedSize

        public int getSerializedSize()
        指定者:
        getSerializedSize 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3
      • equals

        public boolean equals​(java.lang.Object obj)
        指定者:
        equals 在接口中 com.google.protobuf.Message
        覆盖:
        equals 在类中 com.google.protobuf.AbstractMessage
      • hashCode

        public int hashCode()
        指定者:
        hashCode 在接口中 com.google.protobuf.Message
        覆盖:
        hashCode 在类中 com.google.protobuf.AbstractMessage
      • parseFrom

        public static GatewayOuterClass.Port parseFrom​(java.nio.ByteBuffer data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.Port parseFrom​(java.nio.ByteBuffer data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.Port parseFrom​(com.google.protobuf.ByteString data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.Port parseFrom​(com.google.protobuf.ByteString data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.Port parseFrom​(byte[] data)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.Port parseFrom​(byte[] data,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws com.google.protobuf.InvalidProtocolBufferException
        抛出:
        com.google.protobuf.InvalidProtocolBufferException
      • parseFrom

        public static GatewayOuterClass.Port parseFrom​(java.io.InputStream input)
                                                throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static GatewayOuterClass.Port parseFrom​(java.io.InputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        抛出:
        java.io.IOException
      • parseDelimitedFrom

        public static GatewayOuterClass.Port parseDelimitedFrom​(java.io.InputStream input)
                                                         throws java.io.IOException
        抛出:
        java.io.IOException
      • parseDelimitedFrom

        public static GatewayOuterClass.Port parseDelimitedFrom​(java.io.InputStream input,
                                                                com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                         throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static GatewayOuterClass.Port parseFrom​(com.google.protobuf.CodedInputStream input)
                                                throws java.io.IOException
        抛出:
        java.io.IOException
      • parseFrom

        public static GatewayOuterClass.Port parseFrom​(com.google.protobuf.CodedInputStream input,
                                                       com.google.protobuf.ExtensionRegistryLite extensionRegistry)
                                                throws java.io.IOException
        抛出:
        java.io.IOException
      • newBuilderForType

        public GatewayOuterClass.Port.Builder newBuilderForType()
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.Message
        指定者:
        newBuilderForType 在接口中 com.google.protobuf.MessageLite
      • toBuilder

        public GatewayOuterClass.Port.Builder toBuilder()
        指定者:
        toBuilder 在接口中 com.google.protobuf.Message
        指定者:
        toBuilder 在接口中 com.google.protobuf.MessageLite
      • newBuilderForType

        protected GatewayOuterClass.Port.Builder newBuilderForType​(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
        指定者:
        newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getParserForType

        public com.google.protobuf.Parser<GatewayOuterClass.Port> getParserForType()
        指定者:
        getParserForType 在接口中 com.google.protobuf.Message
        指定者:
        getParserForType 在接口中 com.google.protobuf.MessageLite
        覆盖:
        getParserForType 在类中 com.google.protobuf.GeneratedMessageV3
      • getDefaultInstanceForType

        public GatewayOuterClass.Port getDefaultInstanceForType()
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuilder
        指定者:
        getDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilder