...

Source file src/google.golang.org/genproto/googleapis/cloud/bigquery/migration/tasks/translation/v2alpha/dataset_reference.pb.go

Documentation: google.golang.org/genproto/googleapis/cloud/bigquery/migration/tasks/translation/v2alpha

     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/translation/v2alpha/dataset_reference.proto
    20  
    21  package translation
    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  type DatasetReference struct {
    40  	state         protoimpl.MessageState
    41  	sizeCache     protoimpl.SizeCache
    42  	unknownFields protoimpl.UnknownFields
    43  
    44  	// Required. A unique ID for this dataset, without the project name. The ID
    45  	// must contain only letters (a-z, A-Z), numbers (0-9), or underscores (_).
    46  	// The maximum length is 1,024 characters.
    47  	DatasetId string `protobuf:"bytes,1,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
    48  	// Optional. The ID of the project containing this dataset.
    49  	ProjectId string `protobuf:"bytes,2,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
    50  }
    51  
    52  func (x *DatasetReference) Reset() {
    53  	*x = DatasetReference{}
    54  	if protoimpl.UnsafeEnabled {
    55  		mi := &file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_msgTypes[0]
    56  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    57  		ms.StoreMessageInfo(mi)
    58  	}
    59  }
    60  
    61  func (x *DatasetReference) String() string {
    62  	return protoimpl.X.MessageStringOf(x)
    63  }
    64  
    65  func (*DatasetReference) ProtoMessage() {}
    66  
    67  func (x *DatasetReference) ProtoReflect() protoreflect.Message {
    68  	mi := &file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_msgTypes[0]
    69  	if protoimpl.UnsafeEnabled && x != nil {
    70  		ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
    71  		if ms.LoadMessageInfo() == nil {
    72  			ms.StoreMessageInfo(mi)
    73  		}
    74  		return ms
    75  	}
    76  	return mi.MessageOf(x)
    77  }
    78  
    79  // Deprecated: Use DatasetReference.ProtoReflect.Descriptor instead.
    80  func (*DatasetReference) Descriptor() ([]byte, []int) {
    81  	return file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDescGZIP(), []int{0}
    82  }
    83  
    84  func (x *DatasetReference) GetDatasetId() string {
    85  	if x != nil {
    86  		return x.DatasetId
    87  	}
    88  	return ""
    89  }
    90  
    91  func (x *DatasetReference) GetProjectId() string {
    92  	if x != nil {
    93  		return x.ProjectId
    94  	}
    95  	return ""
    96  }
    97  
    98  var File_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto protoreflect.FileDescriptor
    99  
   100  var file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDesc = []byte{
   101  	0x0a, 0x51, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
   102  	0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f,
   103  	0x6e, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74,
   104  	0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x2f, 0x64, 0x61, 0x74, 0x61,
   105  	0x73, 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72,
   106  	0x6f, 0x74, 0x6f, 0x12, 0x39, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75,
   107  	0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61,
   108  	0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73,
   109  	0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x1a, 0x1f,
   110  	0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64,
   111  	0x5f, 0x62, 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22,
   112  	0x5a, 0x0a, 0x10, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65,
   113  	0x6e, 0x63, 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69,
   114  	0x64, 0x18, 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61,
   115  	0x74, 0x61, 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65,
   116  	0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01,
   117  	0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x42, 0xb6, 0x02, 0x0a, 0x3d,
   118  	0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
   119  	0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x6d, 0x69, 0x67, 0x72, 0x61, 0x74,
   120  	0x69, 0x6f, 0x6e, 0x2e, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2e, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c,
   121  	0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61, 0x42, 0x15, 0x44,
   122  	0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x50,
   123  	0x72, 0x6f, 0x74, 0x6f, 0x50, 0x01, 0x5a, 0x64, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x67,
   124  	0x6f, 0x6c, 0x61, 0x6e, 0x67, 0x2e, 0x6f, 0x72, 0x67, 0x2f, 0x67, 0x65, 0x6e, 0x70, 0x72, 0x6f,
   125  	0x74, 0x6f, 0x2f, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x61, 0x70, 0x69, 0x73, 0x2f, 0x63, 0x6c,
   126  	0x6f, 0x75, 0x64, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x6d, 0x69, 0x67,
   127  	0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x74, 0x61, 0x73, 0x6b, 0x73, 0x2f, 0x74, 0x72, 0x61,
   128  	0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2f, 0x76, 0x32, 0x61, 0x6c, 0x70, 0x68, 0x61,
   129  	0x3b, 0x74, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0xaa, 0x02, 0x39, 0x47,
   130  	0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x51,
   131  	0x75, 0x65, 0x72, 0x79, 0x2e, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x2e, 0x54,
   132  	0x61, 0x73, 0x6b, 0x73, 0x2e, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e,
   133  	0x2e, 0x56, 0x32, 0x41, 0x6c, 0x70, 0x68, 0x61, 0xca, 0x02, 0x39, 0x47, 0x6f, 0x6f, 0x67, 0x6c,
   134  	0x65, 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x67, 0x51, 0x75, 0x65, 0x72, 0x79,
   135  	0x5c, 0x4d, 0x69, 0x67, 0x72, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x54, 0x61, 0x73, 0x6b, 0x73,
   136  	0x5c, 0x54, 0x72, 0x61, 0x6e, 0x73, 0x6c, 0x61, 0x74, 0x69, 0x6f, 0x6e, 0x5c, 0x56, 0x32, 0x61,
   137  	0x6c, 0x70, 0x68, 0x61, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
   138  }
   139  
   140  var (
   141  	file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDescOnce sync.Once
   142  	file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDescData = file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDesc
   143  )
   144  
   145  func file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDescGZIP() []byte {
   146  	file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDescOnce.Do(func() {
   147  		file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDescData)
   148  	})
   149  	return file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDescData
   150  }
   151  
   152  var file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
   153  var file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_goTypes = []interface{}{
   154  	(*DatasetReference)(nil), // 0: google.cloud.bigquery.migration.tasks.translation.v2alpha.DatasetReference
   155  }
   156  var file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_depIdxs = []int32{
   157  	0, // [0:0] is the sub-list for method output_type
   158  	0, // [0:0] is the sub-list for method input_type
   159  	0, // [0:0] is the sub-list for extension type_name
   160  	0, // [0:0] is the sub-list for extension extendee
   161  	0, // [0:0] is the sub-list for field type_name
   162  }
   163  
   164  func init() {
   165  	file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_init()
   166  }
   167  func file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_init() {
   168  	if File_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto != nil {
   169  		return
   170  	}
   171  	if !protoimpl.UnsafeEnabled {
   172  		file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_msgTypes[0].Exporter = func(v interface{}, i int) interface{} {
   173  			switch v := v.(*DatasetReference); i {
   174  			case 0:
   175  				return &v.state
   176  			case 1:
   177  				return &v.sizeCache
   178  			case 2:
   179  				return &v.unknownFields
   180  			default:
   181  				return nil
   182  			}
   183  		}
   184  	}
   185  	type x struct{}
   186  	out := protoimpl.TypeBuilder{
   187  		File: protoimpl.DescBuilder{
   188  			GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
   189  			RawDescriptor: file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDesc,
   190  			NumEnums:      0,
   191  			NumMessages:   1,
   192  			NumExtensions: 0,
   193  			NumServices:   0,
   194  		},
   195  		GoTypes:           file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_goTypes,
   196  		DependencyIndexes: file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_depIdxs,
   197  		MessageInfos:      file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_msgTypes,
   198  	}.Build()
   199  	File_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto = out.File
   200  	file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_rawDesc = nil
   201  	file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_goTypes = nil
   202  	file_google_cloud_bigquery_migration_tasks_translation_v2alpha_dataset_reference_proto_depIdxs = nil
   203  }
   204  

View as plain text