github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/client/stdinservice/proto/fleetspeak_stdinservice/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/stdinservice/proto/fleetspeak_stdinservice/messages.proto
     6  
     7  package fleetspeak_stdinservice
     8  
     9  import (
    10  	fleetspeak_monitoring "github.com/google/fleetspeak/fleetspeak/src/common/proto/fleetspeak_monitoring"
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	timestamppb "google.golang.org/protobuf/types/known/timestamppb"
    14  	reflect "reflect"
    15  	sync "sync"
    16  )
    17  
    18  const (
    19  	// Verify that this generated code is sufficiently up-to-date.
    20  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    21  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    22  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    23  )
    24  
    25  type InputMessage struct {
    26  	state         protoimpl.MessageState
    27  	sizeCache     protoimpl.SizeCache
    28  	unknownFields protoimpl.UnknownFields
    29  
    30  	// The data to be forwarded to the service.
    31  	Input []byte `protobuf:"bytes,1,opt,name=input,proto3" json:"input,omitempty"`
    32  	// Command line arguments.
    33  	Args []string `protobuf:"bytes,2,rep,name=args,proto3" json:"args,omitempty"`
    34  }
    35  
    36  func (x *InputMessage) Reset() {
    37  	*x = InputMessage{}
    38  	if protoimpl.UnsafeEnabled {
    39  		mi := &file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_msgTypes[0]
    40  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    41  		ms.StoreMessageInfo(mi)
    42  	}
    43  }
    44  
    45  func (x *InputMessage) String() string {
    46  	return protoimpl.X.MessageStringOf(x)
    47  }
    48  
    49  func (*InputMessage) ProtoMessage() {}
    50  
    51  func (x *InputMessage) ProtoReflect() protoreflect.Message {
    52  	mi := &file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_msgTypes[0]
    53  	if protoimpl.UnsafeEnabled && x != nil {
    54  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    55  		if ms.LoadMessageInfo() == nil {
    56  			ms.StoreMessageInfo(mi)
    57  		}
    58  		return ms
    59  	}
    60  	return mi.MessageOf(x)
    61  }
    62  
    63  // Deprecated: Use InputMessage.ProtoReflect.Descriptor instead.
    64  func (*InputMessage) Descriptor() ([]byte, []int) {
    65  	return file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDescGZIP(), []int{0}
    66  }
    67  
    68  func (x *InputMessage) GetInput() []byte {
    69  	if x != nil {
    70  		return x.Input
    71  	}
    72  	return nil
    73  }
    74  
    75  func (x *InputMessage) GetArgs() []string {
    76  	if x != nil {
    77  		return x.Args
    78  	}
    79  	return nil
    80  }
    81  
    82  type OutputMessage struct {
    83  	state         protoimpl.MessageState
    84  	sizeCache     protoimpl.SizeCache
    85  	unknownFields protoimpl.UnknownFields
    86  
    87  	Stdout        []byte                                         `protobuf:"bytes,1,opt,name=stdout,proto3" json:"stdout,omitempty"`
    88  	Stderr        []byte                                         `protobuf:"bytes,2,opt,name=stderr,proto3" json:"stderr,omitempty"`
    89  	ResourceUsage *fleetspeak_monitoring.AggregatedResourceUsage `protobuf:"bytes,3,opt,name=resource_usage,json=resourceUsage,proto3" json:"resource_usage,omitempty"`
    90  	// When the message was generated.
    91  	Timestamp *timestamppb.Timestamp `protobuf:"bytes,4,opt,name=timestamp,proto3" json:"timestamp,omitempty"`
    92  }
    93  
    94  func (x *OutputMessage) Reset() {
    95  	*x = OutputMessage{}
    96  	if protoimpl.UnsafeEnabled {
    97  		mi := &file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_msgTypes[1]
    98  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    99  		ms.StoreMessageInfo(mi)
   100  	}
   101  }
   102  
   103  func (x *OutputMessage) String() string {
   104  	return protoimpl.X.MessageStringOf(x)
   105  }
   106  
   107  func (*OutputMessage) ProtoMessage() {}
   108  
   109  func (x *OutputMessage) ProtoReflect() protoreflect.Message {
   110  	mi := &file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_msgTypes[1]
   111  	if protoimpl.UnsafeEnabled && x != nil {
   112  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   113  		if ms.LoadMessageInfo() == nil {
   114  			ms.StoreMessageInfo(mi)
   115  		}
   116  		return ms
   117  	}
   118  	return mi.MessageOf(x)
   119  }
   120  
   121  // Deprecated: Use OutputMessage.ProtoReflect.Descriptor instead.
   122  func (*OutputMessage) Descriptor() ([]byte, []int) {
   123  	return file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDescGZIP(), []int{1}
   124  }
   125  
   126  func (x *OutputMessage) GetStdout() []byte {
   127  	if x != nil {
   128  		return x.Stdout
   129  	}
   130  	return nil
   131  }
   132  
   133  func (x *OutputMessage) GetStderr() []byte {
   134  	if x != nil {
   135  		return x.Stderr
   136  	}
   137  	return nil
   138  }
   139  
   140  func (x *OutputMessage) GetResourceUsage() *fleetspeak_monitoring.AggregatedResourceUsage {
   141  	if x != nil {
   142  		return x.ResourceUsage
   143  	}
   144  	return nil
   145  }
   146  
   147  func (x *OutputMessage) GetTimestamp() *timestamppb.Timestamp {
   148  	if x != nil {
   149  		return x.Timestamp
   150  	}
   151  	return nil
   152  }
   153  
   154  var File_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto protoreflect.FileDescriptor
   155  
   156  var file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDesc = []byte{
   157  	0x0a, 0x4f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63,
   158  	0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x73, 0x65, 0x72,
   159  	0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74,
   160  	0x73, 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x69,
   161  	0x63, 0x65, 0x2f, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74,
   162  	0x6f, 0x12, 0x17, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 0x73, 0x74,
   163  	0x64, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x1a, 0x40, 0x66, 0x6c, 0x65, 0x65,
   164  	0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f,
   165  	0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65,
   166  	0x61, 0x6b, 0x5f, 0x6d, 0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2f, 0x72, 0x65,
   167  	0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67, 0x6f,
   168  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74, 0x69,
   169  	0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x38, 0x0a,
   170  	0x0c, 0x49, 0x6e, 0x70, 0x75, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x14, 0x0a,
   171  	0x05, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x05, 0x69, 0x6e,
   172  	0x70, 0x75, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x61, 0x72, 0x67, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
   173  	0x09, 0x52, 0x04, 0x61, 0x72, 0x67, 0x73, 0x22, 0xd0, 0x01, 0x0a, 0x0d, 0x4f, 0x75, 0x74, 0x70,
   174  	0x75, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64,
   175  	0x6f, 0x75, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x6f, 0x75,
   176  	0x74, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28,
   177  	0x0c, 0x52, 0x06, 0x73, 0x74, 0x64, 0x65, 0x72, 0x72, 0x12, 0x55, 0x0a, 0x0e, 0x72, 0x65, 0x73,
   178  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x75, 0x73, 0x61, 0x67, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
   179  	0x0b, 0x32, 0x2e, 0x2e, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 0x6d,
   180  	0x6f, 0x6e, 0x69, 0x74, 0x6f, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x41, 0x67, 0x67, 0x72, 0x65, 0x67,
   181  	0x61, 0x74, 0x65, 0x64, 0x52, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67,
   182  	0x65, 0x52, 0x0d, 0x72, 0x65, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x55, 0x73, 0x61, 0x67, 0x65,
   183  	0x12, 0x38, 0x0a, 0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x18, 0x04, 0x20,
   184  	0x01, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f,
   185  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x54, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x52,
   186  	0x09, 0x74, 0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x42, 0x5f, 0x5a, 0x5d, 0x67, 0x69,
   187  	0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f,
   188  	0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74,
   189  	0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74,
   190  	0x2f, 0x73, 0x74, 0x64, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x70, 0x72,
   191  	0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x73,
   192  	0x74, 0x64, 0x69, 0x6e, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x62, 0x06, 0x70, 0x72, 0x6f,
   193  	0x74, 0x6f, 0x33,
   194  }
   195  
   196  var (
   197  	file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDescOnce sync.Once
   198  	file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDescData = file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDesc
   199  )
   200  
   201  func file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDescGZIP() []byte {
   202  	file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDescOnce.Do(func() {
   203  		file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDescData = protoimpl.X.CompressGZIP(file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDescData)
   204  	})
   205  	return file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDescData
   206  }
   207  
   208  var file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   209  var file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_goTypes = []interface{}{
   210  	(*InputMessage)(nil),  // 0: fleetspeak.stdinservice.InputMessage
   211  	(*OutputMessage)(nil), // 1: fleetspeak.stdinservice.OutputMessage
   212  	(*fleetspeak_monitoring.AggregatedResourceUsage)(nil), // 2: fleetspeak.monitoring.AggregatedResourceUsage
   213  	(*timestamppb.Timestamp)(nil),                         // 3: google.protobuf.Timestamp
   214  }
   215  var file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_depIdxs = []int32{
   216  	2, // 0: fleetspeak.stdinservice.OutputMessage.resource_usage:type_name -> fleetspeak.monitoring.AggregatedResourceUsage
   217  	3, // 1: fleetspeak.stdinservice.OutputMessage.timestamp:type_name -> google.protobuf.Timestamp
   218  	2, // [2:2] is the sub-list for method output_type
   219  	2, // [2:2] is the sub-list for method input_type
   220  	2, // [2:2] is the sub-list for extension type_name
   221  	2, // [2:2] is the sub-list for extension extendee
   222  	0, // [0:2] is the sub-list for field type_name
   223  }
   224  
   225  func init() {
   226  	file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_init()
   227  }
   228  func file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_init() {
   229  	if File_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto != nil {
   230  		return
   231  	}
   232  	if !protoimpl.UnsafeEnabled {
   233  		file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   234  			switch v := v.(*InputMessage); i {
   235  			case 0:
   236  				return &v.state
   237  			case 1:
   238  				return &v.sizeCache
   239  			case 2:
   240  				return &v.unknownFields
   241  			default:
   242  				return nil
   243  			}
   244  		}
   245  		file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   246  			switch v := v.(*OutputMessage); i {
   247  			case 0:
   248  				return &v.state
   249  			case 1:
   250  				return &v.sizeCache
   251  			case 2:
   252  				return &v.unknownFields
   253  			default:
   254  				return nil
   255  			}
   256  		}
   257  	}
   258  	type x struct{}
   259  	out := protoimpl.TypeBuilder{
   260  		File: protoimpl.DescBuilder{
   261  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   262  			RawDescriptor: file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDesc,
   263  			NumEnums:      0,
   264  			NumMessages:   2,
   265  			NumExtensions: 0,
   266  			NumServices:   0,
   267  		},
   268  		GoTypes:           file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_goTypes,
   269  		DependencyIndexes: file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_depIdxs,
   270  		MessageInfos:      file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_msgTypes,
   271  	}.Build()
   272  	File_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto = out.File
   273  	file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_rawDesc = nil
   274  	file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_goTypes = nil
   275  	file_fleetspeak_src_client_stdinservice_proto_fleetspeak_stdinservice_messages_proto_depIdxs = nil
   276  }