All Downloads are FREE. Search and download functionalities are using the official Maven repository.

protokt.com.google.api.metric.kt Maven / Gradle / Ivy

// Generated by protokt version 0.12.0. Do not modify.
// Source: google/api/metric.proto
package com.google.api

import com.toasttab.protokt.Descriptor
import com.toasttab.protokt.DurationProto
import com.toasttab.protokt.EnumDescriptor
import com.toasttab.protokt.FileDescriptor
import com.toasttab.protokt.rt.KtGeneratedFileDescriptor

@KtGeneratedFileDescriptor
object MetricProto {
    val descriptor: FileDescriptor by lazy {
                val descriptorData = arrayOf(
                            "\ngoogle/api/metric.proto\ngoogle.apig" +
                    "oogle/api/label.protogoogle/api/launch" +
                    "_stage.protogoogle/protobuf/duration.p" +
                    "roto\"゚\nMetricDescriptor\nname (\t" +
                    "\ntype\b (\t+\nlabels (2.google.a" +
                    "pi.LabelDescriptor<\nmetric_kind (2" +
                    "\'.google.api.MetricDescriptor.MetricKind" +
                    ":\n\nvalue_type (2&.google.api.Metric" +
                    "Descriptor.ValueType\nunit (\t\nde" +
                    "scription (\t\ndisplay_name (\tG\n" +
                    "\bmetadata\n (25.google.api.MetricDescr" +
                    "iptor.MetricDescriptorMetadata-\nlaunch" +
                    "_stage (2.google.api.LaunchStage \n" +
                    "monitored_resource_types\r (\tᄚ\nMetr" +
                    "icDescriptorMetadata1\nlaunch_stage " +
                    "(2.google.api.LaunchStageB0\n\rsampl" +
                    "e_period (2.google.protobuf.Duratio" +
                    "n/\ningest_delay (2.google.protobu" +
                    "f.Duration\"O\n\nMetricKind\nMETRIC_KIND_" +
                    "UNSPECIFIED\t\nGAUGE\t\nDELTA\n\nC" +
                    "UMULATIVE\"q\n\tValueType\nVALUE_TYPE_U" +
                    "NSPECIFIED\b\nBOOL\t\nINT64\n\nDOU" +
                    "BLE\n\nSTRING\nDISTRIBUTION\t\nM" +
                    "ONEY\"u\nMetric\ntype (\t.\nlabels" +
                    " (2.google.api.Metric.LabelsEntry-" +
                    "\nLabelsEntry\nkey (\t\r\nvalue (" +
                    "\t:8B_\ncom.google.apiBMetricProtoPZ7" +
                    "google.golang.org/genproto/googleapis/ap" +
                    "i/metric;metricᄁGAPIbproto3"
                )

                FileDescriptor.buildFrom(
                    descriptorData,
                    listOf(
                        LabelProto.descriptor,
            LaunchStageProto.descriptor,
            DurationProto.descriptor
                    )
                )
            }
}

val MetricDescriptor.MetricKind.Deserializer.descriptor: EnumDescriptor
    get() = MetricDescriptor.descriptor.enumTypes[0]

val MetricDescriptor.ValueType.Deserializer.descriptor: EnumDescriptor
    get() = MetricDescriptor.descriptor.enumTypes[1]

val MetricDescriptor.Deserializer.descriptor: Descriptor
    get() = MetricProto.descriptor.messageTypes[0]

val MetricDescriptor.MetricDescriptorMetadata.Deserializer.descriptor: Descriptor
    get() = MetricDescriptor.descriptor.nestedTypes[0]

val Metric.Deserializer.descriptor: Descriptor
    get() = MetricProto.descriptor.messageTypes[1]




© 2015 - 2025 Weber Informatics LLC | Privacy Policy