github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/client/channel/proto/fleetspeak_channel/channel.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.28.0 4 // protoc v4.23.4 5 // source: fleetspeak/src/client/channel/proto/fleetspeak_channel/channel.proto 6 7 package fleetspeak_channel 8 9 import ( 10 protoreflect "google.golang.org/protobuf/reflect/protoreflect" 11 protoimpl "google.golang.org/protobuf/runtime/protoimpl" 12 reflect "reflect" 13 sync "sync" 14 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 // Optional first message sent through a channel when it is created. It is meant 24 // to contain info about the process that the other end of the channel might 25 // find useful. 26 type StartupData struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 // Self-reported PID. 32 Pid int64 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` 33 // Self-reported service version string. 34 Version string `protobuf:"bytes,2,opt,name=version,proto3" json:"version,omitempty"` 35 } 36 37 func (x *StartupData) Reset() { 38 *x = StartupData{} 39 if protoimpl.UnsafeEnabled { 40 mi := &file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_msgTypes[0] 41 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 42 ms.StoreMessageInfo(mi) 43 } 44 } 45 46 func (x *StartupData) String() string { 47 return protoimpl.X.MessageStringOf(x) 48 } 49 50 func (*StartupData) ProtoMessage() {} 51 52 func (x *StartupData) ProtoReflect() protoreflect.Message { 53 mi := &file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_msgTypes[0] 54 if protoimpl.UnsafeEnabled && x != nil { 55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 56 if ms.LoadMessageInfo() == nil { 57 ms.StoreMessageInfo(mi) 58 } 59 return ms 60 } 61 return mi.MessageOf(x) 62 } 63 64 // Deprecated: Use StartupData.ProtoReflect.Descriptor instead. 65 func (*StartupData) Descriptor() ([]byte, []int) { 66 return file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDescGZIP(), []int{0} 67 } 68 69 func (x *StartupData) GetPid() int64 { 70 if x != nil { 71 return x.Pid 72 } 73 return 0 74 } 75 76 func (x *StartupData) GetVersion() string { 77 if x != nil { 78 return x.Version 79 } 80 return "" 81 } 82 83 var File_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto protoreflect.FileDescriptor 84 85 var file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDesc = []byte{ 86 0x0a, 0x44, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63, 87 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 88 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 89 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x2f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 90 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 91 0x61, 0x6b, 0x2e, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x22, 0x39, 0x0a, 0x0b, 0x53, 0x74, 92 0x61, 0x72, 0x74, 0x75, 0x70, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 0x0a, 0x03, 0x70, 0x69, 0x64, 93 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69, 0x64, 0x12, 0x18, 0x0a, 0x07, 0x76, 94 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x76, 0x65, 95 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x42, 0x55, 0x5a, 0x53, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 96 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 97 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 98 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x63, 0x68, 0x61, 0x6e, 99 0x6e, 0x65, 0x6c, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 100 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x63, 0x68, 0x61, 0x6e, 0x6e, 0x65, 0x6c, 0x62, 0x06, 0x70, 0x72, 101 0x6f, 0x74, 0x6f, 0x33, 102 } 103 104 var ( 105 file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDescOnce sync.Once 106 file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDescData = file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDesc 107 ) 108 109 func file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDescGZIP() []byte { 110 file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDescOnce.Do(func() { 111 file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDescData = protoimpl.X.CompressGZIP(file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDescData) 112 }) 113 return file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDescData 114 } 115 116 var file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 117 var file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_goTypes = []interface{}{ 118 (*StartupData)(nil), // 0: fleetspeak.channel.StartupData 119 } 120 var file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_depIdxs = []int32{ 121 0, // [0:0] is the sub-list for method output_type 122 0, // [0:0] is the sub-list for method input_type 123 0, // [0:0] is the sub-list for extension type_name 124 0, // [0:0] is the sub-list for extension extendee 125 0, // [0:0] is the sub-list for field type_name 126 } 127 128 func init() { file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_init() } 129 func file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_init() { 130 if File_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto != nil { 131 return 132 } 133 if !protoimpl.UnsafeEnabled { 134 file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 135 switch v := v.(*StartupData); i { 136 case 0: 137 return &v.state 138 case 1: 139 return &v.sizeCache 140 case 2: 141 return &v.unknownFields 142 default: 143 return nil 144 } 145 } 146 } 147 type x struct{} 148 out := protoimpl.TypeBuilder{ 149 File: protoimpl.DescBuilder{ 150 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 151 RawDescriptor: file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDesc, 152 NumEnums: 0, 153 NumMessages: 1, 154 NumExtensions: 0, 155 NumServices: 0, 156 }, 157 GoTypes: file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_goTypes, 158 DependencyIndexes: file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_depIdxs, 159 MessageInfos: file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_msgTypes, 160 }.Build() 161 File_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto = out.File 162 file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_rawDesc = nil 163 file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_goTypes = nil 164 file_fleetspeak_src_client_channel_proto_fleetspeak_channel_channel_proto_depIdxs = nil 165 }