Class CreateMetastorePartitionRequest.Builder (3.10.2)

public static final class CreateMetastorePartitionRequest.Builder extends GeneratedMessageV3.Builder<CreateMetastorePartitionRequest.Builder> implements CreateMetastorePartitionRequestOrBuilder

Request 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.v1alpha.CreateMetastorePartitionRequest

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public CreateMetastorePartitionRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateMetastorePartitionRequest.Builder
Overrides

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
Overrides

clearField(Descriptors.FieldDescriptor field)

public CreateMetastorePartitionRequest.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
CreateMetastorePartitionRequest.Builder
Overrides

clearMetastorePartition()

public CreateMetastorePartitionRequest.Builder clearMetastorePartition()

Required. The metastore partition to be added.

.google.cloud.bigquery.storage.v1alpha.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
CreateMetastorePartitionRequest.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public CreateMetastorePartitionRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
CreateMetastorePartitionRequest.Builder
Overrides

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.

clone()

public CreateMetastorePartitionRequest.Builder clone()
Returns
Type Description
CreateMetastorePartitionRequest.Builder
Overrides

getDefaultInstanceForType()

public CreateMetastorePartitionRequest getDefaultInstanceForType()
Returns
Type Description
CreateMetastorePartitionRequest

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMetastorePartition()

public MetastorePartition getMetastorePartition()

Required. The metastore partition to be added.

.google.cloud.bigquery.storage.v1alpha.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.v1alpha.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.v1alpha.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.v1alpha.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the metastorePartition field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

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
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public CreateMetastorePartitionRequest.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
CreateMetastorePartitionRequest.Builder
Overrides

mergeMetastorePartition(MetastorePartition value)

public CreateMetastorePartitionRequest.Builder mergeMetastorePartition(MetastorePartition value)

Required. The metastore partition to be added.

.google.cloud.bigquery.storage.v1alpha.MetastorePartition metastore_partition = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value MetastorePartition
Returns
Type Description
CreateMetastorePartitionRequest.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final CreateMetastorePartitionRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateMetastorePartitionRequest.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public CreateMetastorePartitionRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
CreateMetastorePartitionRequest.Builder
Overrides

setMetastorePartition(MetastorePartition value)

public CreateMetastorePartitionRequest.Builder setMetastorePartition(MetastorePartition value)

Required. The metastore partition to be added.

.google.cloud.bigquery.storage.v1alpha.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.v1alpha.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 String

The 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 ByteString

The bytes for parent to set.

Returns
Type Description
CreateMetastorePartitionRequest.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public CreateMetastorePartitionRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
CreateMetastorePartitionRequest.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final CreateMetastorePartitionRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
CreateMetastorePartitionRequest.Builder
Overrides