public static final class BatchCreateMetastorePartitionsRequest.Builder extends GeneratedMessageV3.Builder<BatchCreateMetastorePartitionsRequest.Builder> implements BatchCreateMetastorePartitionsRequestOrBuilder
Request message for BatchCreateMetastorePartitions.
Protobuf type
google.cloud.bigquery.storage.v1alpha.BatchCreateMetastorePartitionsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
public static final Descriptors.Descriptor getDescriptor()
Methods
public BatchCreateMetastorePartitionsRequest.Builder addAllRequests(Iterable<? extends CreateMetastorePartitionRequest> values)
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 |
values |
Iterable<? extends com.google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest>
|
public BatchCreateMetastorePartitionsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchCreateMetastorePartitionsRequest.Builder addRequests(CreateMetastorePartitionRequest value)
Required. Requests to add metastore partitions to the table.
repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateMetastorePartitionsRequest.Builder addRequests(CreateMetastorePartitionRequest.Builder builderForValue)
Required. Requests to add metastore partitions to the table.
repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateMetastorePartitionsRequest.Builder addRequests(int index, CreateMetastorePartitionRequest value)
Required. Requests to add metastore partitions to the table.
repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateMetastorePartitionsRequest.Builder addRequests(int index, CreateMetastorePartitionRequest.Builder builderForValue)
Required. Requests to add metastore partitions to the table.
repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateMetastorePartitionRequest.Builder addRequestsBuilder()
Required. Requests to add metastore partitions to the table.
repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public CreateMetastorePartitionRequest.Builder addRequestsBuilder(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
|
public BatchCreateMetastorePartitionsRequest build()
public BatchCreateMetastorePartitionsRequest buildPartial()
public BatchCreateMetastorePartitionsRequest.Builder clear()
Overrides
public BatchCreateMetastorePartitionsRequest.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
public BatchCreateMetastorePartitionsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
public BatchCreateMetastorePartitionsRequest.Builder clearParent()
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) = { ... }
public BatchCreateMetastorePartitionsRequest.Builder clearRequests()
Required. Requests to add metastore partitions to the table.
repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateMetastorePartitionsRequest.Builder clearSkipExistingPartitions()
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];
public BatchCreateMetastorePartitionsRequest.Builder clone()
Overrides
public BatchCreateMetastorePartitionsRequest getDefaultInstanceForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
public 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.
|
public 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.
|
public 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
|
public CreateMetastorePartitionRequest.Builder getRequestsBuilder(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
|
public List<CreateMetastorePartitionRequest.Builder> getRequestsBuilderList()
Required. Requests to add metastore partitions to the table.
repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public 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 |
|
public 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];
public 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
|
public 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> |
|
public 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.
|
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public BatchCreateMetastorePartitionsRequest.Builder mergeFrom(BatchCreateMetastorePartitionsRequest other)
public BatchCreateMetastorePartitionsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
public BatchCreateMetastorePartitionsRequest.Builder mergeFrom(Message other)
Parameter |
Name |
Description |
other |
Message
|
Overrides
public final BatchCreateMetastorePartitionsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
public BatchCreateMetastorePartitionsRequest.Builder removeRequests(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
|
public BatchCreateMetastorePartitionsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
public BatchCreateMetastorePartitionsRequest.Builder setParent(String value)
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) = { ... }
Parameter |
Name |
Description |
value |
String
The parent to set.
|
public BatchCreateMetastorePartitionsRequest.Builder setParentBytes(ByteString value)
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) = { ... }
Parameter |
Name |
Description |
value |
ByteString
The bytes for parent to set.
|
public BatchCreateMetastorePartitionsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
public BatchCreateMetastorePartitionsRequest.Builder setRequests(int index, CreateMetastorePartitionRequest value)
Required. Requests to add metastore partitions to the table.
repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateMetastorePartitionsRequest.Builder setRequests(int index, CreateMetastorePartitionRequest.Builder builderForValue)
Required. Requests to add metastore partitions to the table.
repeated .google.cloud.bigquery.storage.v1alpha.CreateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];
public BatchCreateMetastorePartitionsRequest.Builder setSkipExistingPartitions(boolean value)
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];
Parameter |
Name |
Description |
value |
boolean
The skipExistingPartitions to set.
|
public final BatchCreateMetastorePartitionsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides