// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.28.1
// 	protoc        (unknown)
// source: regioncentral/service.proto

package regioncentral

import (
	base "go.buf.build/protocolbuffers/go/linuxgit/tidbcloud/base"
	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
	_ "google.golang.org/protobuf/types/known/timestamppb"
	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 GetDataAPIAccessReq struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	ApiKey string `protobuf:"bytes,1,opt,name=api_key,json=apiKey,proto3" json:"api_key,omitempty"`
}

func (x *GetDataAPIAccessReq) Reset() {
	*x = GetDataAPIAccessReq{}
	if protoimpl.UnsafeEnabled {
		mi := &file_regioncentral_service_proto_msgTypes[0]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetDataAPIAccessReq) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetDataAPIAccessReq) ProtoMessage() {}

func (x *GetDataAPIAccessReq) ProtoReflect() protoreflect.Message {
	mi := &file_regioncentral_service_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 GetDataAPIAccessReq.ProtoReflect.Descriptor instead.
func (*GetDataAPIAccessReq) Descriptor() ([]byte, []int) {
	return file_regioncentral_service_proto_rawDescGZIP(), []int{0}
}

func (x *GetDataAPIAccessReq) GetApiKey() string {
	if x != nil {
		return x.ApiKey
	}
	return ""
}

type GetDataAPIAccessResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	App      *AppAccessResp `protobuf:"bytes,1,opt,name=app,proto3" json:"app,omitempty"`
	BaseResp *base.BaseResp `protobuf:"bytes,255,opt,name=base_resp,json=baseResp,proto3" json:"base_resp,omitempty"`
}

func (x *GetDataAPIAccessResp) Reset() {
	*x = GetDataAPIAccessResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_regioncentral_service_proto_msgTypes[1]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *GetDataAPIAccessResp) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*GetDataAPIAccessResp) ProtoMessage() {}

func (x *GetDataAPIAccessResp) ProtoReflect() protoreflect.Message {
	mi := &file_regioncentral_service_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 GetDataAPIAccessResp.ProtoReflect.Descriptor instead.
func (*GetDataAPIAccessResp) Descriptor() ([]byte, []int) {
	return file_regioncentral_service_proto_rawDescGZIP(), []int{1}
}

func (x *GetDataAPIAccessResp) GetApp() *AppAccessResp {
	if x != nil {
		return x.App
	}
	return nil
}

func (x *GetDataAPIAccessResp) GetBaseResp() *base.BaseResp {
	if x != nil {
		return x.BaseResp
	}
	return nil
}

type AppAccessResp struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	Id            uint64 `protobuf:"varint,1,opt,name=id,proto3" json:"id,omitempty"`
	ExternalAppId string `protobuf:"bytes,2,opt,name=external_app_id,json=externalAppId,proto3" json:"external_app_id,omitempty"`
}

