WellKnownPort

enum WellKnownPort : ProtocolMessageEnum
Specifies a subset of relevant well-known ports registered with IANA.
Protobuf enum elide.net.WellKnownPort

Entries

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Properties

Link copied to clipboard
val GRPC_VALUE: Int = 50051
gRPC port.
GRPC = 50051;
Link copied to clipboard
val HTTP_VALUE: Int = 80
HTTP port.
HTTP = 80;
Link copied to clipboard
val HTTPS_VALUE: Int = 443
HTTPS port.
HTTPS = 443;
Link copied to clipboard
val MYSQL_VALUE: Int = 3306
MySQL port.
MYSQL = 3306;
Link copied to clipboard
val POSTGRESQL_VALUE: Int = 5432
PostgreSQL port.
POSTGRESQL = 5432;
Link copied to clipboard
val REDIS_VALUE: Int = 6379
Redis port.
REDIS = 6379;
Link copied to clipboard
val SSH_VALUE: Int = 22
SSH port.
SSH = 22;
Link copied to clipboard
Unspecified well-known port.
WELL_KNOWN_PORT_UNSPECIFIED = 0;

Functions

Link copied to clipboard
open fun forNumber(value: Int): WellKnownPort
Link copied to clipboard
fun getDescriptor(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getDescriptorForType(): Descriptors.EnumDescriptor
Link copied to clipboard
fun getNumber(): Int
Link copied to clipboard
fun getValueDescriptor(): Descriptors.EnumValueDescriptor
Link copied to clipboard
open fun internalGetValueMap(): Internal.EnumLiteMap<WellKnownPort>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): WellKnownPort
open fun valueOf(value: Int): WellKnownPort

open fun valueOf(name: String): WellKnownPort

Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)

Link copied to clipboard

Returns an array containing the constants of this enum type, in the order they're declared. This method may be used to iterate over the constants.