You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
1008 lines
34 KiB
1008 lines
34 KiB
// Code generated by protoc-gen-go. DO NOT EDIT.
|
|
// versions:
|
|
// protoc-gen-go v1.30.0
|
|
// protoc v3.21.12
|
|
// source: okapi-service-config.proto
|
|
|
|
package okapi
|
|
|
|
import (
|
|
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
|
|
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
|
|
structpb "google.golang.org/protobuf/types/known/structpb"
|
|
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 SubscriptionPolicy int32
|
|
|
|
const (
|
|
SubscriptionPolicy_subnone SubscriptionPolicy = 0
|
|
SubscriptionPolicy_optin SubscriptionPolicy = 1
|
|
SubscriptionPolicy_optout SubscriptionPolicy = 2
|
|
)
|
|
|
|
// Enum value maps for SubscriptionPolicy.
|
|
var (
|
|
SubscriptionPolicy_name = map[int32]string{
|
|
0: "subnone",
|
|
1: "optin",
|
|
2: "optout",
|
|
}
|
|
SubscriptionPolicy_value = map[string]int32{
|
|
"subnone": 0,
|
|
"optin": 1,
|
|
"optout": 2,
|
|
}
|
|
)
|
|
|
|
func (x SubscriptionPolicy) Enum() *SubscriptionPolicy {
|
|
p := new(SubscriptionPolicy)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x SubscriptionPolicy) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (SubscriptionPolicy) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_okapi_service_config_proto_enumTypes[0].Descriptor()
|
|
}
|
|
|
|
func (SubscriptionPolicy) Type() protoreflect.EnumType {
|
|
return &file_okapi_service_config_proto_enumTypes[0]
|
|
}
|
|
|
|
func (x SubscriptionPolicy) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use SubscriptionPolicy.Descriptor instead.
|
|
func (SubscriptionPolicy) EnumDescriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
type ConsentPolicy int32
|
|
|
|
const (
|
|
ConsentPolicy_consentnone ConsentPolicy = 0
|
|
ConsentPolicy_explicit ConsentPolicy = 1
|
|
ConsentPolicy_presumed ConsentPolicy = 2
|
|
)
|
|
|
|
// Enum value maps for ConsentPolicy.
|
|
var (
|
|
ConsentPolicy_name = map[int32]string{
|
|
0: "consentnone",
|
|
1: "explicit",
|
|
2: "presumed",
|
|
}
|
|
ConsentPolicy_value = map[string]int32{
|
|
"consentnone": 0,
|
|
"explicit": 1,
|
|
"presumed": 2,
|
|
}
|
|
)
|
|
|
|
func (x ConsentPolicy) Enum() *ConsentPolicy {
|
|
p := new(ConsentPolicy)
|
|
*p = x
|
|
return p
|
|
}
|
|
|
|
func (x ConsentPolicy) String() string {
|
|
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
|
|
}
|
|
|
|
func (ConsentPolicy) Descriptor() protoreflect.EnumDescriptor {
|
|
return file_okapi_service_config_proto_enumTypes[1].Descriptor()
|
|
}
|
|
|
|
func (ConsentPolicy) Type() protoreflect.EnumType {
|
|
return &file_okapi_service_config_proto_enumTypes[1]
|
|
}
|
|
|
|
func (x ConsentPolicy) Number() protoreflect.EnumNumber {
|
|
return protoreflect.EnumNumber(x)
|
|
}
|
|
|
|
// Deprecated: Use ConsentPolicy.Descriptor instead.
|
|
func (ConsentPolicy) EnumDescriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
type ProtocolAuthConfiguration struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
|
|
Configuration *structpb.Struct `protobuf:"bytes,2,opt,name=configuration,proto3" json:"configuration,omitempty"`
|
|
}
|
|
|
|
func (x *ProtocolAuthConfiguration) Reset() {
|
|
*x = ProtocolAuthConfiguration{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_service_config_proto_msgTypes[0]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ProtocolAuthConfiguration) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProtocolAuthConfiguration) ProtoMessage() {}
|
|
|
|
func (x *ProtocolAuthConfiguration) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_service_config_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 ProtocolAuthConfiguration.ProtoReflect.Descriptor instead.
|
|
func (*ProtocolAuthConfiguration) Descriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{0}
|
|
}
|
|
|
|
func (x *ProtocolAuthConfiguration) GetMethod() string {
|
|
if x != nil {
|
|
return x.Method
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProtocolAuthConfiguration) GetConfiguration() *structpb.Struct {
|
|
if x != nil {
|
|
return x.Configuration
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type ProtocolDefinition struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
|
|
AuthMethods []string `protobuf:"bytes,2,rep,name=authMethods,proto3" json:"authMethods,omitempty"`
|
|
}
|
|
|
|
func (x *ProtocolDefinition) Reset() {
|
|
*x = ProtocolDefinition{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_service_config_proto_msgTypes[1]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ProtocolDefinition) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ProtocolDefinition) ProtoMessage() {}
|
|
|
|
func (x *ProtocolDefinition) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_service_config_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 ProtocolDefinition.ProtoReflect.Descriptor instead.
|
|
func (*ProtocolDefinition) Descriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{1}
|
|
}
|
|
|
|
func (x *ProtocolDefinition) GetProtocol() string {
|
|
if x != nil {
|
|
return x.Protocol
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *ProtocolDefinition) GetAuthMethods() []string {
|
|
if x != nil {
|
|
return x.AuthMethods
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type Service struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
|
|
Name string `protobuf:"bytes,2,opt,name=name,proto3" json:"name,omitempty"`
|
|
Description string `protobuf:"bytes,3,opt,name=description,proto3" json:"description,omitempty"`
|
|
SubscriptionPolicy SubscriptionPolicy `protobuf:"varint,4,opt,name=subscriptionPolicy,proto3,enum=SubscriptionPolicy" json:"subscriptionPolicy,omitempty"`
|
|
ConsentPolicy ConsentPolicy `protobuf:"varint,5,opt,name=consentPolicy,proto3,enum=ConsentPolicy" json:"consentPolicy,omitempty"`
|
|
FetchProtocols []*ProtocolDefinition `protobuf:"bytes,6,rep,name=fetchProtocols,proto3" json:"fetchProtocols,omitempty"`
|
|
PushProtocols []*ProtocolDefinition `protobuf:"bytes,7,rep,name=pushProtocols,proto3" json:"pushProtocols,omitempty"`
|
|
FetchConfiguration *CallbackConfiguration `protobuf:"bytes,8,opt,name=fetchConfiguration,proto3" json:"fetchConfiguration,omitempty"`
|
|
PushConfiguration *CallbackConfiguration `protobuf:"bytes,9,opt,name=pushConfiguration,proto3" json:"pushConfiguration,omitempty"`
|
|
Enabled bool `protobuf:"varint,10,opt,name=enabled,proto3" json:"enabled,omitempty"`
|
|
}
|
|
|
|
func (x *Service) Reset() {
|
|
*x = Service{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_service_config_proto_msgTypes[2]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *Service) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*Service) ProtoMessage() {}
|
|
|
|
func (x *Service) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_service_config_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 Service.ProtoReflect.Descriptor instead.
|
|
func (*Service) Descriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{2}
|
|
}
|
|
|
|
func (x *Service) GetId() string {
|
|
if x != nil {
|
|
return x.Id
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Service) GetName() string {
|
|
if x != nil {
|
|
return x.Name
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Service) GetDescription() string {
|
|
if x != nil {
|
|
return x.Description
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *Service) GetSubscriptionPolicy() SubscriptionPolicy {
|
|
if x != nil {
|
|
return x.SubscriptionPolicy
|
|
}
|
|
return SubscriptionPolicy_subnone
|
|
}
|
|
|
|
func (x *Service) GetConsentPolicy() ConsentPolicy {
|
|
if x != nil {
|
|
return x.ConsentPolicy
|
|
}
|
|
return ConsentPolicy_consentnone
|
|
}
|
|
|
|
func (x *Service) GetFetchProtocols() []*ProtocolDefinition {
|
|
if x != nil {
|
|
return x.FetchProtocols
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Service) GetPushProtocols() []*ProtocolDefinition {
|
|
if x != nil {
|
|
return x.PushProtocols
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Service) GetFetchConfiguration() *CallbackConfiguration {
|
|
if x != nil {
|
|
return x.FetchConfiguration
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Service) GetPushConfiguration() *CallbackConfiguration {
|
|
if x != nil {
|
|
return x.PushConfiguration
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *Service) GetEnabled() bool {
|
|
if x != nil {
|
|
return x.Enabled
|
|
}
|
|
return false
|
|
}
|
|
|
|
type CallbackConfiguration struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
|
|
Configuration *structpb.Struct `protobuf:"bytes,2,opt,name=configuration,proto3" json:"configuration,omitempty"`
|
|
Auth *ProtocolAuthConfiguration `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
|
|
}
|
|
|
|
func (x *CallbackConfiguration) Reset() {
|
|
*x = CallbackConfiguration{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_service_config_proto_msgTypes[3]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *CallbackConfiguration) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*CallbackConfiguration) ProtoMessage() {}
|
|
|
|
func (x *CallbackConfiguration) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_service_config_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 CallbackConfiguration.ProtoReflect.Descriptor instead.
|
|
func (*CallbackConfiguration) Descriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{3}
|
|
}
|
|
|
|
func (x *CallbackConfiguration) GetProtocol() string {
|
|
if x != nil {
|
|
return x.Protocol
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *CallbackConfiguration) GetConfiguration() *structpb.Struct {
|
|
if x != nil {
|
|
return x.Configuration
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *CallbackConfiguration) GetAuth() *ProtocolAuthConfiguration {
|
|
if x != nil {
|
|
return x.Auth
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EnableServiceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
|
|
Fetch *CallbackConfiguration `protobuf:"bytes,2,opt,name=fetch,proto3" json:"fetch,omitempty"`
|
|
Push *CallbackConfiguration `protobuf:"bytes,3,opt,name=push,proto3" json:"push,omitempty"`
|
|
}
|
|
|
|
func (x *EnableServiceRequest) Reset() {
|
|
*x = EnableServiceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_service_config_proto_msgTypes[4]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EnableServiceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnableServiceRequest) ProtoMessage() {}
|
|
|
|
func (x *EnableServiceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_service_config_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 EnableServiceRequest.ProtoReflect.Descriptor instead.
|
|
func (*EnableServiceRequest) Descriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{4}
|
|
}
|
|
|
|
func (x *EnableServiceRequest) GetServiceId() string {
|
|
if x != nil {
|
|
return x.ServiceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnableServiceRequest) GetFetch() *CallbackConfiguration {
|
|
if x != nil {
|
|
return x.Fetch
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EnableServiceRequest) GetPush() *CallbackConfiguration {
|
|
if x != nil {
|
|
return x.Push
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type EnableServiceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
|
|
Fetch *CallbackConfiguration `protobuf:"bytes,2,opt,name=fetch,proto3" json:"fetch,omitempty"`
|
|
Push *CallbackConfiguration `protobuf:"bytes,3,opt,name=push,proto3" json:"push,omitempty"`
|
|
}
|
|
|
|
func (x *EnableServiceResponse) Reset() {
|
|
*x = EnableServiceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_service_config_proto_msgTypes[5]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *EnableServiceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*EnableServiceResponse) ProtoMessage() {}
|
|
|
|
func (x *EnableServiceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_service_config_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 EnableServiceResponse.ProtoReflect.Descriptor instead.
|
|
func (*EnableServiceResponse) Descriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{5}
|
|
}
|
|
|
|
func (x *EnableServiceResponse) GetServiceId() string {
|
|
if x != nil {
|
|
return x.ServiceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
func (x *EnableServiceResponse) GetFetch() *CallbackConfiguration {
|
|
if x != nil {
|
|
return x.Fetch
|
|
}
|
|
return nil
|
|
}
|
|
|
|
func (x *EnableServiceResponse) GetPush() *CallbackConfiguration {
|
|
if x != nil {
|
|
return x.Push
|
|
}
|
|
return nil
|
|
}
|
|
|
|
type DisableServiceRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
|
|
}
|
|
|
|
func (x *DisableServiceRequest) Reset() {
|
|
*x = DisableServiceRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_service_config_proto_msgTypes[6]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DisableServiceRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DisableServiceRequest) ProtoMessage() {}
|
|
|
|
func (x *DisableServiceRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_service_config_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 DisableServiceRequest.ProtoReflect.Descriptor instead.
|
|
func (*DisableServiceRequest) Descriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{6}
|
|
}
|
|
|
|
func (x *DisableServiceRequest) GetServiceId() string {
|
|
if x != nil {
|
|
return x.ServiceId
|
|
}
|
|
return ""
|
|
}
|
|
|
|
type DisableServiceResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *DisableServiceResponse) Reset() {
|
|
*x = DisableServiceResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_service_config_proto_msgTypes[7]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *DisableServiceResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*DisableServiceResponse) ProtoMessage() {}
|
|
|
|
func (x *DisableServiceResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_service_config_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 DisableServiceResponse.ProtoReflect.Descriptor instead.
|
|
func (*DisableServiceResponse) Descriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{7}
|
|
}
|
|
|
|
type ListServicesRequest struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
}
|
|
|
|
func (x *ListServicesRequest) Reset() {
|
|
*x = ListServicesRequest{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_service_config_proto_msgTypes[8]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListServicesRequest) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListServicesRequest) ProtoMessage() {}
|
|
|
|
func (x *ListServicesRequest) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_service_config_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 ListServicesRequest.ProtoReflect.Descriptor instead.
|
|
func (*ListServicesRequest) Descriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{8}
|
|
}
|
|
|
|
type ListServicesResponse struct {
|
|
state protoimpl.MessageState
|
|
sizeCache protoimpl.SizeCache
|
|
unknownFields protoimpl.UnknownFields
|
|
|
|
Services []*Service `protobuf:"bytes,1,rep,name=services,proto3" json:"services,omitempty"`
|
|
}
|
|
|
|
func (x *ListServicesResponse) Reset() {
|
|
*x = ListServicesResponse{}
|
|
if protoimpl.UnsafeEnabled {
|
|
mi := &file_okapi_service_config_proto_msgTypes[9]
|
|
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
|
|
ms.StoreMessageInfo(mi)
|
|
}
|
|
}
|
|
|
|
func (x *ListServicesResponse) String() string {
|
|
return protoimpl.X.MessageStringOf(x)
|
|
}
|
|
|
|
func (*ListServicesResponse) ProtoMessage() {}
|
|
|
|
func (x *ListServicesResponse) ProtoReflect() protoreflect.Message {
|
|
mi := &file_okapi_service_config_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 ListServicesResponse.ProtoReflect.Descriptor instead.
|
|
func (*ListServicesResponse) Descriptor() ([]byte, []int) {
|
|
return file_okapi_service_config_proto_rawDescGZIP(), []int{9}
|
|
}
|
|
|
|
func (x *ListServicesResponse) GetServices() []*Service {
|
|
if x != nil {
|
|
return x.Services
|
|
}
|
|
return nil
|
|
}
|
|
|
|
var File_okapi_service_config_proto protoreflect.FileDescriptor
|
|
|
|
var file_okapi_service_config_proto_rawDesc = []byte{
|
|
0x0a, 0x1a, 0x6f, 0x6b, 0x61, 0x70, 0x69, 0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2d,
|
|
0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1c, 0x67, 0x6f,
|
|
0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x73, 0x74,
|
|
0x72, 0x75, 0x63, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x72, 0x0a, 0x19, 0x50, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x41, 0x75, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
|
|
0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x16, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f,
|
|
0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12,
|
|
0x3d, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
|
|
0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e,
|
|
0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53, 0x74, 0x72, 0x75, 0x63, 0x74, 0x52,
|
|
0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x22, 0x52,
|
|
0x0a, 0x12, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
|
|
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
|
|
0x12, 0x20, 0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18,
|
|
0x02, 0x20, 0x03, 0x28, 0x09, 0x52, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f,
|
|
0x64, 0x73, 0x22, 0xea, 0x03, 0x0a, 0x07, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x0e,
|
|
0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x02, 0x69, 0x64, 0x12, 0x12,
|
|
0x0a, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61,
|
|
0x6d, 0x65, 0x12, 0x20, 0x0a, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0b, 0x64, 0x65, 0x73, 0x63, 0x72, 0x69, 0x70,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x43, 0x0a, 0x12, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x13, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50,
|
|
0x6f, 0x6c, 0x69, 0x63, 0x79, 0x52, 0x12, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74,
|
|
0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x34, 0x0a, 0x0d, 0x63, 0x6f, 0x6e,
|
|
0x73, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0e,
|
|
0x32, 0x0e, 0x2e, 0x43, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79,
|
|
0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x73, 0x65, 0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12,
|
|
0x3b, 0x0a, 0x0e, 0x66, 0x65, 0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c,
|
|
0x73, 0x18, 0x06, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63,
|
|
0x6f, 0x6c, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0e, 0x66, 0x65,
|
|
0x74, 0x63, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x12, 0x39, 0x0a, 0x0d,
|
|
0x70, 0x75, 0x73, 0x68, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x18, 0x07, 0x20,
|
|
0x03, 0x28, 0x0b, 0x32, 0x13, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x44, 0x65,
|
|
0x66, 0x69, 0x6e, 0x69, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x0d, 0x70, 0x75, 0x73, 0x68, 0x50, 0x72,
|
|
0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x73, 0x12, 0x46, 0x0a, 0x12, 0x66, 0x65, 0x74, 0x63, 0x68,
|
|
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x08, 0x20,
|
|
0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x43, 0x6f,
|
|
0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x12, 0x66, 0x65, 0x74,
|
|
0x63, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12,
|
|
0x44, 0x0a, 0x11, 0x70, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x18, 0x09, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x43, 0x61, 0x6c,
|
|
0x6c, 0x62, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x52, 0x11, 0x70, 0x75, 0x73, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72,
|
|
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
|
|
0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x22,
|
|
0xa2, 0x01, 0x0a, 0x15, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66,
|
|
0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x12, 0x1a, 0x0a, 0x08, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x70, 0x72, 0x6f,
|
|
0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x12, 0x3d, 0x0a, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75,
|
|
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x67,
|
|
0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2e, 0x53,
|
|
0x74, 0x72, 0x75, 0x63, 0x74, 0x52, 0x0d, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x12, 0x2e, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01,
|
|
0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x41, 0x75, 0x74,
|
|
0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x04,
|
|
0x61, 0x75, 0x74, 0x68, 0x22, 0x8e, 0x01, 0x0a, 0x14, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x53,
|
|
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a,
|
|
0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
|
|
0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x2c, 0x0a, 0x05, 0x66,
|
|
0x65, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x43, 0x61, 0x6c,
|
|
0x6c, 0x62, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69,
|
|
0x6f, 0x6e, 0x52, 0x05, 0x66, 0x65, 0x74, 0x63, 0x68, 0x12, 0x2a, 0x0a, 0x04, 0x70, 0x75, 0x73,
|
|
0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x43, 0x61, 0x6c, 0x6c, 0x62, 0x61,
|
|
0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52,
|
|
0x04, 0x70, 0x75, 0x73, 0x68, 0x22, 0x8f, 0x01, 0x0a, 0x15, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65,
|
|
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
|
|
0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20, 0x01,
|
|
0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x12, 0x2c, 0x0a,
|
|
0x05, 0x66, 0x65, 0x74, 0x63, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x43,
|
|
0x61, 0x6c, 0x6c, 0x62, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61,
|
|
0x74, 0x69, 0x6f, 0x6e, 0x52, 0x05, 0x66, 0x65, 0x74, 0x63, 0x68, 0x12, 0x2a, 0x0a, 0x04, 0x70,
|
|
0x75, 0x73, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x43, 0x61, 0x6c, 0x6c,
|
|
0x62, 0x61, 0x63, 0x6b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x75, 0x72, 0x61, 0x74, 0x69, 0x6f,
|
|
0x6e, 0x52, 0x04, 0x70, 0x75, 0x73, 0x68, 0x22, 0x35, 0x0a, 0x15, 0x44, 0x69, 0x73, 0x61, 0x62,
|
|
0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
|
|
0x12, 0x1c, 0x0a, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x18, 0x01, 0x20,
|
|
0x01, 0x28, 0x09, 0x52, 0x09, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x49, 0x64, 0x22, 0x18,
|
|
0x0a, 0x16, 0x44, 0x69, 0x73, 0x61, 0x62, 0x6c, 0x65, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
|
|
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x15, 0x0a, 0x13, 0x4c, 0x69, 0x73, 0x74,
|
|
0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x22,
|
|
0x3c, 0x0a, 0x14, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x52,
|
|
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x24, 0x0a, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69,
|
|
0x63, 0x65, 0x73, 0x18, 0x01, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x08, 0x2e, 0x53, 0x65, 0x72, 0x76,
|
|
0x69, 0x63, 0x65, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2a, 0x38, 0x0a,
|
|
0x12, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x50, 0x6f, 0x6c,
|
|
0x69, 0x63, 0x79, 0x12, 0x0b, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6e, 0x6f, 0x6e, 0x65, 0x10, 0x00,
|
|
0x12, 0x09, 0x0a, 0x05, 0x6f, 0x70, 0x74, 0x69, 0x6e, 0x10, 0x01, 0x12, 0x0a, 0x0a, 0x06, 0x6f,
|
|
0x70, 0x74, 0x6f, 0x75, 0x74, 0x10, 0x02, 0x2a, 0x3c, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x73, 0x65,
|
|
0x6e, 0x74, 0x50, 0x6f, 0x6c, 0x69, 0x63, 0x79, 0x12, 0x0f, 0x0a, 0x0b, 0x63, 0x6f, 0x6e, 0x73,
|
|
0x65, 0x6e, 0x74, 0x6e, 0x6f, 0x6e, 0x65, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x65, 0x78, 0x70,
|
|
0x6c, 0x69, 0x63, 0x69, 0x74, 0x10, 0x01, 0x12, 0x0c, 0x0a, 0x08, 0x70, 0x72, 0x65, 0x73, 0x75,
|
|
0x6d, 0x65, 0x64, 0x10, 0x02, 0x42, 0x1a, 0x5a, 0x18, 0x77, 0x68, 0x69, 0x74, 0x65, 0x62, 0x6f,
|
|
0x78, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2e, 0x6e, 0x6c, 0x2f, 0x6f, 0x6b, 0x61, 0x70,
|
|
0x69, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
|
|
}
|
|
|
|
var (
|
|
file_okapi_service_config_proto_rawDescOnce sync.Once
|
|
file_okapi_service_config_proto_rawDescData = file_okapi_service_config_proto_rawDesc
|
|
)
|
|
|
|
func file_okapi_service_config_proto_rawDescGZIP() []byte {
|
|
file_okapi_service_config_proto_rawDescOnce.Do(func() {
|
|
file_okapi_service_config_proto_rawDescData = protoimpl.X.CompressGZIP(file_okapi_service_config_proto_rawDescData)
|
|
})
|
|
return file_okapi_service_config_proto_rawDescData
|
|
}
|
|
|
|
var file_okapi_service_config_proto_enumTypes = make([]protoimpl.EnumInfo, 2)
|
|
var file_okapi_service_config_proto_msgTypes = make([]protoimpl.MessageInfo, 10)
|
|
var file_okapi_service_config_proto_goTypes = []interface{}{
|
|
(SubscriptionPolicy)(0), // 0: SubscriptionPolicy
|
|
(ConsentPolicy)(0), // 1: ConsentPolicy
|
|
(*ProtocolAuthConfiguration)(nil), // 2: ProtocolAuthConfiguration
|
|
(*ProtocolDefinition)(nil), // 3: ProtocolDefinition
|
|
(*Service)(nil), // 4: Service
|
|
(*CallbackConfiguration)(nil), // 5: CallbackConfiguration
|
|
(*EnableServiceRequest)(nil), // 6: EnableServiceRequest
|
|
(*EnableServiceResponse)(nil), // 7: EnableServiceResponse
|
|
(*DisableServiceRequest)(nil), // 8: DisableServiceRequest
|
|
(*DisableServiceResponse)(nil), // 9: DisableServiceResponse
|
|
(*ListServicesRequest)(nil), // 10: ListServicesRequest
|
|
(*ListServicesResponse)(nil), // 11: ListServicesResponse
|
|
(*structpb.Struct)(nil), // 12: google.protobuf.Struct
|
|
}
|
|
var file_okapi_service_config_proto_depIdxs = []int32{
|
|
12, // 0: ProtocolAuthConfiguration.configuration:type_name -> google.protobuf.Struct
|
|
0, // 1: Service.subscriptionPolicy:type_name -> SubscriptionPolicy
|
|
1, // 2: Service.consentPolicy:type_name -> ConsentPolicy
|
|
3, // 3: Service.fetchProtocols:type_name -> ProtocolDefinition
|
|
3, // 4: Service.pushProtocols:type_name -> ProtocolDefinition
|
|
5, // 5: Service.fetchConfiguration:type_name -> CallbackConfiguration
|
|
5, // 6: Service.pushConfiguration:type_name -> CallbackConfiguration
|
|
12, // 7: CallbackConfiguration.configuration:type_name -> google.protobuf.Struct
|
|
2, // 8: CallbackConfiguration.auth:type_name -> ProtocolAuthConfiguration
|
|
5, // 9: EnableServiceRequest.fetch:type_name -> CallbackConfiguration
|
|
5, // 10: EnableServiceRequest.push:type_name -> CallbackConfiguration
|
|
5, // 11: EnableServiceResponse.fetch:type_name -> CallbackConfiguration
|
|
5, // 12: EnableServiceResponse.push:type_name -> CallbackConfiguration
|
|
4, // 13: ListServicesResponse.services:type_name -> Service
|
|
14, // [14:14] is the sub-list for method output_type
|
|
14, // [14:14] is the sub-list for method input_type
|
|
14, // [14:14] is the sub-list for extension type_name
|
|
14, // [14:14] is the sub-list for extension extendee
|
|
0, // [0:14] is the sub-list for field type_name
|
|
}
|
|
|
|
func init() { file_okapi_service_config_proto_init() }
|
|
func file_okapi_service_config_proto_init() {
|
|
if File_okapi_service_config_proto != nil {
|
|
return
|
|
}
|
|
if !protoimpl.UnsafeEnabled {
|
|
file_okapi_service_config_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ProtocolAuthConfiguration); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_service_config_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ProtocolDefinition); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_service_config_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*Service); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_service_config_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*CallbackConfiguration); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_service_config_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EnableServiceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_service_config_proto_msgTypes[5].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*EnableServiceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_service_config_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DisableServiceRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_service_config_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*DisableServiceResponse); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_service_config_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListServicesRequest); i {
|
|
case 0:
|
|
return &v.state
|
|
case 1:
|
|
return &v.sizeCache
|
|
case 2:
|
|
return &v.unknownFields
|
|
default:
|
|
return nil
|
|
}
|
|
}
|
|
file_okapi_service_config_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
|
|
switch v := v.(*ListServicesResponse); 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_okapi_service_config_proto_rawDesc,
|
|
NumEnums: 2,
|
|
NumMessages: 10,
|
|
NumExtensions: 0,
|
|
NumServices: 0,
|
|
},
|
|
GoTypes: file_okapi_service_config_proto_goTypes,
|
|
DependencyIndexes: file_okapi_service_config_proto_depIdxs,
|
|
EnumInfos: file_okapi_service_config_proto_enumTypes,
|
|
MessageInfos: file_okapi_service_config_proto_msgTypes,
|
|
}.Build()
|
|
File_okapi_service_config_proto = out.File
|
|
file_okapi_service_config_proto_rawDesc = nil
|
|
file_okapi_service_config_proto_goTypes = nil
|
|
file_okapi_service_config_proto_depIdxs = nil
|
|
}
|
|
|