MetastorePartitionService

google.cloud.bigquery.storage.v1alpha. MetastorePartitionService

Represents a MetastorePartitionService

Constructor

new MetastorePartitionService(rpcImpl, requestDelimitedopt, responseDelimitedopt)

Constructs a new MetastorePartitionService service.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Extends

  • $protobuf.rpc.Service

Methods

batchCreateMetastorePartitions(request, callback) → {undefined}

Calls BatchCreateMetastorePartitions.

Parameters:
Name Type Description
request google.cloud.bigquery.storage.v1alpha.IBatchCreateMetastorePartitionsRequest

BatchCreateMetastorePartitionsRequest message or plain object

callback google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.BatchCreateMetastorePartitionsCallback

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

Returns:
Type Description
undefined

batchCreateMetastorePartitions(request) → {Promise.<google.cloud.bigquery.storage.v1alpha.BatchCreateMetastorePartitionsResponse>}

Calls BatchCreateMetastorePartitions.

Parameters:
Name Type Description
request google.cloud.bigquery.storage.v1alpha.IBatchCreateMetastorePartitionsRequest

BatchCreateMetastorePartitionsRequest message or plain object

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

Promise

batchDeleteMetastorePartitions(request, callback) → {undefined}

Calls BatchDeleteMetastorePartitions.

Parameters:
Name Type Description
request google.cloud.bigquery.storage.v1alpha.IBatchDeleteMetastorePartitionsRequest

BatchDeleteMetastorePartitionsRequest message or plain object

callback google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.BatchDeleteMetastorePartitionsCallback

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

Returns:
Type Description
undefined

batchDeleteMetastorePartitions(request) → {Promise.<google.protobuf.Empty>}

Calls BatchDeleteMetastorePartitions.

Parameters:
Name Type Description
request google.cloud.bigquery.storage.v1alpha.IBatchDeleteMetastorePartitionsRequest

BatchDeleteMetastorePartitionsRequest message or plain object

Returns:
Type Description
Promise.<google.protobuf.Empty>

Promise

batchUpdateMetastorePartitions(request, callback) → {undefined}

Calls BatchUpdateMetastorePartitions.

Parameters:
Name Type Description
request google.cloud.bigquery.storage.v1alpha.IBatchUpdateMetastorePartitionsRequest

BatchUpdateMetastorePartitionsRequest message or plain object

callback google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.BatchUpdateMetastorePartitionsCallback

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

Returns:
Type Description
undefined

batchUpdateMetastorePartitions(request) → {Promise.<google.cloud.bigquery.storage.v1alpha.BatchUpdateMetastorePartitionsResponse>}

Calls BatchUpdateMetastorePartitions.

Parameters:
Name Type Description
request google.cloud.bigquery.storage.v1alpha.IBatchUpdateMetastorePartitionsRequest

BatchUpdateMetastorePartitionsRequest message or plain object

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

Promise

listMetastorePartitions(request, callback) → {undefined}

Calls ListMetastorePartitions.

Parameters:
Name Type Description
request google.cloud.bigquery.storage.v1alpha.IListMetastorePartitionsRequest

ListMetastorePartitionsRequest message or plain object

callback google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.ListMetastorePartitionsCallback

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

Returns:
Type Description
undefined

listMetastorePartitions(request) → {Promise.<google.cloud.bigquery.storage.v1alpha.ListMetastorePartitionsResponse>}

Calls ListMetastorePartitions.

Parameters:
Name Type Description
request google.cloud.bigquery.storage.v1alpha.IListMetastorePartitionsRequest

ListMetastorePartitionsRequest message or plain object

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

Promise

streamMetastorePartitions(request, callback) → {undefined}

Calls StreamMetastorePartitions.

Parameters:
Name Type Description
request google.cloud.bigquery.storage.v1alpha.IStreamMetastorePartitionsRequest

StreamMetastorePartitionsRequest message or plain object

callback google.cloud.bigquery.storage.v1alpha.MetastorePartitionService.StreamMetastorePartitionsCallback

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

Returns:
Type Description
undefined

streamMetastorePartitions(request) → {Promise.<google.cloud.bigquery.storage.v1alpha.StreamMetastorePartitionsResponse>}

Calls StreamMetastorePartitions.

Parameters:
Name Type Description
request google.cloud.bigquery.storage.v1alpha.IStreamMetastorePartitionsRequest

StreamMetastorePartitionsRequest message or plain object

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

Promise

(static) create(rpcImpl, requestDelimitedopt, responseDelimitedopt) → {MetastorePartitionService}

Creates new MetastorePartitionService service using the specified rpc implementation.

Parameters:
Name Type Attributes Default Description
rpcImpl $protobuf.RPCImpl

RPC implementation

requestDelimited boolean <optional>
false

Whether requests are length-delimited

responseDelimited boolean <optional>
false

Whether responses are length-delimited

Returns:
Type Description
MetastorePartitionService

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

Type Definitions

BatchCreateMetastorePartitionsCallback(error, responseopt)

Callback as used by batchCreateMetastorePartitions.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.bigquery.storage.v1alpha.BatchCreateMetastorePartitionsResponse <optional>

BatchCreateMetastorePartitionsResponse

BatchDeleteMetastorePartitionsCallback(error, responseopt)

Callback as used by batchDeleteMetastorePartitions.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.protobuf.Empty <optional>

Empty

BatchUpdateMetastorePartitionsCallback(error, responseopt)

Callback as used by batchUpdateMetastorePartitions.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.bigquery.storage.v1alpha.BatchUpdateMetastorePartitionsResponse <optional>

BatchUpdateMetastorePartitionsResponse

ListMetastorePartitionsCallback(error, responseopt)

Callback as used by listMetastorePartitions.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.bigquery.storage.v1alpha.ListMetastorePartitionsResponse <optional>

ListMetastorePartitionsResponse

StreamMetastorePartitionsCallback(error, responseopt)

Callback as used by streamMetastorePartitions.

Parameters:
Name Type Attributes Description
error Error | null

Error, if any

response google.cloud.bigquery.storage.v1alpha.StreamMetastorePartitionsResponse <optional>

StreamMetastorePartitionsResponse