public static final class CreateMetastorePartitionRequest.Builder extends GeneratedMessage.Builder<CreateMetastorePartitionRequest.Builder> implements CreateMetastorePartitionRequestOrBuilderRequest message for CreateMetastorePartition. The MetastorePartition is uniquely identified by values, which is an ordered list. Hence, there is no separate name or partition id field.
Protobuf type google.cloud.bigquery.storage.v1beta.CreateMetastorePartitionRequest
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > CreateMetastorePartitionRequest.BuilderImplements
CreateMetastorePartitionRequestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public CreateMetastorePartitionRequest build()| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest |
|
buildPartial()
public CreateMetastorePartitionRequest buildPartial()| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest |
|
clear()
public CreateMetastorePartitionRequest.Builder clear()| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
|
clearMetastorePartition()
public CreateMetastorePartitionRequest.Builder clearMetastorePartition()Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1beta.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
|
clearParent()
public CreateMetastorePartitionRequest.Builder clearParent()Required. Reference to the table to where the metastore partition to be added, in the format of projects/{project}/databases/{databases}/tables/{table}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public CreateMetastorePartitionRequest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getMetastorePartition()
public MetastorePartition getMetastorePartition()Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1beta.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetastorePartition |
The metastorePartition. |
getMetastorePartitionBuilder()
public MetastorePartition.Builder getMetastorePartitionBuilder()Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1beta.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetastorePartition.Builder |
|
getMetastorePartitionOrBuilder()
public MetastorePartitionOrBuilder getMetastorePartitionOrBuilder()Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1beta.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
MetastorePartitionOrBuilder |
|
getParent()
public String getParent()Required. Reference to the table to where the metastore partition to be added, in the format of projects/{project}/databases/{databases}/tables/{table}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
String |
The parent. |
getParentBytes()
public ByteString getParentBytes()Required. Reference to the table to where the metastore partition to be added, in the format of projects/{project}/databases/{databases}/tables/{table}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for parent. |
hasMetastorePartition()
public boolean hasMetastorePartition()Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1beta.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
| Returns | |
|---|---|
| Type | Description |
boolean |
Whether the metastorePartition field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CreateMetastorePartitionRequest other)
public CreateMetastorePartitionRequest.Builder mergeFrom(CreateMetastorePartitionRequest other)| Parameter | |
|---|---|
| Name | Description |
other |
CreateMetastorePartitionRequest |
| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public CreateMetastorePartitionRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public CreateMetastorePartitionRequest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
|
mergeMetastorePartition(MetastorePartition value)
public CreateMetastorePartitionRequest.Builder mergeMetastorePartition(MetastorePartition value)Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1beta.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
MetastorePartition |
| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
|
setMetastorePartition(MetastorePartition value)
public CreateMetastorePartitionRequest.Builder setMetastorePartition(MetastorePartition value)Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1beta.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
value |
MetastorePartition |
| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
|
setMetastorePartition(MetastorePartition.Builder builderForValue)
public CreateMetastorePartitionRequest.Builder setMetastorePartition(MetastorePartition.Builder builderForValue)Required. The metastore partition to be added.
.google.cloud.bigquery.storage.v1beta.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
MetastorePartition.Builder |
| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
|
setParent(String value)
public CreateMetastorePartitionRequest.Builder setParent(String value)Required. Reference to the table to where the metastore partition to be added, in the format of projects/{project}/databases/{databases}/tables/{table}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
This builder for chaining. |
setParentBytes(ByteString value)
public CreateMetastorePartitionRequest.Builder setParentBytes(ByteString value)Required. Reference to the table to where the metastore partition to be added, in the format of projects/{project}/databases/{databases}/tables/{table}.
string parent = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for parent to set. |
| Returns | |
|---|---|
| Type | Description |
CreateMetastorePartitionRequest.Builder |
This builder for chaining. |