Debian Codegraph @

bigtable/apiv2/bigtablepb/feature_flags.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/bigtable/v2/feature_flags.proto
20
21 package bigtablepb
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 // Feature flags supported or enabled by a client.
38 // This is intended to be sent as part of request metadata to assure the server
39 // that certain behaviors are safe to enable. This proto is meant to be
40 // serialized and websafe-base64 encoded under the `bigtable-features` metadata
41 // key. The value will remain constant for the lifetime of a client and due to
42 // HTTP2's HPACK compression, the request overhead will be tiny.
43 // This is an internal implementation detail and should not be used by end users
44 // directly.
45 type FeatureFlags struct {
46 state protoimpl.MessageState
47 sizeCache protoimpl.SizeCache
48 unknownFields protoimpl.UnknownFields
49
50 // Notify the server that the client supports reverse scans. The server will
51 // reject ReadRowsRequests with the reverse bit set when this is absent.
52 ReverseScans bool `protobuf:"varint,1,opt,name=reverse_scans,json=reverseScans,proto3" json:"reverse_scans,omitempty"`
53 // Notify the server that the client enables batch write flow control by
54 // requesting RateLimitInfo from MutateRowsResponse. Due to technical reasons,
55 // this disables partial retries.
56 MutateRowsRateLimit bool `protobuf:"varint,3,opt,name=mutate_rows_rate_limit,json=mutateRowsRateLimit,proto3" json:"mutate_rows_rate_limit,omitempty"`
57 // Notify the server that the client enables batch write flow control by
58 // requesting RateLimitInfo from MutateRowsResponse. With partial retries
59 // enabled.
60 MutateRowsRateLimit2 bool `protobuf:"varint,5,opt,name=mutate_rows_rate_limit2,json=mutateRowsRateLimit2,proto3" json:"mutate_rows_rate_limit2,omitempty"`
61 // Notify the server that the client supports the last_scanned_row field
62 // in ReadRowsResponse for long-running scans.
63 LastScannedRowResponses bool `protobuf:"varint,4,opt,name=last_scanned_row_responses,json=lastScannedRowResponses,proto3" json:"last_scanned_row_responses,omitempty"`
64 // Notify the server that the client supports using encoded routing cookie
65 // strings to retry requests with.
66 RoutingCookie bool `protobuf:"varint,6,opt,name=routing_cookie,json=routingCookie,proto3" json:"routing_cookie,omitempty"`
67 // Notify the server that the client supports using retry info back off
68 // durations to retry requests with.
69 RetryInfo bool `protobuf:"varint,7,opt,name=retry_info,json=retryInfo,proto3" json:"retry_info,omitempty"`
70 // Notify the server that the client has client side metrics enabled.
71 ClientSideMetricsEnabled bool `protobuf:"varint,8,opt,name=client_side_metrics_enabled,json=clientSideMetricsEnabled,proto3" json:"client_side_metrics_enabled,omitempty"`
72 // Notify the server that the client using Traffic Director endpoint.
73 TrafficDirectorEnabled bool `protobuf:"varint,9,opt,name=traffic_director_enabled,json=trafficDirectorEnabled,proto3" json:"traffic_director_enabled,omitempty"`
74 // Notify the server that the client explicitly opted in for Direct Access.
75 DirectAccessRequested bool `protobuf:"varint,10,opt,name=direct_access_requested,json=directAccessRequested,proto3" json:"direct_access_requested,omitempty"`
76 }
77
78 func (x *FeatureFlags) Reset() {
79 *x = FeatureFlags{}
80 mi := &file_google_bigtable_v2_feature_flags_proto_msgTypes[0]
81 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
82 ms.StoreMessageInfo(mi)
83 }
84
85 func (x *FeatureFlags) String() string {
86 return protoimpl.X.MessageStringOf(x)
87 }
88
89 func (*FeatureFlags) ProtoMessage() {}
90
91 func (x *FeatureFlags) ProtoReflect() protoreflect.Message {
92 mi := &file_google_bigtable_v2_feature_flags_proto_msgTypes[0]
93 if x != nil {
94 ms := protoimpl.X.MessageStateOf(protoimpl.Pointer(x))
95 if ms.LoadMessageInfo() == nil {
96 ms.StoreMessageInfo(mi)
97 }
98 return ms
99 }
100 return mi.MessageOf(x)
101 }
102
103 // Deprecated: Use FeatureFlags.ProtoReflect.Descriptor instead.
104 func (*FeatureFlags) Descriptor() ([]byte, []int) {
105 return file_google_bigtable_v2_feature_flags_proto_rawDescGZIP(), []int{0}
106 }
107
108 func (x *FeatureFlags) GetReverseScans() bool {
109 if x != nil {
110 return x.ReverseScans
111 }
112 return false
113 }
114
115 func (x *FeatureFlags) GetMutateRowsRateLimit() bool {
116 if x != nil {
117 return x.MutateRowsRateLimit
118 }
119 return false
120 }
121
122 func (x *FeatureFlags) GetMutateRowsRateLimit2() bool {
123 if x != nil {
124 return x.MutateRowsRateLimit2
125 }
126 return false
127 }
128
129 func (x *FeatureFlags) GetLastScannedRowResponses() bool {
130 if x != nil {
131 return x.LastScannedRowResponses
132 }
133 return false
134 }
135
136 func (x *FeatureFlags) GetRoutingCookie() bool {
137 if x != nil {
138 return x.RoutingCookie
139 }
140 return false
141 }
142
143 func (x *FeatureFlags) GetRetryInfo() bool {
144 if x != nil {
145 return x.RetryInfo
146 }
147 return false
148 }
149
150 func (x *FeatureFlags) GetClientSideMetricsEnabled() bool {
151 if x != nil {
152 return x.ClientSideMetricsEnabled
153 }
154 return false
155 }
156
157 func (x *FeatureFlags) GetTrafficDirectorEnabled() bool {
158 if x != nil {
159 return x.TrafficDirectorEnabled
160 }
161 return false
162 }
163
164 func (x *FeatureFlags) GetDirectAccessRequested() bool {
165 if x != nil {
166 return x.DirectAccessRequested
167 }
168 return false
169 }
170
171 var File_google_bigtable_v2_feature_flags_proto protoreflect.FileDescriptor
172
173 var file_google_bigtable_v2_feature_flags_proto_rawDesc = []byte{
174 0x0a, 0x26, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c,
175 0x65, 0x2f, 0x76, 0x32, 0x2f, 0x66, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x5f, 0x66, 0x6c, 0x61,
176 0x67, 0x73, 0x2e, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x12, 0x12, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
177 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x76, 0x32, 0x22, 0xd3, 0x03, 0x0a,
178 0x0c, 0x46, 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x12, 0x23, 0x0a,
179 0x0d, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x5f, 0x73, 0x63, 0x61, 0x6e, 0x73, 0x18, 0x01,
180 0x20, 0x01, 0x28, 0x08, 0x52, 0x0c, 0x72, 0x65, 0x76, 0x65, 0x72, 0x73, 0x65, 0x53, 0x63, 0x61,
181 0x6e, 0x73, 0x12, 0x33, 0x0a, 0x16, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x5f, 0x72, 0x6f, 0x77,
182 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69, 0x74, 0x18, 0x03, 0x20, 0x01,
183 0x28, 0x08, 0x52, 0x13, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65, 0x52, 0x6f, 0x77, 0x73, 0x52, 0x61,
184 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x12, 0x35, 0x0a, 0x17, 0x6d, 0x75, 0x74, 0x61, 0x74,
185 0x65, 0x5f, 0x72, 0x6f, 0x77, 0x73, 0x5f, 0x72, 0x61, 0x74, 0x65, 0x5f, 0x6c, 0x69, 0x6d, 0x69,
186 0x74, 0x32, 0x18, 0x05, 0x20, 0x01, 0x28, 0x08, 0x52, 0x14, 0x6d, 0x75, 0x74, 0x61, 0x74, 0x65,
187 0x52, 0x6f, 0x77, 0x73, 0x52, 0x61, 0x74, 0x65, 0x4c, 0x69, 0x6d, 0x69, 0x74, 0x32, 0x12, 0x3b,
188 0x0a, 0x1a, 0x6c, 0x61, 0x73, 0x74, 0x5f, 0x73, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x5f, 0x72,
189 0x6f, 0x77, 0x5f, 0x72, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x18, 0x04, 0x20, 0x01,
190 0x28, 0x08, 0x52, 0x17, 0x6c, 0x61, 0x73, 0x74, 0x53, 0x63, 0x61, 0x6e, 0x6e, 0x65, 0x64, 0x52,
191 0x6f, 0x77, 0x52, 0x65, 0x73, 0x70, 0x6f, 0x6e, 0x73, 0x65, 0x73, 0x12, 0x25, 0x0a, 0x0e, 0x72,
192 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x5f, 0x63, 0x6f, 0x6f, 0x6b, 0x69, 0x65, 0x18, 0x06, 0x20,
193 0x01, 0x28, 0x08, 0x52, 0x0d, 0x72, 0x6f, 0x75, 0x74, 0x69, 0x6e, 0x67, 0x43, 0x6f, 0x6f, 0x6b,
194 0x69, 0x65, 0x12, 0x1d, 0x0a, 0x0a, 0x72, 0x65, 0x74, 0x72, 0x79, 0x5f, 0x69, 0x6e, 0x66, 0x6f,
195 0x18, 0x07, 0x20, 0x01, 0x28, 0x08, 0x52, 0x09, 0x72, 0x65, 0x74, 0x72, 0x79, 0x49, 0x6e, 0x66,
196 0x6f, 0x12, 0x3d, 0x0a, 0x1b, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x5f, 0x73, 0x69, 0x64, 0x65,
197 0x5f, 0x6d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
198 0x18, 0x08, 0x20, 0x01, 0x28, 0x08, 0x52, 0x18, 0x63, 0x6c, 0x69, 0x65, 0x6e, 0x74, 0x53, 0x69,
199 0x64, 0x65, 0x4d, 0x65, 0x74, 0x72, 0x69, 0x63, 0x73, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64,
200 0x12, 0x38, 0x0a, 0x18, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x5f, 0x64, 0x69, 0x72, 0x65,
201 0x63, 0x74, 0x6f, 0x72, 0x5f, 0x65, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x18, 0x09, 0x20, 0x01,
202 0x28, 0x08, 0x52, 0x16, 0x74, 0x72, 0x61, 0x66, 0x66, 0x69, 0x63, 0x44, 0x69, 0x72, 0x65, 0x63,
203 0x74, 0x6f, 0x72, 0x45, 0x6e, 0x61, 0x62, 0x6c, 0x65, 0x64, 0x12, 0x36, 0x0a, 0x17, 0x64, 0x69,
204 0x72, 0x65, 0x63, 0x74, 0x5f, 0x61, 0x63, 0x63, 0x65, 0x73, 0x73, 0x5f, 0x72, 0x65, 0x71, 0x75,
205 0x65, 0x73, 0x74, 0x65, 0x64, 0x18, 0x0a, 0x20, 0x01, 0x28, 0x08, 0x52, 0x15, 0x64, 0x69, 0x72,
206 0x65, 0x63, 0x74, 0x41, 0x63, 0x63, 0x65, 0x73, 0x73, 0x52, 0x65, 0x71, 0x75, 0x65, 0x73, 0x74,
207 0x65, 0x64, 0x42, 0xbb, 0x01, 0x0a, 0x16, 0x63, 0x6f, 0x6d, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c,
208 0x65, 0x2e, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x76, 0x32, 0x42, 0x11, 0x46,
209 0x65, 0x61, 0x74, 0x75, 0x72, 0x65, 0x46, 0x6c, 0x61, 0x67, 0x73, 0x50, 0x72, 0x6f, 0x74, 0x6f,
210 0x50, 0x01, 0x5a, 0x38, 0x63, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x67, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
211 0x2e, 0x63, 0x6f, 0x6d, 0x2f, 0x67, 0x6f, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65,
212 0x2f, 0x61, 0x70, 0x69, 0x76, 0x32, 0x2f, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x70,
213 0x62, 0x3b, 0x62, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x70, 0x62, 0xaa, 0x02, 0x18, 0x47,
214 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x2e, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x2e, 0x42, 0x69, 0x67, 0x74,
215 0x61, 0x62, 0x6c, 0x65, 0x2e, 0x56, 0x32, 0xca, 0x02, 0x18, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65,
216 0x5c, 0x43, 0x6c, 0x6f, 0x75, 0x64, 0x5c, 0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x5c,
217 0x56, 0x32, 0xea, 0x02, 0x1b, 0x47, 0x6f, 0x6f, 0x67, 0x6c, 0x65, 0x3a, 0x3a, 0x43, 0x6c, 0x6f,
218 0x75, 0x64, 0x3a, 0x3a, 0x42, 0x69, 0x67, 0x74, 0x61, 0x62, 0x6c, 0x65, 0x3a, 0x3a, 0x56, 0x32,
219 0x62, 0x06, 0x70, 0x72, 0x6f, 0x74, 0x6f, 0x33,
220 }
221
222 var (
223 file_google_bigtable_v2_feature_flags_proto_rawDescOnce sync.Once
224 file_google_bigtable_v2_feature_flags_proto_rawDescData = file_google_bigtable_v2_feature_flags_proto_rawDesc
225 )
226
227 func file_google_bigtable_v2_feature_flags_proto_rawDescGZIP() []byte {
228 file_google_bigtable_v2_feature_flags_proto_rawDescOnce.Do(func() {
229 file_google_bigtable_v2_feature_flags_proto_rawDescData = protoimpl.X.CompressGZIP(file_google_bigtable_v2_feature_flags_proto_rawDescData)
230 })
231 return file_google_bigtable_v2_feature_flags_proto_rawDescData
232 }
233
234 var file_google_bigtable_v2_feature_flags_proto_msgTypes = make([]protoimpl.MessageInfo, 1)
235 var file_google_bigtable_v2_feature_flags_proto_goTypes = []any{
236 (*FeatureFlags)(nil), // 0: google.bigtable.v2.FeatureFlags
237 }
238 var file_google_bigtable_v2_feature_flags_proto_depIdxs = []int32{
239 0, // [0:0] is the sub-list for method output_type
240 0, // [0:0] is the sub-list for method input_type
241 0, // [0:0] is the sub-list for extension type_name
242 0, // [0:0] is the sub-list for extension extendee
243 0, // [0:0] is the sub-list for field type_name
244 }
245
246 func init() { file_google_bigtable_v2_feature_flags_proto_init() }
247 func file_google_bigtable_v2_feature_flags_proto_init() {
248 if File_google_bigtable_v2_feature_flags_proto != nil {
249 return
250 }
251 type x struct{}
252 out := protoimpl.TypeBuilder{
253 File: protoimpl.DescBuilder{
254 GoPackagePath: reflect.TypeOf(x{}).PkgPath(),
255 RawDescriptor: file_google_bigtable_v2_feature_flags_proto_rawDesc,
256 NumEnums: 0,
257 NumMessages: 1,
258 NumExtensions: 0,
259 NumServices: 0,
260 },
261 GoTypes: file_google_bigtable_v2_feature_flags_proto_goTypes,
262 DependencyIndexes: file_google_bigtable_v2_feature_flags_proto_depIdxs,
263 MessageInfos: file_google_bigtable_v2_feature_flags_proto_msgTypes,
264 }.Build()
265 File_google_bigtable_v2_feature_flags_proto = out.File
266 file_google_bigtable_v2_feature_flags_proto_rawDesc = nil
267 file_google_bigtable_v2_feature_flags_proto_goTypes = nil
268 file_google_bigtable_v2_feature_flags_proto_depIdxs = nil
269 }