com.google.bigtable.v2.ReadRowsResponseOrBuilder Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of proto-google-cloud-bigtable-v2 Show documentation
Show all versions of proto-google-cloud-bigtable-v2 Show documentation
PROTO library for proto-google-cloud-bigtable-v2
/*
* Copyright 2024 Google LLC
*
* Licensed under the Apache License, Version 2.0 (the "License");
* you may not use this file except in compliance with the License.
* You may obtain a copy of the License at
*
* https://www.apache.org/licenses/LICENSE-2.0
*
* Unless required by applicable law or agreed to in writing, software
* distributed under the License is distributed on an "AS IS" BASIS,
* WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
* See the License for the specific language governing permissions and
* limitations under the License.
*/
// Generated by the protocol buffer compiler. DO NOT EDIT!
// source: google/bigtable/v2/bigtable.proto
// Protobuf Java Version: 3.25.2
package com.google.bigtable.v2;
public interface ReadRowsResponseOrBuilder
extends
// @@protoc_insertion_point(interface_extends:google.bigtable.v2.ReadRowsResponse)
com.google.protobuf.MessageOrBuilder {
/**
*
*
*
* A collection of a row's contents as part of the read request.
*
*
* repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
java.util.List getChunksList();
/**
*
*
*
* A collection of a row's contents as part of the read request.
*
*
* repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
com.google.bigtable.v2.ReadRowsResponse.CellChunk getChunks(int index);
/**
*
*
*
* A collection of a row's contents as part of the read request.
*
*
* repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
int getChunksCount();
/**
*
*
*
* A collection of a row's contents as part of the read request.
*
*
* repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
java.util.List extends com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder>
getChunksOrBuilderList();
/**
*
*
*
* A collection of a row's contents as part of the read request.
*
*
* repeated .google.bigtable.v2.ReadRowsResponse.CellChunk chunks = 1;
*/
com.google.bigtable.v2.ReadRowsResponse.CellChunkOrBuilder getChunksOrBuilder(int index);
/**
*
*
*
* Optionally the server might return the row key of the last row it
* has scanned. The client can use this to construct a more
* efficient retry request if needed: any row keys or portions of
* ranges less than this row key can be dropped from the request.
* This is primarily useful for cases where the server has read a
* lot of data that was filtered out since the last committed row
* key, allowing the client to skip that work on a retry.
*
*
* bytes last_scanned_row_key = 2;
*
* @return The lastScannedRowKey.
*/
com.google.protobuf.ByteString getLastScannedRowKey();
/**
*
*
*
*
* If requested, provide enhanced query performance statistics. The semantics
* dictate:
* * request_stats is empty on every (streamed) response, except
* * request_stats has non-empty information after all chunks have been
* streamed, where the ReadRowsResponse message only contains
* request_stats.
* * For example, if a read request would have returned an empty
* response instead a single ReadRowsResponse is streamed with empty
* chunks and request_stats filled.
*
* Visually, response messages will stream as follows:
* ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
* \______________________/ \________________________________/
* Primary response Trailer of RequestStats info
*
* Or if the read did not return any values:
* {chunks: [], request_stats: {...}}
* \________________________________/
* Trailer of RequestStats info
*
*
* .google.bigtable.v2.RequestStats request_stats = 3;
*
* @return Whether the requestStats field is set.
*/
boolean hasRequestStats();
/**
*
*
*
*
* If requested, provide enhanced query performance statistics. The semantics
* dictate:
* * request_stats is empty on every (streamed) response, except
* * request_stats has non-empty information after all chunks have been
* streamed, where the ReadRowsResponse message only contains
* request_stats.
* * For example, if a read request would have returned an empty
* response instead a single ReadRowsResponse is streamed with empty
* chunks and request_stats filled.
*
* Visually, response messages will stream as follows:
* ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
* \______________________/ \________________________________/
* Primary response Trailer of RequestStats info
*
* Or if the read did not return any values:
* {chunks: [], request_stats: {...}}
* \________________________________/
* Trailer of RequestStats info
*
*
* .google.bigtable.v2.RequestStats request_stats = 3;
*
* @return The requestStats.
*/
com.google.bigtable.v2.RequestStats getRequestStats();
/**
*
*
*
*
* If requested, provide enhanced query performance statistics. The semantics
* dictate:
* * request_stats is empty on every (streamed) response, except
* * request_stats has non-empty information after all chunks have been
* streamed, where the ReadRowsResponse message only contains
* request_stats.
* * For example, if a read request would have returned an empty
* response instead a single ReadRowsResponse is streamed with empty
* chunks and request_stats filled.
*
* Visually, response messages will stream as follows:
* ... -> {chunks: [...]} -> {chunks: [], request_stats: {...}}
* \______________________/ \________________________________/
* Primary response Trailer of RequestStats info
*
* Or if the read did not return any values:
* {chunks: [], request_stats: {...}}
* \________________________________/
* Trailer of RequestStats info
*
*
* .google.bigtable.v2.RequestStats request_stats = 3;
*/
com.google.bigtable.v2.RequestStatsOrBuilder getRequestStatsOrBuilder();
}