...

Source file src/cloud.google.com/go/monitoring/dashboard/apiv1/dashboardpb/section_header.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/section_header.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 defines a new section header. Sections populate a table of
    39  // contents and allow easier navigation of long-form content.
    40  type SectionHeader struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// The subtitle of the section
    46  	Subtitle string `protobuf:"bytes,1,opt,name=subtitle,proto3" json:"subtitle,omitempty"`
    47  	// Whether to insert a divider below the section in the table of contents
    48  	DividerBelow bool `protobuf:"varint,2,opt,name=divider_below,json=dividerBelow,proto3" json:"divider_below,omitempty"`
    49  }
    50  
    51  func (x *SectionHeader) Reset() {
    52  	*x = SectionHeader{}
    53  	if protoimpl.UnsafeEnabled {
    54  		mi := &file_google_monitoring_dashboard_v1_section_header_proto_msgTypes[0]
    55  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    56  		ms.StoreMessageInfo(mi)
    57  	}
    58  }
    59  
    60  func (x *SectionHeader) String() string {
    61  	return protoimpl.X.MessageStringOf(x)
    62  }
    63  
    64  func (*SectionHeader) ProtoMessage() {}
    65  
    66  func (x *SectionHeader) ProtoReflect() protoreflect.Message {
    67  	mi := &file_google_monitoring_dashboard_v1_section_header_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 SectionHeader.ProtoReflect.Descriptor instead.
    79  func (*SectionHeader) Descriptor() ([]byte, []int) {
    80  	return file_google_monitoring_dashboard_v1_section_header_proto_rawDescGZIP(), []int{0}
    81  }
    82  
    83  func (x *SectionHeader) GetSubtitle() string {
    84  	if x != nil {
    85  		return x.Subtitle
    86  	}
    87  	return ""
    88  }
    89  
    90  func (x *SectionHeader) GetDividerBelow() bool {
    91  	if x != nil {
    92  		return x.DividerBelow
    93  	}
    94  	return false
    95  }
    96  
    97  var File_google_monitoring_dashboard_v1_section_header_proto protoreflect.FileDescriptor
    98  
    99  var file_google_monitoring_dashboard_v1_section_header_proto_rawDesc = []byte{
   100  	0x0a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72,
   101  	0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x76, 0x31,
   102  	0x2f, 0x73, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x68, 0x65, 0x61, 0x64, 0x65, 0x72, 0x2e,
   103  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f,
   104  	0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61,
   105  	0x72, 0x64, 0x2e, 0x76, 0x31, 0x22, 0x50, 0x0a, 0x0d, 0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e,
   106  	0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74,
   107  	0x6c, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x75, 0x62, 0x74, 0x69, 0x74,
   108  	0x6c, 0x65, 0x12, 0x23, 0x0a, 0x0d, 0x64, 0x69, 0x76, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x62, 0x65,
   109  	0x6c, 0x6f, 0x77, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x64, 0x69, 0x76, 0x69, 0x64,
   110  	0x65, 0x72, 0x42, 0x65, 0x6c, 0x6f, 0x77, 0x42, 0xfb, 0x01, 0x0a, 0x22, 0x63, 0x6f, 0x6d, 0x2e,
   111  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e,
   112  	0x67, 0x2e, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2e, 0x76, 0x31, 0x42, 0x12,
   113  	0x53, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x48, 0x65, 0x61, 0x64, 0x65, 0x72, 0x50, 0x72, 0x6f,
   114  	0x74, 0x6f, 0x50, 0x01, 0x5a, 0x46, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   115  	0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f,
   116  	0x72, 0x69, 0x6e, 0x67, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x2f, 0x61,
   117  	0x70, 0x69, 0x76, 0x31, 0x2f, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62,
   118  	0x3b, 0x64, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x70, 0x62, 0xaa, 0x02, 0x24, 0x47,
   119  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x4d, 0x6f, 0x6e, 0x69,
   120  	0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64,
   121  	0x2e, 0x56, 0x31, 0xca, 0x02, 0x24, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f,
   122  	0x75, 0x64, 0x5c, 0x4d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x5c, 0x44, 0x61,
   123  	0x73, 0x68, 0x62, 0x6f, 0x61, 0x72, 0x64, 0x5c, 0x56, 0x31, 0xea, 0x02, 0x28, 0x47, 0x6f, 0x6f,
   124  	0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x3a, 0x3a, 0x4d, 0x6f, 0x6e, 0x69,
   125  	0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x3a, 0x3a, 0x44, 0x61, 0x73, 0x68, 0x62, 0x6f, 0x61, 0x72,
   126  	0x64, 0x3a, 0x3a, 0x56, 0x31, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   127  }
   128  
   129  var (
   130  	file_google_monitoring_dashboard_v1_section_header_proto_rawDescOnce sync.Once
   131  	file_google_monitoring_dashboard_v1_section_header_proto_rawDescData = file_google_monitoring_dashboard_v1_section_header_proto_rawDesc
   132  )
   133  
   134  func file_google_monitoring_dashboard_v1_section_header_proto_rawDescGZIP() []byte {
   135  	file_google_monitoring_dashboard_v1_section_header_proto_rawDescOnce.Do(func() {
   136  		file_google_monitoring_dashboard_v1_section_header_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_monitoring_dashboard_v1_section_header_proto_rawDescData)
   137  	})
   138  	return file_google_monitoring_dashboard_v1_section_header_proto_rawDescData
   139  }
   140  
   141  var file_google_monitoring_dashboard_v1_section_header_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   142  var file_google_monitoring_dashboard_v1_section_header_proto_goTypes = []interface{}{
   143  	(*SectionHeader)(nil), // 0: google.monitoring.dashboard.v1.SectionHeader
   144  }
   145  var file_google_monitoring_dashboard_v1_section_header_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_section_header_proto_init() }
   154  func file_google_monitoring_dashboard_v1_section_header_proto_init() {
   155  	if File_google_monitoring_dashboard_v1_section_header_proto != nil {
   156  		return
   157  	}
   158  	if !protoimpl.UnsafeEnabled {
   159  		file_google_monitoring_dashboard_v1_section_header_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   160  			switch v := v.(*SectionHeader); 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_section_header_proto_rawDesc,
   177  			NumEnums:      0,
   178  			NumMessages:   1,
   179  			NumExtensions: 0,
   180  			NumServices:   0,
   181  		},
   182  		GoTypes:           file_google_monitoring_dashboard_v1_section_header_proto_goTypes,
   183  		DependencyIndexes: file_google_monitoring_dashboard_v1_section_header_proto_depIdxs,
   184  		MessageInfos:      file_google_monitoring_dashboard_v1_section_header_proto_msgTypes,
   185  	}.Build()
   186  	File_google_monitoring_dashboard_v1_section_header_proto = out.File
   187  	file_google_monitoring_dashboard_v1_section_header_proto_rawDesc = nil
   188  	file_google_monitoring_dashboard_v1_section_header_proto_goTypes = nil
   189  	file_google_monitoring_dashboard_v1_section_header_proto_depIdxs = nil
   190  }
   191  

View as plain text