1// Copyright 2018 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/test_import.proto
7
8package test
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 ImportEnum int32
18
19const (
20	ImportEnum_IMPORT_ZERO ImportEnum = 0
21)
22
23// Enum value maps for ImportEnum.
24var (
25	ImportEnum_name = map[int32]string{
26		0: "IMPORT_ZERO",
27	}
28	ImportEnum_value = map[string]int32{
29		"IMPORT_ZERO": 0,
30	}
31)
32
33func (x ImportEnum) Enum() *ImportEnum {
34	p := new(ImportEnum)
35	*p = x
36	return p
37}
38
39func (x ImportEnum) String() string {
40	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
41}
42
43func (ImportEnum) Descriptor() protoreflect.EnumDescriptor {
44	return file_internal_testprotos_test_test_import_proto_enumTypes[0].Descriptor()
45}
46
47func (ImportEnum) Type() protoreflect.EnumType {
48	return &file_internal_testprotos_test_test_import_proto_enumTypes[0]
49}
50
51func (x ImportEnum) Number() protoreflect.EnumNumber {
52	return protoreflect.EnumNumber(x)
53}
54
55// Deprecated: Do not use.
56func (x *ImportEnum) UnmarshalJSON(b []byte) error {
57	num, err := protoimpl.X.UnmarshalJSONEnum(x.Descriptor(), b)
58	if err != nil {
59		return err
60	}
61	*x = ImportEnum(num)
62	return nil
63}
64
65// Deprecated: Use ImportEnum.Descriptor instead.
66func (ImportEnum) EnumDescriptor() ([]byte, []int) {
67	return file_internal_testprotos_test_test_import_proto_rawDescGZIP(), []int{0}
68}
69
70type ImportMessage struct {
71	state         protoimpl.MessageState
72	sizeCache     protoimpl.SizeCache
73	unknownFields protoimpl.UnknownFields
74}
75
76func (x *ImportMessage) Reset() {
77	*x = ImportMessage{}
78	if protoimpl.UnsafeEnabled {
79		mi := &file_internal_testprotos_test_test_import_proto_msgTypes[0]
80		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
81		ms.StoreMessageInfo(mi)
82	}
83}
84
85func (x *ImportMessage) String() string {
86	return protoimpl.X.MessageStringOf(x)
87}
88
89func (*ImportMessage) ProtoMessage() {}
90
91func (x *ImportMessage) ProtoReflect() protoreflect.Message {
92	mi := &file_internal_testprotos_test_test_import_proto_msgTypes[0]
93	if protoimpl.UnsafeEnabled && x != nil {
94		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
95		if ms.LoadMessageInfo() == nil {
96			ms.StoreMessageInfo(mi)
97		}
98		return ms
99	}
100	return mi.MessageOf(x)
101}
102
103// Deprecated: Use ImportMessage.ProtoReflect.Descriptor instead.
104func (*ImportMessage) Descriptor() ([]byte, []int) {
105	return file_internal_testprotos_test_test_import_proto_rawDescGZIP(), []int{0}
106}
107
108var File_internal_testprotos_test_test_import_proto protoreflect.FileDescriptor
109
110var file_internal_testprotos_test_test_import_proto_rawDesc = []byte{
111	0x0a, 0x2a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
112	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f,
113	0x69, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f,
114	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
115	0x22, 0x0f, 0x0a, 0x0d, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x4d, 0x65, 0x73, 0x73, 0x61, 0x67,
116	0x65, 0x2a, 0x1d, 0x0a, 0x0a, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74, 0x45, 0x6e, 0x75, 0x6d, 0x12,
117	0x0f, 0x0a, 0x0b, 0x49, 0x4d, 0x50, 0x4f, 0x52, 0x54, 0x5f, 0x5a, 0x45, 0x52, 0x4f, 0x10, 0x00,
118	0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e,
119	0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69,
120	0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74,
121	0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
122}
123
124var (
125	file_internal_testprotos_test_test_import_proto_rawDescOnce sync.Once
126	file_internal_testprotos_test_test_import_proto_rawDescData = file_internal_testprotos_test_test_import_proto_rawDesc
127)
128
129func file_internal_testprotos_test_test_import_proto_rawDescGZIP() []byte {
130	file_internal_testprotos_test_test_import_proto_rawDescOnce.Do(func() {
131		file_internal_testprotos_test_test_import_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test_test_import_proto_rawDescData)
132	})
133	return file_internal_testprotos_test_test_import_proto_rawDescData
134}
135
136var file_internal_testprotos_test_test_import_proto_enumTypes = make([]protoimpl.EnumInfo, 1)
137var file_internal_testprotos_test_test_import_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
138var file_internal_testprotos_test_test_import_proto_goTypes = []interface{}{
139	(ImportEnum)(0),       // 0: goproto.proto.test.ImportEnum
140	(*ImportMessage)(nil), // 1: goproto.proto.test.ImportMessage
141}
142var file_internal_testprotos_test_test_import_proto_depIdxs = []int32{
143	0, // [0:0] is the sub-list for method output_type
144	0, // [0:0] is the sub-list for method input_type
145	0, // [0:0] is the sub-list for extension type_name
146	0, // [0:0] is the sub-list for extension extendee
147	0, // [0:0] is the sub-list for field type_name
148}
149
150func init() { file_internal_testprotos_test_test_import_proto_init() }
151func file_internal_testprotos_test_test_import_proto_init() {
152	if File_internal_testprotos_test_test_import_proto != nil {
153		return
154	}
155	if !protoimpl.UnsafeEnabled {
156		file_internal_testprotos_test_test_import_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
157			switch v := v.(*ImportMessage); i {
158			case 0:
159				return &v.state
160			case 1:
161				return &v.sizeCache
162			case 2:
163				return &v.unknownFields
164			default:
165				return nil
166			}
167		}
168	}
169	type x struct{}
170	out := protoimpl.TypeBuilder{
171		File: protoimpl.DescBuilder{
172			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
173			RawDescriptor: file_internal_testprotos_test_test_import_proto_rawDesc,
174			NumEnums:      1,
175			NumMessages:   1,
176			NumExtensions: 0,
177			NumServices:   0,
178		},
179		GoTypes:           file_internal_testprotos_test_test_import_proto_goTypes,
180		DependencyIndexes: file_internal_testprotos_test_test_import_proto_depIdxs,
181		EnumInfos:         file_internal_testprotos_test_test_import_proto_enumTypes,
182		MessageInfos:      file_internal_testprotos_test_test_import_proto_msgTypes,
183	}.Build()
184	File_internal_testprotos_test_test_import_proto = out.File
185	file_internal_testprotos_test_test_import_proto_rawDesc = nil
186	file_internal_testprotos_test_test_import_proto_goTypes = nil
187	file_internal_testprotos_test_test_import_proto_depIdxs = nil
188}
189