...

Source file src/google.golang.org/protobuf/internal/testprotos/test/test_public.pb.go

Documentation: google.golang.org/protobuf/internal/testprotos/test

     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/test_public.proto
     7  
     8  package test
     9  
    10  import (
    11  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    12  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    13  	reflect "reflect"
    14  	sync "sync"
    15  )
    16  
    17  type PublicImportMessage struct {
    18  	state         protoimpl.MessageState
    19  	sizeCache     protoimpl.SizeCache
    20  	unknownFields protoimpl.UnknownFields
    21  }
    22  
    23  func (x *PublicImportMessage) Reset() {
    24  	*x = PublicImportMessage{}
    25  	if protoimpl.UnsafeEnabled {
    26  		mi := &file_internal_testprotos_test_test_public_proto_msgTypes[0]
    27  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    28  		ms.StoreMessageInfo(mi)
    29  	}
    30  }
    31  
    32  func (x *PublicImportMessage) String() string {
    33  	return protoimpl.X.MessageStringOf(x)
    34  }
    35  
    36  func (*PublicImportMessage) ProtoMessage() {}
    37  
    38  func (x *PublicImportMessage) ProtoReflect() protoreflect.Message {
    39  	mi := &file_internal_testprotos_test_test_public_proto_msgTypes[0]
    40  	if protoimpl.UnsafeEnabled && x != nil {
    41  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    42  		if ms.LoadMessageInfo() == nil {
    43  			ms.StoreMessageInfo(mi)
    44  		}
    45  		return ms
    46  	}
    47  	return mi.MessageOf(x)
    48  }
    49  
    50  // Deprecated: Use PublicImportMessage.ProtoReflect.Descriptor instead.
    51  func (*PublicImportMessage) Descriptor() ([]byte, []int) {
    52  	return file_internal_testprotos_test_test_public_proto_rawDescGZIP(), []int{0}
    53  }
    54  
    55  var File_internal_testprotos_test_test_public_proto protoreflect.FileDescriptor
    56  
    57  var file_internal_testprotos_test_test_public_proto_rawDesc = []byte{
    58  	0x0a, 0x2a, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x70,
    59  	0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x2f, 0x74, 0x65, 0x73, 0x74, 0x5f,
    60  	0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f,
    61  	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x74, 0x65, 0x73, 0x74,
    62  	0x22, 0x15, 0x0a, 0x13, 0x50, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x49, 0x6d, 0x70, 0x6f, 0x72, 0x74,
    63  	0x4d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x42, 0x35, 0x5a, 0x33, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
    64  	0x65, 0x2e, 0x67, 0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x70, 0x72, 0x6f,
    65  	0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x2f, 0x74,
    66  	0x65, 0x73, 0x74, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x73, 0x2f, 0x74, 0x65, 0x73, 0x74,
    67  }
    68  
    69  var (
    70  	file_internal_testprotos_test_test_public_proto_rawDescOnce sync.Once
    71  	file_internal_testprotos_test_test_public_proto_rawDescData = file_internal_testprotos_test_test_public_proto_rawDesc
    72  )
    73  
    74  func file_internal_testprotos_test_test_public_proto_rawDescGZIP() []byte {
    75  	file_internal_testprotos_test_test_public_proto_rawDescOnce.Do(func() {
    76  		file_internal_testprotos_test_test_public_proto_rawDescData = protoimpl.X.CompressGZIP(file_internal_testprotos_test_test_public_proto_rawDescData)
    77  	})
    78  	return file_internal_testprotos_test_test_public_proto_rawDescData
    79  }
    80  
    81  var file_internal_testprotos_test_test_public_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
    82  var file_internal_testprotos_test_test_public_proto_goTypes = []interface{}{
    83  	(*PublicImportMessage)(nil), // 0: goproto.proto.test.PublicImportMessage
    84  }
    85  var file_internal_testprotos_test_test_public_proto_depIdxs = []int32{
    86  	0, // [0:0] is the sub-list for method output_type
    87  	0, // [0:0] is the sub-list for method input_type
    88  	0, // [0:0] is the sub-list for extension type_name
    89  	0, // [0:0] is the sub-list for extension extendee
    90  	0, // [0:0] is the sub-list for field type_name
    91  }
    92  
    93  func init() { file_internal_testprotos_test_test_public_proto_init() }
    94  func file_internal_testprotos_test_test_public_proto_init() {
    95  	if File_internal_testprotos_test_test_public_proto != nil {
    96  		return
    97  	}
    98  	if !protoimpl.UnsafeEnabled {
    99  		file_internal_testprotos_test_test_public_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   100  			switch v := v.(*PublicImportMessage); i {
   101  			case 0:
   102  				return &v.state
   103  			case 1:
   104  				return &v.sizeCache
   105  			case 2:
   106  				return &v.unknownFields
   107  			default:
   108  				return nil
   109  			}
   110  		}
   111  	}
   112  	type x struct{}
   113  	out := protoimpl.TypeBuilder{
   114  		File: protoimpl.DescBuilder{
   115  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   116  			RawDescriptor: file_internal_testprotos_test_test_public_proto_rawDesc,
   117  			NumEnums:      0,
   118  			NumMessages:   1,
   119  			NumExtensions: 0,
   120  			NumServices:   0,
   121  		},
   122  		GoTypes:           file_internal_testprotos_test_test_public_proto_goTypes,
   123  		DependencyIndexes: file_internal_testprotos_test_test_public_proto_depIdxs,
   124  		MessageInfos:      file_internal_testprotos_test_test_public_proto_msgTypes,
   125  	}.Build()
   126  	File_internal_testprotos_test_test_public_proto = out.File
   127  	file_internal_testprotos_test_test_public_proto_rawDesc = nil
   128  	file_internal_testprotos_test_test_public_proto_goTypes = nil
   129  	file_internal_testprotos_test_test_public_proto_depIdxs = nil
   130  }
   131  

View as plain text