DynamicETag

class DynamicETag : GeneratedMessage, Context.DynamicETagOrBuilder
Defines the notion of a dynamically-served-page `ETag`, which is calculated either from weak parameters (the date/
time it was served and a simple hash of the request) or strong parameters (full hash of the response).
Protobuf type elide.page.Context.DynamicETag

Types

Link copied to clipboard
class Builder : GeneratedMessage.Builder<BuilderT> , Context.DynamicETagOrBuilder
Defines the notion of a dynamically-served-page `ETag`, which is calculated either from weak parameters (the date/
time it was served and a simple hash of the request) or strong parameters (full hash of the response).
Protobuf type elide.page.Context.DynamicETag

Properties

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
open fun getEnabled(): Boolean
Whether to enable dynamic `ETag`s.
bool enabled = 1;
Link copied to clipboard
open fun getField(field: Descriptors.FieldDescriptor): Any
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
Raw `ETag` component describing the request/operation pre-image.
.elide.data.DataFingerprint preimage = 3;
Link copied to clipboard
Raw `ETag` component describing the request/operation pre-image.
.elide.data.DataFingerprint preimage = 3;
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
Raw `ETag` component describing the response. Leave unset to calculate dynamically.
.elide.data.DataFingerprint response = 4;
Link copied to clipboard
Raw `ETag` component describing the response. Leave unset to calculate dynamically.
.elide.data.DataFingerprint response = 4;
Link copied to clipboard
Link copied to clipboard
open fun getStrong(): Boolean
Flipped to `true` if the `ETag` was generated from a full response pre-image.
bool strong = 2;
Link copied to clipboard
open fun getUnknownFields(): UnknownFieldSet
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
open fun hasPreimage(): Boolean
Raw `ETag` component describing the request/operation pre-image.
.elide.data.DataFingerprint preimage = 3;
Link copied to clipboard
open fun hasResponse(): Boolean
Raw `ETag` component describing the response. Leave unset to calculate dynamically.
.elide.data.DataFingerprint response = 4;
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.DynamicETag
Link copied to clipboard
open fun parseFrom(data: ByteString): Context.DynamicETag
open fun parseFrom(input: CodedInputStream): Context.DynamicETag
open fun parseFrom(data: Array<Byte>, extensionRegistry: ExtensionRegistryLite): Context.DynamicETag
open fun parseFrom(data: ByteString, extensionRegistry: ExtensionRegistryLite): Context.DynamicETag
open fun parseFrom(input: CodedInputStream, extensionRegistry: ExtensionRegistryLite): Context.DynamicETag
open fun parseFrom(input: InputStream, extensionRegistry: ExtensionRegistryLite): Context.DynamicETag
open fun parseFrom(data: ByteBuffer, extensionRegistry: ExtensionRegistryLite): Context.DynamicETag
Link copied to clipboard
open fun parser(): Parser<Context.DynamicETag>
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)