| 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.26.0 |
| 18 |
// protoc v3.12.2 |
| 19 |
// source: google/cloud/bigquery/migration/tasks/assessment/v2alpha/assessment.proto |
| 20 |
|
| 21 |
package assessment |
| 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 details. |
| 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 then used |
| 50 |
// 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) from which |
| 53 |
// 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_tasks_assessment_v2alpha_assessment_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_tasks_assessment_v2alpha_assessment_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_tasks_assessment_v2alpha_assessment_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 |
var File_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto protoreflect.FileDescriptor |
| 118 |
|
| 119 |
var file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDesc = []byte{ |
| 120 |
0x0a, 0x49, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62, |
| 121 |
0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, |
| 122 |
0x6e, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, |
| 123 |
0x6e, 0x74, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x61, 0x73, 0x73, 0x65, 0x73, |
| 124 |
0x73, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x38, 0x67, 0x6f, 0x6f, |
| 125 |
0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, |
| 126 |
0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x73, |
| 127 |
0x6b, 0x73, 0x2e, 0x61, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, |
| 128 |
0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, |
| 129 |
0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, |
| 130 |
0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0xb9, 0x01, 0x0a, 0x15, 0x41, 0x73, 0x73, 0x65, 0x73, |
| 131 |
0x73, 0x6d, 0x65, 0x6e, 0x74, 0x54, 0x61, 0x73, 0x6b, 0x44, 0x65, 0x74, 0x61, 0x69, 0x6c, 0x73, |
| 132 |
0x12, 0x22, 0x0a, 0x0a, 0x69, 0x6e, 0x70, 0x75, 0x74, 0x5f, 0x70, 0x61, 0x74, 0x68, 0x18, 0x01, |
| 133 |
0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x69, 0x6e, 0x70, 0x75, 0x74, |
| 134 |
0x50, 0x61, 0x74, 0x68, 0x12, 0x2a, 0x0a, 0x0e, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x5f, 0x64, |
| 135 |
0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, |
| 136 |
0x02, 0x52, 0x0d, 0x6f, 0x75, 0x74, 0x70, 0x75, 0x74, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, |
| 137 |
0x12, 0x2a, 0x0a, 0x0e, 0x71, 0x75, 0x65, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x73, 0x5f, 0x70, 0x61, |
| 138 |
0x74, 0x68, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x0d, 0x71, |
| 139 |
0x75, 0x65, 0x72, 0x79, 0x6c, 0x6f, 0x67, 0x73, 0x50, 0x61, 0x74, 0x68, 0x12, 0x24, 0x0a, 0x0b, |
| 140 |
0x64, 0x61, 0x74, 0x61, 0x5f, 0x73, 0x6f, 0x75, 0x72, 0x63, 0x65, 0x18, 0x04, 0x20, 0x01, 0x28, |
| 141 |
0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x53, 0x6f, 0x75, 0x72, |
| 142 |
0x63, 0x65, 0x42, 0xab, 0x02, 0x0a, 0x3c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, |
| 143 |
0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, |
| 144 |
0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, |
| 145 |
0x2e, 0x61, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x76, 0x32, 0x61, 0x6c, |
| 146 |
0x70, 0x68, 0x61, 0x42, 0x0f, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x50, |
| 147 |
0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x62, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67, |
| 148 |
0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f, |
| 149 |
0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c, |
| 150 |
0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, |
| 151 |
0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x61, 0x73, 0x73, |
| 152 |
0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x3b, |
| 153 |
0x61, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0xaa, 0x02, 0x38, 0x47, 0x6f, 0x6f, |
| 154 |
0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, |
| 155 |
0x72, 0x79, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54, 0x61, 0x73, |
| 156 |
0x6b, 0x73, 0x2e, 0x41, 0x73, 0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x2e, 0x56, 0x32, |
| 157 |
0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x38, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x5c, 0x43, |
| 158 |
0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79, 0x5c, 0x4d, 0x69, |
| 159 |
0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x73, 0x5c, 0x41, 0x73, |
| 160 |
0x73, 0x65, 0x73, 0x73, 0x6d, 0x65, 0x6e, 0x74, 0x5c, 0x56, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, |
| 161 |
0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33, |
| 162 |
} |
| 163 |
|
| 164 |
var ( |
| 165 |
file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDescOnce sync.Once |
| 166 |
file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDescData = file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDesc |
| 167 |
) |
| 168 |
|
| 169 |
func file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDescGZIP() []byte { |
| 170 |
file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDescOnce.Do(func() { |
| 171 |
file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDescData) |
| 172 |
}) |
| 173 |
return file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDescData |
| 174 |
} |
| 175 |
|
| 176 |
var file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_msgTypes = make([]protoimpl.MessageInfo, 1) |
| 177 |
var file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_goTypes = []interface{}{ |
| 178 |
(*AssessmentTaskDetails)(nil), // 0: google.cloud.bigquery.migration.tasks.assessment.v2alpha.AssessmentTaskDetails |
| 179 |
} |
| 180 |
var file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_depIdxs = []int32{ |
| 181 |
0, // [0:0] is the sub-list for method output_type |
| 182 |
0, // [0:0] is the sub-list for method input_type |
| 183 |
0, // [0:0] is the sub-list for extension type_name |
| 184 |
0, // [0:0] is the sub-list for extension extendee |
| 185 |
0, // [0:0] is the sub-list for field type_name |
| 186 |
} |
| 187 |
|
| 188 |
func init() { file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_init() } |
| 189 |
func file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_init() { |
| 190 |
if File_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto != nil { |
| 191 |
return |
| 192 |
} |
| 193 |
if !protoimpl.UnsafeEnabled { |
| 194 |
file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} { |
| 195 |
switch v := v.(*AssessmentTaskDetails); i { |
| 196 |
case 0: |
| 197 |
return &v.state |
| 198 |
case 1: |
| 199 |
return &v.sizeCache |
| 200 |
case 2: |
| 201 |
return &v.unknownFields |
| 202 |
default: |
| 203 |
return nil |
| 204 |
} |
| 205 |
} |
| 206 |
} |
| 207 |
type x struct{} |
| 208 |
out := protoimpl.TypeBuilder{ |
| 209 |
File: protoimpl.DescBuilder{ |
| 210 |
GoPackagePath: reflect.TypeOf(x{}).PkgPath(), |
| 211 |
RawDescriptor: file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDesc, |
| 212 |
NumEnums: 0, |
| 213 |
NumMessages: 1, |
| 214 |
NumExtensions: 0, |
| 215 |
NumServices: 0, |
| 216 |
}, |
| 217 |
GoTypes: file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_goTypes, |
| 218 |
DependencyIndexes: file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_depIdxs, |
| 219 |
MessageInfos: file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_msgTypes, |
| 220 |
}.Build() |
| 221 |
File_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto = out.File |
| 222 |
file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_rawDesc = nil |
| 223 |
file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_goTypes = nil |
| 224 |
file_google_cloud_bigquery_migration_tasks_assessment_v2alpha_assessment_proto_depIdxs = nil |
| 225 |
} |