类 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,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 typeistio.networking.v1alpha3.Port- 另请参阅:
- 序列化表格
-
-
嵌套类概要
嵌套类 修饰符和类型 类 说明 static classGatewayOuterClass.Port.BuilderPort 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
-
-
字段概要
字段 修饰符和类型 字段 说明 private static GatewayOuterClass.PortDEFAULT_INSTANCEprivate bytememoizedIsInitializedprivate java.lang.Objectname_static intNAME_FIELD_NUMBERprivate intnumber_static intNUMBER_FIELD_NUMBERprivate static com.google.protobuf.Parser<GatewayOuterClass.Port>PARSERprivate java.lang.Objectprotocol_static intPROTOCOL_FIELD_NUMBERprivate static longserialVersionUIDstatic intTARGET_PORT_FIELD_NUMBERprivate inttargetPort_
-
方法概要
所有方法 静态方法 实例方法 具体方法 修饰符和类型 方法 说明 booleanequals(java.lang.Object obj)static GatewayOuterClass.PortgetDefaultInstance()GatewayOuterClass.PortgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()java.lang.StringgetName()Label assigned to the port.com.google.protobuf.ByteStringgetNameBytes()Label assigned to the port.intgetNumber()A valid non-negative integer port number.com.google.protobuf.Parser<GatewayOuterClass.Port>getParserForType()java.lang.StringgetProtocol()The protocol exposed on the port.com.google.protobuf.ByteStringgetProtocolBytes()The protocol exposed on the port.intgetSerializedSize()intgetTargetPort()The port number on the endpoint where the traffic will be received.com.google.protobuf.UnknownFieldSetgetUnknownFields()inthashCode()protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()booleanisInitialized()static GatewayOuterClass.Port.BuildernewBuilder()static GatewayOuterClass.Port.BuildernewBuilder(GatewayOuterClass.Port prototype)GatewayOuterClass.Port.BuildernewBuilderForType()protected GatewayOuterClass.Port.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected java.lang.ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static GatewayOuterClass.PortparseDelimitedFrom(java.io.InputStream input)static GatewayOuterClass.PortparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayOuterClass.PortparseFrom(byte[] data)static GatewayOuterClass.PortparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayOuterClass.PortparseFrom(com.google.protobuf.ByteString data)static GatewayOuterClass.PortparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayOuterClass.PortparseFrom(com.google.protobuf.CodedInputStream input)static GatewayOuterClass.PortparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayOuterClass.PortparseFrom(java.io.InputStream input)static GatewayOuterClass.PortparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static GatewayOuterClass.PortparseFrom(java.nio.ByteBuffer data)static GatewayOuterClass.PortparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<GatewayOuterClass.Port>parser()GatewayOuterClass.Port.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
从类继承的方法 com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, 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
-
-
-
-
字段详细资料
-
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
-
DEFAULT_INSTANCE
private static final GatewayOuterClass.Port DEFAULT_INSTANCE
-
PARSER
private static final com.google.protobuf.Parser<GatewayOuterClass.Port> PARSER
-
-
方法详细资料
-
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
-
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
-
-