go.chromium.org/luci@v0.0.0-20240309015107-7cdc2e660f33/logdog/api/config/svcconfig/cloud_logging.pb.go (about) 1 // Copyright 2021 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 // Code generated by protoc-gen-go. DO NOT EDIT. 6 // versions: 7 // protoc-gen-go v1.31.0 8 // protoc v3.21.7 9 // source: go.chromium.org/luci/logdog/api/config/svcconfig/cloud_logging.proto 10 11 package svcconfig 12 13 import ( 14 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 15 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 16 reflect "reflect" 17 sync "sync" 18 ) 19 20 const ( 21 // Verify that this generated code is sufficiently up-to-date. 22 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 23 // Verify that runtime/protoimpl is sufficiently up-to-date. 24 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 25 ) 26 27 // CloudLoggingConfig specifies how Logdog should export log entries to 28 // Cloud Logging. 29 type CloudLoggingConfig struct { 30 state protoimpl.MessageState 31 sizeCache protoimpl.SizeCache 32 unknownFields protoimpl.UnknownFields 33 34 // The name of the project, where Logdog logs are exported. 35 Destination string `protobuf:"bytes,1,opt,name=destination,proto3" json:"destination,omitempty"` 36 } 37 38 func (x *CloudLoggingConfig) Reset() { 39 *x = CloudLoggingConfig{} 40 if protoimpl.UnsafeEnabled { 41 mi := &file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_msgTypes[0] 42 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 43 ms.StoreMessageInfo(mi) 44 } 45 } 46 47 func (x *CloudLoggingConfig) String() string { 48 return protoimpl.X.MessageStringOf(x) 49 } 50 51 func (*CloudLoggingConfig) ProtoMessage() {} 52 53 func (x *CloudLoggingConfig) ProtoReflect() protoreflect.Message { 54 mi := &file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_msgTypes[0] 55 if protoimpl.UnsafeEnabled && x != nil { 56 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 57 if ms.LoadMessageInfo() == nil { 58 ms.StoreMessageInfo(mi) 59 } 60 return ms 61 } 62 return mi.MessageOf(x) 63 } 64 65 // Deprecated: Use CloudLoggingConfig.ProtoReflect.Descriptor instead. 66 func (*CloudLoggingConfig) Descriptor() ([]byte, []int) { 67 return file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDescGZIP(), []int{0} 68 } 69 70 func (x *CloudLoggingConfig) GetDestination() string { 71 if x != nil { 72 return x.Destination 73 } 74 return "" 75 } 76 77 var File_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto protoreflect.FileDescriptor 78 79 var file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDesc = []byte{ 80 0x0a, 0x44, 0x67, 0x6f, 0x2e, 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 81 0x67, 0x2f, 0x6c, 0x75, 0x63, 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x64, 0x6f, 0x67, 0x2f, 0x61, 0x70, 82 0x69, 0x2f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2f, 0x73, 0x76, 0x63, 0x63, 0x6f, 0x6e, 0x66, 83 0x69, 0x67, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x6c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 0x67, 84 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x09, 0x73, 0x76, 0x63, 0x63, 0x6f, 0x6e, 0x66, 0x69, 85 0x67, 0x22, 0x36, 0x0a, 0x12, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x4c, 0x6f, 0x67, 0x67, 0x69, 0x6e, 86 0x67, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x74, 0x69, 87 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 88 0x73, 0x74, 0x69, 0x6e, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x42, 0x32, 0x5a, 0x30, 0x67, 0x6f, 0x2e, 89 0x63, 0x68, 0x72, 0x6f, 0x6d, 0x69, 0x75, 0x6d, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x6c, 0x75, 0x63, 90 0x69, 0x2f, 0x6c, 0x6f, 0x67, 0x64, 0x6f, 0x67, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x63, 0x6f, 0x6e, 91 0x66, 0x69, 0x67, 0x2f, 0x73, 0x76, 0x63, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x62, 0x06, 0x70, 92 0x72, 0x6f, 0x74, 0x6f, 0x33, 93 } 94 95 var ( 96 file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDescOnce sync.Once 97 file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDescData = file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDesc 98 ) 99 100 func file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDescGZIP() []byte { 101 file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDescOnce.Do(func() { 102 file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDescData = protoimpl.X.CompressGZIP(file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDescData) 103 }) 104 return file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDescData 105 } 106 107 var file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 108 var file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_goTypes = []interface{}{ 109 (*CloudLoggingConfig)(nil), // 0: svcconfig.CloudLoggingConfig 110 } 111 var file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_depIdxs = []int32{ 112 0, // [0:0] is the sub-list for method output_type 113 0, // [0:0] is the sub-list for method input_type 114 0, // [0:0] is the sub-list for extension type_name 115 0, // [0:0] is the sub-list for extension extendee 116 0, // [0:0] is the sub-list for field type_name 117 } 118 119 func init() { file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_init() } 120 func file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_init() { 121 if File_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto != nil { 122 return 123 } 124 if !protoimpl.UnsafeEnabled { 125 file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 126 switch v := v.(*CloudLoggingConfig); i { 127 case 0: 128 return &v.state 129 case 1: 130 return &v.sizeCache 131 case 2: 132 return &v.unknownFields 133 default: 134 return nil 135 } 136 } 137 } 138 type x struct{} 139 out := protoimpl.TypeBuilder{ 140 File: protoimpl.DescBuilder{ 141 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 142 RawDescriptor: file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDesc, 143 NumEnums: 0, 144 NumMessages: 1, 145 NumExtensions: 0, 146 NumServices: 0, 147 }, 148 GoTypes: file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_goTypes, 149 DependencyIndexes: file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_depIdxs, 150 MessageInfos: file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_msgTypes, 151 }.Build() 152 File_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto = out.File 153 file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_rawDesc = nil 154 file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_goTypes = nil 155 file_go_chromium_org_luci_logdog_api_config_svcconfig_cloud_logging_proto_depIdxs = nil 156 }