// Code generated by protoc-gen-go. DO NOT EDIT. // versions: // protoc-gen-go v1.28.0 // protoc v3.21.2 // source: plugins.proto package proto import ( protoreflect "google.golang.org/protobuf/reflect/protoreflect" protoimpl "google.golang.org/protobuf/runtime/protoimpl" reflect "reflect" sync "sync" ) const ( // Verify that this generated code is sufficiently up-to-date. _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion) // Verify that runtime/protoimpl is sufficiently up-to-date. _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20) ) type PluginType int32 const ( PluginType_PLUGIN_TYPE_UNKNOWN PluginType = 0 PluginType_PLUGIN_TYPE_BASE PluginType = 1 PluginType_PLUGIN_TYPE_DECIDER PluginType = 2 PluginType_PLUGIN_TYPE_REPORTER PluginType = 3 PluginType_PLUGIN_TYPE_RESOLVER PluginType = 4 ) // Enum value maps for PluginType. var ( PluginType_name = map[int32]string{ 0: "PLUGIN_TYPE_UNKNOWN", 1: "PLUGIN_TYPE_BASE", 2: "PLUGIN_TYPE_DECIDER", 3: "PLUGIN_TYPE_REPORTER", 4: "PLUGIN_TYPE_RESOLVER", } PluginType_value = map[string]int32{ "PLUGIN_TYPE_UNKNOWN": 0, "PLUGIN_TYPE_BASE": 1, "PLUGIN_TYPE_DECIDER": 2, "PLUGIN_TYPE_REPORTER": 3, "PLUGIN_TYPE_RESOLVER": 4, } ) func (x PluginType) Enum() *PluginType { p := new(PluginType) *p = x return p } func (x PluginType) String() string { return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x)) } func (PluginType) Descriptor() protoreflect.EnumDescriptor { return file_plugins_proto_enumTypes[0].Descriptor() } func (PluginType) Type() protoreflect.EnumType { return &file_plugins_proto_enumTypes[0] } func (x PluginType) Number() protoreflect.EnumNumber { return protoreflect.EnumNumber(x) } // Deprecated: Use PluginType.Descriptor instead. func (PluginType) EnumDescriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{0} } type PluginError struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Time uint64 `protobuf:"varint,1,opt,name=time,proto3" json:"time,omitempty"` Error string `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"` } func (x *PluginError) Reset() { *x = PluginError{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[0] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PluginError) String() string { return protoimpl.X.MessageStringOf(x) } func (*PluginError) ProtoMessage() {} func (x *PluginError) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[0] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PluginError.ProtoReflect.Descriptor instead. func (*PluginError) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{0} } func (x *PluginError) GetTime() uint64 { if x != nil { return x.Time } return 0 } func (x *PluginError) GetError() string { if x != nil { return x.Error } return "" } type PluginConfig struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` PluginTypes []PluginType `protobuf:"varint,2,rep,packed,name=plugin_types,json=pluginTypes,proto3,enum=safing.portmaster.plugin.proto.PluginType" json:"plugin_types,omitempty"` Privileged bool `protobuf:"varint,3,opt,name=privileged,proto3" json:"privileged,omitempty"` StaticConfig []byte `protobuf:"bytes,4,opt,name=static_config,json=staticConfig,proto3" json:"static_config,omitempty"` DisableAutostart bool `protobuf:"varint,5,opt,name=disable_autostart,json=disableAutostart,proto3" json:"disable_autostart,omitempty"` } func (x *PluginConfig) Reset() { *x = PluginConfig{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[1] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PluginConfig) String() string { return protoimpl.X.MessageStringOf(x) } func (*PluginConfig) ProtoMessage() {} func (x *PluginConfig) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[1] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PluginConfig.ProtoReflect.Descriptor instead. func (*PluginConfig) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{1} } func (x *PluginConfig) GetName() string { if x != nil { return x.Name } return "" } func (x *PluginConfig) GetPluginTypes() []PluginType { if x != nil { return x.PluginTypes } return nil } func (x *PluginConfig) GetPrivileged() bool { if x != nil { return x.Privileged } return false } func (x *PluginConfig) GetStaticConfig() []byte { if x != nil { return x.StaticConfig } return nil } func (x *PluginConfig) GetDisableAutostart() bool { if x != nil { return x.DisableAutostart } return false } type PluginErrorList struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields BaseErrors []*PluginError `protobuf:"bytes,1,rep,name=base_errors,json=baseErrors,proto3" json:"base_errors,omitempty"` DeciderErrors []*PluginError `protobuf:"bytes,2,rep,name=decider_errors,json=deciderErrors,proto3" json:"decider_errors,omitempty"` ReporterErrors []*PluginError `protobuf:"bytes,3,rep,name=reporter_errors,json=reporterErrors,proto3" json:"reporter_errors,omitempty"` ResolverErrors []*PluginError `protobuf:"bytes,4,rep,name=resolver_errors,json=resolverErrors,proto3" json:"resolver_errors,omitempty"` } func (x *PluginErrorList) Reset() { *x = PluginErrorList{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[2] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PluginErrorList) String() string { return protoimpl.X.MessageStringOf(x) } func (*PluginErrorList) ProtoMessage() {} func (x *PluginErrorList) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[2] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PluginErrorList.ProtoReflect.Descriptor instead. func (*PluginErrorList) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{2} } func (x *PluginErrorList) GetBaseErrors() []*PluginError { if x != nil { return x.BaseErrors } return nil } func (x *PluginErrorList) GetDeciderErrors() []*PluginError { if x != nil { return x.DeciderErrors } return nil } func (x *PluginErrorList) GetReporterErrors() []*PluginError { if x != nil { return x.ReporterErrors } return nil } func (x *PluginErrorList) GetResolverErrors() []*PluginError { if x != nil { return x.ResolverErrors } return nil } type PluginInstance struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Errors *PluginErrorList `protobuf:"bytes,1,opt,name=errors,proto3" json:"errors,omitempty"` } func (x *PluginInstance) Reset() { *x = PluginInstance{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[3] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *PluginInstance) String() string { return protoimpl.X.MessageStringOf(x) } func (*PluginInstance) ProtoMessage() {} func (x *PluginInstance) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[3] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use PluginInstance.ProtoReflect.Descriptor instead. func (*PluginInstance) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{3} } func (x *PluginInstance) GetErrors() *PluginErrorList { if x != nil { return x.Errors } return nil } type Plugin struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Config *PluginConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` Instance *PluginInstance `protobuf:"bytes,2,opt,name=instance,proto3" json:"instance,omitempty"` } func (x *Plugin) Reset() { *x = Plugin{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[4] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *Plugin) String() string { return protoimpl.X.MessageStringOf(x) } func (*Plugin) ProtoMessage() {} func (x *Plugin) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[4] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use Plugin.ProtoReflect.Descriptor instead. func (*Plugin) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{4} } func (x *Plugin) GetConfig() *PluginConfig { if x != nil { return x.Config } return nil } func (x *Plugin) GetInstance() *PluginInstance { if x != nil { return x.Instance } return nil } type ListPluginsRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *ListPluginsRequest) Reset() { *x = ListPluginsRequest{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[5] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListPluginsRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListPluginsRequest) ProtoMessage() {} func (x *ListPluginsRequest) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[5] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListPluginsRequest.ProtoReflect.Descriptor instead. func (*ListPluginsRequest) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{5} } type ListPluginsResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Plugins []*Plugin `protobuf:"bytes,1,rep,name=plugins,proto3" json:"plugins,omitempty"` } func (x *ListPluginsResponse) Reset() { *x = ListPluginsResponse{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[6] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *ListPluginsResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*ListPluginsResponse) ProtoMessage() {} func (x *ListPluginsResponse) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[6] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use ListPluginsResponse.ProtoReflect.Descriptor instead. func (*ListPluginsResponse) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{6} } func (x *ListPluginsResponse) GetPlugins() []*Plugin { if x != nil { return x.Plugins } return nil } type RegisterPluginRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Config *PluginConfig `protobuf:"bytes,1,opt,name=config,proto3" json:"config,omitempty"` } func (x *RegisterPluginRequest) Reset() { *x = RegisterPluginRequest{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[7] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RegisterPluginRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*RegisterPluginRequest) ProtoMessage() {} func (x *RegisterPluginRequest) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[7] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RegisterPluginRequest.ProtoReflect.Descriptor instead. func (*RegisterPluginRequest) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{7} } func (x *RegisterPluginRequest) GetConfig() *PluginConfig { if x != nil { return x.Config } return nil } type RegisterPluginResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *RegisterPluginResponse) Reset() { *x = RegisterPluginResponse{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[8] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *RegisterPluginResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*RegisterPluginResponse) ProtoMessage() {} func (x *RegisterPluginResponse) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[8] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use RegisterPluginResponse.ProtoReflect.Descriptor instead. func (*RegisterPluginResponse) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{8} } type UnregisterPluginRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *UnregisterPluginRequest) Reset() { *x = UnregisterPluginRequest{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[9] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UnregisterPluginRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnregisterPluginRequest) ProtoMessage() {} func (x *UnregisterPluginRequest) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[9] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UnregisterPluginRequest.ProtoReflect.Descriptor instead. func (*UnregisterPluginRequest) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{9} } func (x *UnregisterPluginRequest) GetName() string { if x != nil { return x.Name } return "" } type UnregisterPluginResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *UnregisterPluginResponse) Reset() { *x = UnregisterPluginResponse{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[10] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *UnregisterPluginResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*UnregisterPluginResponse) ProtoMessage() {} func (x *UnregisterPluginResponse) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[10] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use UnregisterPluginResponse.ProtoReflect.Descriptor instead. func (*UnregisterPluginResponse) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{10} } type StopPluginRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *StopPluginRequest) Reset() { *x = StopPluginRequest{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[11] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StopPluginRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*StopPluginRequest) ProtoMessage() {} func (x *StopPluginRequest) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[11] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StopPluginRequest.ProtoReflect.Descriptor instead. func (*StopPluginRequest) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{11} } func (x *StopPluginRequest) GetName() string { if x != nil { return x.Name } return "" } type StopPluginResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *StopPluginResponse) Reset() { *x = StopPluginResponse{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[12] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StopPluginResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*StopPluginResponse) ProtoMessage() {} func (x *StopPluginResponse) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[12] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StopPluginResponse.ProtoReflect.Descriptor instead. func (*StopPluginResponse) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{12} } type StartPluginRequest struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields Name string `protobuf:"bytes,1,opt,name=name,proto3" json:"name,omitempty"` } func (x *StartPluginRequest) Reset() { *x = StartPluginRequest{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[13] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StartPluginRequest) String() string { return protoimpl.X.MessageStringOf(x) } func (*StartPluginRequest) ProtoMessage() {} func (x *StartPluginRequest) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[13] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StartPluginRequest.ProtoReflect.Descriptor instead. func (*StartPluginRequest) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{13} } func (x *StartPluginRequest) GetName() string { if x != nil { return x.Name } return "" } type StartPluginResponse struct { state protoimpl.MessageState sizeCache protoimpl.SizeCache unknownFields protoimpl.UnknownFields } func (x *StartPluginResponse) Reset() { *x = StartPluginResponse{} if protoimpl.UnsafeEnabled { mi := &file_plugins_proto_msgTypes[14] ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) ms.StoreMessageInfo(mi) } } func (x *StartPluginResponse) String() string { return protoimpl.X.MessageStringOf(x) } func (*StartPluginResponse) ProtoMessage() {} func (x *StartPluginResponse) ProtoReflect() protoreflect.Message { mi := &file_plugins_proto_msgTypes[14] if protoimpl.UnsafeEnabled && x != nil { ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x)) if ms.LoadMessageInfo() == nil { ms.StoreMessageInfo(mi) } return ms } return mi.MessageOf(x) } // Deprecated: Use StartPluginResponse.ProtoReflect.Descriptor instead. func (*StartPluginResponse) Descriptor() ([]byte, []int) { return file_plugins_proto_rawDescGZIP(), []int{14} } var File_plugins_proto protoreflect.FileDescriptor var file_plugins_proto_rawDesc = []byte{ 0x0a, 0x0d, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x1e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x37, 0x0a, 0x0b, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12, 0x0a, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x04, 0x52, 0x04, 0x74, 0x69, 0x6d, 0x65, 0x12, 0x14, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0xe3, 0x01, 0x0a, 0x0c, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12, 0x4d, 0x0a, 0x0c, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0e, 0x32, 0x2a, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x52, 0x0b, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x73, 0x12, 0x1e, 0x0a, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x08, 0x52, 0x0a, 0x70, 0x72, 0x69, 0x76, 0x69, 0x6c, 0x65, 0x67, 0x65, 0x64, 0x12, 0x23, 0x0a, 0x0d, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x5f, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0c, 0x52, 0x0c, 0x73, 0x74, 0x61, 0x74, 0x69, 0x63, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x2b, 0x0a, 0x11, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x61, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x10, 0x64, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x41, 0x75, 0x74, 0x6f, 0x73, 0x74, 0x61, 0x72, 0x74, 0x22, 0xdf, 0x02, 0x0a, 0x0f, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x12, 0x4c, 0x0a, 0x0b, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0a, 0x62, 0x61, 0x73, 0x65, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x52, 0x0a, 0x0e, 0x64, 0x65, 0x63, 0x69, 0x64, 0x65, 0x72, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0d, 0x64, 0x65, 0x63, 0x69, 0x64, 0x65, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x54, 0x0a, 0x0f, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0e, 0x72, 0x65, 0x70, 0x6f, 0x72, 0x74, 0x65, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x12, 0x54, 0x0a, 0x0f, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x5f, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x04, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x2b, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x0e, 0x72, 0x65, 0x73, 0x6f, 0x6c, 0x76, 0x65, 0x72, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0x59, 0x0a, 0x0e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x12, 0x47, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2f, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x4c, 0x69, 0x73, 0x74, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0x9a, 0x01, 0x0a, 0x06, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x44, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x4a, 0x0a, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2e, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x49, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x52, 0x08, 0x69, 0x6e, 0x73, 0x74, 0x61, 0x6e, 0x63, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22, 0x57, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x40, 0x0a, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x26, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x07, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x22, 0x5d, 0x0a, 0x15, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x44, 0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x2c, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x18, 0x0a, 0x16, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x2d, 0x0a, 0x17, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x1a, 0x0a, 0x18, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x27, 0x0a, 0x11, 0x53, 0x74, 0x6f, 0x70, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x14, 0x0a, 0x12, 0x53, 0x74, 0x6f, 0x70, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x28, 0x0a, 0x12, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x12, 0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x2a, 0x88, 0x01, 0x0a, 0x0a, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x4b, 0x4e, 0x4f, 0x57, 0x4e, 0x10, 0x00, 0x12, 0x14, 0x0a, 0x10, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x42, 0x41, 0x53, 0x45, 0x10, 0x01, 0x12, 0x17, 0x0a, 0x13, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x44, 0x45, 0x43, 0x49, 0x44, 0x45, 0x52, 0x10, 0x02, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x50, 0x4f, 0x52, 0x54, 0x45, 0x52, 0x10, 0x03, 0x12, 0x18, 0x0a, 0x14, 0x50, 0x4c, 0x55, 0x47, 0x49, 0x4e, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x52, 0x45, 0x53, 0x4f, 0x4c, 0x56, 0x45, 0x52, 0x10, 0x04, 0x32, 0x8f, 0x05, 0x0a, 0x14, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x4d, 0x61, 0x6e, 0x61, 0x67, 0x65, 0x72, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x78, 0x0a, 0x0b, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x12, 0x32, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x81, 0x01, 0x0a, 0x0e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x35, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x36, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x87, 0x01, 0x0a, 0x10, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x37, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x38, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x55, 0x6e, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x75, 0x0a, 0x0a, 0x53, 0x74, 0x6f, 0x70, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x31, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x32, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x6f, 0x70, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x78, 0x0a, 0x0b, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x12, 0x32, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x33, 0x2e, 0x73, 0x61, 0x66, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x6f, 0x72, 0x74, 0x6d, 0x61, 0x73, 0x74, 0x65, 0x72, 0x2e, 0x70, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2e, 0x53, 0x74, 0x61, 0x72, 0x74, 0x50, 0x6c, 0x75, 0x67, 0x69, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x42, 0x09, 0x5a, 0x07, 0x2e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, } var ( file_plugins_proto_rawDescOnce sync.Once file_plugins_proto_rawDescData = file_plugins_proto_rawDesc ) func file_plugins_proto_rawDescGZIP() []byte { file_plugins_proto_rawDescOnce.Do(func() { file_plugins_proto_rawDescData = protoimpl.X.CompressGZIP(file_plugins_proto_rawDescData) }) return file_plugins_proto_rawDescData } var file_plugins_proto_enumTypes = make([]protoimpl.EnumInfo, 1) var file_plugins_proto_msgTypes = make([]protoimpl.MessageInfo, 15) var file_plugins_proto_goTypes = []interface{}{ (PluginType)(0), // 0: safing.portmaster.plugin.proto.PluginType (*PluginError)(nil), // 1: safing.portmaster.plugin.proto.PluginError (*PluginConfig)(nil), // 2: safing.portmaster.plugin.proto.PluginConfig (*PluginErrorList)(nil), // 3: safing.portmaster.plugin.proto.PluginErrorList (*PluginInstance)(nil), // 4: safing.portmaster.plugin.proto.PluginInstance (*Plugin)(nil), // 5: safing.portmaster.plugin.proto.Plugin (*ListPluginsRequest)(nil), // 6: safing.portmaster.plugin.proto.ListPluginsRequest (*ListPluginsResponse)(nil), // 7: safing.portmaster.plugin.proto.ListPluginsResponse (*RegisterPluginRequest)(nil), // 8: safing.portmaster.plugin.proto.RegisterPluginRequest (*RegisterPluginResponse)(nil), // 9: safing.portmaster.plugin.proto.RegisterPluginResponse (*UnregisterPluginRequest)(nil), // 10: safing.portmaster.plugin.proto.UnregisterPluginRequest (*UnregisterPluginResponse)(nil), // 11: safing.portmaster.plugin.proto.UnregisterPluginResponse (*StopPluginRequest)(nil), // 12: safing.portmaster.plugin.proto.StopPluginRequest (*StopPluginResponse)(nil), // 13: safing.portmaster.plugin.proto.StopPluginResponse (*StartPluginRequest)(nil), // 14: safing.portmaster.plugin.proto.StartPluginRequest (*StartPluginResponse)(nil), // 15: safing.portmaster.plugin.proto.StartPluginResponse } var file_plugins_proto_depIdxs = []int32{ 0, // 0: safing.portmaster.plugin.proto.PluginConfig.plugin_types:type_name -> safing.portmaster.plugin.proto.PluginType 1, // 1: safing.portmaster.plugin.proto.PluginErrorList.base_errors:type_name -> safing.portmaster.plugin.proto.PluginError 1, // 2: safing.portmaster.plugin.proto.PluginErrorList.decider_errors:type_name -> safing.portmaster.plugin.proto.PluginError 1, // 3: safing.portmaster.plugin.proto.PluginErrorList.reporter_errors:type_name -> safing.portmaster.plugin.proto.PluginError 1, // 4: safing.portmaster.plugin.proto.PluginErrorList.resolver_errors:type_name -> safing.portmaster.plugin.proto.PluginError 3, // 5: safing.portmaster.plugin.proto.PluginInstance.errors:type_name -> safing.portmaster.plugin.proto.PluginErrorList 2, // 6: safing.portmaster.plugin.proto.Plugin.config:type_name -> safing.portmaster.plugin.proto.PluginConfig 4, // 7: safing.portmaster.plugin.proto.Plugin.instance:type_name -> safing.portmaster.plugin.proto.PluginInstance 5, // 8: safing.portmaster.plugin.proto.ListPluginsResponse.plugins:type_name -> safing.portmaster.plugin.proto.Plugin 2, // 9: safing.portmaster.plugin.proto.RegisterPluginRequest.config:type_name -> safing.portmaster.plugin.proto.PluginConfig 6, // 10: safing.portmaster.plugin.proto.PluginManagerService.ListPlugins:input_type -> safing.portmaster.plugin.proto.ListPluginsRequest 8, // 11: safing.portmaster.plugin.proto.PluginManagerService.RegisterPlugin:input_type -> safing.portmaster.plugin.proto.RegisterPluginRequest 10, // 12: safing.portmaster.plugin.proto.PluginManagerService.UnregisterPlugin:input_type -> safing.portmaster.plugin.proto.UnregisterPluginRequest 12, // 13: safing.portmaster.plugin.proto.PluginManagerService.StopPlugin:input_type -> safing.portmaster.plugin.proto.StopPluginRequest 14, // 14: safing.portmaster.plugin.proto.PluginManagerService.StartPlugin:input_type -> safing.portmaster.plugin.proto.StartPluginRequest 7, // 15: safing.portmaster.plugin.proto.PluginManagerService.ListPlugins:output_type -> safing.portmaster.plugin.proto.ListPluginsResponse 9, // 16: safing.portmaster.plugin.proto.PluginManagerService.RegisterPlugin:output_type -> safing.portmaster.plugin.proto.RegisterPluginResponse 11, // 17: safing.portmaster.plugin.proto.PluginManagerService.UnregisterPlugin:output_type -> safing.portmaster.plugin.proto.UnregisterPluginResponse 13, // 18: safing.portmaster.plugin.proto.PluginManagerService.StopPlugin:output_type -> safing.portmaster.plugin.proto.StopPluginResponse 15, // 19: safing.portmaster.plugin.proto.PluginManagerService.StartPlugin:output_type -> safing.portmaster.plugin.proto.StartPluginResponse 15, // [15:20] is the sub-list for method output_type 10, // [10:15] is the sub-list for method input_type 10, // [10:10] is the sub-list for extension type_name 10, // [10:10] is the sub-list for extension extendee 0, // [0:10] is the sub-list for field type_name } func init() { file_plugins_proto_init() } func file_plugins_proto_init() { if File_plugins_proto != nil { return } if !protoimpl.UnsafeEnabled { file_plugins_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PluginError); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PluginConfig); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PluginErrorList); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*PluginInstance); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*Plugin); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListPluginsRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*ListPluginsResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterPluginRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*RegisterPluginResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnregisterPluginRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*UnregisterPluginResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StopPluginRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StopPluginResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StartPluginRequest); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } file_plugins_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} { switch v := v.(*StartPluginResponse); i { case 0: return &v.state case 1: return &v.sizeCache case 2: return &v.unknownFields default: return nil } } } type x struct{} out := protoimpl.TypeBuilder{ File: protoimpl.DescBuilder{ GoPackagePath: reflect.TypeOf(x{}).PkgPath(), RawDescriptor: file_plugins_proto_rawDesc, NumEnums: 1, NumMessages: 15, NumExtensions: 0, NumServices: 1, }, GoTypes: file_plugins_proto_goTypes, DependencyIndexes: file_plugins_proto_depIdxs, EnumInfos: file_plugins_proto_enumTypes, MessageInfos: file_plugins_proto_msgTypes, }.Build() File_plugins_proto = out.File file_plugins_proto_rawDesc = nil file_plugins_proto_goTypes = nil file_plugins_proto_depIdxs = nil }