github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/synchronization/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: synchronization/version.proto 6 7 package synchronization 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_synchronization_version_proto_enumTypes[0].Descriptor() 60 } 61 62 func (Version) Type() protoreflect.EnumType { 63 return &file_synchronization_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_synchronization_version_proto_rawDescGZIP(), []int{0} 73 } 74 75 var File_synchronization_version_proto protoreflect.FileDescriptor 76 77 var file_synchronization_version_proto_rawDesc = []byte{ 78 0x0a, 0x1d, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 79 0x6e, 0x2f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 80 0x0f, 0x73, 0x79, 0x6e, 0x63, 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 81 0x2a, 0x24, 0x0a, 0x07, 0x56, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x12, 0x0b, 0x0a, 0x07, 0x49, 82 0x6e, 0x76, 0x61, 0x6c, 0x69, 0x64, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x56, 0x65, 0x72, 0x73, 83 0x69, 0x6f, 0x6e, 0x31, 0x10, 0x01, 0x42, 0x33, 0x5a, 0x31, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 84 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x67, 0x65, 0x6e, 0x2d, 0x69, 0x6f, 0x2f, 85 0x6d, 0x75, 0x74, 0x61, 0x67, 0x65, 0x6e, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x73, 0x79, 0x6e, 0x63, 86 0x68, 0x72, 0x6f, 0x6e, 0x69, 0x7a, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 87 0x74, 0x6f, 0x33, 88 } 89 90 var ( 91 file_synchronization_version_proto_rawDescOnce sync.Once 92 file_synchronization_version_proto_rawDescData = file_synchronization_version_proto_rawDesc 93 ) 94 95 func file_synchronization_version_proto_rawDescGZIP() []byte { 96 file_synchronization_version_proto_rawDescOnce.Do(func() { 97 file_synchronization_version_proto_rawDescData = protoimpl.X.CompressGZIP(file_synchronization_version_proto_rawDescData) 98 }) 99 return file_synchronization_version_proto_rawDescData 100 } 101 102 var file_synchronization_version_proto_enumTypes = make([]protoimpl.EnumInfo, 1) 103 var file_synchronization_version_proto_goTypes = []interface{}{ 104 (Version)(0), // 0: synchronization.Version 105 } 106 var file_synchronization_version_proto_depIdxs = []int32{ 107 0, // [0:0] is the sub-list for method output_type 108 0, // [0:0] is the sub-list for method input_type 109 0, // [0:0] is the sub-list for extension type_name 110 0, // [0:0] is the sub-list for extension extendee 111 0, // [0:0] is the sub-list for field type_name 112 } 113 114 func init() { file_synchronization_version_proto_init() } 115 func file_synchronization_version_proto_init() { 116 if File_synchronization_version_proto != nil { 117 return 118 } 119 type x struct{} 120 out := protoimpl.TypeBuilder{ 121 File: protoimpl.DescBuilder{ 122 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 123 RawDescriptor: file_synchronization_version_proto_rawDesc, 124 NumEnums: 1, 125 NumMessages: 0, 126 NumExtensions: 0, 127 NumServices: 0, 128 }, 129 GoTypes: file_synchronization_version_proto_goTypes, 130 DependencyIndexes: file_synchronization_version_proto_depIdxs, 131 EnumInfos: file_synchronization_version_proto_enumTypes, 132 }.Build() 133 File_synchronization_version_proto = out.File 134 file_synchronization_version_proto_rawDesc = nil 135 file_synchronization_version_proto_goTypes = nil 136 file_synchronization_version_proto_depIdxs = nil 137 }