Debian Codegraph @

bigquery/v2/apiv2/bigquerypb/clustering.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/clustering.proto
20
21 package bigquerypb
22
23 import (
24 protoreflect "google.golang.org/protobuf/reflect/protoreflect"
25 protoimpl "google.golang.org/protobuf/runtime/protoimpl"
26 reflect "reflect"
27 sync "sync"
28 )
29
30 const (
31 // Verify that this generated code is sufficiently up-to-date.
32 _ = protoimpl.EnforceVersion(20 - protoimpl.MinVersion)
33 // Verify that runtime/protoimpl is sufficiently up-to-date.
34 _ = protoimpl.EnforceVersion(protoimpl.MaxVersion - 20)
35 )
36
37 // Configures table clustering.
38 type Clustering struct {
39 state protoimpl.MessageState
40 sizeCache protoimpl.SizeCache
41 unknownFields protoimpl.UnknownFields
42
43 // One or more fields on which data should be clustered. Only top-level,
44 // non-repeated, simple-type fields are supported. The ordering of the
45 // clustering fields should be prioritized from most to least important
46 // for filtering purposes.
47 //
48 // For additional information, see
49 // [Introduction to clustered
50 // tables](https://cloud.google.com/bigquery/docs/clustered-tables#limitations).
51 Fields []string `protobuf:"bytes,1,rep,name=fields,proto3" json:"fields,omitempty"`
52 }
53
54 func (x *Clustering) Reset() {
55 *x = Clustering{}
56 mi := &file_google_cloud_bigquery_v2_clustering_proto_msgTypes[0]
57 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
58 ms.StoreMessageInfo(mi)
59 }
60
61 func (x *Clustering) String() string {
62 return protoimpl.X.MessageStringOf(x)
63 }
64
65 func (*Clustering) ProtoMessage() {}
66
67 func (x *Clustering) ProtoReflect() protoreflect.Message {
68 mi := &file_google_cloud_bigquery_v2_clustering_proto_msgTypes[0]
69 if 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 Clustering.ProtoReflect.Descriptor instead.
80 func (*Clustering) Descriptor() ([]byte, []int) {
81 return file_google_cloud_bigquery_v2_clustering_proto_rawDescGZIP(), []int{0}
82 }
83
84 func (x *Clustering) GetFields() []string {
85 if x != nil {
86 return x.Fields
87 }
88 return nil
89 }
90
91 var File_google_cloud_bigquery_v2_clustering_proto protoreflect.FileDescriptor
92
93 var file_google_cloud_bigquery_v2_clustering_proto_rawDesc = []byte{
94 0x0a, 0x29, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2f, 0x62,
95 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x63, 0x6c, 0x75, 0x73, 0x74,
96 0x65, 0x72, 0x69, 0x6e, 0x67, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x18, 0x67, 0x6f, 0x6f,
97 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65,
98 0x72, 0x79, 0x2e, 0x76, 0x32, 0x22, 0x24, 0x0a, 0x0a, 0x43, 0x6c, 0x75, 0x73, 0x74, 0x65, 0x72,
99 0x69, 0x6e, 0x67, 0x12, 0x16, 0x0a, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x18, 0x01, 0x20,
100 0x03, 0x28, 0x09, 0x52, 0x06, 0x66, 0x69, 0x65, 0x6c, 0x64, 0x73, 0x42, 0x6c, 0x0a, 0x1c, 0x63,
101 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e,
102 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2e, 0x76, 0x32, 0x42, 0x0f, 0x43, 0x6c, 0x75,
103 0x73, 0x74, 0x65, 0x72, 0x69, 0x6e, 0x67, 0x50, 0x72, 0x6f, 0x74, 0x6f, 0x5a, 0x3b, 0x63, 0x6c,
104 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67,
105 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x2f, 0x76, 0x32, 0x2f, 0x61, 0x70,
106 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x3b, 0x62,
107 0x69, 0x67, 0x71, 0x75, 0x65, 0x72, 0x79, 0x70, 0x62, 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f,
108 0x33,
109 }
110
111 var (
112 file_google_cloud_bigquery_v2_clustering_proto_rawDescOnce sync.Once
113 file_google_cloud_bigquery_v2_clustering_proto_rawDescData = file_google_cloud_bigquery_v2_clustering_proto_rawDesc
114 )
115
116 func file_google_cloud_bigquery_v2_clustering_proto_rawDescGZIP() []byte {
117 file_google_cloud_bigquery_v2_clustering_proto_rawDescOnce.Do(func() {
118 file_google_cloud_bigquery_v2_clustering_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_cloud_bigquery_v2_clustering_proto_rawDescData)
119 })
120 return file_google_cloud_bigquery_v2_clustering_proto_rawDescData
121 }
122
123 var file_google_cloud_bigquery_v2_clustering_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
124 var file_google_cloud_bigquery_v2_clustering_proto_goTypes = []any{
125 (*Clustering)(nil), // 0: google.cloud.bigquery.v2.Clustering
126 }
127 var file_google_cloud_bigquery_v2_clustering_proto_depIdxs = []int32{
128 0, // [0:0] is the sub-list for method output_type
129 0, // [0:0] is the sub-list for method input_type
130 0, // [0:0] is the sub-list for extension type_name
131 0, // [0:0] is the sub-list for extension extendee
132 0, // [0:0] is the sub-list for field type_name
133 }
134
135 func init() { file_google_cloud_bigquery_v2_clustering_proto_init() }
136 func file_google_cloud_bigquery_v2_clustering_proto_init() {
137 if File_google_cloud_bigquery_v2_clustering_proto != nil {
138 return
139 }
140 type x struct{}
141 out := protoimpl.TypeBuilder{
142 File: protoimpl.DescBuilder{
143 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
144 RawDescriptor: file_google_cloud_bigquery_v2_clustering_proto_rawDesc,
145 NumEnums: 0,
146 NumMessages: 1,
147 NumExtensions: 0,
148 NumServices: 0,
149 },
150 GoTypes: file_google_cloud_bigquery_v2_clustering_proto_goTypes,
151 DependencyIndexes: file_google_cloud_bigquery_v2_clustering_proto_depIdxs,
152 MessageInfos: file_google_cloud_bigquery_v2_clustering_proto_msgTypes,
153 }.Build()
154 File_google_cloud_bigquery_v2_clustering_proto = out.File
155 file_google_cloud_bigquery_v2_clustering_proto_rawDesc = nil
156 file_google_cloud_bigquery_v2_clustering_proto_goTypes = nil
157 file_google_cloud_bigquery_v2_clustering_proto_depIdxs = nil
158 }