com.google.api.MetricProto Maven / Gradle / Ivy
The newest version!
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/api/metric.proto
package com.google.api;
public final class MetricProto {
private MetricProto() {}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistryLite registry) {
}
public static void registerAllExtensions(
com.google.protobuf.ExtensionRegistry registry) {
registerAllExtensions(
(com.google.protobuf.ExtensionRegistryLite) registry);
}
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_api_MetricDescriptor_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_api_MetricDescriptor_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_api_Metric_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_api_Metric_fieldAccessorTable;
static final com.google.protobuf.Descriptors.Descriptor
internal_static_google_api_Metric_LabelsEntry_descriptor;
static final
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internal_static_google_api_Metric_LabelsEntry_fieldAccessorTable;
public static com.google.protobuf.Descriptors.FileDescriptor
getDescriptor() {
return descriptor;
}
private static com.google.protobuf.Descriptors.FileDescriptor
descriptor;
static {
java.lang.String[] descriptorData = {
"\n\027google/api/metric.proto\022\ngoogle.api\032\026g" +
"oogle/api/label.proto\"\322\003\n\020MetricDescript" +
"or\022\014\n\004name\030\001 \001(\t\022\014\n\004type\030\010 \001(\t\022+\n\006labels" +
"\030\002 \003(\0132\033.google.api.LabelDescriptor\022<\n\013m" +
"etric_kind\030\003 \001(\0162\'.google.api.MetricDesc" +
"riptor.MetricKind\022:\n\nvalue_type\030\004 \001(\0162&." +
"google.api.MetricDescriptor.ValueType\022\014\n" +
"\004unit\030\005 \001(\t\022\023\n\013description\030\006 \001(\t\022\024\n\014disp" +
"lay_name\030\007 \001(\t\"O\n\nMetricKind\022\033\n\027METRIC_K" +
"IND_UNSPECIFIED\020\000\022\t\n\005GAUGE\020\001\022\t\n\005DELTA\020\002\022" +
"\016\n\nCUMULATIVE\020\003\"q\n\tValueType\022\032\n\026VALUE_TY" +
"PE_UNSPECIFIED\020\000\022\010\n\004BOOL\020\001\022\t\n\005INT64\020\002\022\n\n" +
"\006DOUBLE\020\003\022\n\n\006STRING\020\004\022\020\n\014DISTRIBUTION\020\005\022" +
"\t\n\005MONEY\020\006\"u\n\006Metric\022\014\n\004type\030\003 \001(\t\022.\n\006la" +
"bels\030\002 \003(\0132\036.google.api.Metric.LabelsEnt" +
"ry\032-\n\013LabelsEntry\022\013\n\003key\030\001 \001(\t\022\r\n\005value\030" +
"\002 \001(\t:\0028\001B_\n\016com.google.apiB\013MetricProto" +
"P\001Z7google.golang.org/genproto/googleapi" +
"s/api/metric;metric\242\002\004GAPIb\006proto3"
};
com.google.protobuf.Descriptors.FileDescriptor.InternalDescriptorAssigner assigner =
new com.google.protobuf.Descriptors.FileDescriptor. InternalDescriptorAssigner() {
public com.google.protobuf.ExtensionRegistry assignDescriptors(
com.google.protobuf.Descriptors.FileDescriptor root) {
descriptor = root;
return null;
}
};
com.google.protobuf.Descriptors.FileDescriptor
.internalBuildGeneratedFileFrom(descriptorData,
new com.google.protobuf.Descriptors.FileDescriptor[] {
com.google.api.LabelProto.getDescriptor(),
}, assigner);
internal_static_google_api_MetricDescriptor_descriptor =
getDescriptor().getMessageTypes().get(0);
internal_static_google_api_MetricDescriptor_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_api_MetricDescriptor_descriptor,
new java.lang.String[] { "Name", "Type", "Labels", "MetricKind", "ValueType", "Unit", "Description", "DisplayName", });
internal_static_google_api_Metric_descriptor =
getDescriptor().getMessageTypes().get(1);
internal_static_google_api_Metric_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_api_Metric_descriptor,
new java.lang.String[] { "Type", "Labels", });
internal_static_google_api_Metric_LabelsEntry_descriptor =
internal_static_google_api_Metric_descriptor.getNestedTypes().get(0);
internal_static_google_api_Metric_LabelsEntry_fieldAccessorTable = new
com.google.protobuf.GeneratedMessageV3.FieldAccessorTable(
internal_static_google_api_Metric_LabelsEntry_descriptor,
new java.lang.String[] { "Key", "Value", });
com.google.api.LabelProto.getDescriptor();
}
// @@protoc_insertion_point(outer_class_scope)
}