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.
 
 
 
 
okapidemo/openkv/apispec.pb.go

2361 lines
79 KiB

// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.26.0
// protoc v3.19.4
// source: apispec.proto
package openkv
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 AuthMethod int32
const (
AuthMethod_mTLS AuthMethod = 0
AuthMethod_APIToken AuthMethod = 1
AuthMethod_JWT AuthMethod = 2
AuthMethod_Custom AuthMethod = 3
)
// Enum value maps for AuthMethod.
var (
AuthMethod_name = map[int32]string{
0: "mTLS",
1: "APIToken",
2: "JWT",
3: "Custom",
}
AuthMethod_value = map[string]int32{
"mTLS": 0,
"APIToken": 1,
"JWT": 2,
"Custom": 3,
}
)
func (x AuthMethod) Enum() *AuthMethod {
p := new(AuthMethod)
*p = x
return p
}
func (x AuthMethod) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (AuthMethod) Descriptor() protoreflect.EnumDescriptor {
return file_apispec_proto_enumTypes[0].Descriptor()
}
func (AuthMethod) Type() protoreflect.EnumType {
return &file_apispec_proto_enumTypes[0]
}
func (x AuthMethod) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use AuthMethod.Descriptor instead.
func (AuthMethod) EnumDescriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{0}
}
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_apispec_proto_enumTypes[1].Descriptor()
}
func (SubscriptionPolicy) Type() protoreflect.EnumType {
return &file_apispec_proto_enumTypes[1]
}
func (x SubscriptionPolicy) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use SubscriptionPolicy.Descriptor instead.
func (SubscriptionPolicy) EnumDescriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{1}
}
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_apispec_proto_enumTypes[2].Descriptor()
}
func (ConsentPolicy) Type() protoreflect.EnumType {
return &file_apispec_proto_enumTypes[2]
}
func (x ConsentPolicy) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use ConsentPolicy.Descriptor instead.
func (ConsentPolicy) EnumDescriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{2}
}
type MTLSConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
}
func (x *MTLSConfig) Reset() {
*x = MTLSConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MTLSConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MTLSConfig) ProtoMessage() {}
func (x *MTLSConfig) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 MTLSConfig.ProtoReflect.Descriptor instead.
func (*MTLSConfig) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{0}
}
func (x *MTLSConfig) GetPublicKey() string {
if x != nil {
return x.PublicKey
}
return ""
}
type APITokenConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Token string `protobuf:"bytes,1,opt,name=token,proto3" json:"token,omitempty"`
}
func (x *APITokenConfig) Reset() {
*x = APITokenConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *APITokenConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*APITokenConfig) ProtoMessage() {}
func (x *APITokenConfig) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 APITokenConfig.ProtoReflect.Descriptor instead.
func (*APITokenConfig) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{1}
}
func (x *APITokenConfig) GetToken() string {
if x != nil {
return x.Token
}
return ""
}
type JWTConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
PublicKey string `protobuf:"bytes,1,opt,name=publicKey,proto3" json:"publicKey,omitempty"`
}
func (x *JWTConfig) Reset() {
*x = JWTConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[2]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *JWTConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*JWTConfig) ProtoMessage() {}
func (x *JWTConfig) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 JWTConfig.ProtoReflect.Descriptor instead.
func (*JWTConfig) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{2}
}
func (x *JWTConfig) GetPublicKey() string {
if x != nil {
return x.PublicKey
}
return ""
}
type CustomConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Method string `protobuf:"bytes,1,opt,name=method,proto3" json:"method,omitempty"`
Params map[string]string `protobuf:"bytes,2,rep,name=params,proto3" json:"params,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *CustomConfig) Reset() {
*x = CustomConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[3]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CustomConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CustomConfig) ProtoMessage() {}
func (x *CustomConfig) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 CustomConfig.ProtoReflect.Descriptor instead.
func (*CustomConfig) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{3}
}
func (x *CustomConfig) GetMethod() string {
if x != nil {
return x.Method
}
return ""
}
func (x *CustomConfig) GetParams() map[string]string {
if x != nil {
return x.Params
}
return nil
}
type Error struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Code int32 `protobuf:"varint,1,opt,name=code,proto3" json:"code,omitempty"`
Message string `protobuf:"bytes,2,opt,name=message,proto3" json:"message,omitempty"`
}
func (x *Error) Reset() {
*x = Error{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[4]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *Error) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*Error) ProtoMessage() {}
func (x *Error) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 Error.ProtoReflect.Descriptor instead.
func (*Error) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{4}
}
func (x *Error) GetCode() int32 {
if x != nil {
return x.Code
}
return 0
}
func (x *Error) GetMessage() string {
if x != nil {
return x.Message
}
return ""
}
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 []AuthMethod `protobuf:"varint,2,rep,packed,name=authMethods,proto3,enum=AuthMethod" json:"authMethods,omitempty"`
}
func (x *ProtocolDefinition) Reset() {
*x = ProtocolDefinition{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[5]
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_apispec_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 ProtocolDefinition.ProtoReflect.Descriptor instead.
func (*ProtocolDefinition) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{5}
}
func (x *ProtocolDefinition) GetProtocol() string {
if x != nil {
return x.Protocol
}
return ""
}
func (x *ProtocolDefinition) GetAuthMethods() []AuthMethod {
if x != nil {
return x.AuthMethods
}
return nil
}
type ServiceDefinition 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"`
}
func (x *ServiceDefinition) Reset() {
*x = ServiceDefinition{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[6]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ServiceDefinition) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServiceDefinition) ProtoMessage() {}
func (x *ServiceDefinition) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 ServiceDefinition.ProtoReflect.Descriptor instead.
func (*ServiceDefinition) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{6}
}
func (x *ServiceDefinition) GetId() string {
if x != nil {
return x.Id
}
return ""
}
func (x *ServiceDefinition) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *ServiceDefinition) GetDescription() string {
if x != nil {
return x.Description
}
return ""
}
func (x *ServiceDefinition) GetSubscriptionPolicy() SubscriptionPolicy {
if x != nil {
return x.SubscriptionPolicy
}
return SubscriptionPolicy_subnone
}
func (x *ServiceDefinition) GetConsentPolicy() ConsentPolicy {
if x != nil {
return x.ConsentPolicy
}
return ConsentPolicy_consentnone
}
func (x *ServiceDefinition) GetFetchProtocols() []*ProtocolDefinition {
if x != nil {
return x.FetchProtocols
}
return nil
}
func (x *ServiceDefinition) GetPushProtocols() []*ProtocolDefinition {
if x != nil {
return x.PushProtocols
}
return nil
}
type ServiceConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Protocol string `protobuf:"bytes,1,opt,name=protocol,proto3" json:"protocol,omitempty"`
Config map[string]string `protobuf:"bytes,2,rep,name=config,proto3" json:"config,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
Auth *AuthConfig `protobuf:"bytes,3,opt,name=auth,proto3" json:"auth,omitempty"`
}
func (x *ServiceConfig) Reset() {
*x = ServiceConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[7]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ServiceConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ServiceConfig) ProtoMessage() {}
func (x *ServiceConfig) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 ServiceConfig.ProtoReflect.Descriptor instead.
func (*ServiceConfig) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{7}
}
func (x *ServiceConfig) GetProtocol() string {
if x != nil {
return x.Protocol
}
return ""
}
func (x *ServiceConfig) GetConfig() map[string]string {
if x != nil {
return x.Config
}
return nil
}
func (x *ServiceConfig) GetAuth() *AuthConfig {
if x != nil {
return x.Auth
}
return nil
}
type GetMetadataRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
}
func (x *GetMetadataRequest) Reset() {
*x = GetMetadataRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[8]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetMetadataRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMetadataRequest) ProtoMessage() {}
func (x *GetMetadataRequest) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 GetMetadataRequest.ProtoReflect.Descriptor instead.
func (*GetMetadataRequest) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{8}
}
type GetMetadataResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Supplier string `protobuf:"bytes,1,opt,name=supplier,proto3" json:"supplier,omitempty"`
System string `protobuf:"bytes,2,opt,name=system,proto3" json:"system,omitempty"`
Services []*ServiceDefinition `protobuf:"bytes,3,rep,name=services,proto3" json:"services,omitempty"`
Success bool `protobuf:"varint,4,opt,name=success,proto3" json:"success,omitempty"`
Error *Error `protobuf:"bytes,5,opt,name=error,proto3" json:"error,omitempty"`
}
func (x *GetMetadataResponse) Reset() {
*x = GetMetadataResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[9]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *GetMetadataResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*GetMetadataResponse) ProtoMessage() {}
func (x *GetMetadataResponse) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 GetMetadataResponse.ProtoReflect.Descriptor instead.
func (*GetMetadataResponse) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{9}
}
func (x *GetMetadataResponse) GetSupplier() string {
if x != nil {
return x.Supplier
}
return ""
}
func (x *GetMetadataResponse) GetSystem() string {
if x != nil {
return x.System
}
return ""
}
func (x *GetMetadataResponse) GetServices() []*ServiceDefinition {
if x != nil {
return x.Services
}
return nil
}
func (x *GetMetadataResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *GetMetadataResponse) GetError() *Error {
if x != nil {
return x.Error
}
return nil
}
type AuthConfig struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Method AuthMethod `protobuf:"varint,1,opt,name=method,proto3,enum=AuthMethod" json:"method,omitempty"`
// Types that are assignable to Config:
// *AuthConfig_MtlsConfig
// *AuthConfig_ApiTokenConfig
// *AuthConfig_JwtConfig
Config isAuthConfig_Config `protobuf_oneof:"config"`
}
func (x *AuthConfig) Reset() {
*x = AuthConfig{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[10]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *AuthConfig) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*AuthConfig) ProtoMessage() {}
func (x *AuthConfig) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 AuthConfig.ProtoReflect.Descriptor instead.
func (*AuthConfig) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{10}
}
func (x *AuthConfig) GetMethod() AuthMethod {
if x != nil {
return x.Method
}
return AuthMethod_mTLS
}
func (m *AuthConfig) GetConfig() isAuthConfig_Config {
if m != nil {
return m.Config
}
return nil
}
func (x *AuthConfig) GetMtlsConfig() *MTLSConfig {
if x, ok := x.GetConfig().(*AuthConfig_MtlsConfig); ok {
return x.MtlsConfig
}
return nil
}
func (x *AuthConfig) GetApiTokenConfig() *APITokenConfig {
if x, ok := x.GetConfig().(*AuthConfig_ApiTokenConfig); ok {
return x.ApiTokenConfig
}
return nil
}
func (x *AuthConfig) GetJwtConfig() *JWTConfig {
if x, ok := x.GetConfig().(*AuthConfig_JwtConfig); ok {
return x.JwtConfig
}
return nil
}
type isAuthConfig_Config interface {
isAuthConfig_Config()
}
type AuthConfig_MtlsConfig struct {
MtlsConfig *MTLSConfig `protobuf:"bytes,2,opt,name=mtlsConfig,proto3,oneof"`
}
type AuthConfig_ApiTokenConfig struct {
ApiTokenConfig *APITokenConfig `protobuf:"bytes,3,opt,name=apiTokenConfig,proto3,oneof"`
}
type AuthConfig_JwtConfig struct {
JwtConfig *JWTConfig `protobuf:"bytes,4,opt,name=jwtConfig,proto3,oneof"`
}
func (*AuthConfig_MtlsConfig) isAuthConfig_Config() {}
func (*AuthConfig_ApiTokenConfig) isAuthConfig_Config() {}
func (*AuthConfig_JwtConfig) isAuthConfig_Config() {}
type RegisterRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
OrganisationId string `protobuf:"bytes,1,opt,name=organisationId,proto3" json:"organisationId,omitempty"`
OrganisationIdSystem string `protobuf:"bytes,2,opt,name=organisationIdSystem,proto3" json:"organisationIdSystem,omitempty"` // Type bijv AGB of BIG registratie
OrganisationDisplayName string `protobuf:"bytes,3,opt,name=organisationDisplayName,proto3" json:"organisationDisplayName,omitempty"`
OrganisationFormalName string `protobuf:"bytes,4,opt,name=organisationFormalName,proto3" json:"organisationFormalName,omitempty"`
Auth *AuthConfig `protobuf:"bytes,5,opt,name=auth,proto3" json:"auth,omitempty"`
}
func (x *RegisterRequest) Reset() {
*x = RegisterRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[11]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RegisterRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterRequest) ProtoMessage() {}
func (x *RegisterRequest) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 RegisterRequest.ProtoReflect.Descriptor instead.
func (*RegisterRequest) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{11}
}
func (x *RegisterRequest) GetOrganisationId() string {
if x != nil {
return x.OrganisationId
}
return ""
}
func (x *RegisterRequest) GetOrganisationIdSystem() string {
if x != nil {
return x.OrganisationIdSystem
}
return ""
}
func (x *RegisterRequest) GetOrganisationDisplayName() string {
if x != nil {
return x.OrganisationDisplayName
}
return ""
}
func (x *RegisterRequest) GetOrganisationFormalName() string {
if x != nil {
return x.OrganisationFormalName
}
return ""
}
func (x *RegisterRequest) GetAuth() *AuthConfig {
if x != nil {
return x.Auth
}
return nil
}
type RegisterResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
Success bool `protobuf:"varint,2,opt,name=success,proto3" json:"success,omitempty"`
Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
}
func (x *RegisterResponse) Reset() {
*x = RegisterResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[12]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *RegisterResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*RegisterResponse) ProtoMessage() {}
func (x *RegisterResponse) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 RegisterResponse.ProtoReflect.Descriptor instead.
func (*RegisterResponse) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{12}
}
func (x *RegisterResponse) GetReference() string {
if x != nil {
return x.Reference
}
return ""
}
func (x *RegisterResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *RegisterResponse) GetError() *Error {
if x != nil {
return x.Error
}
return nil
}
type CompleteRegistrationRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Reference string `protobuf:"bytes,1,opt,name=reference,proto3" json:"reference,omitempty"`
RegistrationToken string `protobuf:"bytes,2,opt,name=registrationToken,proto3" json:"registrationToken,omitempty"`
}
func (x *CompleteRegistrationRequest) Reset() {
*x = CompleteRegistrationRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[13]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CompleteRegistrationRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompleteRegistrationRequest) ProtoMessage() {}
func (x *CompleteRegistrationRequest) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 CompleteRegistrationRequest.ProtoReflect.Descriptor instead.
func (*CompleteRegistrationRequest) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{13}
}
func (x *CompleteRegistrationRequest) GetReference() string {
if x != nil {
return x.Reference
}
return ""
}
func (x *CompleteRegistrationRequest) GetRegistrationToken() string {
if x != nil {
return x.RegistrationToken
}
return ""
}
type CompleteRegistrationResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
}
func (x *CompleteRegistrationResponse) Reset() {
*x = CompleteRegistrationResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[14]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *CompleteRegistrationResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*CompleteRegistrationResponse) ProtoMessage() {}
func (x *CompleteRegistrationResponse) ProtoReflect() protoreflect.Message {
mi := &file_apispec_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 CompleteRegistrationResponse.ProtoReflect.Descriptor instead.
func (*CompleteRegistrationResponse) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{14}
}
func (x *CompleteRegistrationResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *CompleteRegistrationResponse) GetError() *Error {
if x != nil {
return x.Error
}
return nil
}
type ConfigServiceRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
Fetch *ServiceConfig `protobuf:"bytes,3,opt,name=fetch,proto3" json:"fetch,omitempty"`
Push *ServiceConfig `protobuf:"bytes,4,opt,name=push,proto3" json:"push,omitempty"`
}
func (x *ConfigServiceRequest) Reset() {
*x = ConfigServiceRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[15]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ConfigServiceRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfigServiceRequest) ProtoMessage() {}
func (x *ConfigServiceRequest) ProtoReflect() protoreflect.Message {
mi := &file_apispec_proto_msgTypes[15]
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 ConfigServiceRequest.ProtoReflect.Descriptor instead.
func (*ConfigServiceRequest) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{15}
}
func (x *ConfigServiceRequest) GetService() string {
if x != nil {
return x.Service
}
return ""
}
func (x *ConfigServiceRequest) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *ConfigServiceRequest) GetFetch() *ServiceConfig {
if x != nil {
return x.Fetch
}
return nil
}
func (x *ConfigServiceRequest) GetPush() *ServiceConfig {
if x != nil {
return x.Push
}
return nil
}
type ConfigServiceResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Service string `protobuf:"bytes,1,opt,name=service,proto3" json:"service,omitempty"`
Enabled bool `protobuf:"varint,2,opt,name=enabled,proto3" json:"enabled,omitempty"`
Fetch *ServiceConfig `protobuf:"bytes,3,opt,name=fetch,proto3" json:"fetch,omitempty"`
Push *ServiceConfig `protobuf:"bytes,4,opt,name=push,proto3" json:"push,omitempty"`
Success bool `protobuf:"varint,5,opt,name=success,proto3" json:"success,omitempty"`
Error *Error `protobuf:"bytes,6,opt,name=error,proto3" json:"error,omitempty"`
}
func (x *ConfigServiceResponse) Reset() {
*x = ConfigServiceResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[16]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ConfigServiceResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ConfigServiceResponse) ProtoMessage() {}
func (x *ConfigServiceResponse) ProtoReflect() protoreflect.Message {
mi := &file_apispec_proto_msgTypes[16]
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 ConfigServiceResponse.ProtoReflect.Descriptor instead.
func (*ConfigServiceResponse) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{16}
}
func (x *ConfigServiceResponse) GetService() string {
if x != nil {
return x.Service
}
return ""
}
func (x *ConfigServiceResponse) GetEnabled() bool {
if x != nil {
return x.Enabled
}
return false
}
func (x *ConfigServiceResponse) GetFetch() *ServiceConfig {
if x != nil {
return x.Fetch
}
return nil
}
func (x *ConfigServiceResponse) GetPush() *ServiceConfig {
if x != nil {
return x.Push
}
return nil
}
func (x *ConfigServiceResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *ConfigServiceResponse) GetError() *Error {
if x != nil {
return x.Error
}
return nil
}
type PatientMeta struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ExternalId string `protobuf:"bytes,1,opt,name=externalId,proto3" json:"externalId,omitempty"`
ExternalIdSystem string `protobuf:"bytes,2,opt,name=externalIdSystem,proto3" json:"externalIdSystem,omitempty"`
Name string `protobuf:"bytes,3,opt,name=name,proto3" json:"name,omitempty"`
Birthdate string `protobuf:"bytes,4,opt,name=birthdate,proto3" json:"birthdate,omitempty"`
Custom map[string]string `protobuf:"bytes,5,rep,name=custom,proto3" json:"custom,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *PatientMeta) Reset() {
*x = PatientMeta{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[17]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *PatientMeta) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*PatientMeta) ProtoMessage() {}
func (x *PatientMeta) ProtoReflect() protoreflect.Message {
mi := &file_apispec_proto_msgTypes[17]
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 PatientMeta.ProtoReflect.Descriptor instead.
func (*PatientMeta) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{17}
}
func (x *PatientMeta) GetExternalId() string {
if x != nil {
return x.ExternalId
}
return ""
}
func (x *PatientMeta) GetExternalIdSystem() string {
if x != nil {
return x.ExternalIdSystem
}
return ""
}
func (x *PatientMeta) GetName() string {
if x != nil {
return x.Name
}
return ""
}
func (x *PatientMeta) GetBirthdate() string {
if x != nil {
return x.Birthdate
}
return ""
}
func (x *PatientMeta) GetCustom() map[string]string {
if x != nil {
return x.Custom
}
return nil
}
type SubscriptionData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Subject *PatientMeta `protobuf:"bytes,1,opt,name=subject,proto3" json:"subject,omitempty"`
Subscribe bool `protobuf:"varint,2,opt,name=subscribe,proto3" json:"subscribe,omitempty"`
ProtocolMeta map[string]string `protobuf:"bytes,3,rep,name=protocolMeta,proto3" json:"protocolMeta,omitempty" protobuf_key:"bytes,1,opt,name=key,proto3" protobuf_val:"bytes,2,opt,name=value,proto3"`
}
func (x *SubscriptionData) Reset() {
*x = SubscriptionData{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[18]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SubscriptionData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SubscriptionData) ProtoMessage() {}
func (x *SubscriptionData) ProtoReflect() protoreflect.Message {
mi := &file_apispec_proto_msgTypes[18]
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 SubscriptionData.ProtoReflect.Descriptor instead.
func (*SubscriptionData) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{18}
}
func (x *SubscriptionData) GetSubject() *PatientMeta {
if x != nil {
return x.Subject
}
return nil
}
func (x *SubscriptionData) GetSubscribe() bool {
if x != nil {
return x.Subscribe
}
return false
}
func (x *SubscriptionData) GetProtocolMeta() map[string]string {
if x != nil {
return x.ProtocolMeta
}
return nil
}
type UpdateSubscriptionsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
SubscriptionData []*SubscriptionData `protobuf:"bytes,2,rep,name=subscriptionData,proto3" json:"subscriptionData,omitempty"`
AtomicUpdate bool `protobuf:"varint,3,opt,name=atomicUpdate,proto3" json:"atomicUpdate,omitempty"`
}
func (x *UpdateSubscriptionsRequest) Reset() {
*x = UpdateSubscriptionsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[19]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateSubscriptionsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateSubscriptionsRequest) ProtoMessage() {}
func (x *UpdateSubscriptionsRequest) ProtoReflect() protoreflect.Message {
mi := &file_apispec_proto_msgTypes[19]
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 UpdateSubscriptionsRequest.ProtoReflect.Descriptor instead.
func (*UpdateSubscriptionsRequest) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{19}
}
func (x *UpdateSubscriptionsRequest) GetServiceId() string {
if x != nil {
return x.ServiceId
}
return ""
}
func (x *UpdateSubscriptionsRequest) GetSubscriptionData() []*SubscriptionData {
if x != nil {
return x.SubscriptionData
}
return nil
}
func (x *UpdateSubscriptionsRequest) GetAtomicUpdate() bool {
if x != nil {
return x.AtomicUpdate
}
return false
}
type SubscriptionError struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Index int32 `protobuf:"varint,1,opt,name=index,proto3" json:"index,omitempty"`
Error *Error `protobuf:"bytes,2,opt,name=error,proto3" json:"error,omitempty"`
}
func (x *SubscriptionError) Reset() {
*x = SubscriptionError{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[20]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *SubscriptionError) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*SubscriptionError) ProtoMessage() {}
func (x *SubscriptionError) ProtoReflect() protoreflect.Message {
mi := &file_apispec_proto_msgTypes[20]
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 SubscriptionError.ProtoReflect.Descriptor instead.
func (*SubscriptionError) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{20}
}
func (x *SubscriptionError) GetIndex() int32 {
if x != nil {
return x.Index
}
return 0
}
func (x *SubscriptionError) GetError() *Error {
if x != nil {
return x.Error
}
return nil
}
type UpdateSubscriptionsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
Errors []*SubscriptionError `protobuf:"bytes,2,rep,name=errors,proto3" json:"errors,omitempty"`
}
func (x *UpdateSubscriptionsResponse) Reset() {
*x = UpdateSubscriptionsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[21]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *UpdateSubscriptionsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*UpdateSubscriptionsResponse) ProtoMessage() {}
func (x *UpdateSubscriptionsResponse) ProtoReflect() protoreflect.Message {
mi := &file_apispec_proto_msgTypes[21]
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 UpdateSubscriptionsResponse.ProtoReflect.Descriptor instead.
func (*UpdateSubscriptionsResponse) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{21}
}
func (x *UpdateSubscriptionsResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *UpdateSubscriptionsResponse) GetErrors() []*SubscriptionError {
if x != nil {
return x.Errors
}
return nil
}
type ListSubscriptionsRequest struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
ServiceId string `protobuf:"bytes,1,opt,name=serviceId,proto3" json:"serviceId,omitempty"`
}
func (x *ListSubscriptionsRequest) Reset() {
*x = ListSubscriptionsRequest{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[22]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListSubscriptionsRequest) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSubscriptionsRequest) ProtoMessage() {}
func (x *ListSubscriptionsRequest) ProtoReflect() protoreflect.Message {
mi := &file_apispec_proto_msgTypes[22]
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 ListSubscriptionsRequest.ProtoReflect.Descriptor instead.
func (*ListSubscriptionsRequest) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{22}
}
func (x *ListSubscriptionsRequest) GetServiceId() string {
if x != nil {
return x.ServiceId
}
return ""
}
type ListSubscriptionsResponse struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
Success bool `protobuf:"varint,1,opt,name=success,proto3" json:"success,omitempty"`
SubscriptionData []*SubscriptionData `protobuf:"bytes,2,rep,name=subscriptionData,proto3" json:"subscriptionData,omitempty"`
Error *Error `protobuf:"bytes,3,opt,name=error,proto3" json:"error,omitempty"`
}
func (x *ListSubscriptionsResponse) Reset() {
*x = ListSubscriptionsResponse{}
if protoimpl.UnsafeEnabled {
mi := &file_apispec_proto_msgTypes[23]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *ListSubscriptionsResponse) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*ListSubscriptionsResponse) ProtoMessage() {}
func (x *ListSubscriptionsResponse) ProtoReflect() protoreflect.Message {
mi := &file_apispec_proto_msgTypes[23]
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 ListSubscriptionsResponse.ProtoReflect.Descriptor instead.
func (*ListSubscriptionsResponse) Descriptor() ([]byte, []int) {
return file_apispec_proto_rawDescGZIP(), []int{23}
}
func (x *ListSubscriptionsResponse) GetSuccess() bool {
if x != nil {
return x.Success
}
return false
}
func (x *ListSubscriptionsResponse) GetSubscriptionData() []*SubscriptionData {
if x != nil {
return x.SubscriptionData
}
return nil
}
func (x *ListSubscriptionsResponse) GetError() *Error {
if x != nil {
return x.Error
}
return nil
}
var File_apispec_proto protoreflect.FileDescriptor
var file_apispec_proto_rawDesc = []byte{
0x0a, 0x0d, 0x61, 0x70, 0x69, 0x73, 0x70, 0x65, 0x63, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
0x2a, 0x0a, 0x0a, 0x4d, 0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1c, 0x0a,
0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x26, 0x0a, 0x0e, 0x41,
0x50, 0x49, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x14, 0x0a,
0x05, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x74, 0x6f,
0x6b, 0x65, 0x6e, 0x22, 0x29, 0x0a, 0x09, 0x4a, 0x57, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
0x12, 0x1c, 0x0a, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x09, 0x70, 0x75, 0x62, 0x6c, 0x69, 0x63, 0x4b, 0x65, 0x79, 0x22, 0x94,
0x01, 0x0a, 0x0c, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x31, 0x0a, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d,
0x73, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x19, 0x2e, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d,
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x50, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74,
0x72, 0x79, 0x52, 0x06, 0x70, 0x61, 0x72, 0x61, 0x6d, 0x73, 0x1a, 0x39, 0x0a, 0x0b, 0x50, 0x61,
0x72, 0x61, 0x6d, 0x73, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76,
0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75,
0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x35, 0x0a, 0x05, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x12, 0x12,
0x0a, 0x04, 0x63, 0x6f, 0x64, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x52, 0x04, 0x63, 0x6f,
0x64, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x18, 0x02, 0x20,
0x01, 0x28, 0x09, 0x52, 0x07, 0x6d, 0x65, 0x73, 0x73, 0x61, 0x67, 0x65, 0x22, 0x5f, 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, 0x2d,
0x0a, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x18, 0x02, 0x20,
0x03, 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
0x52, 0x0b, 0x61, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x73, 0x22, 0xcc, 0x02,
0x0a, 0x11, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74,
0x69, 0x6f, 0x6e, 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, 0x22, 0xbb, 0x01, 0x0a,
0x0d, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 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, 0x32, 0x0a, 0x06, 0x63, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x1a, 0x2e, 0x53, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x1f,
0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41,
0x75, 0x74, 0x68, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x1a,
0x39, 0x0a, 0x0b, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0x14, 0x0a, 0x12, 0x47, 0x65,
0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
0x22, 0xb1, 0x01, 0x0a, 0x13, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61,
0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x1a, 0x0a, 0x08, 0x73, 0x75, 0x70, 0x70,
0x6c, 0x69, 0x65, 0x72, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x08, 0x73, 0x75, 0x70, 0x70,
0x6c, 0x69, 0x65, 0x72, 0x12, 0x16, 0x0a, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x2e, 0x0a, 0x08,
0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x12,
0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x44, 0x65, 0x66, 0x69, 0x6e, 0x69, 0x74, 0x69,
0x6f, 0x6e, 0x52, 0x08, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x12, 0x18, 0x0a, 0x07,
0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x04, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73,
0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18,
0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65,
0x72, 0x72, 0x6f, 0x72, 0x22, 0xd1, 0x01, 0x0a, 0x0a, 0x41, 0x75, 0x74, 0x68, 0x43, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x12, 0x23, 0x0a, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x0e, 0x32, 0x0b, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64,
0x52, 0x06, 0x6d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x2d, 0x0a, 0x0a, 0x6d, 0x74, 0x6c, 0x73,
0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x4d,
0x54, 0x4c, 0x53, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x48, 0x00, 0x52, 0x0a, 0x6d, 0x74, 0x6c,
0x73, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x12, 0x39, 0x0a, 0x0e, 0x61, 0x70, 0x69, 0x54, 0x6f,
0x6b, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x0f, 0x2e, 0x41, 0x50, 0x49, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67,
0x48, 0x00, 0x52, 0x0e, 0x61, 0x70, 0x69, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x43, 0x6f, 0x6e, 0x66,
0x69, 0x67, 0x12, 0x2a, 0x0a, 0x09, 0x6a, 0x77, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x18,
0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0a, 0x2e, 0x4a, 0x57, 0x54, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x48, 0x00, 0x52, 0x09, 0x6a, 0x77, 0x74, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x42, 0x08,
0x0a, 0x06, 0x63, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x22, 0x80, 0x02, 0x0a, 0x0f, 0x52, 0x65, 0x67,
0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x12, 0x26, 0x0a, 0x0e,
0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x18, 0x01,
0x20, 0x01, 0x28, 0x09, 0x52, 0x0e, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x49, 0x64, 0x12, 0x32, 0x0a, 0x14, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x49, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01,
0x28, 0x09, 0x52, 0x14, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x49, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x38, 0x0a, 0x17, 0x6f, 0x72, 0x67, 0x61,
0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e,
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x17, 0x6f, 0x72, 0x67, 0x61, 0x6e,
0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x69, 0x73, 0x70, 0x6c, 0x61, 0x79, 0x4e, 0x61,
0x6d, 0x65, 0x12, 0x36, 0x0a, 0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x18, 0x04, 0x20, 0x01,
0x28, 0x09, 0x52, 0x16, 0x6f, 0x72, 0x67, 0x61, 0x6e, 0x69, 0x73, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x46, 0x6f, 0x72, 0x6d, 0x61, 0x6c, 0x4e, 0x61, 0x6d, 0x65, 0x12, 0x1f, 0x0a, 0x04, 0x61, 0x75,
0x74, 0x68, 0x18, 0x05, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0b, 0x2e, 0x41, 0x75, 0x74, 0x68, 0x43,
0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0x68, 0x0a, 0x10, 0x52,
0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12,
0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x18, 0x0a,
0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07,
0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72,
0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05,
0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x69, 0x0a, 0x1b, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74,
0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x09, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e,
0x63, 0x65, 0x12, 0x2c, 0x0a, 0x11, 0x72, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69,
0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x11, 0x72,
0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
0x22, 0x56, 0x0a, 0x1c, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69,
0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28,
0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x1c, 0x0a, 0x05, 0x65, 0x72,
0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x45, 0x72, 0x72, 0x6f,
0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x94, 0x01, 0x0a, 0x14, 0x43, 0x6f, 0x6e,
0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73,
0x74, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01,
0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65,
0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e,
0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x24, 0x0a, 0x05, 0x66, 0x65, 0x74, 0x63, 0x68, 0x18, 0x03,
0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f,
0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x66, 0x65, 0x74, 0x63, 0x68, 0x12, 0x22, 0x0a, 0x04, 0x70,
0x75, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x53, 0x65, 0x72, 0x76,
0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x04, 0x70, 0x75, 0x73, 0x68, 0x22,
0xcd, 0x01, 0x0a, 0x15, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x65, 0x72,
0x76, 0x69, 0x63, 0x65, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x07, 0x73, 0x65, 0x72, 0x76,
0x69, 0x63, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x02,
0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x24, 0x0a,
0x05, 0x66, 0x65, 0x74, 0x63, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x53,
0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x52, 0x05, 0x66, 0x65,
0x74, 0x63, 0x68, 0x12, 0x22, 0x0a, 0x04, 0x70, 0x75, 0x73, 0x68, 0x18, 0x04, 0x20, 0x01, 0x28,
0x0b, 0x32, 0x0e, 0x2e, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x52, 0x04, 0x70, 0x75, 0x73, 0x68, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73,
0x73, 0x12, 0x1c, 0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x06, 0x2e, 0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22,
0xf8, 0x01, 0x0a, 0x0b, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x12,
0x1e, 0x0a, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x18, 0x01, 0x20,
0x01, 0x28, 0x09, 0x52, 0x0a, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x12,
0x2a, 0x0a, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x49, 0x64, 0x53, 0x79, 0x73,
0x74, 0x65, 0x6d, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x10, 0x65, 0x78, 0x74, 0x65, 0x72,
0x6e, 0x61, 0x6c, 0x49, 0x64, 0x53, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x12, 0x12, 0x0a, 0x04, 0x6e,
0x61, 0x6d, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x52, 0x04, 0x6e, 0x61, 0x6d, 0x65, 0x12,
0x1c, 0x0a, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74, 0x65, 0x18, 0x04, 0x20, 0x01,
0x28, 0x09, 0x52, 0x09, 0x62, 0x69, 0x72, 0x74, 0x68, 0x64, 0x61, 0x74, 0x65, 0x12, 0x30, 0x0a,
0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x18, 0x05, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x18, 0x2e,
0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x2e, 0x43, 0x75, 0x73, 0x74,
0x6f, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x52, 0x06, 0x63, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x1a,
0x39, 0x0a, 0x0b, 0x43, 0x75, 0x73, 0x74, 0x6f, 0x6d, 0x45, 0x6e, 0x74, 0x72, 0x79, 0x12, 0x10,
0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x03, 0x6b, 0x65, 0x79,
0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52,
0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22, 0xe2, 0x01, 0x0a, 0x10, 0x53,
0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12,
0x26, 0x0a, 0x07, 0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x18, 0x01, 0x20, 0x01, 0x28, 0x0b,
0x32, 0x0c, 0x2e, 0x50, 0x61, 0x74, 0x69, 0x65, 0x6e, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x52, 0x07,
0x73, 0x75, 0x62, 0x6a, 0x65, 0x63, 0x74, 0x12, 0x1c, 0x0a, 0x09, 0x73, 0x75, 0x62, 0x73, 0x63,
0x72, 0x69, 0x62, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x73, 0x75, 0x62, 0x73,
0x63, 0x72, 0x69, 0x62, 0x65, 0x12, 0x47, 0x0a, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f,
0x6c, 0x4d, 0x65, 0x74, 0x61, 0x18, 0x03, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x23, 0x2e, 0x53, 0x75,
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x50,
0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e, 0x74, 0x72, 0x79,
0x52, 0x0c, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x1a, 0x3f,
0x0a, 0x11, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x63, 0x6f, 0x6c, 0x4d, 0x65, 0x74, 0x61, 0x45, 0x6e,
0x74, 0x72, 0x79, 0x12, 0x10, 0x0a, 0x03, 0x6b, 0x65, 0x79, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
0x52, 0x03, 0x6b, 0x65, 0x79, 0x12, 0x14, 0x0a, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x18, 0x02,
0x20, 0x01, 0x28, 0x09, 0x52, 0x05, 0x76, 0x61, 0x6c, 0x75, 0x65, 0x3a, 0x02, 0x38, 0x01, 0x22,
0x9d, 0x01, 0x0a, 0x1a, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72,
0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 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, 0x3d, 0x0a, 0x10,
0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61,
0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69,
0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x10, 0x73, 0x75, 0x62, 0x73, 0x63,
0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x22, 0x0a, 0x0c, 0x61,
0x74, 0x6f, 0x6d, 0x69, 0x63, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x18, 0x03, 0x20, 0x01, 0x28,
0x08, 0x52, 0x0c, 0x61, 0x74, 0x6f, 0x6d, 0x69, 0x63, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x22,
0x47, 0x0a, 0x11, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x45,
0x72, 0x72, 0x6f, 0x72, 0x12, 0x14, 0x0a, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x18, 0x01, 0x20,
0x01, 0x28, 0x05, 0x52, 0x05, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x12, 0x1c, 0x0a, 0x05, 0x65, 0x72,
0x72, 0x6f, 0x72, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e, 0x45, 0x72, 0x72, 0x6f,
0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x22, 0x63, 0x0a, 0x1b, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65,
0x73, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73,
0x73, 0x12, 0x2a, 0x0a, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x18, 0x02, 0x20, 0x03, 0x28,
0x0b, 0x32, 0x12, 0x2e, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e,
0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x06, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x73, 0x22, 0x38, 0x0a,
0x18, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f,
0x6e, 0x73, 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, 0x92, 0x01, 0x0a, 0x19, 0x4c, 0x69, 0x73, 0x74,
0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73,
0x70, 0x6f, 0x6e, 0x73, 0x65, 0x12, 0x18, 0x0a, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73,
0x18, 0x01, 0x20, 0x01, 0x28, 0x08, 0x52, 0x07, 0x73, 0x75, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12,
0x3d, 0x0a, 0x10, 0x73, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44,
0x61, 0x74, 0x61, 0x18, 0x02, 0x20, 0x03, 0x28, 0x0b, 0x32, 0x11, 0x2e, 0x53, 0x75, 0x62, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x52, 0x10, 0x73, 0x75,
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x1c,
0x0a, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x06, 0x2e,
0x45, 0x72, 0x72, 0x6f, 0x72, 0x52, 0x05, 0x65, 0x72, 0x72, 0x6f, 0x72, 0x2a, 0x39, 0x0a, 0x0a,
0x41, 0x75, 0x74, 0x68, 0x4d, 0x65, 0x74, 0x68, 0x6f, 0x64, 0x12, 0x08, 0x0a, 0x04, 0x6d, 0x54,
0x4c, 0x53, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x41, 0x50, 0x49, 0x54, 0x6f, 0x6b, 0x65, 0x6e,
0x10, 0x01, 0x12, 0x07, 0x0a, 0x03, 0x4a, 0x57, 0x54, 0x10, 0x02, 0x12, 0x0a, 0x0a, 0x06, 0x43,
0x75, 0x73, 0x74, 0x6f, 0x6d, 0x10, 0x03, 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, 0x32,
0xb2, 0x03, 0x0a, 0x06, 0x4f, 0x70, 0x65, 0x6e, 0x4b, 0x56, 0x12, 0x3a, 0x0a, 0x0b, 0x47, 0x65,
0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x12, 0x13, 0x2e, 0x47, 0x65, 0x74, 0x4d,
0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x14,
0x2e, 0x47, 0x65, 0x74, 0x4d, 0x65, 0x74, 0x61, 0x64, 0x61, 0x74, 0x61, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x31, 0x0a, 0x08, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x65, 0x72, 0x12, 0x10, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x1a, 0x11, 0x2e, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x65, 0x72, 0x52,
0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x55, 0x0a, 0x14, 0x43, 0x6f, 0x6d,
0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f,
0x6e, 0x12, 0x1c, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69,
0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a,
0x1d, 0x2e, 0x43, 0x6f, 0x6d, 0x70, 0x6c, 0x65, 0x74, 0x65, 0x52, 0x65, 0x67, 0x69, 0x73, 0x74,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00,
0x12, 0x40, 0x0a, 0x0d, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x12, 0x15, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69, 0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63,
0x65, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x16, 0x2e, 0x43, 0x6f, 0x6e, 0x66, 0x69,
0x67, 0x53, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65,
0x22, 0x00, 0x12, 0x52, 0x0a, 0x13, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53, 0x75, 0x62, 0x73,
0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x1b, 0x2e, 0x55, 0x70, 0x64, 0x61,
0x74, 0x65, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1c, 0x2e, 0x55, 0x70, 0x64, 0x61, 0x74, 0x65, 0x53,
0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70,
0x6f, 0x6e, 0x73, 0x65, 0x22, 0x00, 0x12, 0x4c, 0x0a, 0x11, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75,
0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x12, 0x19, 0x2e, 0x4c, 0x69,
0x73, 0x74, 0x53, 0x75, 0x62, 0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52,
0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x1a, 0x1a, 0x2e, 0x4c, 0x69, 0x73, 0x74, 0x53, 0x75, 0x62,
0x73, 0x63, 0x72, 0x69, 0x70, 0x74, 0x69, 0x6f, 0x6e, 0x73, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e,
0x73, 0x65, 0x22, 0x00, 0x42, 0x1b, 0x5a, 0x19, 0x77, 0x68, 0x69, 0x74, 0x65, 0x62, 0x6f, 0x78,
0x73, 0x79, 0x73, 0x74, 0x65, 0x6d, 0x73, 0x2e, 0x6e, 0x6c, 0x2f, 0x6f, 0x70, 0x65, 0x6e, 0x6b,
0x76, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}
var (
file_apispec_proto_rawDescOnce sync.Once
file_apispec_proto_rawDescData = file_apispec_proto_rawDesc
)
func file_apispec_proto_rawDescGZIP() []byte {
file_apispec_proto_rawDescOnce.Do(func() {
file_apispec_proto_rawDescData = protoimpl.X.CompressGZIP(file_apispec_proto_rawDescData)
})
return file_apispec_proto_rawDescData
}
var file_apispec_proto_enumTypes = make([]protoimpl.EnumInfo, 3)
var file_apispec_proto_msgTypes = make([]protoimpl.MessageInfo, 28)
var file_apispec_proto_goTypes = []interface{}{
(AuthMethod)(0), // 0: AuthMethod
(SubscriptionPolicy)(0), // 1: SubscriptionPolicy
(ConsentPolicy)(0), // 2: ConsentPolicy
(*MTLSConfig)(nil), // 3: MTLSConfig
(*APITokenConfig)(nil), // 4: APITokenConfig
(*JWTConfig)(nil), // 5: JWTConfig
(*CustomConfig)(nil), // 6: CustomConfig
(*Error)(nil), // 7: Error
(*ProtocolDefinition)(nil), // 8: ProtocolDefinition
(*ServiceDefinition)(nil), // 9: ServiceDefinition
(*ServiceConfig)(nil), // 10: ServiceConfig
(*GetMetadataRequest)(nil), // 11: GetMetadataRequest
(*GetMetadataResponse)(nil), // 12: GetMetadataResponse
(*AuthConfig)(nil), // 13: AuthConfig
(*RegisterRequest)(nil), // 14: RegisterRequest
(*RegisterResponse)(nil), // 15: RegisterResponse
(*CompleteRegistrationRequest)(nil), // 16: CompleteRegistrationRequest
(*CompleteRegistrationResponse)(nil), // 17: CompleteRegistrationResponse
(*ConfigServiceRequest)(nil), // 18: ConfigServiceRequest
(*ConfigServiceResponse)(nil), // 19: ConfigServiceResponse
(*PatientMeta)(nil), // 20: PatientMeta
(*SubscriptionData)(nil), // 21: SubscriptionData
(*UpdateSubscriptionsRequest)(nil), // 22: UpdateSubscriptionsRequest
(*SubscriptionError)(nil), // 23: SubscriptionError
(*UpdateSubscriptionsResponse)(nil), // 24: UpdateSubscriptionsResponse
(*ListSubscriptionsRequest)(nil), // 25: ListSubscriptionsRequest
(*ListSubscriptionsResponse)(nil), // 26: ListSubscriptionsResponse
nil, // 27: CustomConfig.ParamsEntry
nil, // 28: ServiceConfig.ConfigEntry
nil, // 29: PatientMeta.CustomEntry
nil, // 30: SubscriptionData.ProtocolMetaEntry
}
var file_apispec_proto_depIdxs = []int32{
27, // 0: CustomConfig.params:type_name -> CustomConfig.ParamsEntry
0, // 1: ProtocolDefinition.authMethods:type_name -> AuthMethod
1, // 2: ServiceDefinition.subscriptionPolicy:type_name -> SubscriptionPolicy
2, // 3: ServiceDefinition.consentPolicy:type_name -> ConsentPolicy
8, // 4: ServiceDefinition.fetchProtocols:type_name -> ProtocolDefinition
8, // 5: ServiceDefinition.pushProtocols:type_name -> ProtocolDefinition
28, // 6: ServiceConfig.config:type_name -> ServiceConfig.ConfigEntry
13, // 7: ServiceConfig.auth:type_name -> AuthConfig
9, // 8: GetMetadataResponse.services:type_name -> ServiceDefinition
7, // 9: GetMetadataResponse.error:type_name -> Error
0, // 10: AuthConfig.method:type_name -> AuthMethod
3, // 11: AuthConfig.mtlsConfig:type_name -> MTLSConfig
4, // 12: AuthConfig.apiTokenConfig:type_name -> APITokenConfig
5, // 13: AuthConfig.jwtConfig:type_name -> JWTConfig
13, // 14: RegisterRequest.auth:type_name -> AuthConfig
7, // 15: RegisterResponse.error:type_name -> Error
7, // 16: CompleteRegistrationResponse.error:type_name -> Error
10, // 17: ConfigServiceRequest.fetch:type_name -> ServiceConfig
10, // 18: ConfigServiceRequest.push:type_name -> ServiceConfig
10, // 19: ConfigServiceResponse.fetch:type_name -> ServiceConfig
10, // 20: ConfigServiceResponse.push:type_name -> ServiceConfig
7, // 21: ConfigServiceResponse.error:type_name -> Error
29, // 22: PatientMeta.custom:type_name -> PatientMeta.CustomEntry
20, // 23: SubscriptionData.subject:type_name -> PatientMeta
30, // 24: SubscriptionData.protocolMeta:type_name -> SubscriptionData.ProtocolMetaEntry
21, // 25: UpdateSubscriptionsRequest.subscriptionData:type_name -> SubscriptionData
7, // 26: SubscriptionError.error:type_name -> Error
23, // 27: UpdateSubscriptionsResponse.errors:type_name -> SubscriptionError
21, // 28: ListSubscriptionsResponse.subscriptionData:type_name -> SubscriptionData
7, // 29: ListSubscriptionsResponse.error:type_name -> Error
11, // 30: OpenKV.GetMetadata:input_type -> GetMetadataRequest
14, // 31: OpenKV.Register:input_type -> RegisterRequest
16, // 32: OpenKV.CompleteRegistration:input_type -> CompleteRegistrationRequest
18, // 33: OpenKV.ConfigService:input_type -> ConfigServiceRequest
22, // 34: OpenKV.UpdateSubscriptions:input_type -> UpdateSubscriptionsRequest
25, // 35: OpenKV.ListSubscriptions:input_type -> ListSubscriptionsRequest
12, // 36: OpenKV.GetMetadata:output_type -> GetMetadataResponse
15, // 37: OpenKV.Register:output_type -> RegisterResponse
17, // 38: OpenKV.CompleteRegistration:output_type -> CompleteRegistrationResponse
19, // 39: OpenKV.ConfigService:output_type -> ConfigServiceResponse
24, // 40: OpenKV.UpdateSubscriptions:output_type -> UpdateSubscriptionsResponse
26, // 41: OpenKV.ListSubscriptions:output_type -> ListSubscriptionsResponse
36, // [36:42] is the sub-list for method output_type
30, // [30:36] is the sub-list for method input_type
30, // [30:30] is the sub-list for extension type_name
30, // [30:30] is the sub-list for extension extendee
0, // [0:30] is the sub-list for field type_name
}
func init() { file_apispec_proto_init() }
func file_apispec_proto_init() {
if File_apispec_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_apispec_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MTLSConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*APITokenConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*JWTConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[3].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CustomConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[4].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*Error); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[5].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_apispec_proto_msgTypes[6].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ServiceDefinition); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[7].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ServiceConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[8].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetMetadataRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[9].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*GetMetadataResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[10].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*AuthConfig); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[11].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RegisterRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[12].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*RegisterResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[13].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CompleteRegistrationRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[14].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*CompleteRegistrationResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[15].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ConfigServiceRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[16].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ConfigServiceResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[17].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*PatientMeta); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[18].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubscriptionData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[19].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateSubscriptionsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[20].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*SubscriptionError); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[21].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*UpdateSubscriptionsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[22].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListSubscriptionsRequest); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_apispec_proto_msgTypes[23].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*ListSubscriptionsResponse); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_apispec_proto_msgTypes[10].OneofWrappers = []interface{}{
(*AuthConfig_MtlsConfig)(nil),
(*AuthConfig_ApiTokenConfig)(nil),
(*AuthConfig_JwtConfig)(nil),
}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_apispec_proto_rawDesc,
NumEnums: 3,
NumMessages: 28,
NumExtensions: 0,
NumServices: 1,
},
GoTypes: file_apispec_proto_goTypes,
DependencyIndexes: file_apispec_proto_depIdxs,
EnumInfos: file_apispec_proto_enumTypes,
MessageInfos: file_apispec_proto_msgTypes,
}.Build()
File_apispec_proto = out.File
file_apispec_proto_rawDesc = nil
file_apispec_proto_goTypes = nil
file_apispec_proto_depIdxs = nil
}