Represents a MetastorePartitionService
Inheritance
$protobuf.rpc.Service > protos.google.cloud.bigquery.storage.v1alpha.MetastorePartitionServicePackage
@google-cloud/bigquery-storageConstructors
(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.v1alpha.IBatchCreateMetastorePartitionsRequest, callback: google.cloud.bigquery.storage.v1alpha.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.v1alpha.IBatchCreateMetastorePartitionsRequest): Promise<google.cloud.bigquery.storage.v1alpha.BatchCreateMetastorePartitionsResponse>;Calls BatchCreateMetastorePartitions.
| Parameter | |
|---|---|
| Name | Description |
request |
IBatchCreateMetastorePartitionsRequest
BatchCreateMetastorePartitionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.bigquery.storage.v1alpha.BatchCreateMetastorePartitionsResponse> |
Promise |
batchDeleteMetastorePartitions(request, callback)
public batchDeleteMetastorePartitions(request: google.cloud.bigquery.storage.v1alpha.IBatchDeleteMetastorePartitionsRequest, callback: google.cloud.bigquery.storage.v1alpha.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.v1alpha.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.v1alpha.IBatchUpdateMetastorePartitionsRequest, callback: google.cloud.bigquery.storage.v1alpha.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.v1alpha.IBatchUpdateMetastorePartitionsRequest): Promise<google.cloud.bigquery.storage.v1alpha.BatchUpdateMetastorePartitionsResponse>;Calls BatchUpdateMetastorePartitions.
| Parameter | |
|---|---|
| Name | Description |
request |
IBatchUpdateMetastorePartitionsRequest
BatchUpdateMetastorePartitionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.bigquery.storage.v1alpha.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.v1alpha.IListMetastorePartitionsRequest, callback: google.cloud.bigquery.storage.v1alpha.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.v1alpha.IListMetastorePartitionsRequest): Promise<google.cloud.bigquery.storage.v1alpha.ListMetastorePartitionsResponse>;Calls ListMetastorePartitions.
| Parameter | |
|---|---|
| Name | Description |
request |
IListMetastorePartitionsRequest
ListMetastorePartitionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.bigquery.storage.v1alpha.ListMetastorePartitionsResponse> |
Promise |
streamMetastorePartitions(request, callback)
public streamMetastorePartitions(request: google.cloud.bigquery.storage.v1alpha.IStreamMetastorePartitionsRequest, callback: google.cloud.bigquery.storage.v1alpha.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.v1alpha.IStreamMetastorePartitionsRequest): Promise<google.cloud.bigquery.storage.v1alpha.StreamMetastorePartitionsResponse>;Calls StreamMetastorePartitions.
| Parameter | |
|---|---|
| Name | Description |
request |
IStreamMetastorePartitionsRequest
StreamMetastorePartitionsRequest message or plain object |
| Returns | |
|---|---|
| Type | Description |
Promise<google.cloud.bigquery.storage.v1alpha.StreamMetastorePartitionsResponse> |
Promise |