Class protos.google.cloud.bigquery.storage.v1beta.MetastorePartitionService (5.1.1)

Represents a MetastorePartitionService

Inheritance

$protobuf.rpc.Service > protos.google.cloud.bigquery.storage.v1beta.MetastorePartitionService

Package

@google-cloud/bigquery-storage

Constructors

(constructor)(rpcImpl, requestDelimited, responseDelimited)

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

Constructs a new MetastorePartitionService service.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Methods

batchCreateMetastorePartitions(request, callback)

public batchCreateMetastorePartitions(request: google.cloud.bigquery.storage.v1beta.IBatchCreateMetastorePartitionsRequest, callback: google.cloud.bigquery.storage.v1beta.MetastorePartitionService.BatchCreateMetastorePartitionsCallback): void;

Calls BatchCreateMetastorePartitions.

Parameters
Name Description
request IBatchCreateMetastorePartitionsRequest

BatchCreateMetastorePartitionsRequest message or plain object

callback BatchCreateMetastorePartitionsCallback

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

Returns
Type Description
void

batchCreateMetastorePartitions(request)

public batchCreateMetastorePartitions(request: google.cloud.bigquery.storage.v1beta.IBatchCreateMetastorePartitionsRequest): Promise<google.cloud.bigquery.storage.v1beta.BatchCreateMetastorePartitionsResponse>;

Calls BatchCreateMetastorePartitions.

Parameter
Name Description
request IBatchCreateMetastorePartitionsRequest

BatchCreateMetastorePartitionsRequest message or plain object

Returns
Type Description
Promise<google.cloud.bigquery.storage.v1beta.BatchCreateMetastorePartitionsResponse>

Promise

batchDeleteMetastorePartitions(request, callback)

public batchDeleteMetastorePartitions(request: google.cloud.bigquery.storage.v1beta.IBatchDeleteMetastorePartitionsRequest, callback: google.cloud.bigquery.storage.v1beta.MetastorePartitionService.BatchDeleteMetastorePartitionsCallback): void;

Calls BatchDeleteMetastorePartitions.

Parameters
Name Description
request IBatchDeleteMetastorePartitionsRequest

BatchDeleteMetastorePartitionsRequest message or plain object

callback BatchDeleteMetastorePartitionsCallback

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

Returns
Type Description
void

batchDeleteMetastorePartitions(request)

public batchDeleteMetastorePartitions(request: google.cloud.bigquery.storage.v1beta.IBatchDeleteMetastorePartitionsRequest): Promise<google.protobuf.Empty>;

Calls BatchDeleteMetastorePartitions.

Parameter
Name Description
request IBatchDeleteMetastorePartitionsRequest

BatchDeleteMetastorePartitionsRequest message or plain object

Returns
Type Description
Promise<google.protobuf.Empty>

Promise

batchUpdateMetastorePartitions(request, callback)

public batchUpdateMetastorePartitions(request: google.cloud.bigquery.storage.v1beta.IBatchUpdateMetastorePartitionsRequest, callback: google.cloud.bigquery.storage.v1beta.MetastorePartitionService.BatchUpdateMetastorePartitionsCallback): void;

Calls BatchUpdateMetastorePartitions.

Parameters
Name Description
request IBatchUpdateMetastorePartitionsRequest

BatchUpdateMetastorePartitionsRequest message or plain object

callback BatchUpdateMetastorePartitionsCallback

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

Returns
Type Description
void

batchUpdateMetastorePartitions(request)

public batchUpdateMetastorePartitions(request: google.cloud.bigquery.storage.v1beta.IBatchUpdateMetastorePartitionsRequest): Promise<google.cloud.bigquery.storage.v1beta.BatchUpdateMetastorePartitionsResponse>;

Calls BatchUpdateMetastorePartitions.

Parameter
Name Description
request IBatchUpdateMetastorePartitionsRequest

BatchUpdateMetastorePartitionsRequest message or plain object

Returns
Type Description
Promise<google.cloud.bigquery.storage.v1beta.BatchUpdateMetastorePartitionsResponse>

Promise

create(rpcImpl, requestDelimited, responseDelimited)

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

Creates new MetastorePartitionService service using the specified rpc implementation.

Parameters
Name Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean

Whether requests are length-delimited

responseDelimited boolean

Whether responses are length-delimited

Returns
Type Description
MetastorePartitionService

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

listMetastorePartitions(request, callback)

public listMetastorePartitions(request: google.cloud.bigquery.storage.v1beta.IListMetastorePartitionsRequest, callback: google.cloud.bigquery.storage.v1beta.MetastorePartitionService.ListMetastorePartitionsCallback): void;

Calls ListMetastorePartitions.

Parameters
Name Description
request IListMetastorePartitionsRequest

ListMetastorePartitionsRequest message or plain object

callback ListMetastorePartitionsCallback

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

Returns
Type Description
void

listMetastorePartitions(request)

public listMetastorePartitions(request: google.cloud.bigquery.storage.v1beta.IListMetastorePartitionsRequest): Promise<google.cloud.bigquery.storage.v1beta.ListMetastorePartitionsResponse>;

Calls ListMetastorePartitions.

Parameter
Name Description
request IListMetastorePartitionsRequest

ListMetastorePartitionsRequest message or plain object

Returns
Type Description
Promise<google.cloud.bigquery.storage.v1beta.ListMetastorePartitionsResponse>

Promise

streamMetastorePartitions(request, callback)

public streamMetastorePartitions(request: google.cloud.bigquery.storage.v1beta.IStreamMetastorePartitionsRequest, callback: google.cloud.bigquery.storage.v1beta.MetastorePartitionService.StreamMetastorePartitionsCallback): void;

Calls StreamMetastorePartitions.

Parameters
Name Description
request IStreamMetastorePartitionsRequest

StreamMetastorePartitionsRequest message or plain object

callback StreamMetastorePartitionsCallback

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

Returns
Type Description
void

streamMetastorePartitions(request)

public streamMetastorePartitions(request: google.cloud.bigquery.storage.v1beta.IStreamMetastorePartitionsRequest): Promise<google.cloud.bigquery.storage.v1beta.StreamMetastorePartitionsResponse>;

Calls StreamMetastorePartitions.

Parameter
Name Description
request IStreamMetastorePartitionsRequest

StreamMetastorePartitionsRequest message or plain object

Returns
Type Description
Promise<google.cloud.bigquery.storage.v1beta.StreamMetastorePartitionsResponse>

Promise