1 /* 2 * Copyright 2020 Google LLC 3 * 4 * Licensed under the Apache License, Version 2.0 (the "License"); 5 * you may not use this file except in compliance with the License. 6 * You may obtain a copy of the License at 7 * 8 * https://www.apache.org/licenses/LICENSE-2.0 9 * 10 * Unless required by applicable law or agreed to in writing, software 11 * distributed under the License is distributed on an "AS IS" BASIS, 12 * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. 13 * See the License for the specific language governing permissions and 14 * limitations under the License. 15 */ 16 // Generated by the protocol buffer compiler. DO NOT EDIT! 17 // source: google/monitoring/dashboard/v1/metrics.proto 18 19 package com.google.monitoring.dashboard.v1; 20 21 public final class MetricsProto { MetricsProto()22 private MetricsProto() {} 23 registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry)24 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistryLite registry) {} 25 registerAllExtensions(com.google.protobuf.ExtensionRegistry registry)26 public static void registerAllExtensions(com.google.protobuf.ExtensionRegistry registry) { 27 registerAllExtensions((com.google.protobuf.ExtensionRegistryLite) registry); 28 } 29 30 static final com.google.protobuf.Descriptors.Descriptor 31 internal_static_google_monitoring_dashboard_v1_TimeSeriesQuery_descriptor; 32 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 33 internal_static_google_monitoring_dashboard_v1_TimeSeriesQuery_fieldAccessorTable; 34 static final com.google.protobuf.Descriptors.Descriptor 35 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilter_descriptor; 36 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 37 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilter_fieldAccessorTable; 38 static final com.google.protobuf.Descriptors.Descriptor 39 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_descriptor; 40 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 41 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_fieldAccessorTable; 42 static final com.google.protobuf.Descriptors.Descriptor 43 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_RatioPart_descriptor; 44 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 45 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_RatioPart_fieldAccessorTable; 46 static final com.google.protobuf.Descriptors.Descriptor 47 internal_static_google_monitoring_dashboard_v1_Threshold_descriptor; 48 static final com.google.protobuf.GeneratedMessageV3.FieldAccessorTable 49 internal_static_google_monitoring_dashboard_v1_Threshold_fieldAccessorTable; 50 getDescriptor()51 public static com.google.protobuf.Descriptors.FileDescriptor getDescriptor() { 52 return descriptor; 53 } 54 55 private static com.google.protobuf.Descriptors.FileDescriptor descriptor; 56 57 static { 58 java.lang.String[] descriptorData = { 59 "\n,google/monitoring/dashboard/v1/metrics" 60 + ".proto\022\036google.monitoring.dashboard.v1\032\037" 61 + "google/api/field_behavior.proto\032+google/" 62 + "monitoring/dashboard/v1/common.proto\"\237\002\n" 63 + "\017TimeSeriesQuery\022N\n\022time_series_filter\030\001" 64 + " \001(\01320.google.monitoring.dashboard.v1.Ti" 65 + "meSeriesFilterH\000\022Y\n\030time_series_filter_r" 66 + "atio\030\002 \001(\01325.google.monitoring.dashboard" 67 + ".v1.TimeSeriesFilterRatioH\000\022$\n\032time_seri" 68 + "es_query_language\030\003 \001(\tH\000\022\032\n\020prometheus_" 69 + "query\030\006 \001(\tH\000\022\025\n\runit_override\030\005 \001(\tB\010\n\006" 70 + "source\"\212\003\n\020TimeSeriesFilter\022\023\n\006filter\030\001 " 71 + "\001(\tB\003\340A\002\022@\n\013aggregation\030\002 \001(\0132+.google.m" 72 + "onitoring.dashboard.v1.Aggregation\022J\n\025se" 73 + "condary_aggregation\030\003 \001(\0132+.google.monit" 74 + "oring.dashboard.v1.Aggregation\022W\n\027pick_t" 75 + "ime_series_filter\030\004 \001(\01324.google.monitor" 76 + "ing.dashboard.v1.PickTimeSeriesFilterH\000\022" 77 + "i\n\036statistical_time_series_filter\030\005 \001(\0132" 78 + ";.google.monitoring.dashboard.v1.Statist" 79 + "icalTimeSeriesFilterB\002\030\001H\000B\017\n\routput_fil" 80 + "ter\"\306\004\n\025TimeSeriesFilterRatio\022R\n\tnumerat" 81 + "or\030\001 \001(\0132?.google.monitoring.dashboard.v" 82 + "1.TimeSeriesFilterRatio.RatioPart\022T\n\013den" 83 + "ominator\030\002 \001(\0132?.google.monitoring.dashb" 84 + "oard.v1.TimeSeriesFilterRatio.RatioPart\022" 85 + "J\n\025secondary_aggregation\030\003 \001(\0132+.google." 86 + "monitoring.dashboard.v1.Aggregation\022W\n\027p" 87 + "ick_time_series_filter\030\004 \001(\01324.google.mo" 88 + "nitoring.dashboard.v1.PickTimeSeriesFilt" 89 + "erH\000\022i\n\036statistical_time_series_filter\030\005" 90 + " \001(\0132;.google.monitoring.dashboard.v1.St" 91 + "atisticalTimeSeriesFilterB\002\030\001H\000\032b\n\tRatio" 92 + "Part\022\023\n\006filter\030\001 \001(\tB\003\340A\002\022@\n\013aggregation" 93 + "\030\002 \001(\0132+.google.monitoring.dashboard.v1." 94 + "AggregationB\017\n\routput_filter\"\252\003\n\tThresho" 95 + "ld\022\r\n\005label\030\001 \001(\t\022\r\n\005value\030\002 \001(\001\022>\n\005colo" 96 + "r\030\003 \001(\0162/.google.monitoring.dashboard.v1" 97 + ".Threshold.Color\022F\n\tdirection\030\004 \001(\01623.go" 98 + "ogle.monitoring.dashboard.v1.Threshold.D" 99 + "irection\022I\n\013target_axis\030\005 \001(\01624.google.m" 100 + "onitoring.dashboard.v1.Threshold.TargetA" 101 + "xis\"3\n\005Color\022\025\n\021COLOR_UNSPECIFIED\020\000\022\n\n\006Y" 102 + "ELLOW\020\004\022\007\n\003RED\020\006\"<\n\tDirection\022\031\n\025DIRECTI" 103 + "ON_UNSPECIFIED\020\000\022\t\n\005ABOVE\020\001\022\t\n\005BELOW\020\002\"9" 104 + "\n\nTargetAxis\022\033\n\027TARGET_AXIS_UNSPECIFIED\020" 105 + "\000\022\006\n\002Y1\020\001\022\006\n\002Y2\020\002*Q\n\016SparkChartType\022 \n\034S" 106 + "PARK_CHART_TYPE_UNSPECIFIED\020\000\022\016\n\nSPARK_L" 107 + "INE\020\001\022\r\n\tSPARK_BAR\020\002B\365\001\n\"com.google.moni" 108 + "toring.dashboard.v1B\014MetricsProtoP\001ZFclo" 109 + "ud.google.com/go/monitoring/dashboard/ap" 110 + "iv1/dashboardpb;dashboardpb\252\002$Google.Clo" 111 + "ud.Monitoring.Dashboard.V1\312\002$Google\\Clou" 112 + "d\\Monitoring\\Dashboard\\V1\352\002(Google::Clou" 113 + "d::Monitoring::Dashboard::V1b\006proto3" 114 }; 115 descriptor = 116 com.google.protobuf.Descriptors.FileDescriptor.internalBuildGeneratedFileFrom( 117 descriptorData, 118 new com.google.protobuf.Descriptors.FileDescriptor[] { 119 com.google.api.FieldBehaviorProto.getDescriptor(), 120 com.google.monitoring.dashboard.v1.CommonProto.getDescriptor(), 121 }); 122 internal_static_google_monitoring_dashboard_v1_TimeSeriesQuery_descriptor = 123 getDescriptor().getMessageTypes().get(0); 124 internal_static_google_monitoring_dashboard_v1_TimeSeriesQuery_fieldAccessorTable = 125 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 126 internal_static_google_monitoring_dashboard_v1_TimeSeriesQuery_descriptor, 127 new java.lang.String[] { 128 "TimeSeriesFilter", 129 "TimeSeriesFilterRatio", 130 "TimeSeriesQueryLanguage", 131 "PrometheusQuery", 132 "UnitOverride", 133 "Source", 134 }); 135 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilter_descriptor = 136 getDescriptor().getMessageTypes().get(1); 137 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilter_fieldAccessorTable = 138 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 139 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilter_descriptor, 140 new java.lang.String[] { 141 "Filter", 142 "Aggregation", 143 "SecondaryAggregation", 144 "PickTimeSeriesFilter", 145 "StatisticalTimeSeriesFilter", 146 "OutputFilter", 147 }); 148 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_descriptor = 149 getDescriptor().getMessageTypes().get(2); 150 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_fieldAccessorTable = 151 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 152 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_descriptor, 153 new java.lang.String[] { 154 "Numerator", 155 "Denominator", 156 "SecondaryAggregation", 157 "PickTimeSeriesFilter", 158 "StatisticalTimeSeriesFilter", 159 "OutputFilter", 160 }); 161 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_RatioPart_descriptor = 162 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_descriptor 163 .getNestedTypes() 164 .get(0); 165 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_RatioPart_fieldAccessorTable = 166 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 167 internal_static_google_monitoring_dashboard_v1_TimeSeriesFilterRatio_RatioPart_descriptor, 168 new java.lang.String[] { 169 "Filter", "Aggregation", 170 }); 171 internal_static_google_monitoring_dashboard_v1_Threshold_descriptor = 172 getDescriptor().getMessageTypes().get(3); 173 internal_static_google_monitoring_dashboard_v1_Threshold_fieldAccessorTable = 174 new com.google.protobuf.GeneratedMessageV3.FieldAccessorTable( 175 internal_static_google_monitoring_dashboard_v1_Threshold_descriptor, 176 new java.lang.String[] { 177 "Label", "Value", "Color", "Direction", "TargetAxis", 178 }); 179 com.google.protobuf.ExtensionRegistry registry = 180 com.google.protobuf.ExtensionRegistry.newInstance(); 181 registry.add(com.google.api.FieldBehaviorProto.fieldBehavior); com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( descriptor, registry)182 com.google.protobuf.Descriptors.FileDescriptor.internalUpdateFileDescriptor( 183 descriptor, registry); com.google.api.FieldBehaviorProto.getDescriptor()184 com.google.api.FieldBehaviorProto.getDescriptor(); com.google.monitoring.dashboard.v1.CommonProto.getDescriptor()185 com.google.monitoring.dashboard.v1.CommonProto.getDescriptor(); 186 } 187 188 // @@protoc_insertion_point(outer_class_scope) 189 } 190