362 lines
11 KiB
Go
362 lines
11 KiB
Go
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.28.1
|
|
// protoc v3.12.4
|
|
// source: protobuf/list-values.proto
|
|
|
|
package network
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
reflect "reflect"
|
|
sync "sync"
|
|
)
|
|
|
|
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 ListOfStrings struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Value []string `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
|
|
}
|
|
|
|
func (x *ListOfStrings) Reset() {
|
|
*x = ListOfStrings{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protobuf_list_values_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListOfStrings) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListOfStrings) ProtoMessage() {}
|
|
|
|
func (x *ListOfStrings) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protobuf_list_values_proto_msgTypes[0]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListOfStrings.ProtoReflect.Descriptor instead.
|
|
func (*ListOfStrings) Descriptor() ([]byte, []int) {
|
|
return file_protobuf_list_values_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ListOfStrings) GetValue() []string {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListOfFiles struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
File []*ListOfFiles_File `protobuf:"bytes,1,rep,name=file,proto3" json:"file,omitempty"`
|
|
}
|
|
|
|
func (x *ListOfFiles) Reset() {
|
|
*x = ListOfFiles{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protobuf_list_values_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListOfFiles) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListOfFiles) ProtoMessage() {}
|
|
|
|
func (x *ListOfFiles) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protobuf_list_values_proto_msgTypes[1]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListOfFiles.ProtoReflect.Descriptor instead.
|
|
func (*ListOfFiles) Descriptor() ([]byte, []int) {
|
|
return file_protobuf_list_values_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ListOfFiles) GetFile() []*ListOfFiles_File {
|
|
if x != nil {
|
|
return x.File
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListOfBinaryes struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Value [][]byte `protobuf:"bytes,1,rep,name=value,proto3" json:"value,omitempty"`
|
|
}
|
|
|
|
func (x *ListOfBinaryes) Reset() {
|
|
*x = ListOfBinaryes{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protobuf_list_values_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListOfBinaryes) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListOfBinaryes) ProtoMessage() {}
|
|
|
|
func (x *ListOfBinaryes) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protobuf_list_values_proto_msgTypes[2]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListOfBinaryes.ProtoReflect.Descriptor instead.
|
|
func (*ListOfBinaryes) Descriptor() ([]byte, []int) {
|
|
return file_protobuf_list_values_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *ListOfBinaryes) GetValue() [][]byte {
|
|
if x != nil {
|
|
return x.Value
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ListOfFiles_File struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Filename string `protobuf:"bytes,1,opt,name=filename,proto3" json:"filename,omitempty"`
|
|
ContentType []string `protobuf:"bytes,2,rep,name=contentType,proto3" json:"contentType,omitempty"`
|
|
Size int64 `protobuf:"zigzag64,3,opt,name=size,proto3" json:"size,omitempty"`
|
|
Content []byte `protobuf:"bytes,4,opt,name=content,proto3" json:"content,omitempty"`
|
|
}
|
|
|
|
func (x *ListOfFiles_File) Reset() {
|
|
*x = ListOfFiles_File{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_protobuf_list_values_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListOfFiles_File) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListOfFiles_File) ProtoMessage() {}
|
|
|
|
func (x *ListOfFiles_File) ProtoReflect() protoreflect.Message {
|
|
mi := &file_protobuf_list_values_proto_msgTypes[3]
|
|
if protoimpl.UnsafeEnabled && x != nil {
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
if ms.LoadMessageInfo() == nil {
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
return ms
|
|
}
|
|
return mi.MessageOf(x)
|
|
}
|
|
|
|
// Deprecated: Use ListOfFiles_File.ProtoReflect.Descriptor instead.
|
|
func (*ListOfFiles_File) Descriptor() ([]byte, []int) {
|
|
return file_protobuf_list_values_proto_rawDescGZIP(), []int{1, 0}
|
|
}
|
|
|
|
func (x *ListOfFiles_File) GetFilename() string {
|
|
if x != nil {
|
|
return x.Filename
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ListOfFiles_File) GetContentType() []string {
|
|
if x != nil {
|
|
return x.ContentType
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *ListOfFiles_File) GetSize() int64 {
|
|
if x != nil {
|
|
return x.Size
|
|
}
|
|
return 0
|
|
}
|
|
|
|
func (x *ListOfFiles_File) GetContent() []byte {
|
|
if x != nil {
|
|
return x.Content
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_protobuf_list_values_proto protoreflect.FileDescriptor
|
|
|
|
var file_protobuf_list_values_proto_rawDesc = []byte{
|
|
0x0a, 0x1a, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x6c, 0x69, 0x73, 0x74, 0x2d,
|
|
0x76, 0x61, 0x6c, 0x75, 0x65, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x07, 0x6e, 0x65,
|
|
0x74, 0x77, 0x6f, 0x72, 0x6b, 0x22, 0x25, 0x0a, 0x0d, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x66, 0x53,
|
|
0x74, 0x72, 0x69, 0x6e, 0x67, 0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18,
|
|
0x01, 0x20, 0x03, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x22, 0xb0, 0x01, 0x0a,
|
|
0x0b, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x66, 0x46, 0x69, 0x6c, 0x65, 0x73, 0x12, 0x2d, 0x0a, 0x04,
|
|
0x66, 0x69, 0x6c, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x6e, 0x65, 0x74,
|
|
0x77, 0x6f, 0x72, 0x6b, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x66, 0x46, 0x69, 0x6c, 0x65, 0x73,
|
|
0x2e, 0x46, 0x69, 0x6c, 0x65, 0x52, 0x04, 0x66, 0x69, 0x6c, 0x65, 0x1a, 0x72, 0x0a, 0x04, 0x46,
|
|
0x69, 0x6c, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x18,
|
|
0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x66, 0x69, 0x6c, 0x65, 0x6e, 0x61, 0x6d, 0x65, 0x12,
|
|
0x20, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70, 0x65, 0x18, 0x02,
|
|
0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x54, 0x79, 0x70,
|
|
0x65, 0x12, 0x12, 0x0a, 0x04, 0x73, 0x69, 0x7a, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x12, 0x52,
|
|
0x04, 0x73, 0x69, 0x7a, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74,
|
|
0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x07, 0x63, 0x6f, 0x6e, 0x74, 0x65, 0x6e, 0x74, 0x22,
|
|
0x26, 0x0a, 0x0e, 0x4c, 0x69, 0x73, 0x74, 0x4f, 0x66, 0x42, 0x69, 0x6e, 0x61, 0x72, 0x79, 0x65,
|
|
0x73, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0c,
|
|
0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x42, 0x0b, 0x5a, 0x09, 0x2e, 0x2f, 0x6e, 0x65, 0x74,
|
|
0x77, 0x6f, 0x72, 0x6b, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_protobuf_list_values_proto_rawDescOnce sync.Once
|
|
file_protobuf_list_values_proto_rawDescData = file_protobuf_list_values_proto_rawDesc
|
|
)
|
|
|
|
func file_protobuf_list_values_proto_rawDescGZIP() []byte {
|
|
file_protobuf_list_values_proto_rawDescOnce.Do(func() {
|
|
file_protobuf_list_values_proto_rawDescData = protoimpl.X.CompressGZIP(file_protobuf_list_values_proto_rawDescData)
|
|
})
|
|
return file_protobuf_list_values_proto_rawDescData
|
|
}
|
|
|
|
var file_protobuf_list_values_proto_msgTypes = make([]protoimpl.MessageInfo, 4)
|
|
var file_protobuf_list_values_proto_goTypes = []interface{}{
|
|
(*ListOfStrings)(nil), // 0: network.ListOfStrings
|
|
(*ListOfFiles)(nil), // 1: network.ListOfFiles
|
|
(*ListOfBinaryes)(nil), // 2: network.ListOfBinaryes
|
|
(*ListOfFiles_File)(nil), // 3: network.ListOfFiles.File
|
|
}
|
|
var file_protobuf_list_values_proto_depIdxs = []int32{
|
|
3, // 0: network.ListOfFiles.file:type_name -> network.ListOfFiles.File
|
|
1, // [1:1] is the sub-list for method output_type
|
|
1, // [1:1] is the sub-list for method input_type
|
|
1, // [1:1] is the sub-list for extension type_name
|
|
1, // [1:1] is the sub-list for extension extendee
|
|
0, // [0:1] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_protobuf_list_values_proto_init() }
|
|
func file_protobuf_list_values_proto_init() {
|
|
if File_protobuf_list_values_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_protobuf_list_values_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListOfStrings); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protobuf_list_values_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListOfFiles); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protobuf_list_values_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListOfBinaryes); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_protobuf_list_values_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListOfFiles_File); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
}
|
|
type x struct{}
|
|
out := protoimpl.TypeBuilder{
|
|
File: protoimpl.DescBuilder{
|
|
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
|
|
RawDescriptor: file_protobuf_list_values_proto_rawDesc,
|
|
NumEnums: 0,
|
|
NumMessages: 4,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_protobuf_list_values_proto_goTypes,
|
|
DependencyIndexes: file_protobuf_list_values_proto_depIdxs,
|
|
MessageInfos: file_protobuf_list_values_proto_msgTypes,
|
|
}.Build()
|
|
File_protobuf_list_values_proto = out.File
|
|
file_protobuf_list_values_proto_rawDesc = nil
|
|
file_protobuf_list_values_proto_goTypes = nil
|
|
file_protobuf_list_values_proto_depIdxs = nil
|
|
}
|