@@ -209,36 +209,31 @@ public class GrpcBigtableStub extends BigtableStub {
209209 private static final PathTemplate READ_ROWS_1_PATH_TEMPLATE =
210210 PathTemplate .create ("{app_profile_id=**}" );
211211 private static final PathTemplate READ_ROWS_2_PATH_TEMPLATE =
212- PathTemplate .create (
213- "{authorized_view_name=projects/*/instances/*/tables/*/authorizedViews/*}" );
212+ PathTemplate .create ("{table_name=projects/*/instances/*/tables/*}/**" );
214213 private static final PathTemplate SAMPLE_ROW_KEYS_0_PATH_TEMPLATE =
215214 PathTemplate .create ("{table_name=projects/*/instances/*/tables/*}" );
216215 private static final PathTemplate SAMPLE_ROW_KEYS_1_PATH_TEMPLATE =
217216 PathTemplate .create ("{app_profile_id=**}" );
218217 private static final PathTemplate SAMPLE_ROW_KEYS_2_PATH_TEMPLATE =
219- PathTemplate .create (
220- "{authorized_view_name=projects/*/instances/*/tables/*/authorizedViews/*}" );
218+ PathTemplate .create ("{table_name=projects/*/instances/*/tables/*}/**" );
221219 private static final PathTemplate MUTATE_ROW_0_PATH_TEMPLATE =
222220 PathTemplate .create ("{table_name=projects/*/instances/*/tables/*}" );
223221 private static final PathTemplate MUTATE_ROW_1_PATH_TEMPLATE =
224222 PathTemplate .create ("{app_profile_id=**}" );
225223 private static final PathTemplate MUTATE_ROW_2_PATH_TEMPLATE =
226- PathTemplate .create (
227- "{authorized_view_name=projects/*/instances/*/tables/*/authorizedViews/*}" );
224+ PathTemplate .create ("{table_name=projects/*/instances/*/tables/*}/**" );
228225 private static final PathTemplate MUTATE_ROWS_0_PATH_TEMPLATE =
229226 PathTemplate .create ("{table_name=projects/*/instances/*/tables/*}" );
230227 private static final PathTemplate MUTATE_ROWS_1_PATH_TEMPLATE =
231228 PathTemplate .create ("{app_profile_id=**}" );
232229 private static final PathTemplate MUTATE_ROWS_2_PATH_TEMPLATE =
233- PathTemplate .create (
234- "{authorized_view_name=projects/*/instances/*/tables/*/authorizedViews/*}" );
230+ PathTemplate .create ("{table_name=projects/*/instances/*/tables/*}/**" );
235231 private static final PathTemplate CHECK_AND_MUTATE_ROW_0_PATH_TEMPLATE =
236232 PathTemplate .create ("{table_name=projects/*/instances/*/tables/*}" );
237233 private static final PathTemplate CHECK_AND_MUTATE_ROW_1_PATH_TEMPLATE =
238234 PathTemplate .create ("{app_profile_id=**}" );
239235 private static final PathTemplate CHECK_AND_MUTATE_ROW_2_PATH_TEMPLATE =
240- PathTemplate .create (
241- "{authorized_view_name=projects/*/instances/*/tables/*/authorizedViews/*}" );
236+ PathTemplate .create ("{table_name=projects/*/instances/*/tables/*}/**" );
242237 private static final PathTemplate PING_AND_WARM_0_PATH_TEMPLATE =
243238 PathTemplate .create ("{name=projects/*/instances/*}" );
244239 private static final PathTemplate PING_AND_WARM_1_PATH_TEMPLATE =
@@ -248,8 +243,7 @@ public class GrpcBigtableStub extends BigtableStub {
248243 private static final PathTemplate READ_MODIFY_WRITE_ROW_1_PATH_TEMPLATE =
249244 PathTemplate .create ("{app_profile_id=**}" );
250245 private static final PathTemplate READ_MODIFY_WRITE_ROW_2_PATH_TEMPLATE =
251- PathTemplate .create (
252- "{authorized_view_name=projects/*/instances/*/tables/*/authorizedViews/*}" );
246+ PathTemplate .create ("{table_name=projects/*/instances/*/tables/*}/**" );
253247 private static final PathTemplate PREPARE_QUERY_0_PATH_TEMPLATE =
254248 PathTemplate .create ("{name=projects/*/instances/*}" );
255249 private static final PathTemplate PREPARE_QUERY_1_PATH_TEMPLATE =
@@ -304,9 +298,7 @@ protected GrpcBigtableStub(
304298 builder .add (
305299 request .getAppProfileId (), "app_profile_id" , READ_ROWS_1_PATH_TEMPLATE );
306300 builder .add (
307- request .getAuthorizedViewName (),
308- "authorized_view_name" ,
309- READ_ROWS_2_PATH_TEMPLATE );
301+ request .getAuthorizedViewName (), "table_name" , READ_ROWS_2_PATH_TEMPLATE );
310302 return builder .build ();
311303 })
312304 .build ();
@@ -322,7 +314,7 @@ protected GrpcBigtableStub(
322314 request .getAppProfileId (), "app_profile_id" , SAMPLE_ROW_KEYS_1_PATH_TEMPLATE );
323315 builder .add (
324316 request .getAuthorizedViewName (),
325- "authorized_view_name " ,
317+ "table_name " ,
326318 SAMPLE_ROW_KEYS_2_PATH_TEMPLATE );
327319 return builder .build ();
328320 })
@@ -337,9 +329,7 @@ protected GrpcBigtableStub(
337329 builder .add (
338330 request .getAppProfileId (), "app_profile_id" , MUTATE_ROW_1_PATH_TEMPLATE );
339331 builder .add (
340- request .getAuthorizedViewName (),
341- "authorized_view_name" ,
342- MUTATE_ROW_2_PATH_TEMPLATE );
332+ request .getAuthorizedViewName (), "table_name" , MUTATE_ROW_2_PATH_TEMPLATE );
343333 return builder .build ();
344334 })
345335 .build ();
@@ -353,9 +343,7 @@ protected GrpcBigtableStub(
353343 builder .add (
354344 request .getAppProfileId (), "app_profile_id" , MUTATE_ROWS_1_PATH_TEMPLATE );
355345 builder .add (
356- request .getAuthorizedViewName (),
357- "authorized_view_name" ,
358- MUTATE_ROWS_2_PATH_TEMPLATE );
346+ request .getAuthorizedViewName (), "table_name" , MUTATE_ROWS_2_PATH_TEMPLATE );
359347 return builder .build ();
360348 })
361349 .build ();
@@ -376,7 +364,7 @@ protected GrpcBigtableStub(
376364 CHECK_AND_MUTATE_ROW_1_PATH_TEMPLATE );
377365 builder .add (
378366 request .getAuthorizedViewName (),
379- "authorized_view_name " ,
367+ "table_name " ,
380368 CHECK_AND_MUTATE_ROW_2_PATH_TEMPLATE );
381369 return builder .build ();
382370 })
@@ -410,7 +398,7 @@ protected GrpcBigtableStub(
410398 READ_MODIFY_WRITE_ROW_1_PATH_TEMPLATE );
411399 builder .add (
412400 request .getAuthorizedViewName (),
413- "authorized_view_name " ,
401+ "table_name " ,
414402 READ_MODIFY_WRITE_ROW_2_PATH_TEMPLATE );
415403 return builder .build ();
416404 })
0 commit comments