go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/luci_notify/api/config/settings.pb.go (about)

     1  // Copyright 2017 The LUCI Authors. All rights reserved.
     2  // Use of this source code is governed under the Apache License, Version 2.0
     3  // that can be found in the LICENSE file.
     4  
     5  // Service-level configuration for luci-notify.
     6  
     7  // Code generated by protoc-gen-go. DO NOT EDIT.
     8  // versions:
     9  // 	protoc-gen-go v1.31.0
    10  // 	protoc        v3.21.7
    11  // source: go.chromium.org/luci/luci_notify/api/config/settings.proto
    12  
    13  package config
    14  
    15  import (
    16  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    17  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    18  	reflect "reflect"
    19  	sync "sync"
    20  )
    21  
    22  const (
    23  	// Verify that this generated code is sufficiently up-to-date.
    24  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    25  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    26  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    27  )
    28  
    29  // Settings is the top-level configuration message.
    30  type Settings struct {
    31  	state         protoimpl.MessageState
    32  	sizeCache     protoimpl.SizeCache
    33  	unknownFields protoimpl.UnknownFields
    34  
    35  	// MiloHost is the hostname of the Milo instance luci-notify queries for
    36  	// additional build information.
    37  	//
    38  	// Required.
    39  	MiloHost string `protobuf:"bytes,1,opt,name=milo_host,json=miloHost,proto3" json:"milo_host,omitempty"`
    40  	// luci_tree_status_host is the hostname of the LUCI tree status app
    41  	// to use for closing and opening trees.
    42  	//
    43  	// e.g. luci-tree-status.appspot.com
    44  	//
    45  	// Required.
    46  	LuciTreeStatusHost string `protobuf:"bytes,2,opt,name=luci_tree_status_host,json=luciTreeStatusHost,proto3" json:"luci_tree_status_host,omitempty"`
    47  }
    48  
    49  func (x *Settings) Reset() {
    50  	*x = Settings{}
    51  	if protoimpl.UnsafeEnabled {
    52  		mi := &file_go_chromium_org_luci_luci_notify_api_config_settings_proto_msgTypes[0]
    53  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    54  		ms.StoreMessageInfo(mi)
    55  	}
    56  }
    57  
    58  func (x *Settings) String() string {
    59  	return protoimpl.X.MessageStringOf(x)
    60  }
    61  
    62  func (*Settings) ProtoMessage() {}
    63  
    64  func (x *Settings) ProtoReflect() protoreflect.Message {
    65  	mi := &file_go_chromium_org_luci_luci_notify_api_config_settings_proto_msgTypes[0]
    66  	if protoimpl.UnsafeEnabled && x != nil {
    67  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    68  		if ms.LoadMessageInfo() == nil {
    69  			ms.StoreMessageInfo(mi)
    70  		}
    71  		return ms
    72  	}
    73  	return mi.MessageOf(x)
    74  }
    75  
    76  // Deprecated: Use Settings.ProtoReflect.Descriptor instead.
    77  func (*Settings) Descriptor() ([]byte, []int) {
    78  	return file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDescGZIP(), []int{0}
    79  }
    80  
    81  func (x *Settings) GetMiloHost() string {
    82  	if x != nil {
    83  		return x.MiloHost
    84  	}
    85  	return ""
    86  }
    87  
    88  func (x *Settings) GetLuciTreeStatusHost() string {
    89  	if x != nil {
    90  		return x.LuciTreeStatusHost
    91  	}
    92  	return ""
    93  }
    94  
    95  var File_go_chromium_org_luci_luci_notify_api_config_settings_proto protoreflect.FileDescriptor
    96  
    97  var file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDesc = []byte{
    98  	0x0a, 0x3a, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72,
    99  	0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x5f, 0x6e, 0x6f, 0x74, 0x69,
   100  	0x66, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x73, 0x65,
   101  	0x74, 0x74, 0x69, 0x6e, 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x6e, 0x6f,
   102  	0x74, 0x69, 0x66, 0x79, 0x22, 0x5a, 0x0a, 0x08, 0x53, 0x65, 0x74, 0x74, 0x69, 0x6e, 0x67, 0x73,
   103  	0x12, 0x1b, 0x0a, 0x09, 0x6d, 0x69, 0x6c, 0x6f, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x01, 0x20,
   104  	0x01, 0x28, 0x09, 0x52, 0x08, 0x6d, 0x69, 0x6c, 0x6f, 0x48, 0x6f, 0x73, 0x74, 0x12, 0x31, 0x0a,
   105  	0x15, 0x6c, 0x75, 0x63, 0x69, 0x5f, 0x74, 0x72, 0x65, 0x65, 0x5f, 0x73, 0x74, 0x61, 0x74, 0x75,
   106  	0x73, 0x5f, 0x68, 0x6f, 0x73, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x12, 0x6c, 0x75,
   107  	0x63, 0x69, 0x54, 0x72, 0x65, 0x65, 0x53, 0x74, 0x61, 0x74, 0x75, 0x73, 0x48, 0x6f, 0x73, 0x74,
   108  	0x42, 0x2d, 0x5a, 0x2b, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e,
   109  	0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x5f, 0x6e, 0x6f,
   110  	0x74, 0x69, 0x66, 0x79, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x62,
   111  	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   112  }
   113  
   114  var (
   115  	file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDescOnce sync.Once
   116  	file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDescData = file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDesc
   117  )
   118  
   119  func file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDescGZIP() []byte {
   120  	file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDescOnce.Do(func() {
   121  		file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDescData)
   122  	})
   123  	return file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDescData
   124  }
   125  
   126  var file_go_chromium_org_luci_luci_notify_api_config_settings_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   127  var file_go_chromium_org_luci_luci_notify_api_config_settings_proto_goTypes = []interface{}{
   128  	(*Settings)(nil), // 0: notify.Settings
   129  }
   130  var file_go_chromium_org_luci_luci_notify_api_config_settings_proto_depIdxs = []int32{
   131  	0, // [0:0] is the sub-list for method output_type
   132  	0, // [0:0] is the sub-list for method input_type
   133  	0, // [0:0] is the sub-list for extension type_name
   134  	0, // [0:0] is the sub-list for extension extendee
   135  	0, // [0:0] is the sub-list for field type_name
   136  }
   137  
   138  func init() { file_go_chromium_org_luci_luci_notify_api_config_settings_proto_init() }
   139  func file_go_chromium_org_luci_luci_notify_api_config_settings_proto_init() {
   140  	if File_go_chromium_org_luci_luci_notify_api_config_settings_proto != nil {
   141  		return
   142  	}
   143  	if !protoimpl.UnsafeEnabled {
   144  		file_go_chromium_org_luci_luci_notify_api_config_settings_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   145  			switch v := v.(*Settings); i {
   146  			case 0:
   147  				return &v.state
   148  			case 1:
   149  				return &v.sizeCache
   150  			case 2:
   151  				return &v.unknownFields
   152  			default:
   153  				return nil
   154  			}
   155  		}
   156  	}
   157  	type x struct{}
   158  	out := protoimpl.TypeBuilder{
   159  		File: protoimpl.DescBuilder{
   160  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   161  			RawDescriptor: file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDesc,
   162  			NumEnums:      0,
   163  			NumMessages:   1,
   164  			NumExtensions: 0,
   165  			NumServices:   0,
   166  		},
   167  		GoTypes:           file_go_chromium_org_luci_luci_notify_api_config_settings_proto_goTypes,
   168  		DependencyIndexes: file_go_chromium_org_luci_luci_notify_api_config_settings_proto_depIdxs,
   169  		MessageInfos:      file_go_chromium_org_luci_luci_notify_api_config_settings_proto_msgTypes,
   170  	}.Build()
   171  	File_go_chromium_org_luci_luci_notify_api_config_settings_proto = out.File
   172  	file_go_chromium_org_luci_luci_notify_api_config_settings_proto_rawDesc = nil
   173  	file_go_chromium_org_luci_luci_notify_api_config_settings_proto_goTypes = nil
   174  	file_go_chromium_org_luci_luci_notify_api_config_settings_proto_depIdxs = nil
   175  }