From 10a0426f580b86b26541b95a778bb8b7f6562383 Mon Sep 17 00:00:00 2001 From: "gcf-owl-bot[bot]" <78513119+gcf-owl-bot[bot]@users.noreply.github.com> Date: Thu, 13 Jul 2023 15:48:13 +0000 Subject: [PATCH] docs: fix formatting for reversed order field example (#1836) - [ ] Regenerate this pull request now. PiperOrigin-RevId: 547553954 Source-Link: https://togithub.com/googleapis/googleapis/commit/c4e6427fcefd1cd9a15a3008ae7ee8adca972276 Source-Link: https://togithub.com/googleapis/googleapis-gen/commit/f552269609d4183546543bfe3a022f544d4f5bdb Copy-Tag: eyJwIjoiLmdpdGh1Yi8uT3dsQm90LnlhbWwiLCJoIjoiZjU1MjI2OTYwOWQ0MTgzNTQ2NTQzYmZlM2EwMjJmNTQ0ZDRmNWJkYiJ9 --- .../google/bigtable/v2/ReadRowsRequest.java | 40 +++++++++++++------ .../bigtable/v2/ReadRowsRequestOrBuilder.java | 10 +++-- .../proto/google/bigtable/v2/bigtable.proto | 10 +++-- 3 files changed, 42 insertions(+), 18 deletions(-) diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java index 3101db169a..60351c5c6d 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequest.java @@ -506,9 +506,13 @@ public com.google.bigtable.v2.ReadRowsRequest.RequestStatsView getRequestStatsVi * * Return rows in lexiographical descending order of the row keys. The row * contents will not be affected by this flag. - * Example result set: [ - * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", - * "f:col2": "v2"} ]. + * + * Example result set: + * + * [ + * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, + * {key: "k1", "f:col1": "v2", "f:col2": "v2"} + * ] * * * bool reversed = 7; @@ -1788,9 +1792,13 @@ public Builder clearRequestStatsView() { * * Return rows in lexiographical descending order of the row keys. The row * contents will not be affected by this flag. - * Example result set: [ - * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", - * "f:col2": "v2"} ]. + * + * Example result set: + * + * [ + * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, + * {key: "k1", "f:col1": "v2", "f:col2": "v2"} + * ] * * * bool reversed = 7; @@ -1810,9 +1818,13 @@ public boolean getReversed() { * * Return rows in lexiographical descending order of the row keys. The row * contents will not be affected by this flag. - * Example result set: [ - * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", - * "f:col2": "v2"} ]. + * + * Example result set: + * + * [ + * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, + * {key: "k1", "f:col1": "v2", "f:col2": "v2"} + * ] * * * bool reversed = 7; @@ -1836,9 +1848,13 @@ public Builder setReversed(boolean value) { * * Return rows in lexiographical descending order of the row keys. The row * contents will not be affected by this flag. - * Example result set: [ - * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", - * "f:col2": "v2"} ]. + * + * Example result set: + * + * [ + * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, + * {key: "k1", "f:col1": "v2", "f:col2": "v2"} + * ] * * * bool reversed = 7; diff --git a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java index f3f1a10e95..1ebbf6d820 100644 --- a/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java +++ b/proto-google-cloud-bigtable-v2/src/main/java/com/google/bigtable/v2/ReadRowsRequestOrBuilder.java @@ -207,9 +207,13 @@ public interface ReadRowsRequestOrBuilder * * Return rows in lexiographical descending order of the row keys. The row * contents will not be affected by this flag. - * Example result set: [ - * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", - * "f:col2": "v2"} ]. + * + * Example result set: + * + * [ + * {key: "k2", "f:col1": "v1", "f:col2": "v1"}, + * {key: "k1", "f:col1": "v2", "f:col2": "v2"} + * ] * * * bool reversed = 7; diff --git a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto index 0e8c38f168..aca13f586c 100644 --- a/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto +++ b/proto-google-cloud-bigtable-v2/src/main/proto/google/bigtable/v2/bigtable.proto @@ -277,9 +277,13 @@ message ReadRowsRequest { // // Return rows in lexiographical descending order of the row keys. The row // contents will not be affected by this flag. - // Example result set: [ - // {key: "k2", "f:col1": "v1", "f:col2": "v1"}, {key: "k1", "f:col1": "v2", - // "f:col2": "v2"} ]. + // + // Example result set: + // + // [ + // {key: "k2", "f:col1": "v1", "f:col2": "v1"}, + // {key: "k1", "f:col1": "v2", "f:col2": "v2"} + // ] bool reversed = 7; }