| // Code generated by protoc-gen-go. DO NOT EDIT. |
| // versions: |
| // protoc-gen-go v1.36.10 |
| // protoc v7.34.0 |
| // source: warn/docs/proto/docs.proto |
| |
| package proto |
| |
| import ( |
| protoreflect "google.golang.org/protobuf/reflect/protoreflect" |
| protoimpl "google.golang.org/protobuf/runtime/protoimpl" |
| reflect "reflect" |
| sync "sync" |
| unsafe "unsafe" |
| ) |
| |
| const ( |
| // Verify that this generated code is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) |
| // Verify that runtime/protoimpl is sufficiently up-to-date. |
| _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) |
| ) |
| |
| type Warnings struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Warnings []*Warnings_Warning `protobuf:"bytes,1,rep,name=warnings,proto3" json:"warnings,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Warnings) Reset() { |
| *x = Warnings{} |
| mi := &file_warn_docs_proto_docs_proto_msgTypes[0] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Warnings) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Warnings) ProtoMessage() {} |
| |
| func (x *Warnings) ProtoReflect() protoreflect.Message { |
| mi := &file_warn_docs_proto_docs_proto_msgTypes[0] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Warnings.ProtoReflect.Descriptor instead. |
| func (*Warnings) Descriptor() ([]byte, []int) { |
| return file_warn_docs_proto_docs_proto_rawDescGZIP(), []int{0} |
| } |
| |
| func (x *Warnings) GetWarnings() []*Warnings_Warning { |
| if x != nil { |
| return x.Warnings |
| } |
| return nil |
| } |
| |
| type Warnings_Warning struct { |
| state protoimpl.MessageState `protogen:"open.v1"` |
| Name []string `protobuf:"bytes,1,rep,name=name,proto3" json:"name,omitempty"` |
| Header string `protobuf:"bytes,2,opt,name=header,proto3" json:"header,omitempty"` |
| Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"` |
| Autofix bool `protobuf:"varint,4,opt,name=autofix,proto3" json:"autofix,omitempty"` |
| BazelFlag string `protobuf:"bytes,5,opt,name=bazel_flag,json=bazelFlag,proto3" json:"bazel_flag,omitempty"` |
| BazelFlagLink string `protobuf:"bytes,6,opt,name=bazel_flag_link,json=bazelFlagLink,proto3" json:"bazel_flag_link,omitempty"` |
| unknownFields protoimpl.UnknownFields |
| sizeCache protoimpl.SizeCache |
| } |
| |
| func (x *Warnings_Warning) Reset() { |
| *x = Warnings_Warning{} |
| mi := &file_warn_docs_proto_docs_proto_msgTypes[1] |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| ms.StoreMessageInfo(mi) |
| } |
| |
| func (x *Warnings_Warning) String() string { |
| return protoimpl.X.MessageStringOf(x) |
| } |
| |
| func (*Warnings_Warning) ProtoMessage() {} |
| |
| func (x *Warnings_Warning) ProtoReflect() protoreflect.Message { |
| mi := &file_warn_docs_proto_docs_proto_msgTypes[1] |
| if x != nil { |
| ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| if ms.LoadMessageInfo() == nil { |
| ms.StoreMessageInfo(mi) |
| } |
| return ms |
| } |
| return mi.MessageOf(x) |
| } |
| |
| // Deprecated: Use Warnings_Warning.ProtoReflect.Descriptor instead. |
| func (*Warnings_Warning) Descriptor() ([]byte, []int) { |
| return file_warn_docs_proto_docs_proto_rawDescGZIP(), []int{0, 0} |
| } |
| |
| func (x *Warnings_Warning) GetName() []string { |
| if x != nil { |
| return x.Name |
| } |
| return nil |
| } |
| |
| func (x *Warnings_Warning) GetHeader() string { |
| if x != nil { |
| return x.Header |
| } |
| return "" |
| } |
| |
| func (x *Warnings_Warning) GetDescription() string { |
| if x != nil { |
| return x.Description |
| } |
| return "" |
| } |
| |
| func (x *Warnings_Warning) GetAutofix() bool { |
| if x != nil { |
| return x.Autofix |
| } |
| return false |
| } |
| |
| func (x *Warnings_Warning) GetBazelFlag() string { |
| if x != nil { |
| return x.BazelFlag |
| } |
| return "" |
| } |
| |
| func (x *Warnings_Warning) GetBazelFlagLink() string { |
| if x != nil { |
| return x.BazelFlagLink |
| } |
| return "" |
| } |
| |
| var File_warn_docs_proto_docs_proto protoreflect.FileDescriptor |
| |
| const file_warn_docs_proto_docs_proto_rawDesc = "" + |
| "\n" + |
| "\x1awarn/docs/proto/docs.proto\x12\x04docs\"\xf9\x01\n" + |
| "\bWarnings\x122\n" + |
| "\bwarnings\x18\x01 \x03(\v2\x16.docs.Warnings.WarningR\bwarnings\x1a\xb8\x01\n" + |
| "\aWarning\x12\x12\n" + |
| "\x04name\x18\x01 \x03(\tR\x04name\x12\x16\n" + |
| "\x06header\x18\x02 \x01(\tR\x06header\x12 \n" + |
| "\vdescription\x18\x03 \x01(\tR\vdescription\x12\x18\n" + |
| "\aautofix\x18\x04 \x01(\bR\aautofix\x12\x1d\n" + |
| "\n" + |
| "bazel_flag\x18\x05 \x01(\tR\tbazelFlag\x12&\n" + |
| "\x0fbazel_flag_link\x18\x06 \x01(\tR\rbazelFlagLinkB9Z7github.com/bazel-contrib/buildtools/v10/warn/docs/protob\x06proto3" |
| |
| var ( |
| file_warn_docs_proto_docs_proto_rawDescOnce sync.Once |
| file_warn_docs_proto_docs_proto_rawDescData []byte |
| ) |
| |
| func file_warn_docs_proto_docs_proto_rawDescGZIP() []byte { |
| file_warn_docs_proto_docs_proto_rawDescOnce.Do(func() { |
| file_warn_docs_proto_docs_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_warn_docs_proto_docs_proto_rawDesc), len(file_warn_docs_proto_docs_proto_rawDesc))) |
| }) |
| return file_warn_docs_proto_docs_proto_rawDescData |
| } |
| |
| var file_warn_docs_proto_docs_proto_msgTypes = make([]protoimpl.MessageInfo, 2) |
| var file_warn_docs_proto_docs_proto_goTypes = []any{ |
| (*Warnings)(nil), // 0: docs.Warnings |
| (*Warnings_Warning)(nil), // 1: docs.Warnings.Warning |
| } |
| var file_warn_docs_proto_docs_proto_depIdxs = []int32{ |
| 1, // 0: docs.Warnings.warnings:type_name -> docs.Warnings.Warning |
| 1, // [1:1] is the sub-list for method output_type |
| 1, // [1:1] is the sub-list for method input_type |
| 1, // [1:1] is the sub-list for extension type_name |
| 1, // [1:1] is the sub-list for extension extendee |
| 0, // [0:1] is the sub-list for field type_name |
| } |
| |
| func init() { file_warn_docs_proto_docs_proto_init() } |
| func file_warn_docs_proto_docs_proto_init() { |
| if File_warn_docs_proto_docs_proto != nil { |
| return |
| } |
| type x struct{} |
| out := protoimpl.TypeBuilder{ |
| File: protoimpl.DescBuilder{ |
| GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| RawDescriptor: unsafe.Slice(unsafe.StringData(file_warn_docs_proto_docs_proto_rawDesc), len(file_warn_docs_proto_docs_proto_rawDesc)), |
| NumEnums: 0, |
| NumMessages: 2, |
| NumExtensions: 0, |
| NumServices: 0, |
| }, |
| GoTypes: file_warn_docs_proto_docs_proto_goTypes, |
| DependencyIndexes: file_warn_docs_proto_docs_proto_depIdxs, |
| MessageInfos: file_warn_docs_proto_docs_proto_msgTypes, |
| }.Build() |
| File_warn_docs_proto_docs_proto = out.File |
| file_warn_docs_proto_docs_proto_goTypes = nil |
| file_warn_docs_proto_docs_proto_depIdxs = nil |
| } |