github.com/mutagen-io/mutagen@v0.18.0-rc1/pkg/forwarding/configuration.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/configuration.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 // Configuration encodes session configuration parameters. It is used for create 24 // commands to specify configuration options, for loading global configuration 25 // options, and for storing a merged configuration inside sessions. It should be 26 // considered immutable. 27 type Configuration struct { 28 state protoimpl.MessageState 29 sizeCache protoimpl.SizeCache 30 unknownFields protoimpl.UnknownFields 31 32 // SocketOverwriteMode specifies whether or not existing Unix domain sockets 33 // should be overwritten when creating new listener sockets. 34 SocketOverwriteMode SocketOverwriteMode `protobuf:"varint,41,opt,name=socketOverwriteMode,proto3,enum=forwarding.SocketOverwriteMode" json:"socketOverwriteMode,omitempty"` 35 // SocketOwner specifies the owner identifier to use for Unix domain 36 // listener sockets. 37 SocketOwner string `protobuf:"bytes,42,opt,name=socketOwner,proto3" json:"socketOwner,omitempty"` 38 // SocketGroup specifies the group identifier to use for Unix domain 39 // listener sockets. 40 SocketGroup string `protobuf:"bytes,43,opt,name=socketGroup,proto3" json:"socketGroup,omitempty"` 41 // SocketPermissionMode specifies the permission mode to use for Unix domain 42 // listener sockets. 43 SocketPermissionMode uint32 `protobuf:"varint,44,opt,name=socketPermissionMode,proto3" json:"socketPermissionMode,omitempty"` 44 } 45 46 func (x *Configuration) Reset() { 47 *x = Configuration{} 48 if protoimpl.UnsafeEnabled { 49 mi := &file_forwarding_configuration_proto_msgTypes[0] 50 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 51 ms.StoreMessageInfo(mi) 52 } 53 } 54 55 func (x *Configuration) String() string { 56 return protoimpl.X.MessageStringOf(x) 57 } 58 59 func (*Configuration) ProtoMessage() {} 60 61 func (x *Configuration) ProtoReflect() protoreflect.Message { 62 mi := &file_forwarding_configuration_proto_msgTypes[0] 63 if protoimpl.UnsafeEnabled && x != nil { 64 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) 65 if ms.LoadMessageInfo() == nil { 66 ms.StoreMessageInfo(mi) 67 } 68 return ms 69 } 70 return mi.MessageOf(x) 71 } 72 73 // Deprecated: Use Configuration.ProtoReflect.Descriptor instead. 74 func (*Configuration) Descriptor() ([]byte, []int) { 75 return file_forwarding_configuration_proto_rawDescGZIP(), []int{0} 76 } 77 78 func (x *Configuration) GetSocketOverwriteMode() SocketOverwriteMode { 79 if x != nil { 80 return x.SocketOverwriteMode 81 } 82 return SocketOverwriteMode_SocketOverwriteModeDefault 83 } 84 85 func (x *Configuration) GetSocketOwner() string { 86 if x != nil { 87 return x.SocketOwner 88 } 89 return "" 90 } 91 92 func (x *Configuration) GetSocketGroup() string { 93 if x != nil { 94 return x.SocketGroup 95 } 96 return "" 97 } 98 99 func (x *Configuration) GetSocketPermissionMode() uint32 { 100 if x != nil { 101 return x.SocketPermissionMode 102 } 103 return 0 104 } 105 106 var File_forwarding_configuration_proto protoreflect.FileDescriptor 107 108 var file_forwarding_configuration_proto_rawDesc = []byte{ 109 0x0a, 0x1e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x63, 0x6f, 0x6e, 110 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 111 0x12, 0x0a, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x1a, 0x26, 0x66, 0x6f, 112 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 0x2f, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x5f, 113 0x6f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x5f, 0x6d, 0x6f, 0x64, 0x65, 0x2e, 0x70, 114 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xda, 0x01, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 115 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x51, 0x0a, 0x13, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 116 0x4f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x29, 0x20, 117 0x01, 0x28, 0x0e, 0x32, 0x1f, 0x2e, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 0x67, 118 0x2e, 0x53, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x76, 0x65, 0x72, 0x77, 0x72, 0x69, 0x74, 0x65, 119 0x4d, 0x6f, 0x64, 0x65, 0x52, 0x13, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x76, 0x65, 0x72, 120 0x77, 0x72, 0x69, 0x74, 0x65, 0x4d, 0x6f, 0x64, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x73, 0x6f, 0x63, 121 0x6b, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x18, 0x2a, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 122 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x4f, 0x77, 0x6e, 0x65, 0x72, 0x12, 0x20, 0x0a, 0x0b, 0x73, 123 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x18, 0x2b, 0x20, 0x01, 0x28, 0x09, 124 0x52, 0x0b, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x47, 0x72, 0x6f, 0x75, 0x70, 0x12, 0x32, 0x0a, 125 0x14, 0x73, 0x6f, 0x63, 0x6b, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 126 0x6e, 0x4d, 0x6f, 0x64, 0x65, 0x18, 0x2c, 0x20, 0x01, 0x28, 0x0d, 0x52, 0x14, 0x73, 0x6f, 0x63, 127 0x6b, 0x65, 0x74, 0x50, 0x65, 0x72, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6f, 0x6e, 0x4d, 0x6f, 0x64, 128 0x65, 0x42, 0x2e, 0x5a, 0x2c, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 129 0x6d, 0x75, 0x74, 0x61, 0x67, 0x65, 0x6e, 0x2d, 0x69, 0x6f, 0x2f, 0x6d, 0x75, 0x74, 0x61, 0x67, 130 0x65, 0x6e, 0x2f, 0x70, 0x6b, 0x67, 0x2f, 0x66, 0x6f, 0x72, 0x77, 0x61, 0x72, 0x64, 0x69, 0x6e, 131 0x67, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, 132 } 133 134 var ( 135 file_forwarding_configuration_proto_rawDescOnce sync.Once 136 file_forwarding_configuration_proto_rawDescData = file_forwarding_configuration_proto_rawDesc 137 ) 138 139 func file_forwarding_configuration_proto_rawDescGZIP() []byte { 140 file_forwarding_configuration_proto_rawDescOnce.Do(func() { 141 file_forwarding_configuration_proto_rawDescData = protoimpl.X.CompressGZIP(file_forwarding_configuration_proto_rawDescData) 142 }) 143 return file_forwarding_configuration_proto_rawDescData 144 } 145 146 var file_forwarding_configuration_proto_msgTypes = make([]protoimpl.MessageInfo, 1) 147 var file_forwarding_configuration_proto_goTypes = []interface{}{ 148 (*Configuration)(nil), // 0: forwarding.Configuration 149 (SocketOverwriteMode)(0), // 1: forwarding.SocketOverwriteMode 150 } 151 var file_forwarding_configuration_proto_depIdxs = []int32{ 152 1, // 0: forwarding.Configuration.socketOverwriteMode:type_name -> forwarding.SocketOverwriteMode 153 1, // [1:1] is the sub-list for method output_type 154 1, // [1:1] is the sub-list for method input_type 155 1, // [1:1] is the sub-list for extension type_name 156 1, // [1:1] is the sub-list for extension extendee 157 0, // [0:1] is the sub-list for field type_name 158 } 159 160 func init() { file_forwarding_configuration_proto_init() } 161 func file_forwarding_configuration_proto_init() { 162 if File_forwarding_configuration_proto != nil { 163 return 164 } 165 file_forwarding_socket_overwrite_mode_proto_init() 166 if !protoimpl.UnsafeEnabled { 167 file_forwarding_configuration_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { 168 switch v := v.(*Configuration); i { 169 case 0: 170 return &v.state 171 case 1: 172 return &v.sizeCache 173 case 2: 174 return &v.unknownFields 175 default: 176 return nil 177 } 178 } 179 } 180 type x struct{} 181 out := protoimpl.TypeBuilder{ 182 File: protoimpl.DescBuilder{ 183 GoPackagePath: reflect.TypeOf(x{}).PkgPath(), 184 RawDescriptor: file_forwarding_configuration_proto_rawDesc, 185 NumEnums: 0, 186 NumMessages: 1, 187 NumExtensions: 0, 188 NumServices: 0, 189 }, 190 GoTypes: file_forwarding_configuration_proto_goTypes, 191 DependencyIndexes: file_forwarding_configuration_proto_depIdxs, 192 MessageInfos: file_forwarding_configuration_proto_msgTypes, 193 }.Build() 194 File_forwarding_configuration_proto = out.File 195 file_forwarding_configuration_proto_rawDesc = nil 196 file_forwarding_configuration_proto_goTypes = nil 197 file_forwarding_configuration_proto_depIdxs = nil 198 }