...

Source file src/cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb/table_display_options.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/table_display_options.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  // Table display options that can be reused.
    40  type TableDisplayOptions struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// Optional. This field is unused and has been replaced by
    46  	// TimeSeriesTable.column_settings
    47  	//
    48  	// Deprecated: Marked as deprecated in google/monitoring/dashboard/v1/table_display_options.proto.
    49  	ShownColumns []string `protobuf:"bytes,1,rep,name=shown_columns,json=shownColumns,proto3" json:"shown_columns,omitempty"`
    50  }
    51  
    52  func (x *TableDisplayOptions) Reset() {
    53  	*x = TableDisplayOptions{}
    54  	if protoimpl.UnsafeEnabled {
    55  		mi := &file_google_monitoring_dashboard_v1_table_display_options_proto_msgTypes[0]
    56  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    57  		ms.StoreMessageInfo(mi)
    58  	}
    59  }
    60  
    61  func (x *TableDisplayOptions) String() string {
    62  	return protoimpl.X.MessageStringOf(x)
    63  }
    64  
    65  func (*TableDisplayOptions) ProtoMessage() {}
    66  
    67  func (x *TableDisplayOptions) ProtoReflect() protoreflect.Message {
    68  	mi := &file_google_monitoring_dashboard_v1_table_display_options_proto_msgTypes[0]
    69  	if protoimpl.UnsafeEnabled && x != nil {
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		if ms.LoadMessageInfo() == nil {
    72  			ms.StoreMessageInfo(mi)
    73  		}
    74  		return ms
    75  	}
    76  	return mi.MessageOf(x)
    77  }
    78  
    79  // Deprecated: Use TableDisplayOptions.ProtoReflect.Descriptor instead.
    80  func (*TableDisplayOptions) Descriptor() ([]byte, []int) {
    81  	return file_google_monitoring_dashboard_v1_table_display_options_proto_rawDescGZIP(), []int{0}
    82  }
    83  
    84  // Deprecated: Marked as deprecated in google/monitoring/dashboard/v1/table_display_options.proto.
    85  func (x *TableDisplayOptions) GetShownColumns() []string {
    86  	if x != nil {
    87  		return x.ShownColumns
    88  	}
    89  	return nil
    90  }
    91  
    92  var File_google_monitoring_dashboard_v1_table_display_options_proto protoreflect.FileDescriptor
    93  
    94  var file_google_monitoring_dashboard_v1_table_display_options_proto_rawDesc = []byte{
    95  	0x0a, 0x3a, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
    96  	0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31,
    97  	0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x64, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x5f, 0x6f,
    98  	0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f,
    99  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e,
   100  	0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x1a, 0x1f, 0x67, 0x6f,
   101  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
   102  	0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x41, 0x0a,
   103  	0x13, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x70, 0x74,
   104  	0x69, 0x6f, 0x6e, 0x73, 0x12, 0x2a, 0x0a, 0x0d, 0x73, 0x68, 0x6f, 0x77, 0x6e, 0x5f, 0x63, 0x6f,
   105  	0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x09, 0x42, 0x05, 0xe0, 0x41, 0x01,
   106  	0x18, 0x01, 0x52, 0x0c, 0x73, 0x68, 0x6f, 0x77, 0x6e, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73,
   107  	0x42, 0x81, 0x02, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
   108  	0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62,
   109  	0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x18, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x44, 0x69,
   110  	0x73, 0x70, 0x6c, 0x61, 0x79, 0x4f, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x50, 0x72, 0x6f, 0x74,
   111  	0x6f, 0x50, 0x01, 0x5a, 0x46, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
   112  	0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   113  	0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x61, 0x70,
   114  	0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62, 0x3b,
   115  	0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47, 0x6f,
   116  	0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
   117  	0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e,
   118  	0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75,
   119  	0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x44, 0x61, 0x73,
   120  	0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f, 0x67,
   121  	0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69, 0x74,
   122  	0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64,
   123  	0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   124  }
   125  
   126  var (
   127  	file_google_monitoring_dashboard_v1_table_display_options_proto_rawDescOnce sync.Once
   128  	file_google_monitoring_dashboard_v1_table_display_options_proto_rawDescData = file_google_monitoring_dashboard_v1_table_display_options_proto_rawDesc
   129  )
   130  
   131  func file_google_monitoring_dashboard_v1_table_display_options_proto_rawDescGZIP() []byte {
   132  	file_google_monitoring_dashboard_v1_table_display_options_proto_rawDescOnce.Do(func() {
   133  		file_google_monitoring_dashboard_v1_table_display_options_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_dashboard_v1_table_display_options_proto_rawDescData)
   134  	})
   135  	return file_google_monitoring_dashboard_v1_table_display_options_proto_rawDescData
   136  }
   137  
   138  var file_google_monitoring_dashboard_v1_table_display_options_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   139  var file_google_monitoring_dashboard_v1_table_display_options_proto_goTypes = []interface{}{
   140  	(*TableDisplayOptions)(nil), // 0: google.monitoring.dashboard.v1.TableDisplayOptions
   141  }
   142  var file_google_monitoring_dashboard_v1_table_display_options_proto_depIdxs = []int32{
   143  	0, // [0:0] is the sub-list for method output_type
   144  	0, // [0:0] is the sub-list for method input_type
   145  	0, // [0:0] is the sub-list for extension type_name
   146  	0, // [0:0] is the sub-list for extension extendee
   147  	0, // [0:0] is the sub-list for field type_name
   148  }
   149  
   150  func init() { file_google_monitoring_dashboard_v1_table_display_options_proto_init() }
   151  func file_google_monitoring_dashboard_v1_table_display_options_proto_init() {
   152  	if File_google_monitoring_dashboard_v1_table_display_options_proto != nil {
   153  		return
   154  	}
   155  	if !protoimpl.UnsafeEnabled {
   156  		file_google_monitoring_dashboard_v1_table_display_options_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   157  			switch v := v.(*TableDisplayOptions); i {
   158  			case 0:
   159  				return &v.state
   160  			case 1:
   161  				return &v.sizeCache
   162  			case 2:
   163  				return &v.unknownFields
   164  			default:
   165  				return nil
   166  			}
   167  		}
   168  	}
   169  	type x struct{}
   170  	out := protoimpl.TypeBuilder{
   171  		File: protoimpl.DescBuilder{
   172  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   173  			RawDescriptor: file_google_monitoring_dashboard_v1_table_display_options_proto_rawDesc,
   174  			NumEnums:      0,
   175  			NumMessages:   1,
   176  			NumExtensions: 0,
   177  			NumServices:   0,
   178  		},
   179  		GoTypes:           file_google_monitoring_dashboard_v1_table_display_options_proto_goTypes,
   180  		DependencyIndexes: file_google_monitoring_dashboard_v1_table_display_options_proto_depIdxs,
   181  		MessageInfos:      file_google_monitoring_dashboard_v1_table_display_options_proto_msgTypes,
   182  	}.Build()
   183  	File_google_monitoring_dashboard_v1_table_display_options_proto = out.File
   184  	file_google_monitoring_dashboard_v1_table_display_options_proto_rawDesc = nil
   185  	file_google_monitoring_dashboard_v1_table_display_options_proto_goTypes = nil
   186  	file_google_monitoring_dashboard_v1_table_display_options_proto_depIdxs = nil
   187  }
   188  

View as plain text