Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/table_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/table_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 type TableReference struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // Required. The ID of the project containing this table.
44 ProjectId string `protobuf:"bytes,1,opt,name=project_id,json=projectId,proto3" json:"project_id,omitempty"`
45 // Required. The ID of the dataset containing this table.
46 DatasetId string `protobuf:"bytes,2,opt,name=dataset_id,json=datasetId,proto3" json:"dataset_id,omitempty"`
47 // Required. The ID of the table. The ID can contain Unicode characters in
48 // category L (letter), M (mark), N (number), Pc (connector, including
49 // underscore), Pd (dash), and Zs (space). For more information, see [General
50 // Category](https://wikipedia.org/wiki/Unicode_character_property#General_Category).
51 // The maximum length is 1,024 characters. Certain operations allow suffixing
52 // of the table ID with a partition decorator, such as
53 // `sample_table$20190123`.
54 TableId string `protobuf:"bytes,3,opt,name=table_id,json=tableId,proto3" json:"table_id,omitempty"`
55 }
56
57 func (x *TableReference) Reset() {
58 *x = TableReference{}
59 mi := &file_google_cloud_bigquery_v2_table_reference_proto_msgTypes[0]
60 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
61 ms.StoreMessageInfo(mi)
62 }
63
64 func (x *TableReference) String() string {
65 return protoimpl.X.MessageStringOf(x)
66 }
67
68 func (*TableReference) ProtoMessage() {}
69
70 func (x *TableReference) ProtoReflect() protoreflect.Message {
71 mi := &file_google_cloud_bigquery_v2_table_reference_proto_msgTypes[0]
72 if x != nil {
73 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
74 if ms.LoadMessageInfo() == nil {
75 ms.StoreMessageInfo(mi)
76 }
77 return ms
78 }
79 return mi.MessageOf(x)
80 }
81
82 // Deprecated: Use TableReference.ProtoReflect.Descriptor instead.
83 func (*TableReference) Descriptor() ([]byte, []int) {
84 return file_google_cloud_bigquery_v2_table_reference_proto_rawDescGZIP(), []int{0}
85 }
86
87 func (x *TableReference) GetProjectId() string {
88 if x != nil {
89 return x.ProjectId
90 }
91 return ""
92 }
93
94 func (x *TableReference) GetDatasetId() string {
95 if x != nil {
96 return x.DatasetId
97 }
98 return ""
99 }
100
101 func (x *TableReference) GetTableId() string {
102 if x != nil {
103 return x.TableId
104 }
105 return ""
106 }
107
108 var File_google_cloud_bigquery_v2_table_reference_proto protoreflect.FileDescriptor
109
110 var file_google_cloud_bigquery_v2_table_reference_proto_rawDesc = []byte{
111 0x0a, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
112 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x74, 0x61, 0x62, 0x6c, 0x65,
113 0x5f, 0x72, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f,
114 0x12, 0x18, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62,
115 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x1a, 0x1f, 0x67, 0x6f, 0x6f, 0x67,
116 0x6c, 0x65, 0x2f, 0x61, 0x70, 0x69, 0x2f, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x5f, 0x62, 0x65, 0x68,
117 0x61, 0x76, 0x69, 0x6f, 0x72, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x22, 0x78, 0x0a, 0x0e, 0x54,
118 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65, 0x72, 0x65, 0x6e, 0x63, 0x65, 0x12, 0x22, 0x0a,
119 0x0a, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x5f, 0x69, 0x64, 0x18, 0x01, 0x20, 0x01, 0x28,
120 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x70, 0x72, 0x6f, 0x6a, 0x65, 0x63, 0x74, 0x49,
121 0x64, 0x12, 0x22, 0x0a, 0x0a, 0x64, 0x61, 0x74, 0x61, 0x73, 0x65, 0x74, 0x5f, 0x69, 0x64, 0x18,
122 0x02, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x09, 0x64, 0x61, 0x74, 0x61,
123 0x73, 0x65, 0x74, 0x49, 0x64, 0x12, 0x1e, 0x0a, 0x08, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5f, 0x69,
124 0x64, 0x18, 0x03, 0x20, 0x01, 0x28, 0x09, 0x42, 0x03, 0xe0, 0x41, 0x02, 0x52, 0x07, 0x74, 0x61,
125 0x62, 0x6c, 0x65, 0x49, 0x64, 0x42, 0x70, 0x0a, 0x1c, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f,
126 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
127 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x13, 0x54, 0x61, 0x62, 0x6c, 0x65, 0x52, 0x65, 0x66, 0x65,
128 0x72, 0x65, 0x6e, 0x63, 0x65, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x3b, 0x63, 0x6c, 0x6f, 0x75,
129 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f,
130 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70, 0x69, 0x76,
131 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x62, 0x69, 0x67,
132 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
133 }
134
135 var (
136 file_google_cloud_bigquery_v2_table_reference_proto_rawDescOnce sync.Once
137 file_google_cloud_bigquery_v2_table_reference_proto_rawDescData = file_google_cloud_bigquery_v2_table_reference_proto_rawDesc
138 )
139
140 func file_google_cloud_bigquery_v2_table_reference_proto_rawDescGZIP() []byte {
141 file_google_cloud_bigquery_v2_table_reference_proto_rawDescOnce.Do(func() {
142 file_google_cloud_bigquery_v2_table_reference_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_table_reference_proto_rawDescData)
143 })
144 return file_google_cloud_bigquery_v2_table_reference_proto_rawDescData
145 }
146
147 var file_google_cloud_bigquery_v2_table_reference_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
148 var file_google_cloud_bigquery_v2_table_reference_proto_goTypes = []any{
149 (*TableReference)(nil), // 0: google.cloud.bigquery.v2.TableReference
150 }
151 var file_google_cloud_bigquery_v2_table_reference_proto_depIdxs = []int32{
152 0, // [0:0] is the sub-list for method output_type
153 0, // [0:0] is the sub-list for method input_type
154 0, // [0:0] is the sub-list for extension type_name
155 0, // [0:0] is the sub-list for extension extendee
156 0, // [0:0] is the sub-list for field type_name
157 }
158
159 func init() { file_google_cloud_bigquery_v2_table_reference_proto_init() }
160 func file_google_cloud_bigquery_v2_table_reference_proto_init() {
161 if File_google_cloud_bigquery_v2_table_reference_proto != nil {
162 return
163 }
164 type x struct{}
165 out := protoimpl.TypeBuilder{
166 File: protoimpl.DescBuilder{
167 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
168 RawDescriptor: file_google_cloud_bigquery_v2_table_reference_proto_rawDesc,
169 NumEnums: 0,
170 NumMessages: 1,
171 NumExtensions: 0,
172 NumServices: 0,
173 },
174 GoTypes: file_google_cloud_bigquery_v2_table_reference_proto_goTypes,
175 DependencyIndexes: file_google_cloud_bigquery_v2_table_reference_proto_depIdxs,
176 MessageInfos: file_google_cloud_bigquery_v2_table_reference_proto_msgTypes,
177 }.Build()
178 File_google_cloud_bigquery_v2_table_reference_proto = out.File
179 file_google_cloud_bigquery_v2_table_reference_proto_rawDesc = nil
180 file_google_cloud_bigquery_v2_table_reference_proto_goTypes = nil
181 file_google_cloud_bigquery_v2_table_reference_proto_depIdxs = nil
182 }