github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/client/daemonservice/proto/fleetspeak_daemonservice/messages.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/daemonservice/proto/fleetspeak_daemonservice/messages.proto 6 7 package fleetspeak_daemonservice 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 // A fleetspeak.Message with message type "StdOutput" and data type 24 // StdOutputData is sent by a daemon service to the server when the daemon 25 // subprocess produces output on stdout or stderr. 26 type StdOutputData struct { 27 state protoimpl.MessageState 28 sizeCache protoimpl.SizeCache 29 unknownFields protoimpl.UnknownFields 30 31 // The pid of the daemon process. 32 Pid int64 `protobuf:"varint,1,opt,name=pid,proto3" json:"pid,omitempty"` 33 // The index of this message within the set of messages returned for 34 // this pid. 35 MessageIndex int64 `protobuf:"varint,2,opt,name=message_index,json=messageIndex,proto3" json:"message_index,omitempty"` 36 Stdout []byte `protobuf:"bytes,3,opt,name=stdout,proto3" json:"stdout,omitempty"` 37 Stderr []byte `protobuf:"bytes,4,opt,name=stderr,proto3" json:"stderr,omitempty"` 38 } 39 40 func (x *StdOutputData) Reset() { 41 *x = StdOutputData{} 42 if protoimpl.UnsafeEnabled { 43 mi := &file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_msgTypes[0] 44 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 45 ms.StoreMessageInfo(mi) 46 } 47 } 48 49 func (x *StdOutputData) String() string { 50 return protoimpl.X.MessageStringOf(x) 51 } 52 53 func (*StdOutputData) ProtoMessage() {} 54 55 func (x *StdOutputData) ProtoReflect() protoreflect.Message { 56 mi := &file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_msgTypes[0] 57 if protoimpl.UnsafeEnabled && x != nil { 58 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 59 if ms.LoadMessageInfo() == nil { 60 ms.StoreMessageInfo(mi) 61 } 62 return ms 63 } 64 return mi.MessageOf(x) 65 } 66 67 // Deprecated: Use StdOutputData.ProtoReflect.Descriptor instead. 68 func (*StdOutputData) Descriptor() ([]byte, []int) { 69 return file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDescGZIP(), []int{0} 70 } 71 72 func (x *StdOutputData) GetPid() int64 { 73 if x != nil { 74 return x.Pid 75 } 76 return 0 77 } 78 79 func (x *StdOutputData) GetMessageIndex() int64 { 80 if x != nil { 81 return x.MessageIndex 82 } 83 return 0 84 } 85 86 func (x *StdOutputData) GetStdout() []byte { 87 if x != nil { 88 return x.Stdout 89 } 90 return nil 91 } 92 93 func (x *StdOutputData) GetStderr() []byte { 94 if x != nil { 95 return x.Stderr 96 } 97 return nil 98 } 99 100 var File_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto protoreflect.FileDescriptor 101 102 var file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDesc = []byte{ 103 0x0a, 0x51, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63, 104 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x73, 0x65, 105 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x65, 106 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x73, 0x65, 0x72, 107 0x76, 0x69, 0x63, 0x65, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 108 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 109 0x64, 0x61, 0x65, 0x6d, 0x6f, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x22, 0x76, 0x0a, 110 0x0d, 0x53, 0x74, 0x64, 0x4f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x12, 0x10, 111 0x0a, 0x03, 0x70, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x03, 0x52, 0x03, 0x70, 0x69, 0x64, 112 0x12, 0x23, 0x0a, 0x0d, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x5f, 0x69, 0x6e, 0x64, 0x65, 113 0x78, 0x18, 0x02, 0x20, 0x01, 0x28, 0x03, 0x52, 0x0c, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 114 0x49, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x18, 115 0x03, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75, 0x74, 0x12, 0x16, 0x0a, 116 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 117 0x74, 0x64, 0x65, 0x72, 0x72, 0x42, 0x61, 0x5a, 0x5f, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 118 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 119 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 120 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x64, 0x61, 0x65, 0x6d, 121 0x6f, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 122 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x64, 0x61, 0x65, 0x6d, 0x6f, 123 0x6e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 124 } 125 126 var ( 127 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDescOnce sync.Once 128 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDescData = file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDesc 129 ) 130 131 func file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDescGZIP() []byte { 132 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDescOnce.Do(func() { 133 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDescData) 134 }) 135 return file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDescData 136 } 137 138 var file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 139 var file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_goTypes = []interface{}{ 140 (*StdOutputData)(nil), // 0: fleetspeak.daemonservice.StdOutputData 141 } 142 var file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_depIdxs = []int32{ 143 0, // [0:0] is the sub-list for method output_type 144 0, // [0:0] is the sub-list for method input_type 145 0, // [0:0] is the sub-list for extension type_name 146 0, // [0:0] is the sub-list for extension extendee 147 0, // [0:0] is the sub-list for field type_name 148 } 149 150 func init() { 151 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_init() 152 } 153 func file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_init() { 154 if File_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto != nil { 155 return 156 } 157 if !protoimpl.UnsafeEnabled { 158 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 159 switch v := v.(*StdOutputData); i { 160 case 0: 161 return &v.state 162 case 1: 163 return &v.sizeCache 164 case 2: 165 return &v.unknownFields 166 default: 167 return nil 168 } 169 } 170 } 171 type x struct{} 172 out := protoimpl.TypeBuilder{ 173 File: protoimpl.DescBuilder{ 174 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 175 RawDescriptor: file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDesc, 176 NumEnums: 0, 177 NumMessages: 1, 178 NumExtensions: 0, 179 NumServices: 0, 180 }, 181 GoTypes: file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_goTypes, 182 DependencyIndexes: file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_depIdxs, 183 MessageInfos: file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_msgTypes, 184 }.Build() 185 File_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto = out.File 186 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_rawDesc = nil 187 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_goTypes = nil 188 file_fleetspeak_src_client_daemonservice_proto_fleetspeak_daemonservice_messages_proto_depIdxs = nil 189 }