...

Source file src/cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb/error_reporting_panel.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/error_reporting_panel.proto
    20  
    21  package dashboardpb
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    28  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    29  )
    30  
    31  const (
    32  	// Verify that this generated code is sufficiently up-to-date.
    33  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    34  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    35  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    36  )
    37  
    38  // A widget that displays a list of error groups.
    39  type ErrorReportingPanel struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// The resource name of the Google Cloud Platform project. Written
    45  	// as `projects/{projectID}` or `projects/{projectNumber}`, where
    46  	// `{projectID}` and `{projectNumber}` can be found in the
    47  	// [Google Cloud console](https://support.google.com/cloud/answer/6158840).
    48  	//
    49  	// Examples: `projects/my-project-123`, `projects/5551234`.
    50  	ProjectNames []string `protobuf:"bytes,1,rep,name=project_names,json=projectNames,proto3" json:"project_names,omitempty"`
    51  	// An identifier of the service, such as the name of the
    52  	// executable, job, or Google App Engine service name. This field is expected
    53  	// to have a low number of values that are relatively stable over time, as
    54  	// opposed to `version`, which can be changed whenever new code is deployed.
    55  	//
    56  	// Contains the service name for error reports extracted from Google
    57  	// App Engine logs or `default` if the App Engine default service is used.
    58  	Services []string `protobuf:"bytes,2,rep,name=services,proto3" json:"services,omitempty"`
    59  	// Represents the source code version that the developer provided,
    60  	// which could represent a version label or a Git SHA-1 hash, for example.
    61  	// For App Engine standard environment, the version is set to the version of
    62  	// the app.
    63  	Versions []string `protobuf:"bytes,3,rep,name=versions,proto3" json:"versions,omitempty"`
    64  }
    65  
    66  func (x *ErrorReportingPanel) Reset() {
    67  	*x = ErrorReportingPanel{}
    68  	if protoimpl.UnsafeEnabled {
    69  		mi := &file_google_monitoring_dashboard_v1_error_reporting_panel_proto_msgTypes[0]
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		ms.StoreMessageInfo(mi)
    72  	}
    73  }
    74  
    75  func (x *ErrorReportingPanel) String() string {
    76  	return protoimpl.X.MessageStringOf(x)
    77  }
    78  
    79  func (*ErrorReportingPanel) ProtoMessage() {}
    80  
    81  func (x *ErrorReportingPanel) ProtoReflect() protoreflect.Message {
    82  	mi := &file_google_monitoring_dashboard_v1_error_reporting_panel_proto_msgTypes[0]
    83  	if protoimpl.UnsafeEnabled && x != nil {
    84  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    85  		if ms.LoadMessageInfo() == nil {
    86  			ms.StoreMessageInfo(mi)
    87  		}
    88  		return ms
    89  	}
    90  	return mi.MessageOf(x)
    91  }
    92  
    93  // Deprecated: Use ErrorReportingPanel.ProtoReflect.Descriptor instead.
    94  func (*ErrorReportingPanel) Descriptor() ([]byte, []int) {
    95  	return file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDescGZIP(), []int{0}
    96  }
    97  
    98  func (x *ErrorReportingPanel) GetProjectNames() []string {
    99  	if x != nil {
   100  		return x.ProjectNames
   101  	}
   102  	return nil
   103  }
   104  
   105  func (x *ErrorReportingPanel) GetServices() []string {
   106  	if x != nil {
   107  		return x.Services
   108  	}
   109  	return nil
   110  }
   111  
   112  func (x *ErrorReportingPanel) GetVersions() []string {
   113  	if x != nil {
   114  		return x.Versions
   115  	}
   116  	return nil
   117  }
   118  
   119  var File_google_monitoring_dashboard_v1_error_reporting_panel_proto protoreflect.FileDescriptor
   120  
   121  var file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDesc = []byte{
   122  	0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   123  	0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31,
   124  	0x2f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x5f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67,
   125  	0x5f, 0x70, 0x61, 0x6e, 0x65, 0x6c, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f,
   126  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e,
   127  	0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x22, 0x72, 0x0a, 0x13,
   128  	0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61,
   129  	0x6e, 0x65, 0x6c, 0x12, 0x23, 0x0a, 0x0d, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x6e,
   130  	0x61, 0x6d, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0c, 0x70, 0x72, 0x6f, 0x6a,
   131  	0x65, 0x63, 0x74, 0x4e, 0x61, 0x6d, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76,
   132  	0x69, 0x63, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76,
   133  	0x69, 0x63, 0x65, 0x73, 0x12, 0x1a, 0x0a, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73,
   134  	0x18, 0x03, 0x20, 0x03, 0x28, 0x09, 0x52, 0x08, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x73,
   135  	0x42, 0xd6, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   136  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62,
   137  	0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x65,
   138  	0x70, 0x6f, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x50, 0x61, 0x6e, 0x65, 0x6c, 0x50, 0x72, 0x6f, 0x74,
   139  	0x6f, 0x50, 0x01, 0x5a, 0x46, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   140  	0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   141  	0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x61, 0x70,
   142  	0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62, 0x3b,
   143  	0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f,
   144  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
   145  	0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e,
   146  	0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
   147  	0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x44, 0x61, 0x73,
   148  	0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5c, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   149  	0x33,
   150  }
   151  
   152  var (
   153  	file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDescOnce sync.Once
   154  	file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDescData = file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDesc
   155  )
   156  
   157  func file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDescGZIP() []byte {
   158  	file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDescOnce.Do(func() {
   159  		file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDescData)
   160  	})
   161  	return file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDescData
   162  }
   163  
   164  var file_google_monitoring_dashboard_v1_error_reporting_panel_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   165  var file_google_monitoring_dashboard_v1_error_reporting_panel_proto_goTypes = []interface{}{
   166  	(*ErrorReportingPanel)(nil), // 0: google.monitoring.dashboard.v1.ErrorReportingPanel
   167  }
   168  var file_google_monitoring_dashboard_v1_error_reporting_panel_proto_depIdxs = []int32{
   169  	0, // [0:0] is the sub-list for method output_type
   170  	0, // [0:0] is the sub-list for method input_type
   171  	0, // [0:0] is the sub-list for extension type_name
   172  	0, // [0:0] is the sub-list for extension extendee
   173  	0, // [0:0] is the sub-list for field type_name
   174  }
   175  
   176  func init() { file_google_monitoring_dashboard_v1_error_reporting_panel_proto_init() }
   177  func file_google_monitoring_dashboard_v1_error_reporting_panel_proto_init() {
   178  	if File_google_monitoring_dashboard_v1_error_reporting_panel_proto != nil {
   179  		return
   180  	}
   181  	if !protoimpl.UnsafeEnabled {
   182  		file_google_monitoring_dashboard_v1_error_reporting_panel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   183  			switch v := v.(*ErrorReportingPanel); i {
   184  			case 0:
   185  				return &v.state
   186  			case 1:
   187  				return &v.sizeCache
   188  			case 2:
   189  				return &v.unknownFields
   190  			default:
   191  				return nil
   192  			}
   193  		}
   194  	}
   195  	type x struct{}
   196  	out := protoimpl.TypeBuilder{
   197  		File: protoimpl.DescBuilder{
   198  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   199  			RawDescriptor: file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDesc,
   200  			NumEnums:      0,
   201  			NumMessages:   1,
   202  			NumExtensions: 0,
   203  			NumServices:   0,
   204  		},
   205  		GoTypes:           file_google_monitoring_dashboard_v1_error_reporting_panel_proto_goTypes,
   206  		DependencyIndexes: file_google_monitoring_dashboard_v1_error_reporting_panel_proto_depIdxs,
   207  		MessageInfos:      file_google_monitoring_dashboard_v1_error_reporting_panel_proto_msgTypes,
   208  	}.Build()
   209  	File_google_monitoring_dashboard_v1_error_reporting_panel_proto = out.File
   210  	file_google_monitoring_dashboard_v1_error_reporting_panel_proto_rawDesc = nil
   211  	file_google_monitoring_dashboard_v1_error_reporting_panel_proto_goTypes = nil
   212  	file_google_monitoring_dashboard_v1_error_reporting_panel_proto_depIdxs = nil
   213  }
   214  

View as plain text