github.com/cloudwan/edgelq-sdk@v1.15.4/alerting/resources/v1/document/document.pb.go (about) 1 // Code generated by protoc-gen-goten-go 2 // File: edgelq/alerting/proto/v1/document.proto 3 // DO NOT EDIT!!! 4 5 package document 6 7 import ( 8 "fmt" 9 "reflect" 10 "sync" 11 12 "google.golang.org/protobuf/encoding/protojson" 13 "google.golang.org/protobuf/proto" 14 preflect "google.golang.org/protobuf/reflect/protoreflect" 15 "google.golang.org/protobuf/runtime/protoimpl" 16 ) 17 18 // proto imports 19 import ( 20 iam_project "github.com/cloudwan/edgelq-sdk/iam/resources/v1/project" 21 meta "github.com/cloudwan/goten-sdk/types/meta" 22 ) 23 24 // Reference imports to suppress errors if they are not otherwise used. 25 var ( 26 _ = fmt.Errorf 27 _ = reflect.Method{} 28 _ = sync.Once{} 29 30 _ = protojson.MarshalOptions{} 31 _ = proto.MarshalOptions{} 32 _ = preflect.Value{} 33 _ = protoimpl.DescBuilder{} 34 ) 35 36 // make sure we're using proto imports 37 var ( 38 _ = &iam_project.Project{} 39 _ = &meta.Meta{} 40 ) 41 42 const ( 43 // Verify that this generated code is sufficiently up-to-date. 44 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 45 // Verify that runtime/protoimpl is sufficiently up-to-date. 46 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 47 ) 48 49 // Document can be attached to Policy, TsCondition or LogCondition 50 // resources. They should contain documentation that can be relevant when 51 // diagnosing & resolving alerts. 52 // They are especially important for AI Agent handling. 53 type Document struct { 54 state protoimpl.MessageState 55 sizeCache protoimpl.SizeCache 56 unknownFields protoimpl.UnknownFields 57 // Name of Document 58 // When creating a new instance, this field is optional and if not provided, 59 // it will be generated automatically. Last ID segment must conform to the 60 // following regex: [a-z][a-z0-9\\-]{0,28}[a-z0-9] 61 Name *Name `protobuf:"bytes,1,opt,customtype=Name,name=name,proto3" json:"name,omitempty"` 62 // Metadata is an object with information like create, update and delete time 63 // (for async deleted resources), has user labels/annotations, sharding 64 // information, multi-region syncing information and may have non-schema 65 // owners (useful for taking ownership of resources belonging to lower level 66 // services by higher ones). 67 Metadata *meta.Meta `protobuf:"bytes,2,opt,name=metadata,proto3" json:"metadata,omitempty"` 68 // Document title 69 Title string `protobuf:"bytes,3,opt,name=title,proto3" json:"title,omitempty"` 70 // Documentation content for operators 71 Content string `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"` 72 // documentation mime type. Only `"text/markdown"` is supported. 73 MimeType string `protobuf:"bytes,5,opt,name=mime_type,json=mimeType,proto3" json:"mime_type,omitempty"` 74 } 75 76 func (m *Document) Reset() { 77 *m = Document{} 78 if protoimpl.UnsafeEnabled { 79 mi := &edgelq_alerting_proto_v1_document_proto_msgTypes[0] 80 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 81 ms.StoreMessageInfo(mi) 82 } 83 } 84 85 func (m *Document) String() string { 86 return protoimpl.X.MessageStringOf(m) 87 } 88 89 func (*Document) ProtoMessage() {} 90 91 func (m *Document) ProtoReflect() preflect.Message { 92 mi := &edgelq_alerting_proto_v1_document_proto_msgTypes[0] 93 if protoimpl.UnsafeEnabled && m != nil { 94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(m)) 95 if ms.LoadMessageInfo() == nil { 96 ms.StoreMessageInfo(mi) 97 } 98 return ms 99 } 100 return mi.MessageOf(m) 101 } 102 103 func (*Document) GotenMessage() {} 104 105 // Deprecated, Use Document.ProtoReflect.Descriptor instead. 106 func (*Document) Descriptor() ([]byte, []int) { 107 return edgelq_alerting_proto_v1_document_proto_rawDescGZIP(), []int{0} 108 } 109 110 func (m *Document) Unmarshal(b []byte) error { 111 return proto.Unmarshal(b, m) 112 } 113 114 func (m *Document) Marshal() ([]byte, error) { 115 return proto.Marshal(m) 116 } 117 118 func (m *Document) MarshalJSON() ([]byte, error) { 119 return protojson.MarshalOptions{}.Marshal(m) 120 } 121 122 func (m *Document) UnmarshalJSON(data []byte) error { 123 return protojson.Unmarshal(data, m) 124 } 125 126 func (m *Document) GetName() *Name { 127 if m != nil { 128 return m.Name 129 } 130 return nil 131 } 132 133 func (m *Document) GetMetadata() *meta.Meta { 134 if m != nil { 135 return m.Metadata 136 } 137 return nil 138 } 139 140 func (m *Document) GetTitle() string { 141 if m != nil { 142 return m.Title 143 } 144 return "" 145 } 146 147 func (m *Document) GetContent() string { 148 if m != nil { 149 return m.Content 150 } 151 return "" 152 } 153 154 func (m *Document) GetMimeType() string { 155 if m != nil { 156 return m.MimeType 157 } 158 return "" 159 } 160 161 func (m *Document) SetName(fv *Name) { 162 if m == nil { 163 panic(fmt.Errorf("can't set %s on nil %s", "Name", "Document")) 164 } 165 m.Name = fv 166 } 167 168 func (m *Document) SetMetadata(fv *meta.Meta) { 169 if m == nil { 170 panic(fmt.Errorf("can't set %s on nil %s", "Metadata", "Document")) 171 } 172 m.Metadata = fv 173 } 174 175 func (m *Document) SetTitle(fv string) { 176 if m == nil { 177 panic(fmt.Errorf("can't set %s on nil %s", "Title", "Document")) 178 } 179 m.Title = fv 180 } 181 182 func (m *Document) SetContent(fv string) { 183 if m == nil { 184 panic(fmt.Errorf("can't set %s on nil %s", "Content", "Document")) 185 } 186 m.Content = fv 187 } 188 189 func (m *Document) SetMimeType(fv string) { 190 if m == nil { 191 panic(fmt.Errorf("can't set %s on nil %s", "MimeType", "Document")) 192 } 193 m.MimeType = fv 194 } 195 196 var edgelq_alerting_proto_v1_document_proto preflect.FileDescriptor 197 198 var edgelq_alerting_proto_v1_document_proto_rawDesc = []byte{ 199 0x0a, 0x27, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 200 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 201 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0f, 0x6e, 0x74, 0x74, 0x2e, 0x61, 202 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2e, 0x76, 0x31, 0x1a, 0x19, 0x67, 0x6f, 0x6f, 0x67, 203 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 204 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 0x6e, 205 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x61, 0x74, 206 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 207 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 208 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x20, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 0x6e, 209 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 210 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1d, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 211 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x74, 0x6f, 0x72, 212 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x61, 213 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x69, 214 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 215 0x61, 0x6e, 0x6e, 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x6d, 0x75, 0x6c, 0x74, 216 0x69, 0x5f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x24, 217 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2f, 0x61, 0x6e, 0x6e, 218 0x6f, 0x74, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x2f, 0x61, 0x75, 0x64, 0x69, 0x74, 0x2e, 0x70, 219 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x16, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2f, 0x74, 0x79, 0x70, 0x65, 220 0x73, 0x2f, 0x6d, 0x65, 0x74, 0x61, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xe1, 0x04, 0x0a, 221 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x24, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 222 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x10, 0xb2, 0xda, 0x21, 0x0c, 0x0a, 0x0a, 0x0a, 223 0x08, 0x44, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 224 0x2d, 0x0a, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 225 0x0b, 0x32, 0x11, 0x2e, 0x67, 0x6f, 0x74, 0x65, 0x6e, 0x2e, 0x74, 0x79, 0x70, 0x65, 0x73, 0x2e, 226 0x4d, 0x65, 0x74, 0x61, 0x52, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x14, 227 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 228 0x69, 0x74, 0x6c, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x18, 229 0x04, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x32, 230 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x05, 0x20, 0x01, 0x28, 231 0x09, 0x42, 0x15, 0xca, 0xc6, 0x27, 0x11, 0x2a, 0x0f, 0x5a, 0x0d, 0x74, 0x65, 0x78, 0x74, 0x2f, 232 0x6d, 0x61, 0x72, 0x6b, 0x64, 0x6f, 0x77, 0x6e, 0x52, 0x08, 0x6d, 0x69, 0x6d, 0x65, 0x54, 0x79, 233 0x70, 0x65, 0x3a, 0x9b, 0x03, 0xea, 0x41, 0x47, 0x0a, 0x1c, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 234 0x6e, 0x67, 0x2e, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x44, 0x6f, 235 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x12, 0x27, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 236 0x2f, 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 237 0x65, 0x6e, 0x74, 0x73, 0x2f, 0x7b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x7d, 0x92, 238 0xd9, 0x21, 0xb8, 0x01, 0x0a, 0x09, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x12, 239 0x09, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x73, 0x1a, 0x16, 0x69, 0x61, 0x6d, 0x2e, 240 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x50, 0x72, 0x6f, 0x6a, 0x65, 241 0x63, 0x74, 0x38, 0x05, 0x42, 0x38, 0x08, 0x02, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 242 0x12, 0x04, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x0e, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 243 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x16, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 244 0x79, 0x70, 0x65, 0x12, 0x09, 0x4d, 0x69, 0x6d, 0x65, 0x20, 0x74, 0x79, 0x70, 0x65, 0x42, 0x4c, 245 0x08, 0x03, 0x12, 0x0c, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x04, 0x4e, 0x61, 0x6d, 0x65, 246 0x12, 0x0e, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x05, 0x54, 0x69, 0x74, 0x6c, 0x65, 247 0x12, 0x12, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x12, 0x07, 0x43, 0x6f, 0x6e, 248 0x74, 0x65, 0x6e, 0x74, 0x12, 0x16, 0x0a, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 249 0x65, 0x12, 0x09, 0x4d, 0x69, 0x6d, 0x65, 0x20, 0x74, 0x79, 0x70, 0x65, 0xaa, 0xd9, 0x21, 0x1d, 250 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x0a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0x0a, 0x07, 0x63, 251 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x1a, 0x05, 0x74, 0x69, 0x74, 0x6c, 0x65, 0xb2, 0xdf, 0x21, 252 0x34, 0x0a, 0x32, 0x0a, 0x30, 0x0a, 0x07, 0x62, 0x79, 0x54, 0x69, 0x74, 0x6c, 0x65, 0x12, 0x05, 253 0x74, 0x69, 0x74, 0x6c, 0x65, 0x1a, 0x1e, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x73, 0x2f, 254 0x7b, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x7d, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 255 0x6e, 0x74, 0x73, 0x2f, 0x2d, 0xda, 0x94, 0x23, 0x08, 0x12, 0x06, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 256 0x65, 0xc2, 0x85, 0x2c, 0x2b, 0x22, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x05, 0x74, 0x69, 0x74, 257 0x6c, 0x65, 0x22, 0x09, 0x6d, 0x69, 0x6d, 0x65, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x22, 0x07, 0x63, 258 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x42, 0x08, 0x6d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 259 0x42, 0x8b, 0x02, 0xe8, 0xde, 0x21, 0x01, 0xd2, 0xff, 0xd0, 0x02, 0x47, 0x0a, 0x0e, 0x64, 0x6f, 260 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x12, 0x35, 0x67, 0x69, 261 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 262 0x6e, 0x2f, 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 263 0x67, 0x2f, 0x73, 0x74, 0x6f, 0x72, 0x65, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 264 0x65, 0x6e, 0x74, 0xa2, 0x80, 0xd1, 0x02, 0x49, 0x0a, 0x0f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 265 0x6e, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x36, 0x67, 0x69, 0x74, 0x68, 0x75, 266 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 0x65, 267 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 0x61, 268 0x63, 0x63, 0x65, 0x73, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 269 0x74, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x6e, 0x74, 0x74, 0x2e, 0x61, 0x6c, 0x65, 0x72, 0x74, 270 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x62, 0x2e, 0x76, 0x31, 0x42, 0x0d, 0x44, 0x6f, 0x63, 0x75, 0x6d, 271 0x65, 0x6e, 0x74, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x42, 0x67, 0x69, 0x74, 0x68, 272 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x77, 0x61, 0x6e, 0x2f, 273 0x65, 0x64, 0x67, 0x65, 0x6c, 0x71, 0x2f, 0x61, 0x6c, 0x65, 0x72, 0x74, 0x69, 0x6e, 0x67, 0x2f, 274 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x73, 0x2f, 0x76, 0x31, 0x2f, 0x64, 0x6f, 0x63, 275 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x3b, 0x64, 0x6f, 0x63, 0x75, 0x6d, 0x65, 0x6e, 0x74, 0x62, 0x06, 276 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 277 } 278 279 var ( 280 edgelq_alerting_proto_v1_document_proto_rawDescOnce sync.Once 281 edgelq_alerting_proto_v1_document_proto_rawDescData = edgelq_alerting_proto_v1_document_proto_rawDesc 282 ) 283 284 func edgelq_alerting_proto_v1_document_proto_rawDescGZIP() []byte { 285 edgelq_alerting_proto_v1_document_proto_rawDescOnce.Do(func() { 286 edgelq_alerting_proto_v1_document_proto_rawDescData = protoimpl.X.CompressGZIP(edgelq_alerting_proto_v1_document_proto_rawDescData) 287 }) 288 return edgelq_alerting_proto_v1_document_proto_rawDescData 289 } 290 291 var edgelq_alerting_proto_v1_document_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 292 var edgelq_alerting_proto_v1_document_proto_goTypes = []interface{}{ 293 (*Document)(nil), // 0: ntt.alerting.v1.Document 294 (*meta.Meta)(nil), // 1: goten.types.Meta 295 } 296 var edgelq_alerting_proto_v1_document_proto_depIdxs = []int32{ 297 1, // 0: ntt.alerting.v1.Document.metadata:type_name -> goten.types.Meta 298 1, // [1:1] is the sub-list for method output_type 299 1, // [1:1] is the sub-list for method input_type 300 1, // [1:1] is the sub-list for extension type_name 301 1, // [1:1] is the sub-list for extension extendee 302 0, // [0:1] is the sub-list for field type_name 303 } 304 305 func init() { edgelq_alerting_proto_v1_document_proto_init() } 306 func edgelq_alerting_proto_v1_document_proto_init() { 307 if edgelq_alerting_proto_v1_document_proto != nil { 308 return 309 } 310 if !protoimpl.UnsafeEnabled { 311 312 edgelq_alerting_proto_v1_document_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 313 switch v := v.(*Document); i { 314 case 0: 315 return &v.state 316 case 1: 317 return &v.sizeCache 318 case 2: 319 return &v.unknownFields 320 default: 321 return nil 322 } 323 } 324 } 325 326 type x struct{} 327 out := protoimpl.TypeBuilder{ 328 File: protoimpl.DescBuilder{ 329 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 330 RawDescriptor: edgelq_alerting_proto_v1_document_proto_rawDesc, 331 NumEnums: 0, 332 NumMessages: 1, 333 NumExtensions: 0, 334 NumServices: 0, 335 }, 336 GoTypes: edgelq_alerting_proto_v1_document_proto_goTypes, 337 DependencyIndexes: edgelq_alerting_proto_v1_document_proto_depIdxs, 338 MessageInfos: edgelq_alerting_proto_v1_document_proto_msgTypes, 339 }.Build() 340 edgelq_alerting_proto_v1_document_proto = out.File 341 edgelq_alerting_proto_v1_document_proto_rawDesc = nil 342 edgelq_alerting_proto_v1_document_proto_goTypes = nil 343 edgelq_alerting_proto_v1_document_proto_depIdxs = nil 344 }