github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/forwarding/version.pb.go (about) 1 // Code generated by protoc-gen-go. DO NOT EDIT. 2 // versions: 3 // protoc-gen-go v1.33.0 4 // protoc v5.26.1 5 // source: forwarding/version.proto 6 7 package forwarding 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 ) 15 16 const ( 17 // Verify that this generated code is sufficiently up-to-date. 18 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) 19 // Verify that runtime/protoimpl is sufficiently up-to-date. 20 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) 21 ) 22 23 // Version specifies a session version, providing default behavior that can vary 24 // without affecting existing sessions. 25 type Version int32 26 27 const ( 28 // Invalid is the default session version and represents an unspecfied and 29 // invalid version. It is used as a sanity check to ensure that version is 30 // set for a session. 31 Version_Invalid Version = 0 32 // Version1 represents session version 1. 33 Version_Version1 Version = 1 34 ) 35 36 // Enum value maps for Version. 37 var ( 38 Version_name = map[int32]string{ 39 0: "Invalid", 40 1: "Version1", 41 } 42 Version_value = map[string]int32{ 43 "Invalid": 0, 44 "Version1": 1, 45 } 46 ) 47 48 func (x Version) Enum() *Version { 49 p := new(Version) 50 *p = x 51 return p 52 } 53 54 func (x Version) String() string { 55 return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) 56 } 57 58 func (Version) Descriptor() protoreflect.EnumDescriptor { 59 return file_forwarding_version_proto_enumTypes[0].Descriptor() 60 } 61 62 func (Version) Type() protoreflect.EnumType { 63 return &file_forwarding_version_proto_enumTypes[0] 64 } 65 66 func (x Version) Number() protoreflect.EnumNumber { 67 return protoreflect.EnumNumber(x) 68 } 69 70 // Deprecated: Use Version.Descriptor instead. 71 func (Version) EnumDescriptor() ([]byte, []int) { 72 return file_forwarding_version_proto_rawDescGZIP(), []int{0} 73 } 74 75 var File_forwarding_version_proto protoreflect.FileDescriptor 76 77 var file_forwarding_version_proto_rawDesc = []byte{ 78 0x0a, 0x18, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x76, 0x65, 0x72, 79 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0a, 0x66, 0x6f, 0x72, 0x77, 80 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2a, 0x24, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 81 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x49, 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x10, 0x00, 0x12, 0x0c, 82 0x0a, 0x08, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x31, 0x10, 0x01, 0x42, 0x2e, 0x5a, 0x2c, 83 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x67, 84 0x65, 0x6e, 0x2d, 0x69, 0x6f, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6b, 85 0x67, 0x2f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x62, 0x06, 0x70, 0x72, 86 0x6f, 0x74, 0x6f, 0x33, 87 } 88 89 var ( 90 file_forwarding_version_proto_rawDescOnce sync.Once 91 file_forwarding_version_proto_rawDescData = file_forwarding_version_proto_rawDesc 92 ) 93 94 func file_forwarding_version_proto_rawDescGZIP() []byte { 95 file_forwarding_version_proto_rawDescOnce.Do(func() { 96 file_forwarding_version_proto_rawDescData = protoimpl.X.CompressGZIP(file_forwarding_version_proto_rawDescData) 97 }) 98 return file_forwarding_version_proto_rawDescData 99 } 100 101 var file_forwarding_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 102 var file_forwarding_version_proto_goTypes = []interface{}{ 103 (Version)(0), // 0: forwarding.Version 104 } 105 var file_forwarding_version_proto_depIdxs = []int32{ 106 0, // [0:0] is the sub-list for method output_type 107 0, // [0:0] is the sub-list for method input_type 108 0, // [0:0] is the sub-list for extension type_name 109 0, // [0:0] is the sub-list for extension extendee 110 0, // [0:0] is the sub-list for field type_name 111 } 112 113 func init() { file_forwarding_version_proto_init() } 114 func file_forwarding_version_proto_init() { 115 if File_forwarding_version_proto != nil { 116 return 117 } 118 type x struct{} 119 out := protoimpl.TypeBuilder{ 120 File: protoimpl.DescBuilder{ 121 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 122 RawDescriptor: file_forwarding_version_proto_rawDesc, 123 NumEnums: 1, 124 NumMessages: 0, 125 NumExtensions: 0, 126 NumServices: 0, 127 }, 128 GoTypes: file_forwarding_version_proto_goTypes, 129 DependencyIndexes: file_forwarding_version_proto_depIdxs, 130 EnumInfos: file_forwarding_version_proto_enumTypes, 131 }.Build() 132 File_forwarding_version_proto = out.File 133 file_forwarding_version_proto_rawDesc = nil 134 file_forwarding_version_proto_goTypes = nil 135 file_forwarding_version_proto_depIdxs = nil 136 }