EndpointType

enum EndpointType : ProtocolMessageEnum
Enumerates standard types of endpoints.
Protobuf enum elide.meta.EndpointType

Entries

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

Properties

Link copied to clipboard
val API_VALUE: Int = 3
API endpoint type. Typically returns JSON.
API = 3;
Link copied to clipboard
val ASSET_VALUE: Int = 2
Asset endpoint type. Typically used for CSS, JS, images.
ASSET = 2;
Link copied to clipboard
Unspecified endpoint type.
ENDPOINT_TYPE_UNSPECIFIED = 0;
Link copied to clipboard
val PAGE_VALUE: Int = 1
Page endpoint type. Typically returns HTML and references assets.
PAGE = 1;

Functions

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

open fun valueOf(name: String): EndpointType

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.