@@ -202,6 +202,42 @@ public boolean getClientSideMetricsEnabled() {
202
202
return clientSideMetricsEnabled_ ;
203
203
}
204
204
205
+ public static final int TRAFFIC_DIRECTOR_ENABLED_FIELD_NUMBER = 9 ;
206
+ private boolean trafficDirectorEnabled_ = false ;
207
+ /**
208
+ *
209
+ *
210
+ * <pre>
211
+ * Notify the server that the client using Traffic Director endpoint.
212
+ * </pre>
213
+ *
214
+ * <code>bool traffic_director_enabled = 9;</code>
215
+ *
216
+ * @return The trafficDirectorEnabled.
217
+ */
218
+ @ java .lang .Override
219
+ public boolean getTrafficDirectorEnabled () {
220
+ return trafficDirectorEnabled_ ;
221
+ }
222
+
223
+ public static final int DIRECT_ACCESS_REQUESTED_FIELD_NUMBER = 10 ;
224
+ private boolean directAccessRequested_ = false ;
225
+ /**
226
+ *
227
+ *
228
+ * <pre>
229
+ * Notify the server that the client explicitly opted in for Direct Access.
230
+ * </pre>
231
+ *
232
+ * <code>bool direct_access_requested = 10;</code>
233
+ *
234
+ * @return The directAccessRequested.
235
+ */
236
+ @ java .lang .Override
237
+ public boolean getDirectAccessRequested () {
238
+ return directAccessRequested_ ;
239
+ }
240
+
205
241
private byte memoizedIsInitialized = -1 ;
206
242
207
243
@ java .lang .Override
@@ -237,6 +273,12 @@ public void writeTo(com.google.protobuf.CodedOutputStream output) throws java.io
237
273
if (clientSideMetricsEnabled_ != false ) {
238
274
output .writeBool (8 , clientSideMetricsEnabled_ );
239
275
}
276
+ if (trafficDirectorEnabled_ != false ) {
277
+ output .writeBool (9 , trafficDirectorEnabled_ );
278
+ }
279
+ if (directAccessRequested_ != false ) {
280
+ output .writeBool (10 , directAccessRequested_ );
281
+ }
240
282
getUnknownFields ().writeTo (output );
241
283
}
242
284
@@ -267,6 +309,12 @@ public int getSerializedSize() {
267
309
if (clientSideMetricsEnabled_ != false ) {
268
310
size += com .google .protobuf .CodedOutputStream .computeBoolSize (8 , clientSideMetricsEnabled_ );
269
311
}
312
+ if (trafficDirectorEnabled_ != false ) {
313
+ size += com .google .protobuf .CodedOutputStream .computeBoolSize (9 , trafficDirectorEnabled_ );
314
+ }
315
+ if (directAccessRequested_ != false ) {
316
+ size += com .google .protobuf .CodedOutputStream .computeBoolSize (10 , directAccessRequested_ );
317
+ }
270
318
size += getUnknownFields ().getSerializedSize ();
271
319
memoizedSize = size ;
272
320
return size ;
@@ -289,6 +337,8 @@ public boolean equals(final java.lang.Object obj) {
289
337
if (getRoutingCookie () != other .getRoutingCookie ()) return false ;
290
338
if (getRetryInfo () != other .getRetryInfo ()) return false ;
291
339
if (getClientSideMetricsEnabled () != other .getClientSideMetricsEnabled ()) return false ;
340
+ if (getTrafficDirectorEnabled () != other .getTrafficDirectorEnabled ()) return false ;
341
+ if (getDirectAccessRequested () != other .getDirectAccessRequested ()) return false ;
292
342
if (!getUnknownFields ().equals (other .getUnknownFields ())) return false ;
293
343
return true ;
294
344
}
@@ -314,6 +364,10 @@ public int hashCode() {
314
364
hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getRetryInfo ());
315
365
hash = (37 * hash ) + CLIENT_SIDE_METRICS_ENABLED_FIELD_NUMBER ;
316
366
hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getClientSideMetricsEnabled ());
367
+ hash = (37 * hash ) + TRAFFIC_DIRECTOR_ENABLED_FIELD_NUMBER ;
368
+ hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getTrafficDirectorEnabled ());
369
+ hash = (37 * hash ) + DIRECT_ACCESS_REQUESTED_FIELD_NUMBER ;
370
+ hash = (53 * hash ) + com .google .protobuf .Internal .hashBoolean (getDirectAccessRequested ());
317
371
hash = (29 * hash ) + getUnknownFields ().hashCode ();
318
372
memoizedHashCode = hash ;
319
373
return hash ;
@@ -466,6 +520,8 @@ public Builder clear() {
466
520
routingCookie_ = false ;
467
521
retryInfo_ = false ;
468
522
clientSideMetricsEnabled_ = false ;
523
+ trafficDirectorEnabled_ = false ;
524
+ directAccessRequested_ = false ;
469
525
return this ;
470
526
}
471
527
@@ -522,6 +578,12 @@ private void buildPartial0(com.google.bigtable.v2.FeatureFlags result) {
522
578
if (((from_bitField0_ & 0x00000040 ) != 0 )) {
523
579
result .clientSideMetricsEnabled_ = clientSideMetricsEnabled_ ;
524
580
}
581
+ if (((from_bitField0_ & 0x00000080 ) != 0 )) {
582
+ result .trafficDirectorEnabled_ = trafficDirectorEnabled_ ;
583
+ }
584
+ if (((from_bitField0_ & 0x00000100 ) != 0 )) {
585
+ result .directAccessRequested_ = directAccessRequested_ ;
586
+ }
525
587
}
526
588
527
589
@ java .lang .Override
@@ -590,6 +652,12 @@ public Builder mergeFrom(com.google.bigtable.v2.FeatureFlags other) {
590
652
if (other .getClientSideMetricsEnabled () != false ) {
591
653
setClientSideMetricsEnabled (other .getClientSideMetricsEnabled ());
592
654
}
655
+ if (other .getTrafficDirectorEnabled () != false ) {
656
+ setTrafficDirectorEnabled (other .getTrafficDirectorEnabled ());
657
+ }
658
+ if (other .getDirectAccessRequested () != false ) {
659
+ setDirectAccessRequested (other .getDirectAccessRequested ());
660
+ }
593
661
this .mergeUnknownFields (other .getUnknownFields ());
594
662
onChanged ();
595
663
return this ;
@@ -658,6 +726,18 @@ public Builder mergeFrom(
658
726
bitField0_ |= 0x00000040 ;
659
727
break ;
660
728
} // case 64
729
+ case 72 :
730
+ {
731
+ trafficDirectorEnabled_ = input .readBool ();
732
+ bitField0_ |= 0x00000080 ;
733
+ break ;
734
+ } // case 72
735
+ case 80 :
736
+ {
737
+ directAccessRequested_ = input .readBool ();
738
+ bitField0_ |= 0x00000100 ;
739
+ break ;
740
+ } // case 80
661
741
default :
662
742
{
663
743
if (!super .parseUnknownField (input , extensionRegistry , tag )) {
@@ -1072,6 +1152,112 @@ public Builder clearClientSideMetricsEnabled() {
1072
1152
return this ;
1073
1153
}
1074
1154
1155
+ private boolean trafficDirectorEnabled_ ;
1156
+ /**
1157
+ *
1158
+ *
1159
+ * <pre>
1160
+ * Notify the server that the client using Traffic Director endpoint.
1161
+ * </pre>
1162
+ *
1163
+ * <code>bool traffic_director_enabled = 9;</code>
1164
+ *
1165
+ * @return The trafficDirectorEnabled.
1166
+ */
1167
+ @ java .lang .Override
1168
+ public boolean getTrafficDirectorEnabled () {
1169
+ return trafficDirectorEnabled_ ;
1170
+ }
1171
+ /**
1172
+ *
1173
+ *
1174
+ * <pre>
1175
+ * Notify the server that the client using Traffic Director endpoint.
1176
+ * </pre>
1177
+ *
1178
+ * <code>bool traffic_director_enabled = 9;</code>
1179
+ *
1180
+ * @param value The trafficDirectorEnabled to set.
1181
+ * @return This builder for chaining.
1182
+ */
1183
+ public Builder setTrafficDirectorEnabled (boolean value ) {
1184
+
1185
+ trafficDirectorEnabled_ = value ;
1186
+ bitField0_ |= 0x00000080 ;
1187
+ onChanged ();
1188
+ return this ;
1189
+ }
1190
+ /**
1191
+ *
1192
+ *
1193
+ * <pre>
1194
+ * Notify the server that the client using Traffic Director endpoint.
1195
+ * </pre>
1196
+ *
1197
+ * <code>bool traffic_director_enabled = 9;</code>
1198
+ *
1199
+ * @return This builder for chaining.
1200
+ */
1201
+ public Builder clearTrafficDirectorEnabled () {
1202
+ bitField0_ = (bitField0_ & ~0x00000080 );
1203
+ trafficDirectorEnabled_ = false ;
1204
+ onChanged ();
1205
+ return this ;
1206
+ }
1207
+
1208
+ private boolean directAccessRequested_ ;
1209
+ /**
1210
+ *
1211
+ *
1212
+ * <pre>
1213
+ * Notify the server that the client explicitly opted in for Direct Access.
1214
+ * </pre>
1215
+ *
1216
+ * <code>bool direct_access_requested = 10;</code>
1217
+ *
1218
+ * @return The directAccessRequested.
1219
+ */
1220
+ @ java .lang .Override
1221
+ public boolean getDirectAccessRequested () {
1222
+ return directAccessRequested_ ;
1223
+ }
1224
+ /**
1225
+ *
1226
+ *
1227
+ * <pre>
1228
+ * Notify the server that the client explicitly opted in for Direct Access.
1229
+ * </pre>
1230
+ *
1231
+ * <code>bool direct_access_requested = 10;</code>
1232
+ *
1233
+ * @param value The directAccessRequested to set.
1234
+ * @return This builder for chaining.
1235
+ */
1236
+ public Builder setDirectAccessRequested (boolean value ) {
1237
+
1238
+ directAccessRequested_ = value ;
1239
+ bitField0_ |= 0x00000100 ;
1240
+ onChanged ();
1241
+ return this ;
1242
+ }
1243
+ /**
1244
+ *
1245
+ *
1246
+ * <pre>
1247
+ * Notify the server that the client explicitly opted in for Direct Access.
1248
+ * </pre>
1249
+ *
1250
+ * <code>bool direct_access_requested = 10;</code>
1251
+ *
1252
+ * @return This builder for chaining.
1253
+ */
1254
+ public Builder clearDirectAccessRequested () {
1255
+ bitField0_ = (bitField0_ & ~0x00000100 );
1256
+ directAccessRequested_ = false ;
1257
+ onChanged ();
1258
+ return this ;
1259
+ }
1260
+
1075
1261
@ java .lang .Override
1076
1262
public final Builder setUnknownFields (final com .google .protobuf .UnknownFieldSet unknownFields ) {
1077
1263
return super .setUnknownFields (unknownFields );
0 commit comments