...

Source file src/cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb/piechart.pb.go

Documentation: cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb

     1  // Copyright 2023 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.33.0
    18  // 	protoc        v4.25.3
    19  // source: google/monitoring/dashboard/v1/piechart.proto
    20  
    21  package dashboardpb
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  	durationpb "google.golang.org/protobuf/types/known/durationpb"
    31  )
    32  
    33  const (
    34  	// Verify that this generated code is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    36  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    37  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    38  )
    39  
    40  // Types for the pie chart.
    41  type PieChart_PieChartType int32
    42  
    43  const (
    44  	// The zero value. No type specified. Do not use.
    45  	PieChart_PIE_CHART_TYPE_UNSPECIFIED PieChart_PieChartType = 0
    46  	// A Pie type PieChart.
    47  	PieChart_PIE PieChart_PieChartType = 1
    48  	// Similar to PIE, but the DONUT type PieChart has a hole in the middle.
    49  	PieChart_DONUT PieChart_PieChartType = 2
    50  )
    51  
    52  // Enum value maps for PieChart_PieChartType.
    53  var (
    54  	PieChart_PieChartType_name = map[int32]string{
    55  		0: "PIE_CHART_TYPE_UNSPECIFIED",
    56  		1: "PIE",
    57  		2: "DONUT",
    58  	}
    59  	PieChart_PieChartType_value = map[string]int32{
    60  		"PIE_CHART_TYPE_UNSPECIFIED": 0,
    61  		"PIE":                        1,
    62  		"DONUT":                      2,
    63  	}
    64  )
    65  
    66  func (x PieChart_PieChartType) Enum() *PieChart_PieChartType {
    67  	p := new(PieChart_PieChartType)
    68  	*p = x
    69  	return p
    70  }
    71  
    72  func (x PieChart_PieChartType) String() string {
    73  	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
    74  }
    75  
    76  func (PieChart_PieChartType) Descriptor() protoreflect.EnumDescriptor {
    77  	return file_google_monitoring_dashboard_v1_piechart_proto_enumTypes[0].Descriptor()
    78  }
    79  
    80  func (PieChart_PieChartType) Type() protoreflect.EnumType {
    81  	return &file_google_monitoring_dashboard_v1_piechart_proto_enumTypes[0]
    82  }
    83  
    84  func (x PieChart_PieChartType) Number() protoreflect.EnumNumber {
    85  	return protoreflect.EnumNumber(x)
    86  }
    87  
    88  // Deprecated: Use PieChart_PieChartType.Descriptor instead.
    89  func (PieChart_PieChartType) EnumDescriptor() ([]byte, []int) {
    90  	return file_google_monitoring_dashboard_v1_piechart_proto_rawDescGZIP(), []int{0, 0}
    91  }
    92  
    93  // A widget that displays timeseries data as a pie or a donut.
    94  type PieChart struct {
    95  	state         protoimpl.MessageState
    96  	sizeCache     protoimpl.SizeCache
    97  	unknownFields protoimpl.UnknownFields
    98  
    99  	// Required. The queries for the chart's data.
   100  	DataSets []*PieChart_PieChartDataSet `protobuf:"bytes,1,rep,name=data_sets,json=dataSets,proto3" json:"data_sets,omitempty"`
   101  	// Required. Indicates the visualization type for the PieChart.
   102  	ChartType PieChart_PieChartType `protobuf:"varint,2,opt,name=chart_type,json=chartType,proto3,enum=google.monitoring.dashboard.v1.PieChart_PieChartType" json:"chart_type,omitempty"`
   103  	// Optional. Indicates whether or not the pie chart should show slices' labels
   104  	ShowLabels bool `protobuf:"varint,4,opt,name=show_labels,json=showLabels,proto3" json:"show_labels,omitempty"`
   105  }
   106  
   107  func (x *PieChart) Reset() {
   108  	*x = PieChart{}
   109  	if protoimpl.UnsafeEnabled {
   110  		mi := &file_google_monitoring_dashboard_v1_piechart_proto_msgTypes[0]
   111  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   112  		ms.StoreMessageInfo(mi)
   113  	}
   114  }
   115  
   116  func (x *PieChart) String() string {
   117  	return protoimpl.X.MessageStringOf(x)
   118  }
   119  
   120  func (*PieChart) ProtoMessage() {}
   121  
   122  func (x *PieChart) ProtoReflect() protoreflect.Message {
   123  	mi := &file_google_monitoring_dashboard_v1_piechart_proto_msgTypes[0]
   124  	if protoimpl.UnsafeEnabled && x != nil {
   125  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   126  		if ms.LoadMessageInfo() == nil {
   127  			ms.StoreMessageInfo(mi)
   128  		}
   129  		return ms
   130  	}
   131  	return mi.MessageOf(x)
   132  }
   133  
   134  // Deprecated: Use PieChart.ProtoReflect.Descriptor instead.
   135  func (*PieChart) Descriptor() ([]byte, []int) {
   136  	return file_google_monitoring_dashboard_v1_piechart_proto_rawDescGZIP(), []int{0}
   137  }
   138  
   139  func (x *PieChart) GetDataSets() []*PieChart_PieChartDataSet {
   140  	if x != nil {
   141  		return x.DataSets
   142  	}
   143  	return nil
   144  }
   145  
   146  func (x *PieChart) GetChartType() PieChart_PieChartType {
   147  	if x != nil {
   148  		return x.ChartType
   149  	}
   150  	return PieChart_PIE_CHART_TYPE_UNSPECIFIED
   151  }
   152  
   153  func (x *PieChart) GetShowLabels() bool {
   154  	if x != nil {
   155  		return x.ShowLabels
   156  	}
   157  	return false
   158  }
   159  
   160  // Groups a time series query definition.
   161  type PieChart_PieChartDataSet struct {
   162  	state         protoimpl.MessageState
   163  	sizeCache     protoimpl.SizeCache
   164  	unknownFields protoimpl.UnknownFields
   165  
   166  	// Required. The query for the PieChart. See,
   167  	// `google.monitoring.dashboard.v1.TimeSeriesQuery`.
   168  	TimeSeriesQuery *TimeSeriesQuery `protobuf:"bytes,1,opt,name=time_series_query,json=timeSeriesQuery,proto3" json:"time_series_query,omitempty"`
   169  	// Optional. A template for the name of the slice. This name will be
   170  	// displayed in the legend and the tooltip of the pie chart. It replaces the
   171  	// auto-generated names for the slices. For example, if the template is set
   172  	// to
   173  	// `${resource.labels.zone}`, the zone's value will be used for the name
   174  	// instead of the default name.
   175  	SliceNameTemplate string `protobuf:"bytes,2,opt,name=slice_name_template,json=sliceNameTemplate,proto3" json:"slice_name_template,omitempty"`
   176  	// Optional. The lower bound on data point frequency for this data set,
   177  	// implemented by specifying the minimum alignment period to use in a time
   178  	// series query. For example, if the data is published once every 10
   179  	// minutes, the `min_alignment_period` should be at least 10 minutes. It
   180  	// would not make sense to fetch and align data at one minute intervals.
   181  	MinAlignmentPeriod *durationpb.Duration `protobuf:"bytes,3,opt,name=min_alignment_period,json=minAlignmentPeriod,proto3" json:"min_alignment_period,omitempty"`
   182  }
   183  
   184  func (x *PieChart_PieChartDataSet) Reset() {
   185  	*x = PieChart_PieChartDataSet{}
   186  	if protoimpl.UnsafeEnabled {
   187  		mi := &file_google_monitoring_dashboard_v1_piechart_proto_msgTypes[1]
   188  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   189  		ms.StoreMessageInfo(mi)
   190  	}
   191  }
   192  
   193  func (x *PieChart_PieChartDataSet) String() string {
   194  	return protoimpl.X.MessageStringOf(x)
   195  }
   196  
   197  func (*PieChart_PieChartDataSet) ProtoMessage() {}
   198  
   199  func (x *PieChart_PieChartDataSet) ProtoReflect() protoreflect.Message {
   200  	mi := &file_google_monitoring_dashboard_v1_piechart_proto_msgTypes[1]
   201  	if protoimpl.UnsafeEnabled && x != nil {
   202  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   203  		if ms.LoadMessageInfo() == nil {
   204  			ms.StoreMessageInfo(mi)
   205  		}
   206  		return ms
   207  	}
   208  	return mi.MessageOf(x)
   209  }
   210  
   211  // Deprecated: Use PieChart_PieChartDataSet.ProtoReflect.Descriptor instead.
   212  func (*PieChart_PieChartDataSet) Descriptor() ([]byte, []int) {
   213  	return file_google_monitoring_dashboard_v1_piechart_proto_rawDescGZIP(), []int{0, 0}
   214  }
   215  
   216  func (x *PieChart_PieChartDataSet) GetTimeSeriesQuery() *TimeSeriesQuery {
   217  	if x != nil {
   218  		return x.TimeSeriesQuery
   219  	}
   220  	return nil
   221  }
   222  
   223  func (x *PieChart_PieChartDataSet) GetSliceNameTemplate() string {
   224  	if x != nil {
   225  		return x.SliceNameTemplate
   226  	}
   227  	return ""
   228  }
   229  
   230  func (x *PieChart_PieChartDataSet) GetMinAlignmentPeriod() *durationpb.Duration {
   231  	if x != nil {
   232  		return x.MinAlignmentPeriod
   233  	}
   234  	return nil
   235  }
   236  
   237  var File_google_monitoring_dashboard_v1_piechart_proto protoreflect.FileDescriptor
   238  
   239  var file_google_monitoring_dashboard_v1_piechart_proto_rawDesc = []byte{
   240  	0x0a, 0x2d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   241  	0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31,
   242  	0x2f, 0x70, 0x69, 0x65, 0x63, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   243  	0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   244  	0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x1a,
   245  	0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c,
   246  	0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   247  	0x1a, 0x2c, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   248  	0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31,
   249  	0x2f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1e,
   250  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f,
   251  	0x64, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa8,
   252  	0x04, 0x0a, 0x08, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x5a, 0x0a, 0x09, 0x64,
   253  	0x61, 0x74, 0x61, 0x5f, 0x73, 0x65, 0x74, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x38,
   254  	0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69,
   255  	0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e,
   256  	0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72,
   257  	0x74, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x64,
   258  	0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x73, 0x12, 0x59, 0x0a, 0x0a, 0x63, 0x68, 0x61, 0x72, 0x74,
   259  	0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x35, 0x2e, 0x67, 0x6f,
   260  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e,
   261  	0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x50, 0x69, 0x65,
   262  	0x43, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x54, 0x79,
   263  	0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x63, 0x68, 0x61, 0x72, 0x74, 0x54, 0x79,
   264  	0x70, 0x65, 0x12, 0x24, 0x0a, 0x0b, 0x73, 0x68, 0x6f, 0x77, 0x5f, 0x6c, 0x61, 0x62, 0x65, 0x6c,
   265  	0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0a, 0x73, 0x68,
   266  	0x6f, 0x77, 0x4c, 0x61, 0x62, 0x65, 0x6c, 0x73, 0x1a, 0xfa, 0x01, 0x0a, 0x0f, 0x50, 0x69, 0x65,
   267  	0x43, 0x68, 0x61, 0x72, 0x74, 0x44, 0x61, 0x74, 0x61, 0x53, 0x65, 0x74, 0x12, 0x60, 0x0a, 0x11,
   268  	0x74, 0x69, 0x6d, 0x65, 0x5f, 0x73, 0x65, 0x72, 0x69, 0x65, 0x73, 0x5f, 0x71, 0x75, 0x65, 0x72,
   269  	0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   270  	0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68,
   271  	0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x53, 0x65, 0x72,
   272  	0x69, 0x65, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0f, 0x74,
   273  	0x69, 0x6d, 0x65, 0x53, 0x65, 0x72, 0x69, 0x65, 0x73, 0x51, 0x75, 0x65, 0x72, 0x79, 0x12, 0x33,
   274  	0x0a, 0x13, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x5f, 0x6e, 0x61, 0x6d, 0x65, 0x5f, 0x74, 0x65, 0x6d,
   275  	0x70, 0x6c, 0x61, 0x74, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
   276  	0x52, 0x11, 0x73, 0x6c, 0x69, 0x63, 0x65, 0x4e, 0x61, 0x6d, 0x65, 0x54, 0x65, 0x6d, 0x70, 0x6c,
   277  	0x61, 0x74, 0x65, 0x12, 0x50, 0x0a, 0x14, 0x6d, 0x69, 0x6e, 0x5f, 0x61, 0x6c, 0x69, 0x67, 0x6e,
   278  	0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x70, 0x65, 0x72, 0x69, 0x6f, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28,
   279  	0x0b, 0x32, 0x19, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   280  	0x62, 0x75, 0x66, 0x2e, 0x44, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x03, 0xe0, 0x41,
   281  	0x01, 0x52, 0x12, 0x6d, 0x69, 0x6e, 0x41, 0x6c, 0x69, 0x67, 0x6e, 0x6d, 0x65, 0x6e, 0x74, 0x50,
   282  	0x65, 0x72, 0x69, 0x6f, 0x64, 0x22, 0x42, 0x0a, 0x0c, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72,
   283  	0x74, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x50, 0x49, 0x45, 0x5f, 0x43, 0x48, 0x41,
   284  	0x52, 0x54, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46,
   285  	0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x07, 0x0a, 0x03, 0x50, 0x49, 0x45, 0x10, 0x01, 0x12, 0x09,
   286  	0x0a, 0x05, 0x44, 0x4f, 0x4e, 0x55, 0x54, 0x10, 0x02, 0x42, 0xf6, 0x01, 0x0a, 0x22, 0x63, 0x6f,
   287  	0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   288  	0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31,
   289  	0x42, 0x0d, 0x50, 0x69, 0x65, 0x43, 0x68, 0x61, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50,
   290  	0x01, 0x5a, 0x46, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   291  	0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e,
   292  	0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x76,
   293  	0x31, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62, 0x3b, 0x64, 0x61,
   294  	0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67,
   295  	0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   296  	0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x56, 0x31,
   297  	0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c,
   298  	0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x44, 0x61, 0x73, 0x68, 0x62,
   299  	0x6f, 0x61, 0x72, 0x64, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   300  	0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   301  	0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x3a, 0x3a,
   302  	0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   303  }
   304  
   305  var (
   306  	file_google_monitoring_dashboard_v1_piechart_proto_rawDescOnce sync.Once
   307  	file_google_monitoring_dashboard_v1_piechart_proto_rawDescData = file_google_monitoring_dashboard_v1_piechart_proto_rawDesc
   308  )
   309  
   310  func file_google_monitoring_dashboard_v1_piechart_proto_rawDescGZIP() []byte {
   311  	file_google_monitoring_dashboard_v1_piechart_proto_rawDescOnce.Do(func() {
   312  		file_google_monitoring_dashboard_v1_piechart_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_dashboard_v1_piechart_proto_rawDescData)
   313  	})
   314  	return file_google_monitoring_dashboard_v1_piechart_proto_rawDescData
   315  }
   316  
   317  var file_google_monitoring_dashboard_v1_piechart_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
   318  var file_google_monitoring_dashboard_v1_piechart_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   319  var file_google_monitoring_dashboard_v1_piechart_proto_goTypes = []interface{}{
   320  	(PieChart_PieChartType)(0),       // 0: google.monitoring.dashboard.v1.PieChart.PieChartType
   321  	(*PieChart)(nil),                 // 1: google.monitoring.dashboard.v1.PieChart
   322  	(*PieChart_PieChartDataSet)(nil), // 2: google.monitoring.dashboard.v1.PieChart.PieChartDataSet
   323  	(*TimeSeriesQuery)(nil),          // 3: google.monitoring.dashboard.v1.TimeSeriesQuery
   324  	(*durationpb.Duration)(nil),      // 4: google.protobuf.Duration
   325  }
   326  var file_google_monitoring_dashboard_v1_piechart_proto_depIdxs = []int32{
   327  	2, // 0: google.monitoring.dashboard.v1.PieChart.data_sets:type_name -> google.monitoring.dashboard.v1.PieChart.PieChartDataSet
   328  	0, // 1: google.monitoring.dashboard.v1.PieChart.chart_type:type_name -> google.monitoring.dashboard.v1.PieChart.PieChartType
   329  	3, // 2: google.monitoring.dashboard.v1.PieChart.PieChartDataSet.time_series_query:type_name -> google.monitoring.dashboard.v1.TimeSeriesQuery
   330  	4, // 3: google.monitoring.dashboard.v1.PieChart.PieChartDataSet.min_alignment_period:type_name -> google.protobuf.Duration
   331  	4, // [4:4] is the sub-list for method output_type
   332  	4, // [4:4] is the sub-list for method input_type
   333  	4, // [4:4] is the sub-list for extension type_name
   334  	4, // [4:4] is the sub-list for extension extendee
   335  	0, // [0:4] is the sub-list for field type_name
   336  }
   337  
   338  func init() { file_google_monitoring_dashboard_v1_piechart_proto_init() }
   339  func file_google_monitoring_dashboard_v1_piechart_proto_init() {
   340  	if File_google_monitoring_dashboard_v1_piechart_proto != nil {
   341  		return
   342  	}
   343  	file_google_monitoring_dashboard_v1_metrics_proto_init()
   344  	if !protoimpl.UnsafeEnabled {
   345  		file_google_monitoring_dashboard_v1_piechart_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   346  			switch v := v.(*PieChart); i {
   347  			case 0:
   348  				return &v.state
   349  			case 1:
   350  				return &v.sizeCache
   351  			case 2:
   352  				return &v.unknownFields
   353  			default:
   354  				return nil
   355  			}
   356  		}
   357  		file_google_monitoring_dashboard_v1_piechart_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   358  			switch v := v.(*PieChart_PieChartDataSet); i {
   359  			case 0:
   360  				return &v.state
   361  			case 1:
   362  				return &v.sizeCache
   363  			case 2:
   364  				return &v.unknownFields
   365  			default:
   366  				return nil
   367  			}
   368  		}
   369  	}
   370  	type x struct{}
   371  	out := protoimpl.TypeBuilder{
   372  		File: protoimpl.DescBuilder{
   373  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   374  			RawDescriptor: file_google_monitoring_dashboard_v1_piechart_proto_rawDesc,
   375  			NumEnums:      1,
   376  			NumMessages:   2,
   377  			NumExtensions: 0,
   378  			NumServices:   0,
   379  		},
   380  		GoTypes:           file_google_monitoring_dashboard_v1_piechart_proto_goTypes,
   381  		DependencyIndexes: file_google_monitoring_dashboard_v1_piechart_proto_depIdxs,
   382  		EnumInfos:         file_google_monitoring_dashboard_v1_piechart_proto_enumTypes,
   383  		MessageInfos:      file_google_monitoring_dashboard_v1_piechart_proto_msgTypes,
   384  	}.Build()
   385  	File_google_monitoring_dashboard_v1_piechart_proto = out.File
   386  	file_google_monitoring_dashboard_v1_piechart_proto_rawDesc = nil
   387  	file_google_monitoring_dashboard_v1_piechart_proto_goTypes = nil
   388  	file_google_monitoring_dashboard_v1_piechart_proto_depIdxs = nil
   389  }
   390  

View as plain text