ClientHints

class ClientHints : GeneratedMessage, Context.ClientHintsOrBuilder
Specifies client hints context information.
Protobuf type elide.page.Context.ClientHints

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , Context.ClientHintsOrBuilder
Specifies client hints context information.
Protobuf type elide.page.Context.ClientHints

Properties

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

Functions

Link copied to clipboard
Link copied to clipboard
open fun equals(obj: Any): Boolean
Link copied to clipboard
Link copied to clipboard
open fun getAllFields(): Map<Descriptors.FieldDescriptor, Any>
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
fun getDescriptor(): Descriptors.Descriptor
Link copied to clipboard
open fun getDescriptorForType(): Descriptors.Descriptor
Link copied to clipboard
Memory estimate rating assigned to the device.
float device_memory = 11;
Link copied to clipboard
Pixel ratio value reported by the client.
uint32 device_pixel_ratio = 6;
Link copied to clipboard
open fun getDownlink(): Float
Estimated/reported down-link speed for the client.
float downlink = 8;
Link copied to clipboard
Reported effective-connection-type for the client.
.elide.page.Context.ConnectionHint effective_connection_type = 9;
Link copied to clipboard
Reported effective-connection-type for the client.
.elide.page.Context.ConnectionHint effective_connection_type = 9;
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
Link copied to clipboard
Client hints indicated by the client for this HTTP cycle.
repeated .elide.page.Context.ClientHint indicated = 2;
Link copied to clipboard
Client hints indicated by the client for this HTTP cycle.
repeated .elide.page.Context.ClientHint indicated = 2;
Link copied to clipboard
Client hints indicated by the client for this HTTP cycle.
repeated .elide.page.Context.ClientHint indicated = 2;
Link copied to clipboard
open fun getIndicatedValue(index: Int): Int
Client hints indicated by the client for this HTTP cycle.
repeated .elide.page.Context.ClientHint indicated = 2;
Link copied to clipboard
Client hints indicated by the client for this HTTP cycle.
repeated .elide.page.Context.ClientHint indicated = 2;
Link copied to clipboard
open fun getLifetime(): Long
Time-to-live for Client Hints configuration, in seconds.
uint64 lifetime = 3;
Link copied to clipboard
open fun getOneofFieldDescriptor(oneof: Descriptors.OneofDescriptor): Descriptors.FieldDescriptor
Link copied to clipboard
abstract fun getParserForType(): Parser<out Message>
abstract fun getParserForType(): Parser<out MessageLite>
Link copied to clipboard
open fun getRepeatedField(field: Descriptors.FieldDescriptor, index: Int): Any
Link copied to clipboard
open fun getRepeatedFieldCount(field: Descriptors.FieldDescriptor): Int
Link copied to clipboard
open fun getRoundTripTime(): Int
Latency reported by the client. Includes server latency.
uint32 round_trip_time = 7;
Link copied to clipboard
open fun getSaveData(): Boolean
Flag indicating whether the `Save-Data` token was passed by the client.
bool save_data = 10;
Link copied to clipboard
Link copied to clipboard
Client hints supported by the server for this HTTP cycle.
repeated .elide.page.Context.ClientHint supported = 1;
Link copied to clipboard
Client hints supported by the server for this HTTP cycle.
repeated .elide.page.Context.ClientHint supported = 1;
Link copied to clipboard
Client hints supported by the server for this HTTP cycle.
repeated .elide.page.Context.ClientHint supported = 1;
Link copied to clipboard
open fun getSupportedValue(index: Int): Int
Client hints supported by the server for this HTTP cycle.
repeated .elide.page.Context.ClientHint supported = 1;
Link copied to clipboard
Client hints supported by the server for this HTTP cycle.
repeated .elide.page.Context.ClientHint supported = 1;
Link copied to clipboard
open fun getUnknownFields(): UnknownFieldSet
Link copied to clipboard
open fun getViewportWidth(): Int
Viewport width reported by the client.
uint32 viewport_width = 5;
Link copied to clipboard
open fun getWidth(): Int
Viewport width reported by the client.
uint32 width = 4;
Link copied to clipboard
open fun hasField(field: Descriptors.FieldDescriptor): Boolean
Link copied to clipboard
open fun hashCode(): Int
Link copied to clipboard
open fun hasOneof(oneof: Descriptors.OneofDescriptor): Boolean
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open fun <ContainingT : Message?, T> newFileScopedGeneratedExtension(singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun <ContainingT : Message?, T> newMessageScopedGeneratedExtension(scope: Message, descriptorIndex: Int, singularType: Class<out Any>, defaultInstance: Message): GeneratedMessage.GeneratedExtension<ContainingT, T>
Link copied to clipboard
open fun parseDelimitedFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Context.ClientHints
Link copied to clipboard
open fun parseFrom(data: ByteString): Context.ClientHints
open fun parseFrom(input: CodedInputStream): Context.ClientHints
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): Context.ClientHints
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): Context.ClientHints
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Context.ClientHints
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Context.ClientHints
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): Context.ClientHints
Link copied to clipboard
open fun parser(): Parser<Context.ClientHints>
Link copied to clipboard
Link copied to clipboard
open fun toByteArray(): Array<Byte>
Link copied to clipboard
open fun toByteString(): ByteString
Link copied to clipboard
Link copied to clipboard
open fun writeDelimitedTo(output: OutputStream)
Link copied to clipboard
open fun writeTo(output: CodedOutputStream)