Reference documentation and code samples for the Cloud Bigtable V2 Client class SampleRowKeysResponse.
Response message for Bigtable.SampleRowKeys.
Generated from protobuf message google.bigtable.v2.SampleRowKeysResponse
Namespace
Google \ Cloud \ Bigtable \ V2
Methods
__construct
Constructor.
Parameters
Name
Description
data
array
Optional. Data for populating the Message object.
↳ row_key
string
Sorted streamed sequence of sample row keys in the table. The table might have contents before the first row key in the list and after the last one, but a key containing the empty string indicates "end of table" and will be the last response given, if present. Note that row keys in this list may not have ever been written to or read from, and users should therefore not make any assumptions about the row key structure that are specific to their use case.
↳ offset_bytes
int|string
Approximate total storage space used by all rows in the table which precede row_key. Buffering the contents of all rows between two subsequent samples would require space roughly equal to the difference in their offset_bytes fields.
getRowKey
Sorted streamed sequence of sample row keys in the table. The table might
have contents before the first row key in the list and after the last one,
but a key containing the empty string indicates "end of table" and will be
the last response given, if present.
Note that row keys in this list may not have ever been written to or read
from, and users should therefore not make any assumptions about the row key
structure that are specific to their use case.
Returns
Type
Description
string
setRowKey
Sorted streamed sequence of sample row keys in the table. The table might
have contents before the first row key in the list and after the last one,
but a key containing the empty string indicates "end of table" and will be
the last response given, if present.
Note that row keys in this list may not have ever been written to or read
from, and users should therefore not make any assumptions about the row key
structure that are specific to their use case.
Parameter
Name
Description
var
string
Returns
Type
Description
$this
getOffsetBytes
Approximate total storage space used by all rows in the table which precede
row_key. Buffering the contents of all rows between two subsequent
samples would require space roughly equal to the difference in their
offset_bytes fields.
Returns
Type
Description
int|string
setOffsetBytes
Approximate total storage space used by all rows in the table which precede
row_key. Buffering the contents of all rows between two subsequent
samples would require space roughly equal to the difference in their
offset_bytes fields.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-09-04 UTC."],[],[],null,["# Cloud Bigtable V2 Client - Class SampleRowKeysResponse (2.17.1)\n\nVersion latestkeyboard_arrow_down\n\n- [2.17.1 (latest)](/php/docs/reference/cloud-bigtable/latest/V2.SampleRowKeysResponse)\n- [2.17.0](/php/docs/reference/cloud-bigtable/2.17.0/V2.SampleRowKeysResponse)\n- [2.16.0](/php/docs/reference/cloud-bigtable/2.16.0/V2.SampleRowKeysResponse)\n- [2.15.0](/php/docs/reference/cloud-bigtable/2.15.0/V2.SampleRowKeysResponse)\n- [2.14.0](/php/docs/reference/cloud-bigtable/2.14.0/V2.SampleRowKeysResponse)\n- [2.13.0](/php/docs/reference/cloud-bigtable/2.13.0/V2.SampleRowKeysResponse)\n- [2.12.0](/php/docs/reference/cloud-bigtable/2.12.0/V2.SampleRowKeysResponse)\n- [2.11.1](/php/docs/reference/cloud-bigtable/2.11.1/V2.SampleRowKeysResponse)\n- [2.9.1](/php/docs/reference/cloud-bigtable/2.9.1/V2.SampleRowKeysResponse)\n- [2.8.0](/php/docs/reference/cloud-bigtable/2.8.0/V2.SampleRowKeysResponse)\n- [2.7.0](/php/docs/reference/cloud-bigtable/2.7.0/V2.SampleRowKeysResponse)\n- [2.6.3](/php/docs/reference/cloud-bigtable/2.6.3/V2.SampleRowKeysResponse)\n- [2.5.0](/php/docs/reference/cloud-bigtable/2.5.0/V2.SampleRowKeysResponse)\n- [2.4.0](/php/docs/reference/cloud-bigtable/2.4.0/V2.SampleRowKeysResponse)\n- [2.3.0](/php/docs/reference/cloud-bigtable/2.3.0/V2.SampleRowKeysResponse)\n- [2.2.1](/php/docs/reference/cloud-bigtable/2.2.1/V2.SampleRowKeysResponse)\n- [2.1.0](/php/docs/reference/cloud-bigtable/2.1.0/V2.SampleRowKeysResponse)\n- [2.0.1](/php/docs/reference/cloud-bigtable/2.0.1/V2.SampleRowKeysResponse)\n- [1.32.1](/php/docs/reference/cloud-bigtable/1.32.1/V2.SampleRowKeysResponse)\n- [1.31.1](/php/docs/reference/cloud-bigtable/1.31.1/V2.SampleRowKeysResponse)\n- [1.30.0](/php/docs/reference/cloud-bigtable/1.30.0/V2.SampleRowKeysResponse)\n- [1.29.2](/php/docs/reference/cloud-bigtable/1.29.2/V2.SampleRowKeysResponse)\n- [1.28.3](/php/docs/reference/cloud-bigtable/1.28.3/V2.SampleRowKeysResponse)\n- [1.27.0](/php/docs/reference/cloud-bigtable/1.27.0/V2.SampleRowKeysResponse)\n- [1.26.2](/php/docs/reference/cloud-bigtable/1.26.2/V2.SampleRowKeysResponse)\n- [1.25.0](/php/docs/reference/cloud-bigtable/1.25.0/V2.SampleRowKeysResponse)\n- [1.24.1](/php/docs/reference/cloud-bigtable/1.24.1/V2.SampleRowKeysResponse)\n- [1.23.0](/php/docs/reference/cloud-bigtable/1.23.0/V2.SampleRowKeysResponse)\n- [1.22.2](/php/docs/reference/cloud-bigtable/1.22.2/V2.SampleRowKeysResponse)\n- [1.21.1](/php/docs/reference/cloud-bigtable/1.21.1/V2.SampleRowKeysResponse)\n- [1.20.3](/php/docs/reference/cloud-bigtable/1.20.3/V2.SampleRowKeysResponse) \nReference documentation and code samples for the Cloud Bigtable V2 Client class SampleRowKeysResponse.\n\nResponse message for Bigtable.SampleRowKeys.\n\nGenerated from protobuf message `google.bigtable.v2.SampleRowKeysResponse`\n\nNamespace\n---------\n\nGoogle \\\\ Cloud \\\\ Bigtable \\\\ V2\n\nMethods\n-------\n\n### __construct\n\nConstructor.\n\n### getRowKey\n\nSorted streamed sequence of sample row keys in the table. The table might\nhave contents before the first row key in the list and after the last one,\nbut a key containing the empty string indicates \"end of table\" and will be\nthe last response given, if present.\n\nNote that row keys in this list may not have ever been written to or read\nfrom, and users should therefore not make any assumptions about the row key\nstructure that are specific to their use case.\n\n### setRowKey\n\nSorted streamed sequence of sample row keys in the table. The table might\nhave contents before the first row key in the list and after the last one,\nbut a key containing the empty string indicates \"end of table\" and will be\nthe last response given, if present.\n\nNote that row keys in this list may not have ever been written to or read\nfrom, and users should therefore not make any assumptions about the row key\nstructure that are specific to their use case.\n\n### getOffsetBytes\n\nApproximate total storage space used by all rows in the table which precede\n`row_key`. Buffering the contents of all rows between two subsequent\nsamples would require space roughly equal to the difference in their\n`offset_bytes` fields.\n\n### setOffsetBytes\n\nApproximate total storage space used by all rows in the table which precede\n`row_key`. Buffering the contents of all rows between two subsequent\nsamples would require space roughly equal to the difference in their\n`offset_bytes` fields."]]