...

Source file src/cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb/assessment_task.pb.go

Documentation: cloud.google.com/go/bigquery/migration/apiv2alpha/migrationpb

     1  // Copyright 2021 Google LLC
     2  //
     3  // Licensed under the Apache License, Version 2.0 (the "License");
     4  // you may not use this file except in compliance with the License.
     5  // You may obtain a copy of the License at
     6  //
     7  //     http://www.apache.org/licenses/LICENSE-2.0
     8  //
     9  // Unless required by applicable law or agreed to in writing, software
    10  // distributed under the License is distributed on an "AS IS" BASIS,
    11  // WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
    12  // See the License for the specific language governing permissions and
    13  // limitations under the License.
    14  
    15  // Code generated by protoc-gen-go. DO NOT EDIT.
    16  // versions:
    17  // 	protoc-gen-go v1.32.0
    18  // 	protoc        v4.25.2
    19  // source: google/cloud/bigquery/migration/v2alpha/assessment_task.proto
    20  
    21  package migrationpb
    22  
    23  import (
    24  	reflect "reflect"
    25  	sync "sync"
    26  
    27  	_ "google.golang.org/genproto/googleapis/api/annotations"
    28  	protoreflect "google.golang.org/protobuf/reflect/protoreflect"
    29  	protoimpl "google.golang.org/protobuf/runtime/protoimpl"
    30  )
    31  
    32  const (
    33  	// Verify that this generated code is sufficiently up-to-date.
    34  	_ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
    35  	// Verify that runtime/protoimpl is sufficiently up-to-date.
    36  	_ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
    37  )
    38  
    39  // Assessment task config.
    40  type AssessmentTaskDetails struct {
    41  	state         protoimpl.MessageState
    42  	sizeCache     protoimpl.SizeCache
    43  	unknownFields protoimpl.UnknownFields
    44  
    45  	// Required. The Cloud Storage path for assessment input files.
    46  	InputPath string `protobuf:"bytes,1,opt,name=input_path,json=inputPath,proto3" json:"input_path,omitempty"`
    47  	// Required. The BigQuery dataset for output.
    48  	OutputDataset string `protobuf:"bytes,2,opt,name=output_dataset,json=outputDataset,proto3" json:"output_dataset,omitempty"`
    49  	// Optional. An optional Cloud Storage path to write the query logs (which is
    50  	// then used as an input path on the translation task)
    51  	QuerylogsPath string `protobuf:"bytes,3,opt,name=querylogs_path,json=querylogsPath,proto3" json:"querylogs_path,omitempty"`
    52  	// Required. The data source or data warehouse type (eg: TERADATA/REDSHIFT)
    53  	// from which the input data is extracted.
    54  	DataSource string `protobuf:"bytes,4,opt,name=data_source,json=dataSource,proto3" json:"data_source,omitempty"`
    55  }
    56  
    57  func (x *AssessmentTaskDetails) Reset() {
    58  	*x = AssessmentTaskDetails{}
    59  	if protoimpl.UnsafeEnabled {
    60  		mi := &file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_msgTypes[0]
    61  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    62  		ms.StoreMessageInfo(mi)
    63  	}
    64  }
    65  
    66  func (x *AssessmentTaskDetails) String() string {
    67  	return protoimpl.X.MessageStringOf(x)
    68  }
    69  
    70  func (*AssessmentTaskDetails) ProtoMessage() {}
    71  
    72  func (x *AssessmentTaskDetails) ProtoReflect() protoreflect.Message {
    73  	mi := &file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_msgTypes[0]
    74  	if protoimpl.UnsafeEnabled && x != nil {
    75  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    76  		if ms.LoadMessageInfo() == nil {
    77  			ms.StoreMessageInfo(mi)
    78  		}
    79  		return ms
    80  	}
    81  	return mi.MessageOf(x)
    82  }
    83  
    84  // Deprecated: Use AssessmentTaskDetails.ProtoReflect.Descriptor instead.
    85  func (*AssessmentTaskDetails) Descriptor() ([]byte, []int) {
    86  	return file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDescGZIP(), []int{0}
    87  }
    88  
    89  func (x *AssessmentTaskDetails) GetInputPath() string {
    90  	if x != nil {
    91  		return x.InputPath
    92  	}
    93  	return ""
    94  }
    95  
    96  func (x *AssessmentTaskDetails) GetOutputDataset() string {
    97  	if x != nil {
    98  		return x.OutputDataset
    99  	}
   100  	return ""
   101  }
   102  
   103  func (x *AssessmentTaskDetails) GetQuerylogsPath() string {
   104  	if x != nil {
   105  		return x.QuerylogsPath
   106  	}
   107  	return ""
   108  }
   109  
   110  func (x *AssessmentTaskDetails) GetDataSource() string {
   111  	if x != nil {
   112  		return x.DataSource
   113  	}
   114  	return ""
   115  }
   116  
   117  // Details for an assessment task orchestration result.
   118  type AssessmentOrchestrationResultDetails struct {
   119  	state         protoimpl.MessageState
   120  	sizeCache     protoimpl.SizeCache
   121  	unknownFields protoimpl.UnknownFields
   122  
   123  	// Optional. The version used for the output table schemas.
   124  	OutputTablesSchemaVersion string `protobuf:"bytes,1,opt,name=output_tables_schema_version,json=outputTablesSchemaVersion,proto3" json:"output_tables_schema_version,omitempty"`
   125  }
   126  
   127  func (x *AssessmentOrchestrationResultDetails) Reset() {
   128  	*x = AssessmentOrchestrationResultDetails{}
   129  	if protoimpl.UnsafeEnabled {
   130  		mi := &file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_msgTypes[1]
   131  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   132  		ms.StoreMessageInfo(mi)
   133  	}
   134  }
   135  
   136  func (x *AssessmentOrchestrationResultDetails) String() string {
   137  	return protoimpl.X.MessageStringOf(x)
   138  }
   139  
   140  func (*AssessmentOrchestrationResultDetails) ProtoMessage() {}
   141  
   142  func (x *AssessmentOrchestrationResultDetails) ProtoReflect() protoreflect.Message {
   143  	mi := &file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_msgTypes[1]
   144  	if protoimpl.UnsafeEnabled && x != nil {
   145  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
   146  		if ms.LoadMessageInfo() == nil {
   147  			ms.StoreMessageInfo(mi)
   148  		}
   149  		return ms
   150  	}
   151  	return mi.MessageOf(x)
   152  }
   153  
   154  // Deprecated: Use AssessmentOrchestrationResultDetails.ProtoReflect.Descriptor instead.
   155  func (*AssessmentOrchestrationResultDetails) Descriptor() ([]byte, []int) {
   156  	return file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDescGZIP(), []int{1}
   157  }
   158  
   159  func (x *AssessmentOrchestrationResultDetails) GetOutputTablesSchemaVersion() string {
   160  	if x != nil {
   161  		return x.OutputTablesSchemaVersion
   162  	}
   163  	return ""
   164  }
   165  
   166  var File_google_cloud_bigquery_migration_v2alpha_assessment_task_proto protoreflect.FileDescriptor
   167  
   168  var file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDesc = []byte{
   169  	0x0a, 0x3d, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
   170  	0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
   171  	0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x73, 0x73,
   172  	0x6d, 0x65, 0x6e, 0x74, 0x5f, 0x74, 0x61, 0x73, 0x6b, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12,
   173  	0x27, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
   174  	0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   175  	0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
   176  	0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76,
   177  	0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x01, 0x0a, 0x15, 0x41, 0x73,
   178  	0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x65, 0x74, 0x61,
   179  	0x69, 0x6c, 0x73, 0x12, 0x22, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x74,
   180  	0x68, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x69, 0x6e,
   181  	0x70, 0x75, 0x74, 0x50, 0x61, 0x74, 0x68, 0x12, 0x2a, 0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75,
   182  	0x74, 0x5f, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42,
   183  	0x03, 0xe0, 0x41, 0x02, 0x52, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61,
   184  	0x73, 0x65, 0x74, 0x12, 0x2a, 0x0a, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x73,
   185  	0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
   186  	0x52, 0x0d, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12,
   187  	0x24, 0x0a, 0x0b, 0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04,
   188  	0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53,
   189  	0x6f, 0x75, 0x72, 0x63, 0x65, 0x22, 0x6c, 0x0a, 0x24, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d,
   190  	0x65, 0x6e, 0x74, 0x4f, 0x72, 0x63, 0x68, 0x65, 0x73, 0x74, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   191  	0x52, 0x65, 0x73, 0x75, 0x6c, 0x74, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, 0x12, 0x44, 0x0a,
   192  	0x1c, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x5f, 0x73,
   193  	0x63, 0x68, 0x65, 0x6d, 0x61, 0x5f, 0x76, 0x65, 0x72, 0x73, 0x69, 0x6f, 0x6e, 0x18, 0x01, 0x20,
   194  	0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x19, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74,
   195  	0x54, 0x61, 0x62, 0x6c, 0x65, 0x73, 0x53, 0x63, 0x68, 0x65, 0x6d, 0x61, 0x56, 0x65, 0x72, 0x73,
   196  	0x69, 0x6f, 0x6e, 0x42, 0xe3, 0x01, 0x0a, 0x2b, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67,
   197  	0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72,
   198  	0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c,
   199  	0x70, 0x68, 0x61, 0x42, 0x13, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x54,
   200  	0x61, 0x73, 0x6b, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x49, 0x63, 0x6c, 0x6f, 0x75,
   201  	0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
   202  	0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69,
   203  	0x6f, 0x6e, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x6d, 0x69,
   204  	0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x70, 0x62, 0x3b, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74,
   205  	0x69, 0x6f, 0x6e, 0x70, 0x62, 0xaa, 0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43,
   206  	0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x69,
   207  	0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca,
   208  	0x02, 0x27, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42,
   209  	0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
   210  	0x6e, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
   211  	0x33,
   212  }
   213  
   214  var (
   215  	file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDescOnce sync.Once
   216  	file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDescData = file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDesc
   217  )
   218  
   219  func file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDescGZIP() []byte {
   220  	file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDescOnce.Do(func() {
   221  		file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDescData)
   222  	})
   223  	return file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDescData
   224  }
   225  
   226  var file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_msgTypes = make([]protoimpl.MessageInfo, 2)
   227  var file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_goTypes = []interface{}{
   228  	(*AssessmentTaskDetails)(nil),                // 0: google.cloud.bigquery.migration.v2alpha.AssessmentTaskDetails
   229  	(*AssessmentOrchestrationResultDetails)(nil), // 1: google.cloud.bigquery.migration.v2alpha.AssessmentOrchestrationResultDetails
   230  }
   231  var file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_depIdxs = []int32{
   232  	0, // [0:0] is the sub-list for method output_type
   233  	0, // [0:0] is the sub-list for method input_type
   234  	0, // [0:0] is the sub-list for extension type_name
   235  	0, // [0:0] is the sub-list for extension extendee
   236  	0, // [0:0] is the sub-list for field type_name
   237  }
   238  
   239  func init() { file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_init() }
   240  func file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_init() {
   241  	if File_google_cloud_bigquery_migration_v2alpha_assessment_task_proto != nil {
   242  		return
   243  	}
   244  	if !protoimpl.UnsafeEnabled {
   245  		file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   246  			switch v := v.(*AssessmentTaskDetails); i {
   247  			case 0:
   248  				return &v.state
   249  			case 1:
   250  				return &v.sizeCache
   251  			case 2:
   252  				return &v.unknownFields
   253  			default:
   254  				return nil
   255  			}
   256  		}
   257  		file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_msgTypes[1].Exporter = func(v interface{}, i int) interface{} {
   258  			switch v := v.(*AssessmentOrchestrationResultDetails); i {
   259  			case 0:
   260  				return &v.state
   261  			case 1:
   262  				return &v.sizeCache
   263  			case 2:
   264  				return &v.unknownFields
   265  			default:
   266  				return nil
   267  			}
   268  		}
   269  	}
   270  	type x struct{}
   271  	out := protoimpl.TypeBuilder{
   272  		File: protoimpl.DescBuilder{
   273  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   274  			RawDescriptor: file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDesc,
   275  			NumEnums:      0,
   276  			NumMessages:   2,
   277  			NumExtensions: 0,
   278  			NumServices:   0,
   279  		},
   280  		GoTypes:           file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_goTypes,
   281  		DependencyIndexes: file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_depIdxs,
   282  		MessageInfos:      file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_msgTypes,
   283  	}.Build()
   284  	File_google_cloud_bigquery_migration_v2alpha_assessment_task_proto = out.File
   285  	file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_rawDesc = nil
   286  	file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_goTypes = nil
   287  	file_google_cloud_bigquery_migration_v2alpha_assessment_task_proto_depIdxs = nil
   288  }
   289  

View as plain text