HostCapability

enum HostCapability : ProtocolMessageEnum
Enumerates standard/known host capabilities.
Protobuf enum elide.host.HostCapability

Entries

Link copied to clipboard

Properties

Link copied to clipboard
Unknown or unrecognized host capability; should not be used by regular code.
HOST_CAPABILITY_UNKNOWN = 0;

Functions

Link copied to clipboard
open fun forNumber(value: Int): HostCapability
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<HostCapability>
Link copied to clipboard
open fun valueOf(desc: Descriptors.EnumValueDescriptor): HostCapability
open fun valueOf(value: Int): HostCapability

open fun valueOf(name: String): HostCapability

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.