类 GatewayOuterClass.Port

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessageV3
istio.networking.v1alpha3.GatewayOuterClass.Port
所有已实现的接口:
com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, GatewayOuterClass.PortOrBuilder, 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 final class 
    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<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter

    从类继承的嵌套类/接口 com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • 字段概要

    字段
    修饰符和类型
    字段
    说明
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    从类继承的字段 com.google.protobuf.GeneratedMessageV3

    alwaysUseFieldBuilders, unknownFields

    从类继承的字段 com.google.protobuf.AbstractMessage

    memoizedSize

    从类继承的字段 com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • 方法概要

    修饰符和类型
    方法
    说明
    boolean
     
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Label assigned to the port.
    com.google.protobuf.ByteString
    Label assigned to the port.
    int
    A valid non-negative integer port number.
    com.google.protobuf.Parser<GatewayOuterClass.Port>
     
    The protocol exposed on the port.
    com.google.protobuf.ByteString
    The protocol exposed on the port.
    int
     
    int
    The port number on the endpoint where the traffic will be received.
    int
     
    protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
     
    protected Object
    newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<GatewayOuterClass.Port>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    从类继承的方法 com.google.protobuf.GeneratedMessageV3

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    从类继承的方法 com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString

    从类继承的方法 com.google.protobuf.AbstractMessageLite

    addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    从类继承的方法 java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

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

    toByteArray, toByteString, writeDelimitedTo, writeTo

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

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • 字段详细资料

    • NUMBER_FIELD_NUMBER

      public static final int NUMBER_FIELD_NUMBER
      另请参阅:
    • PROTOCOL_FIELD_NUMBER

      public static final int PROTOCOL_FIELD_NUMBER
      另请参阅:
    • NAME_FIELD_NUMBER

      public static final int NAME_FIELD_NUMBER
      另请参阅:
    • TARGET_PORT_FIELD_NUMBER

      public static final int TARGET_PORT_FIELD_NUMBER
      另请参阅:
  • 方法详细资料

    • newInstance

      protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
      覆盖:
      newInstance 在类中 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 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 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 IOException
      指定者:
      writeTo 在接口中 com.google.protobuf.MessageLite
      覆盖:
      writeTo 在类中 com.google.protobuf.GeneratedMessageV3
      抛出:
      IOException
    • getSerializedSize

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

      public boolean equals(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(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      抛出:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static GatewayOuterClass.Port parseFrom(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(InputStream input) throws IOException
      抛出:
      IOException
    • parseFrom

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

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

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

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

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

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

      public static GatewayOuterClass.Port.Builder newBuilder()
    • newBuilder

      public static GatewayOuterClass.Port.Builder newBuilder(GatewayOuterClass.Port prototype)
    • 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
    • getDefaultInstance

      public static GatewayOuterClass.Port getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<GatewayOuterClass.Port> parser()
    • 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