Skip to content

Commit

Permalink
chore: update method doc for v1 ReadRowsRequest methods (#1389)
Browse files Browse the repository at this point in the history
update for ReadRowsRequest docs, including [java doc](https://googleapis.dev/java/google-cloud-bigquerystorage/latest/com/google/cloud/bigquery/storage/v1/ReadRowsRequest.Builder.html), for methods which are inaccurate. 

fix will help clarify usage for end users of the sdk
  • Loading branch information
jhambleton committed Oct 28, 2021
1 parent c253c40 commit cbdbaab
Showing 1 changed file with 4 additions and 10 deletions.
Expand Up @@ -175,9 +175,7 @@ public com.google.protobuf.ByteString getReadStreamBytes() {
*
*
* <pre>
* The offset requested must be less than the last row read from Read.
* Requesting a larger offset is undefined. If not specified, start reading
* from offset zero.
* Position in the stream.
* </pre>
*
* <code>int64 offset = 2;</code>
Expand Down Expand Up @@ -643,9 +641,7 @@ public Builder setReadStreamBytes(com.google.protobuf.ByteString value) {
*
*
* <pre>
* The offset requested must be less than the last row read from Read.
* Requesting a larger offset is undefined. If not specified, start reading
* from offset zero.
* Position in the stream.
* </pre>
*
* <code>int64 offset = 2;</code>
Expand All @@ -660,7 +656,7 @@ public long getOffset() {
*
*
* <pre>
* The offset requested must be less than the last row read from Read.
* The offset requested must be less than the maximum row previously read in the stream.
* Requesting a larger offset is undefined. If not specified, start reading
* from offset zero.
* </pre>
Expand All @@ -680,9 +676,7 @@ public Builder setOffset(long value) {
*
*
* <pre>
* The offset requested must be less than the last row read from Read.
* Requesting a larger offset is undefined. If not specified, start reading
* from offset zero.
* Reset offset to zero.
* </pre>
*
* <code>int64 offset = 2;</code>
Expand Down

0 comments on commit cbdbaab

Please sign in to comment.