| 1 |
// Code generated by protoc-gen-go. DO NOT EDIT. |
| 2 |
// versions: |
| 3 |
// protoc-gen-go v1.36.10 |
| 4 |
// protoc v3.21.12 |
| 5 |
// source: testpb.proto |
| 6 |
|
| 7 |
package testpb |
| 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 |
unsafe "unsafe" |
| 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 M struct { |
| 25 |
state protoimpl.MessageState `protogen:"open.v1"` |
| 26 |
Content string `protobuf:"bytes,1,opt,name=content,proto3" json:"content,omitempty"` |
| 27 |
unknownFields protoimpl.UnknownFields |
| 28 |
sizeCache protoimpl.SizeCache |
| 29 |
} |
| 30 |
|
| 31 |
func (x *M) Reset() { |
| 32 |
*x = M{} |
| 33 |
mi := &file_testpb_proto_msgTypes[0] |
| 34 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 35 |
ms.StoreMessageInfo(mi) |
| 36 |
} |
| 37 |
|
| 38 |
func (x *M) String() string { |
| 39 |
return protoimpl.X.MessageStringOf(x) |
| 40 |
} |
| 41 |
|
| 42 |
func (*M) ProtoMessage() {} |
| 43 |
|
| 44 |
func (x *M) ProtoReflect() protoreflect.Message { |
| 45 |
mi := &file_testpb_proto_msgTypes[0] |
| 46 |
if x != nil { |
| 47 |
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) |
| 48 |
if ms.LoadMessageInfo() == nil { |
| 49 |
ms.StoreMessageInfo(mi) |
| 50 |
} |
| 51 |
return ms |
| 52 |
} |
| 53 |
return mi.MessageOf(x) |
| 54 |
} |
| 55 |
|
| 56 |
// Deprecated: Use M.ProtoReflect.Descriptor instead. |
| 57 |
func (*M) Descriptor() ([]byte, []int) { |
| 58 |
return file_testpb_proto_rawDescGZIP(), []int{0} |
| 59 |
} |
| 60 |
|
| 61 |
func (x *M) GetContent() string { |
| 62 |
if x != nil { |
| 63 |
return x.Content |
| 64 |
} |
| 65 |
return "" |
| 66 |
} |
| 67 |
|
| 68 |
var File_testpb_proto protoreflect.FileDescriptor |
| 69 |
|
| 70 |
const file_testpb_proto_rawDesc = "" + |
| 71 |
"\n" + |
| 72 |
"\ftestpb.proto\x12\x06testpb\"\x1d\n" + |
| 73 |
"\x01M\x12\x18\n" + |
| 74 |
"\acontent\x18\x01 \x01(\tR\acontentB4Z2blitiri.com.ar/go/chasquid/internal/protoio/testpbb\x06proto3" |
| 75 |
|
| 76 |
var ( |
| 77 |
file_testpb_proto_rawDescOnce sync.Once |
| 78 |
file_testpb_proto_rawDescData []byte |
| 79 |
) |
| 80 |
|
| 81 |
func file_testpb_proto_rawDescGZIP() []byte { |
| 82 |
file_testpb_proto_rawDescOnce.Do(func() { |
| 83 |
file_testpb_proto_rawDescData = protoimpl.X.CompressGZIP(unsafe.Slice(unsafe.StringData(file_testpb_proto_rawDesc), len(file_testpb_proto_rawDesc))) |
| 84 |
}) |
| 85 |
return file_testpb_proto_rawDescData |
| 86 |
} |
| 87 |
|
| 88 |
var file_testpb_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 89 |
var file_testpb_proto_goTypes = []any{ |
| 90 |
(*M)(nil), // 0: testpb.M |
| 91 |
} |
| 92 |
var file_testpb_proto_depIdxs = []int32{ |
| 93 |
0, // [0:0] is the sub-list for method output_type |
| 94 |
0, // [0:0] is the sub-list for method input_type |
| 95 |
0, // [0:0] is the sub-list for extension type_name |
| 96 |
0, // [0:0] is the sub-list for extension extendee |
| 97 |
0, // [0:0] is the sub-list for field type_name |
| 98 |
} |
| 99 |
|
| 100 |
func init() { file_testpb_proto_init() } |
| 101 |
func file_testpb_proto_init() { |
| 102 |
if File_testpb_proto != nil { |
| 103 |
return |
| 104 |
} |
| 105 |
type x struct{} |
| 106 |
out := protoimpl.TypeBuilder{ |
| 107 |
File: protoimpl.DescBuilder{ |
| 108 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 109 |
RawDescriptor: unsafe.Slice(unsafe.StringData(file_testpb_proto_rawDesc), len(file_testpb_proto_rawDesc)), |
| 110 |
NumEnums: 0, |
| 111 |
NumMessages: 1, |
| 112 |
NumExtensions: 0, |
| 113 |
NumServices: 0, |
| 114 |
}, |
| 115 |
GoTypes: file_testpb_proto_goTypes, |
| 116 |
DependencyIndexes: file_testpb_proto_depIdxs, |
| 117 |
MessageInfos: file_testpb_proto_msgTypes, |
| 118 |
}.Build() |
| 119 |
File_testpb_proto = out.File |
| 120 |
file_testpb_proto_goTypes = nil |
| 121 |
file_testpb_proto_depIdxs = nil |
| 122 |
} |