...

Source file src/cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb/alertchart.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/alertchart.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  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // A chart that displays alert policy data.
    40  type AlertChart struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// Required. The resource name of the alert policy. The format is:
    46  	//
    47  	//	projects/[PROJECT_ID_OR_NUMBER]/alertPolicies/[ALERT_POLICY_ID]
    48  	Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"`
    49  }
    50  
    51  func (x *AlertChart) Reset() {
    52  	*x = AlertChart{}
    53  	if protoimpl.UnsafeEnabled {
    54  		mi := &file_google_monitoring_dashboard_v1_alertchart_proto_msgTypes[0]
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		ms.StoreMessageInfo(mi)
    57  	}
    58  }
    59  
    60  func (x *AlertChart) String() string {
    61  	return protoimpl.X.MessageStringOf(x)
    62  }
    63  
    64  func (*AlertChart) ProtoMessage() {}
    65  
    66  func (x *AlertChart) ProtoReflect() protoreflect.Message {
    67  	mi := &file_google_monitoring_dashboard_v1_alertchart_proto_msgTypes[0]
    68  	if protoimpl.UnsafeEnabled && x != nil {
    69  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    70  		if ms.LoadMessageInfo() == nil {
    71  			ms.StoreMessageInfo(mi)
    72  		}
    73  		return ms
    74  	}
    75  	return mi.MessageOf(x)
    76  }
    77  
    78  // Deprecated: Use AlertChart.ProtoReflect.Descriptor instead.
    79  func (*AlertChart) Descriptor() ([]byte, []int) {
    80  	return file_google_monitoring_dashboard_v1_alertchart_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  func (x *AlertChart) GetName() string {
    84  	if x != nil {
    85  		return x.Name
    86  	}
    87  	return ""
    88  }
    89  
    90  var File_google_monitoring_dashboard_v1_alertchart_proto protoreflect.FileDescriptor
    91  
    92  var file_google_monitoring_dashboard_v1_alertchart_proto_rawDesc = []byte{
    93  	0x0a, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
    94  	0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31,
    95  	0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x63, 0x68, 0x61, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74,
    96  	0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
    97  	0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76,
    98  	0x31, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69,
    99  	0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f,
   100  	0x74, 0x6f, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72,
   101  	0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x82, 0x01,
   102  	0x0a, 0x0a, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x43, 0x68, 0x61, 0x72, 0x74, 0x12, 0x17, 0x0a, 0x04,
   103  	0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52,
   104  	0x04, 0x6e, 0x61, 0x6d, 0x65, 0x3a, 0x5b, 0xea, 0x41, 0x58, 0x0a, 0x25, 0x6d, 0x6f, 0x6e, 0x69,
   105  	0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69,
   106  	0x73, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x41, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   107  	0x79, 0x12, 0x2f, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 0x7b, 0x70, 0x72, 0x6f,
   108  	0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63,
   109  	0x69, 0x65, 0x73, 0x2f, 0x7b, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x5f, 0x70, 0x6f, 0x6c, 0x69, 0x63,
   110  	0x79, 0x7d, 0x42, 0xf8, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   111  	0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73,
   112  	0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x0f, 0x41, 0x6c, 0x65, 0x72, 0x74,
   113  	0x43, 0x68, 0x61, 0x72, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x63, 0x6c,
   114  	0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
   115  	0x6f, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73,
   116  	0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x73,
   117  	0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62, 0x3b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61,
   118  	0x72, 0x64, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c,
   119  	0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x44,
   120  	0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f,
   121  	0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
   122  	0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5c,
   123  	0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f,
   124  	0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a,
   125  	0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70,
   126  	0x72, 0x6f, 0x74, 0x6f, 0x33,
   127  }
   128  
   129  var (
   130  	file_google_monitoring_dashboard_v1_alertchart_proto_rawDescOnce sync.Once
   131  	file_google_monitoring_dashboard_v1_alertchart_proto_rawDescData = file_google_monitoring_dashboard_v1_alertchart_proto_rawDesc
   132  )
   133  
   134  func file_google_monitoring_dashboard_v1_alertchart_proto_rawDescGZIP() []byte {
   135  	file_google_monitoring_dashboard_v1_alertchart_proto_rawDescOnce.Do(func() {
   136  		file_google_monitoring_dashboard_v1_alertchart_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_dashboard_v1_alertchart_proto_rawDescData)
   137  	})
   138  	return file_google_monitoring_dashboard_v1_alertchart_proto_rawDescData
   139  }
   140  
   141  var file_google_monitoring_dashboard_v1_alertchart_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   142  var file_google_monitoring_dashboard_v1_alertchart_proto_goTypes = []interface{}{
   143  	(*AlertChart)(nil), // 0: google.monitoring.dashboard.v1.AlertChart
   144  }
   145  var file_google_monitoring_dashboard_v1_alertchart_proto_depIdxs = []int32{
   146  	0, // [0:0] is the sub-list for method output_type
   147  	0, // [0:0] is the sub-list for method input_type
   148  	0, // [0:0] is the sub-list for extension type_name
   149  	0, // [0:0] is the sub-list for extension extendee
   150  	0, // [0:0] is the sub-list for field type_name
   151  }
   152  
   153  func init() { file_google_monitoring_dashboard_v1_alertchart_proto_init() }
   154  func file_google_monitoring_dashboard_v1_alertchart_proto_init() {
   155  	if File_google_monitoring_dashboard_v1_alertchart_proto != nil {
   156  		return
   157  	}
   158  	if !protoimpl.UnsafeEnabled {
   159  		file_google_monitoring_dashboard_v1_alertchart_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   160  			switch v := v.(*AlertChart); i {
   161  			case 0:
   162  				return &v.state
   163  			case 1:
   164  				return &v.sizeCache
   165  			case 2:
   166  				return &v.unknownFields
   167  			default:
   168  				return nil
   169  			}
   170  		}
   171  	}
   172  	type x struct{}
   173  	out := protoimpl.TypeBuilder{
   174  		File: protoimpl.DescBuilder{
   175  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   176  			RawDescriptor: file_google_monitoring_dashboard_v1_alertchart_proto_rawDesc,
   177  			NumEnums:      0,
   178  			NumMessages:   1,
   179  			NumExtensions: 0,
   180  			NumServices:   0,
   181  		},
   182  		GoTypes:           file_google_monitoring_dashboard_v1_alertchart_proto_goTypes,
   183  		DependencyIndexes: file_google_monitoring_dashboard_v1_alertchart_proto_depIdxs,
   184  		MessageInfos:      file_google_monitoring_dashboard_v1_alertchart_proto_msgTypes,
   185  	}.Build()
   186  	File_google_monitoring_dashboard_v1_alertchart_proto = out.File
   187  	file_google_monitoring_dashboard_v1_alertchart_proto_rawDesc = nil
   188  	file_google_monitoring_dashboard_v1_alertchart_proto_goTypes = nil
   189  	file_google_monitoring_dashboard_v1_alertchart_proto_depIdxs = nil
   190  }
   191  

View as plain text