@@ -68,7 +68,9 @@ service Bigtable {
6868 field : "table_name"
6969 path_template : "{table_name=projects/*/instances/*/tables/*}"
7070 }
71- routing_parameters { field : "app_profile_id" }
71+ routing_parameters {
72+ field : "app_profile_id"
73+ }
7274 };
7375 option (google.api.method_signature ) = "table_name" ;
7476 option (google.api.method_signature ) = "table_name,app_profile_id" ;
@@ -78,8 +80,7 @@ service Bigtable {
7880 // delimit contiguous sections of the table of approximately equal size,
7981 // which can be used to break up the data for distributed tasks like
8082 // mapreduces.
81- rpc SampleRowKeys (SampleRowKeysRequest )
82- returns (stream SampleRowKeysResponse ) {
83+ rpc SampleRowKeys (SampleRowKeysRequest ) returns (stream SampleRowKeysResponse ) {
8384 option (google.api.http ) = {
8485 get : "/v2/{table_name=projects/*/instances/*/tables/*}:sampleRowKeys"
8586 };
@@ -88,7 +89,9 @@ service Bigtable {
8889 field : "table_name"
8990 path_template : "{table_name=projects/*/instances/*/tables/*}"
9091 }
91- routing_parameters { field : "app_profile_id" }
92+ routing_parameters {
93+ field : "app_profile_id"
94+ }
9295 };
9396 option (google.api.method_signature ) = "table_name" ;
9497 option (google.api.method_signature ) = "table_name,app_profile_id" ;
@@ -106,11 +109,12 @@ service Bigtable {
106109 field : "table_name"
107110 path_template : "{table_name=projects/*/instances/*/tables/*}"
108111 }
109- routing_parameters { field : "app_profile_id" }
112+ routing_parameters {
113+ field : "app_profile_id"
114+ }
110115 };
111116 option (google.api.method_signature ) = "table_name,row_key,mutations" ;
112- option (google.api.method_signature ) =
113- "table_name,row_key,mutations,app_profile_id" ;
117+ option (google.api.method_signature ) = "table_name,row_key,mutations,app_profile_id" ;
114118 }
115119
116120 // Mutates multiple rows in a batch. Each individual row is mutated
@@ -126,15 +130,16 @@ service Bigtable {
126130 field : "table_name"
127131 path_template : "{table_name=projects/*/instances/*/tables/*}"
128132 }
129- routing_parameters { field : "app_profile_id" }
133+ routing_parameters {
134+ field : "app_profile_id"
135+ }
130136 };
131137 option (google.api.method_signature ) = "table_name,entries" ;
132138 option (google.api.method_signature ) = "table_name,entries,app_profile_id" ;
133139 }
134140
135141 // Mutates a row atomically based on the output of a predicate Reader filter.
136- rpc CheckAndMutateRow (CheckAndMutateRowRequest )
137- returns (CheckAndMutateRowResponse ) {
142+ rpc CheckAndMutateRow (CheckAndMutateRowRequest ) returns (CheckAndMutateRowResponse ) {
138143 option (google.api.http ) = {
139144 post : "/v2/{table_name=projects/*/instances/*/tables/*}:checkAndMutateRow"
140145 body : "*"
@@ -144,12 +149,12 @@ service Bigtable {
144149 field : "table_name"
145150 path_template : "{table_name=projects/*/instances/*/tables/*}"
146151 }
147- routing_parameters { field : "app_profile_id" }
152+ routing_parameters {
153+ field : "app_profile_id"
154+ }
148155 };
149- option (google.api.method_signature ) =
150- "table_name,row_key,predicate_filter,true_mutations,false_mutations" ;
151- option (google.api.method_signature ) =
152- "table_name,row_key,predicate_filter,true_mutations,false_mutations,app_profile_id" ;
156+ option (google.api.method_signature ) = "table_name,row_key,predicate_filter,true_mutations,false_mutations" ;
157+ option (google.api.method_signature ) = "table_name,row_key,predicate_filter,true_mutations,false_mutations,app_profile_id" ;
153158 }
154159
155160 // Warm up associated instance metadata for this connection.
@@ -164,7 +169,9 @@ service Bigtable {
164169 field : "name"
165170 path_template : "{name=projects/*/instances/*}"
166171 }
167- routing_parameters { field : "app_profile_id" }
172+ routing_parameters {
173+ field : "app_profile_id"
174+ }
168175 };
169176 option (google.api.method_signature ) = "name" ;
170177 option (google.api.method_signature ) = "name,app_profile_id" ;
@@ -175,8 +182,7 @@ service Bigtable {
175182 // entry based on pre-defined read/modify/write rules. The new value for the
176183 // timestamp is the greater of the existing timestamp or the current server
177184 // time. The method returns the new contents of all modified cells.
178- rpc ReadModifyWriteRow (ReadModifyWriteRowRequest )
179- returns (ReadModifyWriteRowResponse ) {
185+ rpc ReadModifyWriteRow (ReadModifyWriteRowRequest ) returns (ReadModifyWriteRowResponse ) {
180186 option (google.api.http ) = {
181187 post : "/v2/{table_name=projects/*/instances/*/tables/*}:readModifyWriteRow"
182188 body : "*"
@@ -186,11 +192,12 @@ service Bigtable {
186192 field : "table_name"
187193 path_template : "{table_name=projects/*/instances/*/tables/*}"
188194 }
189- routing_parameters { field : "app_profile_id" }
195+ routing_parameters {
196+ field : "app_profile_id"
197+ }
190198 };
191199 option (google.api.method_signature ) = "table_name,row_key,rules" ;
192- option (google.api.method_signature ) =
193- "table_name,row_key,rules,app_profile_id" ;
200+ option (google.api.method_signature ) = "table_name,row_key,rules,app_profile_id" ;
194201 }
195202}
196203
@@ -208,12 +215,9 @@ message ReadRowsRequest {
208215 // RequestStats embedded message unset in the response.
209216 REQUEST_STATS_NONE = 1 ;
210217
211- // Include stats related to the efficiency of the read.
212- REQUEST_STATS_EFFICIENCY = 2 ;
213-
214218 // Include the full set of available RequestStats in the response,
215219 // applicable to this read.
216- REQUEST_STATS_FULL = 3 ;
220+ REQUEST_STATS_FULL = 2 ;
217221 }
218222
219223 // Required. The unique name of the table from which to read.
@@ -384,8 +388,8 @@ message SampleRowKeysResponse {
384388
385389// Request message for Bigtable.MutateRow.
386390message MutateRowRequest {
387- // Required. The unique name of the table to which the mutation should be
388- // applied. Values are of the form
391+ // Required. The unique name of the table to which the mutation should be applied.
392+ // Values are of the form
389393 // `projects/<project>/instances/<instance>/tables/<table>`.
390394 string table_name = 1 [
391395 (google.api.field_behavior ) = REQUIRED ,
@@ -401,14 +405,16 @@ message MutateRowRequest {
401405 // Required. The key of the row to which the mutation should be applied.
402406 bytes row_key = 2 [(google.api.field_behavior ) = REQUIRED ];
403407
404- // Required. Changes to be atomically applied to the specified row. Entries
405- // are applied in order, meaning that earlier mutations can be masked by later
406- // ones. Must contain at least one entry and at most 100000.
408+ // Required. Changes to be atomically applied to the specified row. Entries are applied
409+ // in order, meaning that earlier mutations can be masked by later ones.
410+ // Must contain at least one entry and at most 100000.
407411 repeated Mutation mutations = 3 [(google.api.field_behavior ) = REQUIRED ];
408412}
409413
410414// Response message for Bigtable.MutateRow.
411- message MutateRowResponse {}
415+ message MutateRowResponse {
416+
417+ }
412418
413419// Request message for BigtableService.MutateRows.
414420message MutateRowsRequest {
@@ -417,14 +423,14 @@ message MutateRowsRequest {
417423 // The key of the row to which the `mutations` should be applied.
418424 bytes row_key = 1 ;
419425
420- // Required. Changes to be atomically applied to the specified row.
421- // Mutations are applied in order, meaning that earlier mutations can be
422- // masked by later ones. You must specify at least one mutation.
426+ // Required. Changes to be atomically applied to the specified row. Mutations are
427+ // applied in order, meaning that earlier mutations can be masked by
428+ // later ones.
429+ // You must specify at least one mutation.
423430 repeated Mutation mutations = 2 [(google.api.field_behavior ) = REQUIRED ];
424431 }
425432
426- // Required. The unique name of the table to which the mutations should be
427- // applied.
433+ // Required. The unique name of the table to which the mutations should be applied.
428434 string table_name = 1 [
429435 (google.api.field_behavior ) = REQUIRED ,
430436 (google.api.resource_reference ) = {
@@ -465,8 +471,9 @@ message MutateRowsResponse {
465471
466472// Request message for Bigtable.CheckAndMutateRow.
467473message CheckAndMutateRowRequest {
468- // Required. The unique name of the table to which the conditional mutation
469- // should be applied. Values are of the form
474+ // Required. The unique name of the table to which the conditional mutation should be
475+ // applied.
476+ // Values are of the form
470477 // `projects/<project>/instances/<instance>/tables/<table>`.
471478 string table_name = 1 [
472479 (google.api.field_behavior ) = REQUIRED ,
@@ -479,8 +486,7 @@ message CheckAndMutateRowRequest {
479486 // "default" application profile will be used.
480487 string app_profile_id = 7 ;
481488
482- // Required. The key of the row to which the conditional mutation should be
483- // applied.
489+ // Required. The key of the row to which the conditional mutation should be applied.
484490 bytes row_key = 2 [(google.api.field_behavior ) = REQUIRED ];
485491
486492 // The filter to be applied to the contents of the specified row. Depending
@@ -513,9 +519,8 @@ message CheckAndMutateRowResponse {
513519
514520// Request message for client connection keep-alive and warming.
515521message PingAndWarmRequest {
516- // Required. The unique name of the instance to check permissions for as well
517- // as respond. Values are of the form
518- // `projects/<project>/instances/<instance>`.
522+ // Required. The unique name of the instance to check permissions for as well as
523+ // respond. Values are of the form `projects/<project>/instances/<instance>`.
519524 string name = 1 [
520525 (google.api.field_behavior ) = REQUIRED ,
521526 (google.api.resource_reference ) = {
@@ -533,8 +538,9 @@ message PingAndWarmResponse {}
533538
534539// Request message for Bigtable.ReadModifyWriteRow.
535540message ReadModifyWriteRowRequest {
536- // Required. The unique name of the table to which the read/modify/write rules
537- // should be applied. Values are of the form
541+ // Required. The unique name of the table to which the read/modify/write rules should be
542+ // applied.
543+ // Values are of the form
538544 // `projects/<project>/instances/<instance>/tables/<table>`.
539545 string table_name = 1 [
540546 (google.api.field_behavior ) = REQUIRED ,
@@ -547,15 +553,13 @@ message ReadModifyWriteRowRequest {
547553 // "default" application profile will be used.
548554 string app_profile_id = 4 ;
549555
550- // Required. The key of the row to which the read/modify/write rules should be
551- // applied.
556+ // Required. The key of the row to which the read/modify/write rules should be applied.
552557 bytes row_key = 2 [(google.api.field_behavior ) = REQUIRED ];
553558
554- // Required. Rules specifying how the specified row's contents are to be
555- // transformed into writes. Entries are applied in order, meaning that earlier
556- // rules will affect the results of later ones.
557- repeated ReadModifyWriteRule rules = 3
558- [(google.api.field_behavior ) = REQUIRED ];
559+ // Required. Rules specifying how the specified row's contents are to be transformed
560+ // into writes. Entries are applied in order, meaning that earlier rules will
561+ // affect the results of later ones.
562+ repeated ReadModifyWriteRule rules = 3 [(google.api.field_behavior ) = REQUIRED ];
559563}
560564
561565// Response message for Bigtable.ReadModifyWriteRow.
0 commit comments