Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/dataset_reference.pb.go

raw
1 // Copyright 2025 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.35.2
18 // protoc v4.25.7
19 // source: google/cloud/bigquery/v2/dataset_reference.proto
20
21 package bigquerypb
22
23 import (
24 _ "google.golang.org/genproto/googleapis/api/annotations"
25 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
26 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
27 reflect "reflect"
28 sync "sync"
29 )
30
31 const (
32 // Verify that this generated code is sufficiently up-to-date.
33 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
34 // Verify that runtime/protoimpl is sufficiently up-to-date.
35 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
36 )
37
38 // Identifier for a dataset.
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 mi := &file_google_cloud_bigquery_v2_dataset_reference_proto_msgTypes[0]
55 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
56 ms.StoreMessageInfo(mi)
57 }
58
59 func (x *DatasetReference) String() string {
60 return protoimpl.X.MessageStringOf(x)
61 }
62
63 func (*DatasetReference) ProtoMessage() {}
64
65 func (x *DatasetReference) ProtoReflect() protoreflect.Message {
66 mi := &file_google_cloud_bigquery_v2_dataset_reference_proto_msgTypes[0]
67 if x != nil {
68 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
69 if ms.LoadMessageInfo() == nil {
70 ms.StoreMessageInfo(mi)
71 }
72 return ms
73 }
74 return mi.MessageOf(x)
75 }
76
77 // Deprecated: Use DatasetReference.ProtoReflect.Descriptor instead.
78 func (*DatasetReference) Descriptor() ([]byte, []int) {
79 return file_google_cloud_bigquery_v2_dataset_reference_proto_rawDescGZIP(), []int{0}
80 }
81
82 func (x *DatasetReference) GetDatasetId() string {
83 if x != nil {
84 return x.DatasetId
85 }
86 return ""
87 }
88
89 func (x *DatasetReference) GetProjectId() string {
90 if x != nil {
91 return x.ProjectId
92 }
93 return ""
94 }
95
96 var File_google_cloud_bigquery_v2_dataset_reference_proto protoreflect.FileDescriptor
97
98 var file_google_cloud_bigquery_v2_dataset_reference_proto_rawDesc = []byte{
99 0x0a, 0x30, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
100 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x64, 0x61, 0x74, 0x61, 0x73,
101 0x65, 0x74, 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f,
102 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64,
103 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f,
104 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62,
105 0x65, 0x68, 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x5a, 0x0a,
106 0x10, 0x44, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63,
107 0x65, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
108 0x01, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61,
109 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74,
110 0x5f, 0x69, 0x64, 0x18, 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x01, 0x52, 0x09,
111 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49, 0x64, 0x42, 0x72, 0x0a, 0x1c, 0x63, 0x6f, 0x6d,
112 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69,
113 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x15, 0x44, 0x61, 0x74, 0x61, 0x73,
114 0x65, 0x74, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f,
115 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63,
116 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76,
117 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79,
118 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70,
119 0x72, 0x6f, 0x74, 0x6f, 0x33,
120 }
121
122 var (
123 file_google_cloud_bigquery_v2_dataset_reference_proto_rawDescOnce sync.Once
124 file_google_cloud_bigquery_v2_dataset_reference_proto_rawDescData = file_google_cloud_bigquery_v2_dataset_reference_proto_rawDesc
125 )
126
127 func file_google_cloud_bigquery_v2_dataset_reference_proto_rawDescGZIP() []byte {
128 file_google_cloud_bigquery_v2_dataset_reference_proto_rawDescOnce.Do(func() {
129 file_google_cloud_bigquery_v2_dataset_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_dataset_reference_proto_rawDescData)
130 })
131 return file_google_cloud_bigquery_v2_dataset_reference_proto_rawDescData
132 }
133
134 var file_google_cloud_bigquery_v2_dataset_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
135 var file_google_cloud_bigquery_v2_dataset_reference_proto_goTypes = []any{
136 (*DatasetReference)(nil), // 0: google.cloud.bigquery.v2.DatasetReference
137 }
138 var file_google_cloud_bigquery_v2_dataset_reference_proto_depIdxs = []int32{
139 0, // [0:0] is the sub-list for method output_type
140 0, // [0:0] is the sub-list for method input_type
141 0, // [0:0] is the sub-list for extension type_name
142 0, // [0:0] is the sub-list for extension extendee
143 0, // [0:0] is the sub-list for field type_name
144 }
145
146 func init() { file_google_cloud_bigquery_v2_dataset_reference_proto_init() }
147 func file_google_cloud_bigquery_v2_dataset_reference_proto_init() {
148 if File_google_cloud_bigquery_v2_dataset_reference_proto != nil {
149 return
150 }
151 type x struct{}
152 out := protoimpl.TypeBuilder{
153 File: protoimpl.DescBuilder{
154 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
155 RawDescriptor: file_google_cloud_bigquery_v2_dataset_reference_proto_rawDesc,
156 NumEnums: 0,
157 NumMessages: 1,
158 NumExtensions: 0,
159 NumServices: 0,
160 },
161 GoTypes: file_google_cloud_bigquery_v2_dataset_reference_proto_goTypes,
162 DependencyIndexes: file_google_cloud_bigquery_v2_dataset_reference_proto_depIdxs,
163 MessageInfos: file_google_cloud_bigquery_v2_dataset_reference_proto_msgTypes,
164 }.Build()
165 File_google_cloud_bigquery_v2_dataset_reference_proto = out.File
166 file_google_cloud_bigquery_v2_dataset_reference_proto_rawDesc = nil
167 file_google_cloud_bigquery_v2_dataset_reference_proto_goTypes = nil
168 file_google_cloud_bigquery_v2_dataset_reference_proto_depIdxs = nil
169 }