Class protos.google.bigtable.v2.Bigtable

Represents a Bigtable

Inheritance

$protobuf.rpc.Service > protos.google.bigtable.v2.Bigtable

Package

@google-cloud/bigtable

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

constructor(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean);

Constructs a new Bigtable service.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

checkAndMutateRow(request, callback)

public checkAndMutateRow(request: google.bigtable.v2.ICheckAndMutateRowRequest, callback: google.bigtable.v2.Bigtable.CheckAndMutateRowCallback): void;

Calls CheckAndMutateRow.

Parameters
NameDescription
request ICheckAndMutateRowRequest

CheckAndMutateRowRequest message or plain object

callback google.bigtable.v2.Bigtable.CheckAndMutateRowCallback

Node-style callback called with the error, if any, and CheckAndMutateRowResponse

Returns
TypeDescription
void

checkAndMutateRow(request)

public checkAndMutateRow(request: google.bigtable.v2.ICheckAndMutateRowRequest): Promise<google.bigtable.v2.CheckAndMutateRowResponse>;

Calls CheckAndMutateRow.

Parameter
NameDescription
request ICheckAndMutateRowRequest

CheckAndMutateRowRequest message or plain object

Returns
TypeDescription
Promise<google.bigtable.v2.CheckAndMutateRowResponse>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

public static create(rpcImpl: $protobuf.RPCImpl, requestDelimited?: boolean, responseDelimited?: boolean): Bigtable;

Creates new Bigtable service using the specified rpc implementation.

Parameters
NameDescription
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
TypeDescription
Bigtable

RPC service. Useful where requests and/or responses are streamed.

mutateRow(request, callback)

public mutateRow(request: google.bigtable.v2.IMutateRowRequest, callback: google.bigtable.v2.Bigtable.MutateRowCallback): void;

Calls MutateRow.

Parameters
NameDescription
request google.bigtable.v2.IMutateRowRequest

MutateRowRequest message or plain object

callback google.bigtable.v2.Bigtable.MutateRowCallback

Node-style callback called with the error, if any, and MutateRowResponse

Returns
TypeDescription
void

mutateRow(request)

public mutateRow(request: google.bigtable.v2.IMutateRowRequest): Promise<google.bigtable.v2.MutateRowResponse>;

Calls MutateRow.

Parameter
NameDescription
request google.bigtable.v2.IMutateRowRequest

MutateRowRequest message or plain object

Returns
TypeDescription
Promise<google.bigtable.v2.MutateRowResponse>

Promise

mutateRows(request, callback)

public mutateRows(request: google.bigtable.v2.IMutateRowsRequest, callback: google.bigtable.v2.Bigtable.MutateRowsCallback): void;

Calls MutateRows.

Parameters
NameDescription
request IMutateRowsRequest

MutateRowsRequest message or plain object

callback google.bigtable.v2.Bigtable.MutateRowsCallback

Node-style callback called with the error, if any, and MutateRowsResponse

Returns
TypeDescription
void

mutateRows(request)

public mutateRows(request: google.bigtable.v2.IMutateRowsRequest): Promise<google.bigtable.v2.MutateRowsResponse>;

Calls MutateRows.

Parameter
NameDescription
request IMutateRowsRequest

MutateRowsRequest message or plain object

Returns
TypeDescription
Promise<google.bigtable.v2.MutateRowsResponse>

Promise

readModifyWriteRow(request, callback)

public readModifyWriteRow(request: google.bigtable.v2.IReadModifyWriteRowRequest, callback: google.bigtable.v2.Bigtable.ReadModifyWriteRowCallback): void;

Calls ReadModifyWriteRow.

Parameters
NameDescription
request google.bigtable.v2.IReadModifyWriteRowRequest

ReadModifyWriteRowRequest message or plain object

callback google.bigtable.v2.Bigtable.ReadModifyWriteRowCallback

Node-style callback called with the error, if any, and ReadModifyWriteRowResponse

Returns
TypeDescription
void

readModifyWriteRow(request)

public readModifyWriteRow(request: google.bigtable.v2.IReadModifyWriteRowRequest): Promise<google.bigtable.v2.ReadModifyWriteRowResponse>;

Calls ReadModifyWriteRow.

Parameter
NameDescription
request google.bigtable.v2.IReadModifyWriteRowRequest

ReadModifyWriteRowRequest message or plain object

Returns
TypeDescription
Promise<google.bigtable.v2.ReadModifyWriteRowResponse>

Promise

readRows(request, callback)

public readRows(request: google.bigtable.v2.IReadRowsRequest, callback: google.bigtable.v2.Bigtable.ReadRowsCallback): void;

Calls ReadRows.

Parameters
NameDescription
request google.bigtable.v2.IReadRowsRequest

ReadRowsRequest message or plain object

callback google.bigtable.v2.Bigtable.ReadRowsCallback

Node-style callback called with the error, if any, and ReadRowsResponse

Returns
TypeDescription
void

readRows(request)

public readRows(request: google.bigtable.v2.IReadRowsRequest): Promise<google.bigtable.v2.ReadRowsResponse>;

Calls ReadRows.

Parameter
NameDescription
request google.bigtable.v2.IReadRowsRequest

ReadRowsRequest message or plain object

Returns
TypeDescription
Promise<google.bigtable.v2.ReadRowsResponse>

Promise

sampleRowKeys(request, callback)

public sampleRowKeys(request: google.bigtable.v2.ISampleRowKeysRequest, callback: google.bigtable.v2.Bigtable.SampleRowKeysCallback): void;

Calls SampleRowKeys.

Parameters
NameDescription
request google.bigtable.v2.ISampleRowKeysRequest

SampleRowKeysRequest message or plain object

callback google.bigtable.v2.Bigtable.SampleRowKeysCallback

Node-style callback called with the error, if any, and SampleRowKeysResponse

Returns
TypeDescription
void

sampleRowKeys(request)

public sampleRowKeys(request: google.bigtable.v2.ISampleRowKeysRequest): Promise<google.bigtable.v2.SampleRowKeysResponse>;

Calls SampleRowKeys.

Parameter
NameDescription
request google.bigtable.v2.ISampleRowKeysRequest

SampleRowKeysRequest message or plain object

Returns
TypeDescription
Promise<google.bigtable.v2.SampleRowKeysResponse>

Promise