commonMain.protokt.v1.google.api.metric_descriptors.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-common-protos Show documentation
Show all versions of proto-google-common-protos Show documentation
Protobuf compiler and runtime for Kotlin
The newest version!
// Generated by protokt version 1.0.0-beta.2. Do not modify.
// Source: google/api/metric.proto
@file:Suppress("DEPRECATION")
package protokt.v1.google.api
import protokt.v1.GeneratedFileDescriptor
import protokt.v1.google.protobuf.Descriptor
import protokt.v1.google.protobuf.DurationProto
import protokt.v1.google.protobuf.EnumDescriptor
import protokt.v1.google.protobuf.FileDescriptor
import kotlin.Suppress
@GeneratedFileDescriptor
public object MetricProto {
public 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\ndisplay_name (\tG\n" +
"\bmetadata\n (25.google.api.MetricDescr" +
"iptor.MetricDescriptorMetadata-\nlaunch" +
"_stage (2.google.api.LaunchStage \n" +
"monitored_resource_types\r (\tᄚ\nMetr" +
"icDescriptorMetadata1\nlaunch_stage " +
"(2.google.api.LaunchStageB0\n\rsampl" +
"e_period (2.google.protobuf.Duratio" +
"n/\ningest_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\nDISTRIBUTION\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
)
)
}
}
public val MetricDescriptor.MetricKind.Deserializer.descriptor: EnumDescriptor
get() = MetricDescriptor.descriptor.enumTypes[0]
public val MetricDescriptor.ValueType.Deserializer.descriptor: EnumDescriptor
get() = MetricDescriptor.descriptor.enumTypes[1]
public val MetricDescriptor.Deserializer.descriptor: Descriptor
get() = MetricProto.descriptor.messageTypes[0]
public val MetricDescriptor.MetricDescriptorMetadata.Deserializer.descriptor: Descriptor
get() = MetricDescriptor.descriptor.nestedTypes[0]
public val Metric.Deserializer.descriptor: Descriptor
get() = MetricProto.descriptor.messageTypes[1]