proto/migration/migration_data.pb.go (530 lines of code) (raw):
// Code generated by protoc-gen-go. DO NOT EDIT.
// versions:
// protoc-gen-go v1.27.1
// protoc v3.19.4
// source: migration_data.proto
package migration
import (
reflect "reflect"
sync "sync"
protoreflect "google.golang.org/protobuf/reflect/protoreflect"
protoimpl "google.golang.org/protobuf/runtime/protoimpl"
)
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 MigrationData_Source int32
const (
MigrationData_SOURCE_UNSPECIFIED MigrationData_Source = 0
MigrationData_MYSQL MigrationData_Source = 1
MigrationData_POSTGRESQL MigrationData_Source = 2
MigrationData_DYNAMODB MigrationData_Source = 3
MigrationData_SQL_SERVER MigrationData_Source = 4
MigrationData_ORACLE MigrationData_Source = 5
MigrationData_CSV MigrationData_Source = 6
)
// Enum value maps for MigrationData_Source.
var (
MigrationData_Source_name = map[int32]string{
0: "SOURCE_UNSPECIFIED",
1: "MYSQL",
2: "POSTGRESQL",
3: "DYNAMODB",
4: "SQL_SERVER",
5: "ORACLE",
6: "CSV",
}
MigrationData_Source_value = map[string]int32{
"SOURCE_UNSPECIFIED": 0,
"MYSQL": 1,
"POSTGRESQL": 2,
"DYNAMODB": 3,
"SQL_SERVER": 4,
"ORACLE": 5,
"CSV": 6,
}
)
func (x MigrationData_Source) Enum() *MigrationData_Source {
p := new(MigrationData_Source)
*p = x
return p
}
func (x MigrationData_Source) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MigrationData_Source) Descriptor() protoreflect.EnumDescriptor {
return file_migration_data_proto_enumTypes[0].Descriptor()
}
func (MigrationData_Source) Type() protoreflect.EnumType {
return &file_migration_data_proto_enumTypes[0]
}
func (x MigrationData_Source) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MigrationData_Source.Descriptor instead.
func (MigrationData_Source) EnumDescriptor() ([]byte, []int) {
return file_migration_data_proto_rawDescGZIP(), []int{0, 0}
}
type MigrationData_SourceConnectionMechanism int32
const (
MigrationData_SOURCE_CONNECTION_MECHANISM_UNSPECIFIED MigrationData_SourceConnectionMechanism = 0
MigrationData_DIRECT_CONNECTION MigrationData_SourceConnectionMechanism = 1
MigrationData_DB_DUMP MigrationData_SourceConnectionMechanism = 2
MigrationData_FILE MigrationData_SourceConnectionMechanism = 3
)
// Enum value maps for MigrationData_SourceConnectionMechanism.
var (
MigrationData_SourceConnectionMechanism_name = map[int32]string{
0: "SOURCE_CONNECTION_MECHANISM_UNSPECIFIED",
1: "DIRECT_CONNECTION",
2: "DB_DUMP",
3: "FILE",
}
MigrationData_SourceConnectionMechanism_value = map[string]int32{
"SOURCE_CONNECTION_MECHANISM_UNSPECIFIED": 0,
"DIRECT_CONNECTION": 1,
"DB_DUMP": 2,
"FILE": 3,
}
)
func (x MigrationData_SourceConnectionMechanism) Enum() *MigrationData_SourceConnectionMechanism {
p := new(MigrationData_SourceConnectionMechanism)
*p = x
return p
}
func (x MigrationData_SourceConnectionMechanism) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MigrationData_SourceConnectionMechanism) Descriptor() protoreflect.EnumDescriptor {
return file_migration_data_proto_enumTypes[1].Descriptor()
}
func (MigrationData_SourceConnectionMechanism) Type() protoreflect.EnumType {
return &file_migration_data_proto_enumTypes[1]
}
func (x MigrationData_SourceConnectionMechanism) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MigrationData_SourceConnectionMechanism.Descriptor instead.
func (MigrationData_SourceConnectionMechanism) EnumDescriptor() ([]byte, []int) {
return file_migration_data_proto_rawDescGZIP(), []int{0, 1}
}
type MigrationData_MigrationType int32
const (
MigrationData_MIGRATION_TYPE_UNSPECIFIED MigrationData_MigrationType = 0
MigrationData_SCHEMA_ONLY MigrationData_MigrationType = 1
MigrationData_DATA_ONLY MigrationData_MigrationType = 2
MigrationData_SCHEMA_AND_DATA MigrationData_MigrationType = 3
)
// Enum value maps for MigrationData_MigrationType.
var (
MigrationData_MigrationType_name = map[int32]string{
0: "MIGRATION_TYPE_UNSPECIFIED",
1: "SCHEMA_ONLY",
2: "DATA_ONLY",
3: "SCHEMA_AND_DATA",
}
MigrationData_MigrationType_value = map[string]int32{
"MIGRATION_TYPE_UNSPECIFIED": 0,
"SCHEMA_ONLY": 1,
"DATA_ONLY": 2,
"SCHEMA_AND_DATA": 3,
}
)
func (x MigrationData_MigrationType) Enum() *MigrationData_MigrationType {
p := new(MigrationData_MigrationType)
*p = x
return p
}
func (x MigrationData_MigrationType) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MigrationData_MigrationType) Descriptor() protoreflect.EnumDescriptor {
return file_migration_data_proto_enumTypes[2].Descriptor()
}
func (MigrationData_MigrationType) Type() protoreflect.EnumType {
return &file_migration_data_proto_enumTypes[2]
}
func (x MigrationData_MigrationType) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MigrationData_MigrationType.Descriptor instead.
func (MigrationData_MigrationType) EnumDescriptor() ([]byte, []int) {
return file_migration_data_proto_rawDescGZIP(), []int{0, 2}
}
type MigrationData_TargetDialect int32
const (
MigrationData_TARGET_DIALECT_UNSPECIFIED MigrationData_TargetDialect = 0
MigrationData_GOOGLE_STANDARD_SQL MigrationData_TargetDialect = 1
MigrationData_POSTGRESQL_STANDARD_SQL MigrationData_TargetDialect = 2
)
// Enum value maps for MigrationData_TargetDialect.
var (
MigrationData_TargetDialect_name = map[int32]string{
0: "TARGET_DIALECT_UNSPECIFIED",
1: "GOOGLE_STANDARD_SQL",
2: "POSTGRESQL_STANDARD_SQL",
}
MigrationData_TargetDialect_value = map[string]int32{
"TARGET_DIALECT_UNSPECIFIED": 0,
"GOOGLE_STANDARD_SQL": 1,
"POSTGRESQL_STANDARD_SQL": 2,
}
)
func (x MigrationData_TargetDialect) Enum() *MigrationData_TargetDialect {
p := new(MigrationData_TargetDialect)
*p = x
return p
}
func (x MigrationData_TargetDialect) String() string {
return protoimpl.X.EnumStringOf(x.Descriptor(), protoreflect.EnumNumber(x))
}
func (MigrationData_TargetDialect) Descriptor() protoreflect.EnumDescriptor {
return file_migration_data_proto_enumTypes[3].Descriptor()
}
func (MigrationData_TargetDialect) Type() protoreflect.EnumType {
return &file_migration_data_proto_enumTypes[3]
}
func (x MigrationData_TargetDialect) Number() protoreflect.EnumNumber {
return protoreflect.EnumNumber(x)
}
// Deprecated: Use MigrationData_TargetDialect.Descriptor instead.
func (MigrationData_TargetDialect) EnumDescriptor() ([]byte, []int) {
return file_migration_data_proto_rawDescGZIP(), []int{0, 3}
}
type MigrationData struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// A system generated id with prefix ‘SMT’ to identify that the request was
// made via Spanner migration tool.
MigrationRequestId *string `protobuf:"bytes,1,opt,name=migration_request_id,json=migrationRequestId,proto3,oneof" json:"migration_request_id,omitempty"`
// Source for the migration.
Source *MigrationData_Source `protobuf:"varint,2,opt,name=source,proto3,enum=MigrationData_Source,oneof" json:"source,omitempty"`
// Mechanism used to fetch source data.
SourceConnectionMechanism *MigrationData_SourceConnectionMechanism `protobuf:"varint,3,opt,name=source_connection_mechanism,json=sourceConnectionMechanism,proto3,enum=MigrationData_SourceConnectionMechanism,oneof" json:"source_connection_mechanism,omitempty"`
// Type of migration.
MigrationType *MigrationData_MigrationType `protobuf:"varint,4,opt,name=migration_type,json=migrationType,proto3,enum=MigrationData_MigrationType,oneof" json:"migration_type,omitempty"`
// Type of target dialect.
TargetDialect *MigrationData_TargetDialect `protobuf:"varint,5,opt,name=target_dialect,json=targetDialect,proto3,enum=MigrationData_TargetDialect,oneof" json:"target_dialect,omitempty"`
SchemaPatterns *MigrationData_SchemaPatterns `protobuf:"bytes,6,opt,name=schema_patterns,json=schemaPatterns,proto3,oneof" json:"schema_patterns,omitempty"`
}
func (x *MigrationData) Reset() {
*x = MigrationData{}
if protoimpl.UnsafeEnabled {
mi := &file_migration_data_proto_msgTypes[0]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MigrationData) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MigrationData) ProtoMessage() {}
func (x *MigrationData) ProtoReflect() protoreflect.Message {
mi := &file_migration_data_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 MigrationData.ProtoReflect.Descriptor instead.
func (*MigrationData) Descriptor() ([]byte, []int) {
return file_migration_data_proto_rawDescGZIP(), []int{0}
}
func (x *MigrationData) GetMigrationRequestId() string {
if x != nil && x.MigrationRequestId != nil {
return *x.MigrationRequestId
}
return ""
}
func (x *MigrationData) GetSource() MigrationData_Source {
if x != nil && x.Source != nil {
return *x.Source
}
return MigrationData_SOURCE_UNSPECIFIED
}
func (x *MigrationData) GetSourceConnectionMechanism() MigrationData_SourceConnectionMechanism {
if x != nil && x.SourceConnectionMechanism != nil {
return *x.SourceConnectionMechanism
}
return MigrationData_SOURCE_CONNECTION_MECHANISM_UNSPECIFIED
}
func (x *MigrationData) GetMigrationType() MigrationData_MigrationType {
if x != nil && x.MigrationType != nil {
return *x.MigrationType
}
return MigrationData_MIGRATION_TYPE_UNSPECIFIED
}
func (x *MigrationData) GetTargetDialect() MigrationData_TargetDialect {
if x != nil && x.TargetDialect != nil {
return *x.TargetDialect
}
return MigrationData_TARGET_DIALECT_UNSPECIFIED
}
func (x *MigrationData) GetSchemaPatterns() *MigrationData_SchemaPatterns {
if x != nil {
return x.SchemaPatterns
}
return nil
}
type MigrationData_SchemaPatterns struct {
state protoimpl.MessageState
sizeCache protoimpl.SizeCache
unknownFields protoimpl.UnknownFields
// Number of tables in the database being migrated.
NumTables *int32 `protobuf:"varint,1,opt,name=num_tables,json=numTables,proto3,oneof" json:"num_tables,omitempty"`
MaxInterleaveDepth *int32 `protobuf:"varint,2,opt,name=max_interleave_depth,json=maxInterleaveDepth,proto3,oneof" json:"max_interleave_depth,omitempty"`
// Number of interleaves in the database being migrated.
NumInterleaves *int32 `protobuf:"varint,3,opt,name=num_interleaves,json=numInterleaves,proto3,oneof" json:"num_interleaves,omitempty"`
// Number of indexes in the database being migrated.
NumIndexes *int32 `protobuf:"varint,4,opt,name=num_indexes,json=numIndexes,proto3,oneof" json:"num_indexes,omitempty"`
// number of tables with missing primary key in the database being migrated
NumMissingPrimaryKey *int32 `protobuf:"varint,5,opt,name=num_missing_primary_key,json=numMissingPrimaryKey,proto3,oneof" json:"num_missing_primary_key,omitempty"`
// Number of foreign key in the database being migrated.
NumForeignKey *int32 `protobuf:"varint,6,opt,name=num_foreign_key,json=numForeignKey,proto3,oneof" json:"num_foreign_key,omitempty"`
// Number of columns in the database.
NumColumns *int32 `protobuf:"varint,7,opt,name=num_columns,json=numColumns,proto3,oneof" json:"num_columns,omitempty"`
// Number of warnings occurred for the columns that didn’t map cleanly.
NumWarnings *int32 `protobuf:"varint,8,opt,name=num_warnings,json=numWarnings,proto3,oneof" json:"num_warnings,omitempty"`
}
func (x *MigrationData_SchemaPatterns) Reset() {
*x = MigrationData_SchemaPatterns{}
if protoimpl.UnsafeEnabled {
mi := &file_migration_data_proto_msgTypes[1]
ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
ms.StoreMessageInfo(mi)
}
}
func (x *MigrationData_SchemaPatterns) String() string {
return protoimpl.X.MessageStringOf(x)
}
func (*MigrationData_SchemaPatterns) ProtoMessage() {}
func (x *MigrationData_SchemaPatterns) ProtoReflect() protoreflect.Message {
mi := &file_migration_data_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 MigrationData_SchemaPatterns.ProtoReflect.Descriptor instead.
func (*MigrationData_SchemaPatterns) Descriptor() ([]byte, []int) {
return file_migration_data_proto_rawDescGZIP(), []int{0, 0}
}
func (x *MigrationData_SchemaPatterns) GetNumTables() int32 {
if x != nil && x.NumTables != nil {
return *x.NumTables
}
return 0
}
func (x *MigrationData_SchemaPatterns) GetMaxInterleaveDepth() int32 {
if x != nil && x.MaxInterleaveDepth != nil {
return *x.MaxInterleaveDepth
}
return 0
}
func (x *MigrationData_SchemaPatterns) GetNumInterleaves() int32 {
if x != nil && x.NumInterleaves != nil {
return *x.NumInterleaves
}
return 0
}
func (x *MigrationData_SchemaPatterns) GetNumIndexes() int32 {
if x != nil && x.NumIndexes != nil {
return *x.NumIndexes
}
return 0
}
func (x *MigrationData_SchemaPatterns) GetNumMissingPrimaryKey() int32 {
if x != nil && x.NumMissingPrimaryKey != nil {
return *x.NumMissingPrimaryKey
}
return 0
}
func (x *MigrationData_SchemaPatterns) GetNumForeignKey() int32 {
if x != nil && x.NumForeignKey != nil {
return *x.NumForeignKey
}
return 0
}
func (x *MigrationData_SchemaPatterns) GetNumColumns() int32 {
if x != nil && x.NumColumns != nil {
return *x.NumColumns
}
return 0
}
func (x *MigrationData_SchemaPatterns) GetNumWarnings() int32 {
if x != nil && x.NumWarnings != nil {
return *x.NumWarnings
}
return 0
}
var File_migration_data_proto protoreflect.FileDescriptor
var file_migration_data_proto_rawDesc = []byte{
0x0a, 0x14, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x64, 0x61, 0x74, 0x61,
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x93, 0x0c, 0x0a, 0x0d, 0x4d, 0x69, 0x67, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x12, 0x35, 0x0a, 0x14, 0x6d, 0x69, 0x67, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64,
0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x48, 0x00, 0x52, 0x12, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74,
0x69, 0x6f, 0x6e, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74, 0x49, 0x64, 0x88, 0x01, 0x01, 0x12,
0x32, 0x0a, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x02, 0x20, 0x01, 0x28, 0x0e, 0x32,
0x15, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e,
0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x48, 0x01, 0x52, 0x06, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65,
0x88, 0x01, 0x01, 0x12, 0x6d, 0x0a, 0x1b, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f,
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69,
0x73, 0x6d, 0x18, 0x03, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x28, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x53, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43,
0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69,
0x73, 0x6d, 0x48, 0x02, 0x52, 0x19, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6e,
0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69, 0x73, 0x6d, 0x88,
0x01, 0x01, 0x12, 0x48, 0x0a, 0x0e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f,
0x74, 0x79, 0x70, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x4d, 0x69, 0x67,
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61,
0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x48, 0x03, 0x52, 0x0d, 0x6d, 0x69, 0x67, 0x72,
0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79, 0x70, 0x65, 0x88, 0x01, 0x01, 0x12, 0x48, 0x0a, 0x0e,
0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x5f, 0x64, 0x69, 0x61, 0x6c, 0x65, 0x63, 0x74, 0x18, 0x05,
0x20, 0x01, 0x28, 0x0e, 0x32, 0x1c, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x44, 0x61, 0x74, 0x61, 0x2e, 0x54, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x61, 0x6c, 0x65,
0x63, 0x74, 0x48, 0x04, 0x52, 0x0d, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74, 0x44, 0x69, 0x61, 0x6c,
0x65, 0x63, 0x74, 0x88, 0x01, 0x01, 0x12, 0x4b, 0x0a, 0x0f, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61,
0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x18, 0x06, 0x20, 0x01, 0x28, 0x0b, 0x32,
0x1d, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x44, 0x61, 0x74, 0x61, 0x2e,
0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x48, 0x05,
0x52, 0x0e, 0x73, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73,
0x88, 0x01, 0x01, 0x1a, 0x93, 0x04, 0x0a, 0x0e, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x50, 0x61,
0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x61,
0x62, 0x6c, 0x65, 0x73, 0x18, 0x01, 0x20, 0x01, 0x28, 0x05, 0x48, 0x00, 0x52, 0x09, 0x6e, 0x75,
0x6d, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12, 0x35, 0x0a, 0x14, 0x6d, 0x61,
0x78, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6c, 0x65, 0x61, 0x76, 0x65, 0x5f, 0x64, 0x65, 0x70,
0x74, 0x68, 0x18, 0x02, 0x20, 0x01, 0x28, 0x05, 0x48, 0x01, 0x52, 0x12, 0x6d, 0x61, 0x78, 0x49,
0x6e, 0x74, 0x65, 0x72, 0x6c, 0x65, 0x61, 0x76, 0x65, 0x44, 0x65, 0x70, 0x74, 0x68, 0x88, 0x01,
0x01, 0x12, 0x2c, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6c, 0x65,
0x61, 0x76, 0x65, 0x73, 0x18, 0x03, 0x20, 0x01, 0x28, 0x05, 0x48, 0x02, 0x52, 0x0e, 0x6e, 0x75,
0x6d, 0x49, 0x6e, 0x74, 0x65, 0x72, 0x6c, 0x65, 0x61, 0x76, 0x65, 0x73, 0x88, 0x01, 0x01, 0x12,
0x24, 0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x18, 0x04,
0x20, 0x01, 0x28, 0x05, 0x48, 0x03, 0x52, 0x0a, 0x6e, 0x75, 0x6d, 0x49, 0x6e, 0x64, 0x65, 0x78,
0x65, 0x73, 0x88, 0x01, 0x01, 0x12, 0x3a, 0x0a, 0x17, 0x6e, 0x75, 0x6d, 0x5f, 0x6d, 0x69, 0x73,
0x73, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x5f, 0x6b, 0x65, 0x79,
0x18, 0x05, 0x20, 0x01, 0x28, 0x05, 0x48, 0x04, 0x52, 0x14, 0x6e, 0x75, 0x6d, 0x4d, 0x69, 0x73,
0x73, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79, 0x4b, 0x65, 0x79, 0x88, 0x01,
0x01, 0x12, 0x2b, 0x0a, 0x0f, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e,
0x5f, 0x6b, 0x65, 0x79, 0x18, 0x06, 0x20, 0x01, 0x28, 0x05, 0x48, 0x05, 0x52, 0x0d, 0x6e, 0x75,
0x6d, 0x46, 0x6f, 0x72, 0x65, 0x69, 0x67, 0x6e, 0x4b, 0x65, 0x79, 0x88, 0x01, 0x01, 0x12, 0x24,
0x0a, 0x0b, 0x6e, 0x75, 0x6d, 0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x18, 0x07, 0x20,
0x01, 0x28, 0x05, 0x48, 0x06, 0x52, 0x0a, 0x6e, 0x75, 0x6d, 0x43, 0x6f, 0x6c, 0x75, 0x6d, 0x6e,
0x73, 0x88, 0x01, 0x01, 0x12, 0x26, 0x0a, 0x0c, 0x6e, 0x75, 0x6d, 0x5f, 0x77, 0x61, 0x72, 0x6e,
0x69, 0x6e, 0x67, 0x73, 0x18, 0x08, 0x20, 0x01, 0x28, 0x05, 0x48, 0x07, 0x52, 0x0b, 0x6e, 0x75,
0x6d, 0x57, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x88, 0x01, 0x01, 0x42, 0x0d, 0x0a, 0x0b,
0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x42, 0x17, 0x0a, 0x15, 0x5f,
0x6d, 0x61, 0x78, 0x5f, 0x69, 0x6e, 0x74, 0x65, 0x72, 0x6c, 0x65, 0x61, 0x76, 0x65, 0x5f, 0x64,
0x65, 0x70, 0x74, 0x68, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x69, 0x6e, 0x74,
0x65, 0x72, 0x6c, 0x65, 0x61, 0x76, 0x65, 0x73, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6e, 0x75, 0x6d,
0x5f, 0x69, 0x6e, 0x64, 0x65, 0x78, 0x65, 0x73, 0x42, 0x1a, 0x0a, 0x18, 0x5f, 0x6e, 0x75, 0x6d,
0x5f, 0x6d, 0x69, 0x73, 0x73, 0x69, 0x6e, 0x67, 0x5f, 0x70, 0x72, 0x69, 0x6d, 0x61, 0x72, 0x79,
0x5f, 0x6b, 0x65, 0x79, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x6e, 0x75, 0x6d, 0x5f, 0x66, 0x6f, 0x72,
0x65, 0x69, 0x67, 0x6e, 0x5f, 0x6b, 0x65, 0x79, 0x42, 0x0e, 0x0a, 0x0c, 0x5f, 0x6e, 0x75, 0x6d,
0x5f, 0x63, 0x6f, 0x6c, 0x75, 0x6d, 0x6e, 0x73, 0x42, 0x0f, 0x0a, 0x0d, 0x5f, 0x6e, 0x75, 0x6d,
0x5f, 0x77, 0x61, 0x72, 0x6e, 0x69, 0x6e, 0x67, 0x73, 0x22, 0x6e, 0x0a, 0x06, 0x53, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x12, 0x16, 0x0a, 0x12, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45, 0x5f, 0x55, 0x4e,
0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x09, 0x0a, 0x05, 0x4d,
0x59, 0x53, 0x51, 0x4c, 0x10, 0x01, 0x12, 0x0e, 0x0a, 0x0a, 0x50, 0x4f, 0x53, 0x54, 0x47, 0x52,
0x45, 0x53, 0x51, 0x4c, 0x10, 0x02, 0x12, 0x0c, 0x0a, 0x08, 0x44, 0x59, 0x4e, 0x41, 0x4d, 0x4f,
0x44, 0x42, 0x10, 0x03, 0x12, 0x0e, 0x0a, 0x0a, 0x53, 0x51, 0x4c, 0x5f, 0x53, 0x45, 0x52, 0x56,
0x45, 0x52, 0x10, 0x04, 0x12, 0x0a, 0x0a, 0x06, 0x4f, 0x52, 0x41, 0x43, 0x4c, 0x45, 0x10, 0x05,
0x12, 0x07, 0x0a, 0x03, 0x43, 0x53, 0x56, 0x10, 0x06, 0x22, 0x76, 0x0a, 0x19, 0x53, 0x6f, 0x75,
0x72, 0x63, 0x65, 0x43, 0x6f, 0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x4d, 0x65, 0x63,
0x68, 0x61, 0x6e, 0x69, 0x73, 0x6d, 0x12, 0x2b, 0x0a, 0x27, 0x53, 0x4f, 0x55, 0x52, 0x43, 0x45,
0x5f, 0x43, 0x4f, 0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x5f, 0x4d, 0x45, 0x43, 0x48,
0x41, 0x4e, 0x49, 0x53, 0x4d, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45,
0x44, 0x10, 0x00, 0x12, 0x15, 0x0a, 0x11, 0x44, 0x49, 0x52, 0x45, 0x43, 0x54, 0x5f, 0x43, 0x4f,
0x4e, 0x4e, 0x45, 0x43, 0x54, 0x49, 0x4f, 0x4e, 0x10, 0x01, 0x12, 0x0b, 0x0a, 0x07, 0x44, 0x42,
0x5f, 0x44, 0x55, 0x4d, 0x50, 0x10, 0x02, 0x12, 0x08, 0x0a, 0x04, 0x46, 0x49, 0x4c, 0x45, 0x10,
0x03, 0x22, 0x64, 0x0a, 0x0d, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x54, 0x79,
0x70, 0x65, 0x12, 0x1e, 0x0a, 0x1a, 0x4d, 0x49, 0x47, 0x52, 0x41, 0x54, 0x49, 0x4f, 0x4e, 0x5f,
0x54, 0x59, 0x50, 0x45, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45, 0x43, 0x49, 0x46, 0x49, 0x45, 0x44,
0x10, 0x00, 0x12, 0x0f, 0x0a, 0x0b, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x4f, 0x4e, 0x4c,
0x59, 0x10, 0x01, 0x12, 0x0d, 0x0a, 0x09, 0x44, 0x41, 0x54, 0x41, 0x5f, 0x4f, 0x4e, 0x4c, 0x59,
0x10, 0x02, 0x12, 0x13, 0x0a, 0x0f, 0x53, 0x43, 0x48, 0x45, 0x4d, 0x41, 0x5f, 0x41, 0x4e, 0x44,
0x5f, 0x44, 0x41, 0x54, 0x41, 0x10, 0x03, 0x22, 0x65, 0x0a, 0x0d, 0x54, 0x61, 0x72, 0x67, 0x65,
0x74, 0x44, 0x69, 0x61, 0x6c, 0x65, 0x63, 0x74, 0x12, 0x1e, 0x0a, 0x1a, 0x54, 0x41, 0x52, 0x47,
0x45, 0x54, 0x5f, 0x44, 0x49, 0x41, 0x4c, 0x45, 0x43, 0x54, 0x5f, 0x55, 0x4e, 0x53, 0x50, 0x45,
0x43, 0x49, 0x46, 0x49, 0x45, 0x44, 0x10, 0x00, 0x12, 0x17, 0x0a, 0x13, 0x47, 0x4f, 0x4f, 0x47,
0x4c, 0x45, 0x5f, 0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x53, 0x51, 0x4c, 0x10,
0x01, 0x12, 0x1b, 0x0a, 0x17, 0x50, 0x4f, 0x53, 0x54, 0x47, 0x52, 0x45, 0x53, 0x51, 0x4c, 0x5f,
0x53, 0x54, 0x41, 0x4e, 0x44, 0x41, 0x52, 0x44, 0x5f, 0x53, 0x51, 0x4c, 0x10, 0x02, 0x42, 0x17,
0x0a, 0x15, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x72, 0x65, 0x71,
0x75, 0x65, 0x73, 0x74, 0x5f, 0x69, 0x64, 0x42, 0x09, 0x0a, 0x07, 0x5f, 0x73, 0x6f, 0x75, 0x72,
0x63, 0x65, 0x42, 0x1e, 0x0a, 0x1c, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x5f, 0x63, 0x6f,
0x6e, 0x6e, 0x65, 0x63, 0x74, 0x69, 0x6f, 0x6e, 0x5f, 0x6d, 0x65, 0x63, 0x68, 0x61, 0x6e, 0x69,
0x73, 0x6d, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
0x5f, 0x74, 0x79, 0x70, 0x65, 0x42, 0x11, 0x0a, 0x0f, 0x5f, 0x74, 0x61, 0x72, 0x67, 0x65, 0x74,
0x5f, 0x64, 0x69, 0x61, 0x6c, 0x65, 0x63, 0x74, 0x42, 0x12, 0x0a, 0x10, 0x5f, 0x73, 0x63, 0x68,
0x65, 0x6d, 0x61, 0x5f, 0x70, 0x61, 0x74, 0x74, 0x65, 0x72, 0x6e, 0x73, 0x42, 0x0c, 0x5a, 0x0a,
0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74,
0x6f, 0x33,
}
var (
file_migration_data_proto_rawDescOnce sync.Once
file_migration_data_proto_rawDescData = file_migration_data_proto_rawDesc
)
func file_migration_data_proto_rawDescGZIP() []byte {
file_migration_data_proto_rawDescOnce.Do(func() {
file_migration_data_proto_rawDescData = protoimpl.X.CompressGZIP(file_migration_data_proto_rawDescData)
})
return file_migration_data_proto_rawDescData
}
var file_migration_data_proto_enumTypes = make([]protoimpl.EnumInfo, 4)
var file_migration_data_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
var file_migration_data_proto_goTypes = []interface{}{
(MigrationData_Source)(0), // 0: MigrationData.Source
(MigrationData_SourceConnectionMechanism)(0), // 1: MigrationData.SourceConnectionMechanism
(MigrationData_MigrationType)(0), // 2: MigrationData.MigrationType
(MigrationData_TargetDialect)(0), // 3: MigrationData.TargetDialect
(*MigrationData)(nil), // 4: MigrationData
(*MigrationData_SchemaPatterns)(nil), // 5: MigrationData.SchemaPatterns
}
var file_migration_data_proto_depIdxs = []int32{
0, // 0: MigrationData.source:type_name -> MigrationData.Source
1, // 1: MigrationData.source_connection_mechanism:type_name -> MigrationData.SourceConnectionMechanism
2, // 2: MigrationData.migration_type:type_name -> MigrationData.MigrationType
3, // 3: MigrationData.target_dialect:type_name -> MigrationData.TargetDialect
5, // 4: MigrationData.schema_patterns:type_name -> MigrationData.SchemaPatterns
5, // [5:5] is the sub-list for method output_type
5, // [5:5] is the sub-list for method input_type
5, // [5:5] is the sub-list for extension type_name
5, // [5:5] is the sub-list for extension extendee
0, // [0:5] is the sub-list for field type_name
}
func init() { file_migration_data_proto_init() }
func file_migration_data_proto_init() {
if File_migration_data_proto != nil {
return
}
if !protoimpl.UnsafeEnabled {
file_migration_data_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MigrationData); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
file_migration_data_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
switch v := v.(*MigrationData_SchemaPatterns); i {
case 0:
return &v.state
case 1:
return &v.sizeCache
case 2:
return &v.unknownFields
default:
return nil
}
}
}
file_migration_data_proto_msgTypes[0].OneofWrappers = []interface{}{}
file_migration_data_proto_msgTypes[1].OneofWrappers = []interface{}{}
type x struct{}
out := protoimpl.TypeBuilder{
File: protoimpl.DescBuilder{
GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
RawDescriptor: file_migration_data_proto_rawDesc,
NumEnums: 4,
NumMessages: 2,
NumExtensions: 0,
NumServices: 0,
},
GoTypes: file_migration_data_proto_goTypes,
DependencyIndexes: file_migration_data_proto_depIdxs,
EnumInfos: file_migration_data_proto_enumTypes,
MessageInfos: file_migration_data_proto_msgTypes,
}.Build()
File_migration_data_proto = out.File
file_migration_data_proto_rawDesc = nil
file_migration_data_proto_goTypes = nil
file_migration_data_proto_depIdxs = nil
}