| 123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146 |
- // message结构的属性名请使用 驼峰小写字母开始
- // Code generated by protoc-gen-go. DO NOT EDIT.
- // versions:
- // protoc-gen-go v1.36.8
- // protoc v6.31.1
- // source: union.proto
- package pb
- 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 UnionApplyOp struct {
- state protoimpl.MessageState `protogen:"open.v1"`
- // 联盟ID
- LeagueID int64 `protobuf:"varint,1,opt,name=leagueID,proto3" json:"leagueID,omitempty"`
- // 申请类型 1友盟 2联邦
- ApplyType int32 `protobuf:"varint,2,opt,name=applyType,proto3" json:"applyType,omitempty"`
- // 是否同意 true同意 false拒绝
- Agree bool `protobuf:"varint,3,opt,name=agree,proto3" json:"agree,omitempty"`
- unknownFields protoimpl.UnknownFields
- sizeCache protoimpl.SizeCache
- }
- func (x *UnionApplyOp) Reset() {
- *x = UnionApplyOp{}
- mi := &file_union_proto_msgTypes[0]
- ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
- ms.StoreMessageInfo(mi)
- }
- func (x *UnionApplyOp) String() string {
- return protoimpl.X.MessageStringOf(x)
- }
- func (*UnionApplyOp) ProtoMessage() {}
- func (x *UnionApplyOp) ProtoReflect() protoreflect.Message {
- mi := &file_union_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 UnionApplyOp.ProtoReflect.Descriptor instead.
- func (*UnionApplyOp) Descriptor() ([]byte, []int) {
- return file_union_proto_rawDescGZIP(), []int{0}
- }
- func (x *UnionApplyOp) GetLeagueID() int64 {
- if x != nil {
- return x.LeagueID
- }
- return 0
- }
- func (x *UnionApplyOp) GetApplyType() int32 {
- if x != nil {
- return x.ApplyType
- }
- return 0
- }
- func (x *UnionApplyOp) GetAgree() bool {
- if x != nil {
- return x.Agree
- }
- return false
- }
- var File_union_proto protoreflect.FileDescriptor
- const file_union_proto_rawDesc = "" +
- "\n" +
- "\vunion.proto\x12\x02pb\"^\n" +
- "\fUnionApplyOp\x12\x1a\n" +
- "\bleagueID\x18\x01 \x01(\x03R\bleagueID\x12\x1c\n" +
- "\tapplyType\x18\x02 \x01(\x05R\tapplyType\x12\x14\n" +
- "\x05agree\x18\x03 \x01(\bR\x05agreeB\x05Z\x03/pbb\x06proto3"
- var (
- file_union_proto_rawDescOnce sync.Once
- file_union_proto_rawDescData []byte
- )
- func file_union_proto_rawDescGZIP() []byte {
- file_union_proto_rawDescOnce.Do(func() {
- file_union_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_union_proto_rawDesc), len(file_union_proto_rawDesc)))
- })
- return file_union_proto_rawDescData
- }
- var file_union_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
- var file_union_proto_goTypes = []any{
- (*UnionApplyOp)(nil), // 0: pb.UnionApplyOp
- }
- var file_union_proto_depIdxs = []int32{
- 0, // [0:0] is the sub-list for method output_type
- 0, // [0:0] is the sub-list for method input_type
- 0, // [0:0] is the sub-list for extension type_name
- 0, // [0:0] is the sub-list for extension extendee
- 0, // [0:0] is the sub-list for field type_name
- }
- func init() { file_union_proto_init() }
- func file_union_proto_init() {
- if File_union_proto != nil {
- return
- }
- type x struct{}
- out := protoimpl.TypeBuilder{
- File: protoimpl.DescBuilder{
- GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
- RawDescriptor: unsafe.Slice(unsafe.StringData(file_union_proto_rawDesc), len(file_union_proto_rawDesc)),
- NumEnums: 0,
- NumMessages: 1,
- NumExtensions: 0,
- NumServices: 0,
- },
- GoTypes: file_union_proto_goTypes,
- DependencyIndexes: file_union_proto_depIdxs,
- MessageInfos: file_union_proto_msgTypes,
- }.Build()
- File_union_proto = out.File
- file_union_proto_goTypes = nil
- file_union_proto_depIdxs = nil
- }
|