Interface BatchCreateMetastorePartitionsRequestOrBuilder (3.9.3)

public interface BatchCreateMetastorePartitionsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getParent()

public abstract String getParent()

Required. Reference to the table to where the metastore partitions to be added, in the format of projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Required. Reference to the table to where the metastore partitions to be added, in the format of projects/{project}/locations/{location}/datasets/{dataset}/tables/{table}.

string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
ByteString

The bytes for parent.

getRequests(int index)

public abstract CreateMetastorePartitionRequest getRequests(int index)

Required. Requests to add metastore partitions to the table.

repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateMetastorePartitionRequest

getRequestsCount()

public abstract int getRequestsCount()

Required. Requests to add metastore partitions to the table.

repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public abstract List<CreateMetastorePartitionRequest> getRequestsList()

Required. Requests to add metastore partitions to the table.

repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<CreateMetastorePartitionRequest>

getRequestsOrBuilder(int index)

public abstract CreateMetastorePartitionRequestOrBuilder getRequestsOrBuilder(int index)

Required. Requests to add metastore partitions to the table.

repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
CreateMetastorePartitionRequestOrBuilder

getRequestsOrBuilderList()

public abstract List<? extends CreateMetastorePartitionRequestOrBuilder> getRequestsOrBuilderList()

Required. Requests to add metastore partitions to the table.

repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequestOrBuilder>

getSkipExistingPartitions()

public abstract boolean getSkipExistingPartitions()

Optional. Mimics the ifNotExists flag in IMetaStoreClient add_partitions(..). If the flag is set to false, the server will return ALREADY_EXISTS if any partition already exists. If the flag is set to true, the server will skip existing partitions and insert only the non-existing partitions.

bool skip_existing_partitions = 3 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The skipExistingPartitions.