// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// 	protoc-gen-go v1.34.2
// 	protoc        (unknown)
// source: common/cloud_storage.proto

package common

import (
	_ "google.golang.org/genproto/googleapis/api/annotations"
	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 GCSCloudStorage_GCSAuthType int32

const (
	// The access method is unknown.
	GCSCloudStorage_GCS_AUTH_TYPE_UNSPECIFIED GCSCloudStorage_GCSAuthType = 0
	// The access method is service account key.
	GCSCloudStorage_SERVICE_ACCOUNT_KEY GCSCloudStorage_GCSAuthType = 1
)

// Enum value maps for GCSCloudStorage_GCSAuthType.
var (
	GCSCloudStorage_GCSAuthType_name = map[int32]string{
		0: "GCS_AUTH_TYPE_UNSPECIFIED",
		1: "SERVICE_ACCOUNT_KEY",
	}
	GCSCloudStorage_GCSAuthType_value = map[string]int32{
		"GCS_AUTH_TYPE_UNSPECIFIED": 0,
		"SERVICE_ACCOUNT_KEY":       1,
	}
)

func (x GCSCloudStorage_GCSAuthType) Enum() *GCSCloudStorage_GCSAuthType {
	p := new(GCSCloudStorage_GCSAuthType)
	*p = x
	return p
}

func (x GCSCloudStorage_GCSAuthType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (GCSCloudStorage_GCSAuthType) Descriptor() protoreflect.EnumDescriptor {
	return file_common_cloud_storage_proto_enumTypes[0].Descriptor()
}

func (GCSCloudStorage_GCSAuthType) Type() protoreflect.EnumType {
	return &file_common_cloud_storage_proto_enumTypes[0]
}

func (x GCSCloudStorage_GCSAuthType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use GCSCloudStorage_GCSAuthType.Descriptor instead.
func (GCSCloudStorage_GCSAuthType) EnumDescriptor() ([]byte, []int) {
	return file_common_cloud_storage_proto_rawDescGZIP(), []int{1, 0}
}

type AzureBlobCloudStorage_AzureBlobAuthType int32

const (
	// The access method is unknown.
	AzureBlobCloudStorage_AZURE_BLOB_AUTH_TYPE_UNSPECIFIED AzureBlobCloudStorage_AzureBlobAuthType = 0
	// The access method is sas token.
	AzureBlobCloudStorage_SAS_TOKEN AzureBlobCloudStorage_AzureBlobAuthType = 1
)

// Enum value maps for AzureBlobCloudStorage_AzureBlobAuthType.
var (
	AzureBlobCloudStorage_AzureBlobAuthType_name = map[int32]string{
		0: "AZURE_BLOB_AUTH_TYPE_UNSPECIFIED",
		1: "SAS_TOKEN",
	}
	AzureBlobCloudStorage_AzureBlobAuthType_value = map[string]int32{
		"AZURE_BLOB_AUTH_TYPE_UNSPECIFIED": 0,
		"SAS_TOKEN":                        1,
	}
)

func (x AzureBlobCloudStorage_AzureBlobAuthType) Enum() *AzureBlobCloudStorage_AzureBlobAuthType {
	p := new(AzureBlobCloudStorage_AzureBlobAuthType)
	*p = x
	return p
}

func (x AzureBlobCloudStorage_AzureBlobAuthType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (AzureBlobCloudStorage_AzureBlobAuthType) Descriptor() protoreflect.EnumDescriptor {
	return file_common_cloud_storage_proto_enumTypes[1].Descriptor()
}

func (AzureBlobCloudStorage_AzureBlobAuthType) Type() protoreflect.EnumType {
	return &file_common_cloud_storage_proto_enumTypes[1]
}

func (x AzureBlobCloudStorage_AzureBlobAuthType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use AzureBlobCloudStorage_AzureBlobAuthType.Descriptor instead.
func (AzureBlobCloudStorage_AzureBlobAuthType) EnumDescriptor() ([]byte, []int) {
	return file_common_cloud_storage_proto_rawDescGZIP(), []int{2, 0}
}

type S3CloudStorage_S3AuthType int32

const (
	// The access method is unknown.
	S3CloudStorage_S3_AUTH_TYPE_UNSPECIFIED S3CloudStorage_S3AuthType = 0
	// The access method is role arn.
	S3CloudStorage_ROLE_ARN S3CloudStorage_S3AuthType = 1
	// The access method is access key.
	S3CloudStorage_ACCESS_KEY S3CloudStorage_S3AuthType = 2
)

// Enum value maps for S3CloudStorage_S3AuthType.
var (
	S3CloudStorage_S3AuthType_name = map[int32]string{
		0: "S3_AUTH_TYPE_UNSPECIFIED",
		1: "ROLE_ARN",
		2: "ACCESS_KEY",
	}
	S3CloudStorage_S3AuthType_value = map[string]int32{
		"S3_AUTH_TYPE_UNSPECIFIED": 0,
		"ROLE_ARN":                 1,
		"ACCESS_KEY":               2,
	}
)

func (x S3CloudStorage_S3AuthType) Enum() *S3CloudStorage_S3AuthType {
	p := new(S3CloudStorage_S3AuthType)
	*p = x
	return p
}

func (x S3CloudStorage_S3AuthType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (S3CloudStorage_S3AuthType) Descriptor() protoreflect.EnumDescriptor {
	return file_common_cloud_storage_proto_enumTypes[2].Descriptor()
}

func (S3CloudStorage_S3AuthType) Type() protoreflect.EnumType {
	return &file_common_cloud_storage_proto_enumTypes[2]
}

func (x S3CloudStorage_S3AuthType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use S3CloudStorage_S3AuthType.Descriptor instead.
func (S3CloudStorage_S3AuthType) EnumDescriptor() ([]byte, []int) {
	return file_common_cloud_storage_proto_rawDescGZIP(), []int{3, 0}
}

type OSSCloudStorage_OSSAuthType int32

const (
	// The access method is unknown.
	OSSCloudStorage_OSS_AUTH_TYPE_UNSPECIFIED OSSCloudStorage_OSSAuthType = 0
	// The access method is access key.
	OSSCloudStorage_ACCESS_KEY OSSCloudStorage_OSSAuthType = 1
	// The access method is role arn.
	OSSCloudStorage_ROLE_ARN OSSCloudStorage_OSSAuthType = 2
)

// Enum value maps for OSSCloudStorage_OSSAuthType.
var (
	OSSCloudStorage_OSSAuthType_name = map[int32]string{
		0: "OSS_AUTH_TYPE_UNSPECIFIED",
		1: "ACCESS_KEY",
		2: "ROLE_ARN",
	}
	OSSCloudStorage_OSSAuthType_value = map[string]int32{
		"OSS_AUTH_TYPE_UNSPECIFIED": 0,
		"ACCESS_KEY":                1,
		"ROLE_ARN":                  2,
	}
)

func (x OSSCloudStorage_OSSAuthType) Enum() *OSSCloudStorage_OSSAuthType {
	p := new(OSSCloudStorage_OSSAuthType)
	*p = x
	return p
}

func (x OSSCloudStorage_OSSAuthType) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (OSSCloudStorage_OSSAuthType) Descriptor() protoreflect.EnumDescriptor {
	return file_common_cloud_storage_proto_enumTypes[3].Descriptor()
}

func (OSSCloudStorage_OSSAuthType) Type() protoreflect.EnumType {
	return &file_common_cloud_storage_proto_enumTypes[3]
}

func (x OSSCloudStorage_OSSAuthType) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use OSSCloudStorage_OSSAuthType.Descriptor instead.
func (OSSCloudStorage_OSSAuthType) EnumDescriptor() ([]byte, []int) {
	return file_common_cloud_storage_proto_rawDescGZIP(), []int{4, 0}
}

type CloudStorageType_Enum int32

const (
	// Unspecified cloud storage type.
	CloudStorageType_CLOUD_STORAGE_TYPE_UNSPECIFIED CloudStorageType_Enum = 0
	// TiDB Cloud's own cloud storage.
	CloudStorageType_TIDB_CLOUD CloudStorageType_Enum = 1
	// Amazon S3 cloud storage.
	CloudStorageType_S3 CloudStorageType_Enum = 2
	// Google Cloud Storage.
	CloudStorageType_GCS CloudStorageType_Enum = 3
	// Azure Blob Storage.
	CloudStorageType_AZURE_BLOB CloudStorageType_Enum = 4
	// Alibaba Cloud OSS.
	CloudStorageType_OSS CloudStorageType_Enum = 5
)

// Enum value maps for CloudStorageType_Enum.
var (
	CloudStorageType_Enum_name = map[int32]string{
		0: "CLOUD_STORAGE_TYPE_UNSPECIFIED",
		1: "TIDB_CLOUD",
		2: "S3",
		3: "GCS",
		4: "AZURE_BLOB",
		5: "OSS",
	}
	CloudStorageType_Enum_value = map[string]int32{
		"CLOUD_STORAGE_TYPE_UNSPECIFIED": 0,
		"TIDB_CLOUD":                     1,
		"S3":                             2,
		"GCS":                            3,
		"AZURE_BLOB":                     4,
		"OSS":                            5,
	}
)

func (x CloudStorageType_Enum) Enum() *CloudStorageType_Enum {
	p := new(CloudStorageType_Enum)
	*p = x
	return p
}

func (x CloudStorageType_Enum) String() string {
	return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}

func (CloudStorageType_Enum) Descriptor() protoreflect.EnumDescriptor {
	return file_common_cloud_storage_proto_enumTypes[4].Descriptor()
}

func (CloudStorageType_Enum) Type() protoreflect.EnumType {
	return &file_common_cloud_storage_proto_enumTypes[4]
}

func (x CloudStorageType_Enum) Number() protoreflect.EnumNumber {
	return protoreflect.EnumNumber(x)
}

// Deprecated: Use CloudStorageType_Enum.Descriptor instead.
func (CloudStorageType_Enum) EnumDescriptor() ([]byte, []int) {
	return file_common_cloud_storage_proto_rawDescGZIP(), []int{5, 0}
}

// Message for cloud storage.
type CloudStorage struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields

	// Required. The type of cloud storage.
	Type CloudStorageType_Enum `protobuf:"varint,1,opt,name=type,proto3,enum=common.CloudStorageType_Enum" json:"type,omitempty"`
	// Types that are assignable to Storage:
	//
	//	*CloudStorage_S3
	//	*CloudStorage_Gcs
	//	*CloudStorage_AzureBlob
	//	*CloudStorage_Oss
	Storage isCloudStorage_Storage `protobuf_oneof:"storage"`
}

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

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

func (*CloudStorage) ProtoMessage() {}

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

func (x *CloudStorage) GetType() CloudStorageType_Enum {
	if x != nil {
		return x.Type
	}
	return CloudStorageType_CLOUD_STORAGE_TYPE_UNSPECIFIED
}

func (m *CloudStorage) GetStorage() isCloudStorage_Storage {
	if m != nil {
		return m.Storage
	}
	return nil
}

func (x *CloudStorage) GetS3() *S3CloudStorage {
	if x, ok := x.GetStorage().(*CloudStorage_S3); ok {
		return x.S3
	}
	return nil
}

func (x *CloudStorage) GetGcs() *GCSCloudStorage {
	if x, ok := x.GetStorage().(*CloudStorage_Gcs); ok {
		return x.Gcs
	}
	return nil
}

func (x *CloudStorage) GetAzureBlob() *AzureBlobCloudStorage {
	if x, ok := x.GetStorage().(*CloudStorage_AzureBlob); ok {
		return x.AzureBlob
	}
	return nil
}

func (x *CloudStorage) GetOss() *OSSCloudStorage {
	if x, ok := x.GetStorage().(*CloudStorage_Oss); ok {
		return x.Oss
	}
	return nil
}

type isCloudStorage_Storage interface {
	isCloudStorage_Storage()
}

type CloudStorage_S3 struct {
	S3 *S3CloudStorage `protobuf:"bytes,2,opt,name=s3,proto3,oneof"`
}

type CloudStorage_Gcs struct {
	Gcs *GCSCloudStorage `protobuf:"bytes,3,opt,name=gcs,proto3,oneof"`
}

type CloudStorage_AzureBlob struct {
	AzureBlob *AzureBlobCloudStorage `protobuf:"bytes,4,opt,name=azure_blob,json=azureBlob,proto3,oneof"`
}

type CloudStorage_Oss struct {
	Oss *OSSCloudStorage `protobuf:"bytes,5,opt,name=oss,proto3,oneof"`
}

func (*CloudStorage_S3) isCloudStorage_Storage() {}

func (*CloudStorage_Gcs) isCloudStorage_Storage() {}

func (*CloudStorage_AzureBlob) isCloudStorage_Storage() {}

func (*CloudStorage_Oss) isCloudStorage_Storage() {}

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

	// Required. The GCS URI. For example: gs://<bucket>/<path>/.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Required. The auth method of GCS.
	AuthType GCSCloudStorage_GCSAuthType `protobuf:"varint,2,opt,name=auth_type,json=authType,proto3,enum=common.GCSCloudStorage_GCSAuthType" json:"auth_type,omitempty"`
	// Types that are assignable to Auth:
	//
	//	*GCSCloudStorage_ServiceAccountKey
	Auth isGCSCloudStorage_Auth `protobuf_oneof:"auth"`
}

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

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

func (*GCSCloudStorage) ProtoMessage() {}

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

func (x *GCSCloudStorage) GetUri() string {
	if x != nil {
		return x.Uri
	}
	return ""
}

func (x *GCSCloudStorage) GetAuthType() GCSCloudStorage_GCSAuthType {
	if x != nil {
		return x.AuthType
	}
	return GCSCloudStorage_GCS_AUTH_TYPE_UNSPECIFIED
}

func (m *GCSCloudStorage) GetAuth() isGCSCloudStorage_Auth {
	if m != nil {
		return m.Auth
	}
	return nil
}

func (x *GCSCloudStorage) GetServiceAccountKey() string {
	if x, ok := x.GetAuth().(*GCSCloudStorage_ServiceAccountKey); ok {
		return x.ServiceAccountKey
	}
	return ""
}

type isGCSCloudStorage_Auth interface {
	isGCSCloudStorage_Auth()
}

type GCSCloudStorage_ServiceAccountKey struct {
	// Required. The service account key.
	ServiceAccountKey string `protobuf:"bytes,3,opt,name=service_account_key,json=serviceAccountKey,proto3,oneof"`
}

func (*GCSCloudStorage_ServiceAccountKey) isGCSCloudStorage_Auth() {}

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

	// Required. The Azure Blob URI. For example: azure://<account>.blob.core.windows.net/<container>/<path>/ or https://<account>.blob.core.windows.net/<container>/<path>/.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Required. The auth method of Azure Blob.
	AuthType AzureBlobCloudStorage_AzureBlobAuthType `protobuf:"varint,2,opt,name=auth_type,json=authType,proto3,enum=common.AzureBlobCloudStorage_AzureBlobAuthType" json:"auth_type,omitempty"`
	// Types that are assignable to Auth:
	//
	//	*AzureBlobCloudStorage_SasToken
	Auth isAzureBlobCloudStorage_Auth `protobuf_oneof:"auth"`
}

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

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

func (*AzureBlobCloudStorage) ProtoMessage() {}

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

func (x *AzureBlobCloudStorage) GetUri() string {
	if x != nil {
		return x.Uri
	}
	return ""
}

func (x *AzureBlobCloudStorage) GetAuthType() AzureBlobCloudStorage_AzureBlobAuthType {
	if x != nil {
		return x.AuthType
	}
	return AzureBlobCloudStorage_AZURE_BLOB_AUTH_TYPE_UNSPECIFIED
}

func (m *AzureBlobCloudStorage) GetAuth() isAzureBlobCloudStorage_Auth {
	if m != nil {
		return m.Auth
	}
	return nil
}

func (x *AzureBlobCloudStorage) GetSasToken() string {
	if x, ok := x.GetAuth().(*AzureBlobCloudStorage_SasToken); ok {
		return x.SasToken
	}
	return ""
}

type isAzureBlobCloudStorage_Auth interface {
	isAzureBlobCloudStorage_Auth()
}

type AzureBlobCloudStorage_SasToken struct {
	// Optional. The sas token.
	SasToken string `protobuf:"bytes,3,opt,name=sas_token,json=sasToken,proto3,oneof"`
}

func (*AzureBlobCloudStorage_SasToken) isAzureBlobCloudStorage_Auth() {}

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

	// Required. The URI of the S3 folder. For example: s3://<bucket>/<path>/.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Required. The auth method of S3.
	AuthType S3CloudStorage_S3AuthType `protobuf:"varint,2,opt,name=auth_type,json=authType,proto3,enum=common.S3CloudStorage_S3AuthType" json:"auth_type,omitempty"`
	// Types that are assignable to Auth:
	//
	//	*S3CloudStorage_AccessKey_
	//	*S3CloudStorage_RoleArn
	Auth isS3CloudStorage_Auth `protobuf_oneof:"auth"`
}

func (x *S3CloudStorage) Reset() {
	*x = S3CloudStorage{}
	if protoimpl.UnsafeEnabled {
		mi := &file_common_cloud_storage_proto_msgTypes[3]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*S3CloudStorage) ProtoMessage() {}

func (x *S3CloudStorage) ProtoReflect() protoreflect.Message {
	mi := &file_common_cloud_storage_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 S3CloudStorage.ProtoReflect.Descriptor instead.
func (*S3CloudStorage) Descriptor() ([]byte, []int) {
	return file_common_cloud_storage_proto_rawDescGZIP(), []int{3}
}

func (x *S3CloudStorage) GetUri() string {
	if x != nil {
		return x.Uri
	}
	return ""
}

func (x *S3CloudStorage) GetAuthType() S3CloudStorage_S3AuthType {
	if x != nil {
		return x.AuthType
	}
	return S3CloudStorage_S3_AUTH_TYPE_UNSPECIFIED
}

func (m *S3CloudStorage) GetAuth() isS3CloudStorage_Auth {
	if m != nil {
		return m.Auth
	}
	return nil
}

func (x *S3CloudStorage) GetAccessKey() *S3CloudStorage_AccessKey {
	if x, ok := x.GetAuth().(*S3CloudStorage_AccessKey_); ok {
		return x.AccessKey
	}
	return nil
}

func (x *S3CloudStorage) GetRoleArn() string {
	if x, ok := x.GetAuth().(*S3CloudStorage_RoleArn); ok {
		return x.RoleArn
	}
	return ""
}

type isS3CloudStorage_Auth interface {
	isS3CloudStorage_Auth()
}

type S3CloudStorage_AccessKey_ struct {
	// Optional. The access key of the S3.
	AccessKey *S3CloudStorage_AccessKey `protobuf:"bytes,3,opt,name=access_key,json=accessKey,proto3,oneof"`
}

type S3CloudStorage_RoleArn struct {
	// Optional. The role arn of the S3.
	RoleArn string `protobuf:"bytes,4,opt,name=role_arn,json=roleArn,proto3,oneof"`
}

func (*S3CloudStorage_AccessKey_) isS3CloudStorage_Auth() {}

func (*S3CloudStorage_RoleArn) isS3CloudStorage_Auth() {}

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

	// Required. The OSS URI. For example: oss://<bucket>/<path>/.
	Uri string `protobuf:"bytes,1,opt,name=uri,proto3" json:"uri,omitempty"`
	// Required. The auth method of OSS.
	AuthType OSSCloudStorage_OSSAuthType `protobuf:"varint,2,opt,name=auth_type,json=authType,proto3,enum=common.OSSCloudStorage_OSSAuthType" json:"auth_type,omitempty"`
	// Types that are assignable to Auth:
	//
	//	*OSSCloudStorage_AccessKey_
	//	*OSSCloudStorage_RoleArn
	Auth isOSSCloudStorage_Auth `protobuf_oneof:"auth"`
}

func (x *OSSCloudStorage) Reset() {
	*x = OSSCloudStorage{}
	if protoimpl.UnsafeEnabled {
		mi := &file_common_cloud_storage_proto_msgTypes[4]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*OSSCloudStorage) ProtoMessage() {}

func (x *OSSCloudStorage) ProtoReflect() protoreflect.Message {
	mi := &file_common_cloud_storage_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 OSSCloudStorage.ProtoReflect.Descriptor instead.
func (*OSSCloudStorage) Descriptor() ([]byte, []int) {
	return file_common_cloud_storage_proto_rawDescGZIP(), []int{4}
}

func (x *OSSCloudStorage) GetUri() string {
	if x != nil {
		return x.Uri
	}
	return ""
}

func (x *OSSCloudStorage) GetAuthType() OSSCloudStorage_OSSAuthType {
	if x != nil {
		return x.AuthType
	}
	return OSSCloudStorage_OSS_AUTH_TYPE_UNSPECIFIED
}

func (m *OSSCloudStorage) GetAuth() isOSSCloudStorage_Auth {
	if m != nil {
		return m.Auth
	}
	return nil
}

func (x *OSSCloudStorage) GetAccessKey() *OSSCloudStorage_AccessKey {
	if x, ok := x.GetAuth().(*OSSCloudStorage_AccessKey_); ok {
		return x.AccessKey
	}
	return nil
}

func (x *OSSCloudStorage) GetRoleArn() string {
	if x, ok := x.GetAuth().(*OSSCloudStorage_RoleArn); ok {
		return x.RoleArn
	}
	return ""
}

type isOSSCloudStorage_Auth interface {
	isOSSCloudStorage_Auth()
}

type OSSCloudStorage_AccessKey_ struct {
	// Optional. The access key.
	AccessKey *OSSCloudStorage_AccessKey `protobuf:"bytes,3,opt,name=access_key,json=accessKey,proto3,oneof"`
}

type OSSCloudStorage_RoleArn struct {
	// Optional. The role arn.
	RoleArn string `protobuf:"bytes,4,opt,name=role_arn,json=roleArn,proto3,oneof"`
}

func (*OSSCloudStorage_AccessKey_) isOSSCloudStorage_Auth() {}

func (*OSSCloudStorage_RoleArn) isOSSCloudStorage_Auth() {}

type CloudStorageType struct {
	state         protoimpl.MessageState
	sizeCache     protoimpl.SizeCache
	unknownFields protoimpl.UnknownFields
}

func (x *CloudStorageType) Reset() {
	*x = CloudStorageType{}
	if protoimpl.UnsafeEnabled {
		mi := &file_common_cloud_storage_proto_msgTypes[5]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*CloudStorageType) ProtoMessage() {}

func (x *CloudStorageType) ProtoReflect() protoreflect.Message {
	mi := &file_common_cloud_storage_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 CloudStorageType.ProtoReflect.Descriptor instead.
func (*CloudStorageType) Descriptor() ([]byte, []int) {
	return file_common_cloud_storage_proto_rawDescGZIP(), []int{5}
}

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

	// Required. The access key id of the S3.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. The secret access key of the S3.
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
}

func (x *S3CloudStorage_AccessKey) Reset() {
	*x = S3CloudStorage_AccessKey{}
	if protoimpl.UnsafeEnabled {
		mi := &file_common_cloud_storage_proto_msgTypes[6]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*S3CloudStorage_AccessKey) ProtoMessage() {}

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

func (x *S3CloudStorage_AccessKey) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *S3CloudStorage_AccessKey) GetSecret() string {
	if x != nil {
		return x.Secret
	}
	return ""
}

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

	// Required. The access key id.
	Id string `protobuf:"bytes,1,opt,name=id,proto3" json:"id,omitempty"`
	// Required. The access key secret. This field is input-only.
	Secret string `protobuf:"bytes,2,opt,name=secret,proto3" json:"secret,omitempty"`
}

func (x *OSSCloudStorage_AccessKey) Reset() {
	*x = OSSCloudStorage_AccessKey{}
	if protoimpl.UnsafeEnabled {
		mi := &file_common_cloud_storage_proto_msgTypes[7]
		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
		ms.StoreMessageInfo(mi)
	}
}

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

func (*OSSCloudStorage_AccessKey) ProtoMessage() {}

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

func (x *OSSCloudStorage_AccessKey) GetId() string {
	if x != nil {
		return x.Id
	}
	return ""
}

func (x *OSSCloudStorage_AccessKey) GetSecret() string {
	if x != nil {
		return x.Secret
	}
	return ""
}

var File_common_cloud_storage_proto protoreflect.FileDescriptor

var file_common_cloud_storage_proto_rawDesc = []byte{
	0x0a, 0x1a, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x5f, 0x73,
	0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x06, 0x63, 0x6f,
	0x6d, 0x6d, 0x6f, 0x6e, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69,
	0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e,
	0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xa9, 0x02, 0x0a, 0x0c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53,
	0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x36, 0x0a, 0x04, 0x74, 0x79, 0x70, 0x65, 0x18, 0x01,
	0x20, 0x01, 0x28, 0x0e, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x43, 0x6c,
	0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x2e, 0x45,
	0x6e, 0x75, 0x6d, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x04, 0x74, 0x79, 0x70, 0x65, 0x12, 0x2d,
	0x0a, 0x02, 0x73, 0x33, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x16, 0x2e, 0x63, 0x6f, 0x6d,
	0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x33, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61,
	0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x02, 0x73, 0x33, 0x12, 0x30, 0x0a,
	0x03, 0x67, 0x63, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d,
	0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x43, 0x53, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f, 0x72,
	0x61, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x03, 0x67, 0x63, 0x73, 0x12,
	0x43, 0x0a, 0x0a, 0x61, 0x7a, 0x75, 0x72, 0x65, 0x5f, 0x62, 0x6c, 0x6f, 0x62, 0x18, 0x04, 0x20,
	0x01, 0x28, 0x0b, 0x32, 0x1d, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x7a, 0x75,
	0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61,
	0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52, 0x09, 0x61, 0x7a, 0x75, 0x72, 0x65,
	0x42, 0x6c, 0x6f, 0x62, 0x12, 0x30, 0x0a, 0x03, 0x6f, 0x73, 0x73, 0x18, 0x05, 0x20, 0x01, 0x28,
	0x0b, 0x32, 0x17, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x53, 0x53, 0x43, 0x6c,
	0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48,
	0x00, 0x52, 0x03, 0x6f, 0x73, 0x73, 0x42, 0x09, 0x0a, 0x07, 0x73, 0x74, 0x6f, 0x72, 0x61, 0x67,
	0x65, 0x22, 0xf5, 0x01, 0x0a, 0x0f, 0x47, 0x43, 0x53, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x74,
	0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01,
	0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x45, 0x0a, 0x09,
	0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
	0x23, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x47, 0x43, 0x53, 0x43, 0x6c, 0x6f, 0x75,
	0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x47, 0x43, 0x53, 0x41, 0x75, 0x74, 0x68,
	0x54, 0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54,
	0x79, 0x70, 0x65, 0x12, 0x35, 0x0a, 0x13, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x5f, 0x61,
	0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x5f, 0x6b, 0x65, 0x79, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
	0x42, 0x03, 0xe0, 0x41, 0x04, 0x48, 0x00, 0x52, 0x11, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65,
	0x41, 0x63, 0x63, 0x6f, 0x75, 0x6e, 0x74, 0x4b, 0x65, 0x79, 0x22, 0x45, 0x0a, 0x0b, 0x47, 0x43,
	0x53, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d, 0x0a, 0x19, 0x47, 0x43, 0x53,
	0x5f, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
	0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x53, 0x45, 0x52, 0x56,
	0x49, 0x43, 0x45, 0x5f, 0x41, 0x43, 0x43, 0x4f, 0x55, 0x4e, 0x54, 0x5f, 0x4b, 0x45, 0x59, 0x10,
	0x01, 0x42, 0x06, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68, 0x22, 0xf7, 0x01, 0x0a, 0x15, 0x41, 0x7a,
	0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f, 0x72,
	0x61, 0x67, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09,
	0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x51, 0x0a, 0x09, 0x61, 0x75,
	0x74, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x2f, 0x2e,
	0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62,
	0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41, 0x7a, 0x75,
	0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x42, 0x03,
	0xe0, 0x41, 0x02, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x22, 0x0a,
	0x09, 0x73, 0x61, 0x73, 0x5f, 0x74, 0x6f, 0x6b, 0x65, 0x6e, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09,
	0x42, 0x03, 0xe0, 0x41, 0x04, 0x48, 0x00, 0x52, 0x08, 0x73, 0x61, 0x73, 0x54, 0x6f, 0x6b, 0x65,
	0x6e, 0x22, 0x48, 0x0a, 0x11, 0x41, 0x7a, 0x75, 0x72, 0x65, 0x42, 0x6c, 0x6f, 0x62, 0x41, 0x75,
	0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x24, 0x0a, 0x20, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f,
	0x42, 0x4c, 0x4f, 0x42, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55,
	0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0d, 0x0a, 0x09,
	0x53, 0x41, 0x53, 0x5f, 0x54, 0x4f, 0x4b, 0x45, 0x4e, 0x10, 0x01, 0x42, 0x06, 0x0a, 0x04, 0x61,
	0x75, 0x74, 0x68, 0x22, 0xea, 0x02, 0x0a, 0x0e, 0x53, 0x33, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53,
	0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20,
	0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x43, 0x0a,
	0x09, 0x61, 0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e,
	0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x53, 0x33, 0x43, 0x6c, 0x6f, 0x75,
	0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x53, 0x33, 0x41, 0x75, 0x74, 0x68, 0x54,
	0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79,
	0x70, 0x65, 0x12, 0x46, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79,
	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x20, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
	0x53, 0x33, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x41,
	0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00, 0x52,
	0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x08, 0x72, 0x6f,
	0x6c, 0x65, 0x5f, 0x61, 0x72, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41,
	0x01, 0x48, 0x00, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x41, 0x72, 0x6e, 0x1a, 0x40, 0x0a, 0x09,
	0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64, 0x18,
	0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x12, 0x1e,
	0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x06,
	0xe0, 0x41, 0x02, 0xe0, 0x41, 0x04, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22, 0x48,
	0x0a, 0x0a, 0x53, 0x33, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1c, 0x0a, 0x18,
	0x53, 0x33, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53,
	0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0c, 0x0a, 0x08, 0x52, 0x4f,
	0x4c, 0x45, 0x5f, 0x41, 0x52, 0x4e, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x43, 0x43, 0x45,
	0x53, 0x53, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x02, 0x42, 0x06, 0x0a, 0x04, 0x61, 0x75, 0x74, 0x68,
	0x22, 0xf0, 0x02, 0x0a, 0x0f, 0x4f, 0x53, 0x53, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f,
	0x72, 0x61, 0x67, 0x65, 0x12, 0x15, 0x0a, 0x03, 0x75, 0x72, 0x69, 0x18, 0x01, 0x20, 0x01, 0x28,
	0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x03, 0x75, 0x72, 0x69, 0x12, 0x45, 0x0a, 0x09, 0x61,
	0x75, 0x74, 0x68, 0x5f, 0x74, 0x79, 0x70, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x23,
	0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e, 0x4f, 0x53, 0x53, 0x43, 0x6c, 0x6f, 0x75, 0x64,
	0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e, 0x4f, 0x53, 0x53, 0x41, 0x75, 0x74, 0x68, 0x54,
	0x79, 0x70, 0x65, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x08, 0x61, 0x75, 0x74, 0x68, 0x54, 0x79,
	0x70, 0x65, 0x12, 0x47, 0x0a, 0x0a, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x6b, 0x65, 0x79,
	0x18, 0x03, 0x20, 0x01, 0x28, 0x0b, 0x32, 0x21, 0x2e, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x2e,
	0x4f, 0x53, 0x53, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f, 0x72, 0x61, 0x67, 0x65, 0x2e,
	0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x48, 0x00,
	0x52, 0x09, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x20, 0x0a, 0x08, 0x72,
	0x6f, 0x6c, 0x65, 0x5f, 0x61, 0x72, 0x6e, 0x18, 0x04, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0,
	0x41, 0x01, 0x48, 0x00, 0x52, 0x07, 0x72, 0x6f, 0x6c, 0x65, 0x41, 0x72, 0x6e, 0x1a, 0x40, 0x0a,
	0x09, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x4b, 0x65, 0x79, 0x12, 0x13, 0x0a, 0x02, 0x69, 0x64,
	0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x02, 0x69, 0x64, 0x12,
	0x1e, 0x0a, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
	0x06, 0xe0, 0x41, 0x02, 0xe0, 0x41, 0x04, 0x52, 0x06, 0x73, 0x65, 0x63, 0x72, 0x65, 0x74, 0x22,
	0x4a, 0x0a, 0x0b, 0x4f, 0x53, 0x53, 0x41, 0x75, 0x74, 0x68, 0x54, 0x79, 0x70, 0x65, 0x12, 0x1d,
	0x0a, 0x19, 0x4f, 0x53, 0x53, 0x5f, 0x41, 0x55, 0x54, 0x48, 0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f,
	0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a,
	0x0a, 0x41, 0x43, 0x43, 0x45, 0x53, 0x53, 0x5f, 0x4b, 0x45, 0x59, 0x10, 0x01, 0x12, 0x0c, 0x0a,
	0x08, 0x52, 0x4f, 0x4c, 0x45, 0x5f, 0x41, 0x52, 0x4e, 0x10, 0x02, 0x42, 0x06, 0x0a, 0x04, 0x61,
	0x75, 0x74, 0x68, 0x22, 0x78, 0x0a, 0x10, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x53, 0x74, 0x6f, 0x72,
	0x61, 0x67, 0x65, 0x54, 0x79, 0x70, 0x65, 0x22, 0x64, 0x0a, 0x04, 0x45, 0x6e, 0x75, 0x6d, 0x12,
	0x22, 0x0a, 0x1e, 0x43, 0x4c, 0x4f, 0x55, 0x44, 0x5f, 0x53, 0x54, 0x4f, 0x52, 0x41, 0x47, 0x45,
	0x5f, 0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
	0x44, 0x10, 0x00, 0x12, 0x0e, 0x0a, 0x0a, 0x54, 0x49, 0x44, 0x42, 0x5f, 0x43, 0x4c, 0x4f, 0x55,
	0x44, 0x10, 0x01, 0x12, 0x06, 0x0a, 0x02, 0x53, 0x33, 0x10, 0x02, 0x12, 0x07, 0x0a, 0x03, 0x47,
	0x43, 0x53, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x41, 0x5a, 0x55, 0x52, 0x45, 0x5f, 0x42, 0x4c,
	0x4f, 0x42, 0x10, 0x04, 0x12, 0x07, 0x0a, 0x03, 0x4f, 0x53, 0x53, 0x10, 0x05, 0x42, 0x40, 0x5a,
	0x3e, 0x67, 0x69, 0x74, 0x68, 0x75, 0x62, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x74, 0x69, 0x64, 0x62,
	0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x73, 0x65, 0x72, 0x76, 0x65, 0x72, 0x6c, 0x65, 0x73, 0x73,
	0x2d, 0x73, 0x65, 0x72, 0x76, 0x69, 0x63, 0x65, 0x2f, 0x69, 0x64, 0x6c, 0x2f, 0x70, 0x62, 0x67,
	0x65, 0x6e, 0x2f, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x2f, 0x63, 0x6f, 0x6d, 0x6d, 0x6f, 0x6e, 0x62,
	0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
}

var (
	file_common_cloud_storage_proto_rawDescOnce sync.Once
	file_common_cloud_storage_proto_rawDescData = file_common_cloud_storage_proto_rawDesc
)

func file_common_cloud_storage_proto_rawDescGZIP() []byte {
	file_common_cloud_storage_proto_rawDescOnce.Do(func() {
		file_common_cloud_storage_proto_rawDescData = protoimpl.X.CompressGZIP(file_common_cloud_storage_proto_rawDescData)
	})
	return file_common_cloud_storage_proto_rawDescData
}

var file_common_cloud_storage_proto_enumTypes = make([]protoimpl.EnumInfo, 5)
var file_common_cloud_storage_proto_msgTypes = make([]protoimpl.MessageInfo, 8)
var file_common_cloud_storage_proto_goTypes = []any{
	(GCSCloudStorage_GCSAuthType)(0),             // 0: common.GCSCloudStorage.GCSAuthType
	(AzureBlobCloudStorage_AzureBlobAuthType)(0), // 1: common.AzureBlobCloudStorage.AzureBlobAuthType
	(S3CloudStorage_S3AuthType)(0),               // 2: common.S3CloudStorage.S3AuthType
	(OSSCloudStorage_OSSAuthType)(0),             // 3: common.OSSCloudStorage.OSSAuthType
	(CloudStorageType_Enum)(0),                   // 4: common.CloudStorageType.Enum
	(*CloudStorage)(nil),                         // 5: common.CloudStorage
	(*GCSCloudStorage)(nil),                      // 6: common.GCSCloudStorage
	(*AzureBlobCloudStorage)(nil),                // 7: common.AzureBlobCloudStorage
	(*S3CloudStorage)(nil),                       // 8: common.S3CloudStorage
	(*OSSCloudStorage)(nil),                      // 9: common.OSSCloudStorage
	(*CloudStorageType)(nil),                     // 10: common.CloudStorageType
	(*S3CloudStorage_AccessKey)(nil),             // 11: common.S3CloudStorage.AccessKey
	(*OSSCloudStorage_AccessKey)(nil),            // 12: common.OSSCloudStorage.AccessKey
}
var file_common_cloud_storage_proto_depIdxs = []int32{
	4,  // 0: common.CloudStorage.type:type_name -> common.CloudStorageType.Enum
	8,  // 1: common.CloudStorage.s3:type_name -> common.S3CloudStorage
	6,  // 2: common.CloudStorage.gcs:type_name -> common.GCSCloudStorage
	7,  // 3: common.CloudStorage.azure_blob:type_name -> common.AzureBlobCloudStorage
	9,  // 4: common.CloudStorage.oss:type_name -> common.OSSCloudStorage
	0,  // 5: common.GCSCloudStorage.auth_type:type_name -> common.GCSCloudStorage.GCSAuthType
	1,  // 6: common.AzureBlobCloudStorage.auth_type:type_name -> common.AzureBlobCloudStorage.AzureBlobAuthType
	2,  // 7: common.S3CloudStorage.auth_type:type_name -> common.S3CloudStorage.S3AuthType
	11, // 8: common.S3CloudStorage.access_key:type_name -> common.S3CloudStorage.AccessKey
	3,  // 9: common.OSSCloudStorage.auth_type:type_name -> common.OSSCloudStorage.OSSAuthType
	12, // 10: common.OSSCloudStorage.access_key:type_name -> common.OSSCloudStorage.AccessKey
	11, // [11:11] is the sub-list for method output_type
	11, // [11:11] is the sub-list for method input_type
	11, // [11:11] is the sub-list for extension type_name
	11, // [11:11] is the sub-list for extension extendee
	0,  // [0:11] is the sub-list for field type_name
}

func init() { file_common_cloud_storage_proto_init() }
func file_common_cloud_storage_proto_init() {
	if File_common_cloud_storage_proto != nil {
		return
	}
	if !protoimpl.UnsafeEnabled {
		file_common_cloud_storage_proto_msgTypes[0].Exporter = func(v any, i int) any {
			switch v := v.(*CloudStorage); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_common_cloud_storage_proto_msgTypes[1].Exporter = func(v any, i int) any {
			switch v := v.(*GCSCloudStorage); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_common_cloud_storage_proto_msgTypes[2].Exporter = func(v any, i int) any {
			switch v := v.(*AzureBlobCloudStorage); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_common_cloud_storage_proto_msgTypes[3].Exporter = func(v any, i int) any {
			switch v := v.(*S3CloudStorage); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_common_cloud_storage_proto_msgTypes[4].Exporter = func(v any, i int) any {
			switch v := v.(*OSSCloudStorage); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_common_cloud_storage_proto_msgTypes[5].Exporter = func(v any, i int) any {
			switch v := v.(*CloudStorageType); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_common_cloud_storage_proto_msgTypes[6].Exporter = func(v any, i int) any {
			switch v := v.(*S3CloudStorage_AccessKey); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
		file_common_cloud_storage_proto_msgTypes[7].Exporter = func(v any, i int) any {
			switch v := v.(*OSSCloudStorage_AccessKey); i {
			case 0:
				return &v.state
			case 1:
				return &v.sizeCache
			case 2:
				return &v.unknownFields
			default:
				return nil
			}
		}
	}
	file_common_cloud_storage_proto_msgTypes[0].OneofWrappers = []any{
		(*CloudStorage_S3)(nil),
		(*CloudStorage_Gcs)(nil),
		(*CloudStorage_AzureBlob)(nil),
		(*CloudStorage_Oss)(nil),
	}
	file_common_cloud_storage_proto_msgTypes[1].OneofWrappers = []any{
		(*GCSCloudStorage_ServiceAccountKey)(nil),
	}
	file_common_cloud_storage_proto_msgTypes[2].OneofWrappers = []any{
		(*AzureBlobCloudStorage_SasToken)(nil),
	}
	file_common_cloud_storage_proto_msgTypes[3].OneofWrappers = []any{
		(*S3CloudStorage_AccessKey_)(nil),
		(*S3CloudStorage_RoleArn)(nil),
	}
	file_common_cloud_storage_proto_msgTypes[4].OneofWrappers = []any{
		(*OSSCloudStorage_AccessKey_)(nil),
		(*OSSCloudStorage_RoleArn)(nil),
	}
	type x struct{}
	out := protoimpl.TypeBuilder{
		File: protoimpl.DescBuilder{
			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
			RawDescriptor: file_common_cloud_storage_proto_rawDesc,
			NumEnums:      5,
			NumMessages:   8,
			NumExtensions: 0,
			NumServices:   0,
		},
		GoTypes:           file_common_cloud_storage_proto_goTypes,
		DependencyIndexes: file_common_cloud_storage_proto_depIdxs,
		EnumInfos:         file_common_cloud_storage_proto_enumTypes,
		MessageInfos:      file_common_cloud_storage_proto_msgTypes,
	}.Build()
	File_common_cloud_storage_proto = out.File
	file_common_cloud_storage_proto_rawDesc = nil
	file_common_cloud_storage_proto_goTypes = nil
	file_common_cloud_storage_proto_depIdxs = nil
}
