github.com/google/fleetspeak@v0.1.15-0.20240426164851-4f31f62c1aea/fleetspeak/src/client/proto/fleetspeak_client/api.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/proto/fleetspeak_client/api.proto
     6  
     7  package fleetspeak_client
     8  
     9  import (
    10  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    11  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    12  	anypb "google.golang.org/protobuf/types/known/anypb"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  const (
    18  	// Verify that this generated code is sufficiently up-to-date.
    19  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    20  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    21  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    22  )
    23  
    24  type ByteBlob struct {
    25  	state         protoimpl.MessageState
    26  	sizeCache     protoimpl.SizeCache
    27  	unknownFields protoimpl.UnknownFields
    28  
    29  	Data []byte `protobuf:"bytes,1,opt,name=data,proto3" json:"data,omitempty"`
    30  }
    31  
    32  func (x *ByteBlob) Reset() {
    33  	*x = ByteBlob{}
    34  	if protoimpl.UnsafeEnabled {
    35  		mi := &file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_msgTypes[0]
    36  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    37  		ms.StoreMessageInfo(mi)
    38  	}
    39  }
    40  
    41  func (x *ByteBlob) String() string {
    42  	return protoimpl.X.MessageStringOf(x)
    43  }
    44  
    45  func (*ByteBlob) ProtoMessage() {}
    46  
    47  func (x *ByteBlob) ProtoReflect() protoreflect.Message {
    48  	mi := &file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_msgTypes[0]
    49  	if protoimpl.UnsafeEnabled && x != nil {
    50  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    51  		if ms.LoadMessageInfo() == nil {
    52  			ms.StoreMessageInfo(mi)
    53  		}
    54  		return ms
    55  	}
    56  	return mi.MessageOf(x)
    57  }
    58  
    59  // Deprecated: Use ByteBlob.ProtoReflect.Descriptor instead.
    60  func (*ByteBlob) Descriptor() ([]byte, []int) {
    61  	return file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDescGZIP(), []int{0}
    62  }
    63  
    64  func (x *ByteBlob) GetData() []byte {
    65  	if x != nil {
    66  		return x.Data
    67  	}
    68  	return nil
    69  }
    70  
    71  type APIMessage struct {
    72  	state         protoimpl.MessageState
    73  	sizeCache     protoimpl.SizeCache
    74  	unknownFields protoimpl.UnknownFields
    75  
    76  	Type string     `protobuf:"bytes,1,opt,name=type,proto3" json:"type,omitempty"`
    77  	Data *anypb.Any `protobuf:"bytes,2,opt,name=data,proto3" json:"data,omitempty"`
    78  }
    79  
    80  func (x *APIMessage) Reset() {
    81  	*x = APIMessage{}
    82  	if protoimpl.UnsafeEnabled {
    83  		mi := &file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_msgTypes[1]
    84  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    85  		ms.StoreMessageInfo(mi)
    86  	}
    87  }
    88  
    89  func (x *APIMessage) String() string {
    90  	return protoimpl.X.MessageStringOf(x)
    91  }
    92  
    93  func (*APIMessage) ProtoMessage() {}
    94  
    95  func (x *APIMessage) ProtoReflect() protoreflect.Message {
    96  	mi := &file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_msgTypes[1]
    97  	if protoimpl.UnsafeEnabled && x != nil {
    98  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    99  		if ms.LoadMessageInfo() == nil {
   100  			ms.StoreMessageInfo(mi)
   101  		}
   102  		return ms
   103  	}
   104  	return mi.MessageOf(x)
   105  }
   106  
   107  // Deprecated: Use APIMessage.ProtoReflect.Descriptor instead.
   108  func (*APIMessage) Descriptor() ([]byte, []int) {
   109  	return file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDescGZIP(), []int{1}
   110  }
   111  
   112  func (x *APIMessage) GetType() string {
   113  	if x != nil {
   114  		return x.Type
   115  	}
   116  	return ""
   117  }
   118  
   119  func (x *APIMessage) GetData() *anypb.Any {
   120  	if x != nil {
   121  		return x.Data
   122  	}
   123  	return nil
   124  }
   125  
   126  var File_fleetspeak_src_client_proto_fleetspeak_client_api_proto protoreflect.FileDescriptor
   127  
   128  var file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDesc = []byte{
   129  	0x0a, 0x37, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73, 0x72, 0x63,
   130  	0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x66, 0x6c,
   131  	0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f,
   132  	0x61, 0x70, 0x69, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x11, 0x66, 0x6c, 0x65, 0x65, 0x74,
   133  	0x73, 0x70, 0x65, 0x61, 0x6b, 0x2e, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x1a, 0x19, 0x67, 0x6f,
   134  	0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x61, 0x6e,
   135  	0x79, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x1e, 0x0a, 0x08, 0x42, 0x79, 0x74, 0x65, 0x42,
   136  	0x6c, 0x6f, 0x62, 0x12, 0x12, 0x0a, 0x04, 0x64, 0x61, 0x74, 0x61, 0x18, 0x01, 0x20, 0x01, 0x28,
   137  	0x0c, 0x52, 0x04, 0x64, 0x61, 0x74, 0x61, 0x22, 0x4a, 0x0a, 0x0a, 0x41, 0x50, 0x49, 0x4d, 0x65,
   138  	0x73, 0x73, 0x61, 0x67, 0x65, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01, 0x20,
   139  	0x01, 0x28, 0x09, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x28, 0x0a, 0x04, 0x64, 0x61, 0x74,
   140  	0x61, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x14, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   141  	0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x41, 0x6e, 0x79, 0x52, 0x04, 0x64,
   142  	0x61, 0x74, 0x61, 0x42, 0x4c, 0x5a, 0x4a, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f,
   143  	0x6d, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70,
   144  	0x65, 0x61, 0x6b, 0x2f, 0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x2f, 0x73,
   145  	0x72, 0x63, 0x2f, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f,
   146  	0x66, 0x6c, 0x65, 0x65, 0x74, 0x73, 0x70, 0x65, 0x61, 0x6b, 0x5f, 0x63, 0x6c, 0x69, 0x65, 0x6e,
   147  	0x74, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   148  }
   149  
   150  var (
   151  	file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDescOnce sync.Once
   152  	file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDescData = file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDesc
   153  )
   154  
   155  func file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDescGZIP() []byte {
   156  	file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDescOnce.Do(func() {
   157  		file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDescData = protoimpl.X.CompressGZIP(file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDescData)
   158  	})
   159  	return file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDescData
   160  }
   161  
   162  var file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   163  var file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_goTypes = []interface{}{
   164  	(*ByteBlob)(nil),   // 0: fleetspeak.client.ByteBlob
   165  	(*APIMessage)(nil), // 1: fleetspeak.client.APIMessage
   166  	(*anypb.Any)(nil),  // 2: google.protobuf.Any
   167  }
   168  var file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_depIdxs = []int32{
   169  	2, // 0: fleetspeak.client.APIMessage.data:type_name -> google.protobuf.Any
   170  	1, // [1:1] is the sub-list for method output_type
   171  	1, // [1:1] is the sub-list for method input_type
   172  	1, // [1:1] is the sub-list for extension type_name
   173  	1, // [1:1] is the sub-list for extension extendee
   174  	0, // [0:1] is the sub-list for field type_name
   175  }
   176  
   177  func init() { file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_init() }
   178  func file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_init() {
   179  	if File_fleetspeak_src_client_proto_fleetspeak_client_api_proto != nil {
   180  		return
   181  	}
   182  	if !protoimpl.UnsafeEnabled {
   183  		file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   184  			switch v := v.(*ByteBlob); i {
   185  			case 0:
   186  				return &v.state
   187  			case 1:
   188  				return &v.sizeCache
   189  			case 2:
   190  				return &v.unknownFields
   191  			default:
   192  				return nil
   193  			}
   194  		}
   195  		file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   196  			switch v := v.(*APIMessage); i {
   197  			case 0:
   198  				return &v.state
   199  			case 1:
   200  				return &v.sizeCache
   201  			case 2:
   202  				return &v.unknownFields
   203  			default:
   204  				return nil
   205  			}
   206  		}
   207  	}
   208  	type x struct{}
   209  	out := protoimpl.TypeBuilder{
   210  		File: protoimpl.DescBuilder{
   211  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   212  			RawDescriptor: file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDesc,
   213  			NumEnums:      0,
   214  			NumMessages:   2,
   215  			NumExtensions: 0,
   216  			NumServices:   0,
   217  		},
   218  		GoTypes:           file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_goTypes,
   219  		DependencyIndexes: file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_depIdxs,
   220  		MessageInfos:      file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_msgTypes,
   221  	}.Build()
   222  	File_fleetspeak_src_client_proto_fleetspeak_client_api_proto = out.File
   223  	file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_rawDesc = nil
   224  	file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_goTypes = nil
   225  	file_fleetspeak_src_client_proto_fleetspeak_client_api_proto_depIdxs = nil
   226  }