func (x *AppAccessResp) Reset() {
	*x = AppAccessResp{}
	if protoimpl.UnsafeEnabled {
		mi := &file_regioncentral_service_proto_msgTypes[2]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

func (x *AppAccessResp) String() string {
	return protoimpl.X.MessageStringOf(x)
}

func (*AppAccessResp) ProtoMessage() {}

func (x *AppAccessResp) ProtoReflect() protoreflect.Message {
	mi := &file_regioncentral_service_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 AppAccessResp.ProtoReflect.Descriptor instead.
func (*AppAccessResp) Descriptor() ([]byte, []int) {
	return file_regioncentral_service_proto_rawDescGZIP(), []int{2}
}

func (x *AppAccessResp) GetId() uint64 {
	if x != nil {
		return x.Id
	}
	return 0
}

func (x *AppAccessResp) GetExternalAppId() string {
	if x != nil {
		return x.ExternalAppId
	}
	return ""
}

var File_regioncentral_service_proto protoreflect.FileDescriptor

var file_regioncentral_service_proto_rawDesc = []byte{
	0x0a, 0x1b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2f,
	0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x0d, 0x72,
	0x65, 0x67, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x1a, 0x0f, 0x62, 0x61,
	0x73, 0x65, 0x2f, 0x62, 0x61, 0x73, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x1a, 0x1f, 0x67,
	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x62, 0x75, 0x66, 0x2f, 0x74,
	0x69, 0x6d, 0x65, 0x73, 0x74, 0x61, 0x6d, 0x70, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x2e,
	0x0a, 0x13, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x41, 0x50, 0x49, 0x41, 0x63, 0x63, 0x65,
	0x73, 0x73, 0x52, 0x65, 0x71, 0x12, 0x17, 0x0a, 0x07, 0x61, 0x70, 0x69, 0x5f, 0x6b, 0x65, 0x79,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x52, 0x06, 0x61, 0x70, 0x69, 0x4b, 0x65, 0x79, 0x22, 0x74,
	0x0a, 0x14, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61, 0x41, 0x50, 0x49, 0x41, 0x63, 0x63, 0x65,
	0x73, 0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x2e, 0x0a, 0x03, 0x61, 0x70, 0x70, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x1c, 0x2e, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x6e, 0x74,
	0x72, 0x61, 0x6c, 0x2e, 0x41, 0x70, 0x70, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x73,
	0x70, 0x52, 0x03, 0x61, 0x70, 0x70, 0x12, 0x2c, 0x0a, 0x09, 0x62, 0x61, 0x73, 0x65, 0x5f, 0x72,
	0x65, 0x73, 0x70, 0x18, 0xff, 0x01, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x0e, 0x2e, 0x62, 0x61, 0x73,
	0x65, 0x2e, 0x42, 0x61, 0x73, 0x65, 0x52, 0x65, 0x73, 0x70, 0x52, 0x08, 0x62, 0x61, 0x73, 0x65,
	0x52, 0x65, 0x73, 0x70, 0x22, 0x47, 0x0a, 0x0d, 0x41, 0x70, 0x70, 0x41, 0x63, 0x63, 0x65, 0x73,
	0x73, 0x52, 0x65, 0x73, 0x70, 0x12, 0x0e, 0x0a, 0x02, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x04, 0x52, 0x02, 0x69, 0x64, 0x12, 0x26, 0x0a, 0x0f, 0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61,
	0x6c, 0x5f, 0x61, 0x70, 0x70, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x52, 0x0d,
	0x65, 0x78, 0x74, 0x65, 0x72, 0x6e, 0x61, 0x6c, 0x41, 0x70, 0x70, 0x49, 0x64, 0x32, 0x73, 0x0a,
	0x14, 0x52, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x43, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x53, 0x65,
	0x72, 0x76, 0x69, 0x63, 0x65, 0x12, 0x5b, 0x0a, 0x10, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74, 0x61,
	0x41, 0x50, 0x49, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x12, 0x22, 0x2e, 0x72, 0x65, 0x67, 0x69,
	0x6f, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x47, 0x65, 0x74, 0x44, 0x61, 0x74,
	0x61, 0x41, 0x50, 0x49, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x1a, 0x23, 0x2e,
	0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x6e, 0x74, 0x72, 0x61, 0x6c, 0x2e, 0x47, 0x65,
	0x74, 0x44, 0x61, 0x74, 0x61, 0x41, 0x50, 0x49, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65,
	0x73, 0x70, 0x42, 0x4f, 0x5a, 0x4d, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d,
	0x2f, 0x74, 0x69, 0x64, 0x62, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73,
	0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x73, 0x2f, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x62, 0x67, 0x65,
	0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x63, 0x65,
	0x6e, 0x74, 0x72, 0x61, 0x6c, 0x3b, 0x72, 0x65, 0x67, 0x69, 0x6f, 0x6e, 0x63, 0x65, 0x6e, 0x74,
	0x72, 0x61, 0x6c, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_regioncentral_service_proto_rawDescOnce sync.Once
	file_regioncentral_service_proto_rawDescData = file_regioncentral_service_proto_rawDesc
)

func file_regioncentral_service_proto_rawDescGZIP() []byte {
	file_regioncentral_service_proto_rawDescOnce.Do(func() {
		file_regioncentral_service_proto_rawDescData = protoimpl.X.CompressGZIP(file_regioncentral_service_proto_rawDescData)
	})
	return file_regioncentral_service_proto_rawDescData
}

var file_regioncentral_service_proto_msgTypes = make([]protoimpl.MessageInfo, 3)
var file_regioncentral_service_proto_goTypes = []interface{}{
	(*GetDataAPIAccessReq)(nil),  // 0: regioncentral.GetDataAPIAccessReq
	(*GetDataAPIAccessResp)(nil), // 1: regioncentral.GetDataAPIAccessResp
	(*AppAccessResp)(nil),        // 2: regioncentral.AppAccessResp
	(*base.BaseResp)(nil),        // 3: base.BaseResp
}
var file_regioncentral_service_proto_depIdxs = []int32{
	2, // 0: regioncentral.GetDataAPIAccessResp.app:type_name -> regioncentral.AppAccessResp
	3, // 1: regioncentral.GetDataAPIAccessResp.base_resp:type_name -> base.BaseResp
	0, // 2: regioncentral.RegionCentralService.GetDataAPIAccess:input_type -> regioncentral.GetDataAPIAccessReq
	1, // 3: regioncentral.RegionCentralService.GetDataAPIAccess:output_type -> regioncentral.GetDataAPIAccessResp
	3, // [3:4] is the sub-list for method output_type
	2, // [2:3] is the sub-list for method input_type
	2, // [2:2] is the sub-list for extension type_name
	2, // [2:2] is the sub-list for extension extendee
	0, // [0:2] is the sub-list for field type_name
}

func init() { file_regioncentral_service_proto_init() }
func file_regioncentral_service_proto_init() {
	if File_regioncentral_service_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_regioncentral_service_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetDataAPIAccessReq); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_regioncentral_service_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*GetDataAPIAccessResp); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_regioncentral_service_proto_msgTypes[2].Exporter = func(v interface{}, i int) interface{} {
			switch v := v.(*AppAccessResp); 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_regioncentral_service_proto_rawDesc,
			NumEnums:      0,
			NumMessages:   3,
			NumExtensions: 0,
			NumServices:   1,
		},
		GoTypes:           file_regioncentral_service_proto_goTypes,
		DependencyIndexes: file_regioncentral_service_proto_depIdxs,
		MessageInfos:      file_regioncentral_service_proto_msgTypes,
	}.Build()
	File_regioncentral_service_proto = out.File
	file_regioncentral_service_proto_rawDesc = nil
	file_regioncentral_service_proto_goTypes = nil
	file_regioncentral_service_proto_depIdxs = nil
}
