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.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| 限定符和类型 | 字段和说明 |
|---|---|
static int |
NAME_FIELD_NUMBER |
static int |
NUMBER_FIELD_NUMBER |
static int |
PROTOCOL_FIELD_NUMBER |
static int |
TARGET_PORT_FIELD_NUMBER |
| 限定符和类型 | 方法和说明 |
|---|---|
boolean |
equals(Object obj) |
static GatewayOuterClass.Port |
getDefaultInstance() |
GatewayOuterClass.Port |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getName()
Label assigned to the port.
|
com.google.protobuf.ByteString |
getNameBytes()
Label assigned to the port.
|
int |
getNumber()
A valid non-negative integer port number.
|
com.google.protobuf.Parser<GatewayOuterClass.Port> |
getParserForType() |
String |
getProtocol()
The protocol exposed on the port.
|
com.google.protobuf.ByteString |
getProtocolBytes()
The protocol exposed on the port.
|
int |
getSerializedSize() |
int |
getTargetPort()
The port number on the endpoint where the traffic will be
received.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
int |
hashCode() |
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static GatewayOuterClass.Port.Builder |
newBuilder() |
static GatewayOuterClass.Port.Builder |
newBuilder(GatewayOuterClass.Port prototype) |
GatewayOuterClass.Port.Builder |
newBuilderForType() |
protected GatewayOuterClass.Port.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static GatewayOuterClass.Port |
parseDelimitedFrom(InputStream input) |
static GatewayOuterClass.Port |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GatewayOuterClass.Port |
parseFrom(byte[] data) |
static GatewayOuterClass.Port |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GatewayOuterClass.Port |
parseFrom(ByteBuffer data) |
static GatewayOuterClass.Port |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GatewayOuterClass.Port |
parseFrom(com.google.protobuf.ByteString data) |
static GatewayOuterClass.Port |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GatewayOuterClass.Port |
parseFrom(com.google.protobuf.CodedInputStream input) |
static GatewayOuterClass.Port |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static GatewayOuterClass.Port |
parseFrom(InputStream input) |
static GatewayOuterClass.Port |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<GatewayOuterClass.Port> |
parser() |
GatewayOuterClass.Port.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
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, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTopublic static final int NUMBER_FIELD_NUMBER
public static final int PROTOCOL_FIELD_NUMBER
public static final int NAME_FIELD_NUMBER
public static final int TARGET_PORT_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance 在类中 com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields 在接口中 com.google.protobuf.MessageOrBuildergetUnknownFields 在类中 com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable 在类中 com.google.protobuf.GeneratedMessageV3public int getNumber()
A valid non-negative integer port number.
uint32 number = 1 [(.google.api.field_behavior) = REQUIRED];getNumber 在接口中 GatewayOuterClass.PortOrBuilderpublic 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.PortOrBuilderpublic 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.PortOrBuilderpublic String getName()
Label assigned to the port.
string name = 3 [(.google.api.field_behavior) = REQUIRED];getName 在接口中 GatewayOuterClass.PortOrBuilderpublic com.google.protobuf.ByteString getNameBytes()
Label assigned to the port.
string name = 3 [(.google.api.field_behavior) = REQUIRED];getNameBytes 在接口中 GatewayOuterClass.PortOrBuilderpublic 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.PortOrBuilderpublic final boolean isInitialized()
isInitialized 在接口中 com.google.protobuf.MessageLiteOrBuilderisInitialized 在类中 com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo 在接口中 com.google.protobuf.MessageLitewriteTo 在类中 com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize 在接口中 com.google.protobuf.MessageLitegetSerializedSize 在类中 com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals 在接口中 com.google.protobuf.Messageequals 在类中 com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode 在接口中 com.google.protobuf.MessagehashCode 在类中 com.google.protobuf.AbstractMessagepublic static GatewayOuterClass.Port parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Port parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Port parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Port parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Port parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Port parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static GatewayOuterClass.Port parseFrom(InputStream input) throws IOException
IOExceptionpublic static GatewayOuterClass.Port parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GatewayOuterClass.Port parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static GatewayOuterClass.Port parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static GatewayOuterClass.Port parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static GatewayOuterClass.Port parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic GatewayOuterClass.Port.Builder newBuilderForType()
newBuilderForType 在接口中 com.google.protobuf.MessagenewBuilderForType 在接口中 com.google.protobuf.MessageLitepublic static GatewayOuterClass.Port.Builder newBuilder()
public static GatewayOuterClass.Port.Builder newBuilder(GatewayOuterClass.Port prototype)
public GatewayOuterClass.Port.Builder toBuilder()
toBuilder 在接口中 com.google.protobuf.MessagetoBuilder 在接口中 com.google.protobuf.MessageLiteprotected GatewayOuterClass.Port.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType 在类中 com.google.protobuf.GeneratedMessageV3public static GatewayOuterClass.Port getDefaultInstance()
public static com.google.protobuf.Parser<GatewayOuterClass.Port> parser()
public com.google.protobuf.Parser<GatewayOuterClass.Port> getParserForType()
getParserForType 在接口中 com.google.protobuf.MessagegetParserForType 在接口中 com.google.protobuf.MessageLitegetParserForType 在类中 com.google.protobuf.GeneratedMessageV3public GatewayOuterClass.Port getDefaultInstanceForType()
getDefaultInstanceForType 在接口中 com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType 在接口中 com.google.protobuf.MessageOrBuilderCopyright © 2018–2023 Alibaba Group. All rights reserved.