1// Copyright 2019 The Go Authors. All rights reserved.
2// Use of this source code is governed by a BSD-style
3// license that can be found in the LICENSE file.
4
5// Code generated by protoc-gen-go. DO NOT EDIT.
6// source: internal/testprotos/test/weak1/test_weak.proto
7
8package weak1
9
10import (
11	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
12	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
13	reflect "reflect"
14	sync "sync"
15)
16
17type WeakImportMessage1 struct {
18	state         protoimpl.MessageState
19	sizeCache     protoimpl.SizeCache
20	unknownFields protoimpl.UnknownFields
21
22	A *int32 `protobuf:"varint,1,req,name=a" json:"a,omitempty"`
23}
24
25func (x *WeakImportMessage1) Reset() {
26	*x = WeakImportMessage1{}
27	if protoimpl.UnsafeEnabled {
28		mi := &file_internal_testprotos_test_weak1_test_weak_proto_msgTypes[0]
29		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
30		ms.StoreMessageInfo(mi)
31	}
32}
33
34func (x *WeakImportMessage1) String() string {
35	return protoimpl.X.MessageStringOf(x)
36}
37
38func (*WeakImportMessage1) ProtoMessage() {}
39
40func (x *WeakImportMessage1) ProtoReflect() protoreflect.Message {
41	mi := &file_internal_testprotos_test_weak1_test_weak_proto_msgTypes[0]
42	if protoimpl.UnsafeEnabled && x != nil {
43		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
44		if ms.LoadMessageInfo() == nil {
45			ms.StoreMessageInfo(mi)
46		}
47		return ms
48	}
49	return mi.MessageOf(x)
50}
51
52// Deprecated: Use WeakImportMessage1.ProtoReflect.Descriptor instead.
53func (*WeakImportMessage1) Descriptor() ([]byte, []int) {
54	return file_internal_testprotos_test_weak1_test_weak_proto_rawDescGZIP(), []int{0}
55}
56
57func (x *WeakImportMessage1) GetA() int32 {
58	if x != nil && x.A != nil {
59		return *x.A
60	}
61	return 0
62}
63
64var File_internal_testprotos_test_weak1_test_weak_proto protoreflect.FileDescriptor
65
66var file_internal_testprotos_test_weak1_test_weak_proto_rawDesc = []byte{
67	0x0a, 0x2e, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
68	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x77, 0x65, 0x61, 0x6b, 0x31,
69	0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f, 0x77, 0x65, 0x61, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
70	0x12, 0x17, 0x67, 0x6f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e,
71	0x74, 0x65, 0x73, 0x74, 0x2e, 0x77, 0x65, 0x61, 0x6b, 0x22, 0x22, 0x0a, 0x12, 0x57, 0x65, 0x61,
72	0x6b, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x31, 0x12,
73	0x0c, 0x0a, 0x01, 0x61, 0x18, 0x01, 0x20, 0x02, 0x28, 0x05, 0x52, 0x01, 0x61, 0x42, 0x3b, 0x5a,
74	0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f,
75	0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65,
76	0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f,
77	0x74, 0x65, 0x73, 0x74, 0x2f, 0x77, 0x65, 0x61, 0x6b, 0x31,
78}
79
80var (
81	file_internal_testprotos_test_weak1_test_weak_proto_rawDescOnce sync.Once
82	file_internal_testprotos_test_weak1_test_weak_proto_rawDescData = file_internal_testprotos_test_weak1_test_weak_proto_rawDesc
83)
84
85func file_internal_testprotos_test_weak1_test_weak_proto_rawDescGZIP() []byte {
86	file_internal_testprotos_test_weak1_test_weak_proto_rawDescOnce.Do(func() {
87		file_internal_testprotos_test_weak1_test_weak_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test_weak1_test_weak_proto_rawDescData)
88	})
89	return file_internal_testprotos_test_weak1_test_weak_proto_rawDescData
90}
91
92var file_internal_testprotos_test_weak1_test_weak_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
93var file_internal_testprotos_test_weak1_test_weak_proto_goTypes = []interface{}{
94	(*WeakImportMessage1)(nil), // 0: goproto.proto.test.weak.WeakImportMessage1
95}
96var file_internal_testprotos_test_weak1_test_weak_proto_depIdxs = []int32{
97	0, // [0:0] is the sub-list for method output_type
98	0, // [0:0] is the sub-list for method input_type
99	0, // [0:0] is the sub-list for extension type_name
100	0, // [0:0] is the sub-list for extension extendee
101	0, // [0:0] is the sub-list for field type_name
102}
103
104func init() { file_internal_testprotos_test_weak1_test_weak_proto_init() }
105func file_internal_testprotos_test_weak1_test_weak_proto_init() {
106	if File_internal_testprotos_test_weak1_test_weak_proto != nil {
107		return
108	}
109	if !protoimpl.UnsafeEnabled {
110		file_internal_testprotos_test_weak1_test_weak_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
111			switch v := v.(*WeakImportMessage1); i {
112			case 0:
113				return &v.state
114			case 1:
115				return &v.sizeCache
116			case 2:
117				return &v.unknownFields
118			default:
119				return nil
120			}
121		}
122	}
123	type x struct{}
124	out := protoimpl.TypeBuilder{
125		File: protoimpl.DescBuilder{
126			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
127			RawDescriptor: file_internal_testprotos_test_weak1_test_weak_proto_rawDesc,
128			NumEnums:      0,
129			NumMessages:   1,
130			NumExtensions: 0,
131			NumServices:   0,
132		},
133		GoTypes:           file_internal_testprotos_test_weak1_test_weak_proto_goTypes,
134		DependencyIndexes: file_internal_testprotos_test_weak1_test_weak_proto_depIdxs,
135		MessageInfos:      file_internal_testprotos_test_weak1_test_weak_proto_msgTypes,
136	}.Build()
137	File_internal_testprotos_test_weak1_test_weak_proto = out.File
138	file_internal_testprotos_test_weak1_test_weak_proto_rawDesc = nil
139	file_internal_testprotos_test_weak1_test_weak_proto_goTypes = nil
140	file_internal_testprotos_test_weak1_test_weak_proto_depIdxs = nil
141}
142