Class BatchCreateMetastorePartitionsRequest (3.10.3)

public final class BatchCreateMetastorePartitionsRequest extends GeneratedMessageV3 implements BatchCreateMetastorePartitionsRequestOrBuilder

Request message for BatchCreateMetastorePartitions.

Protobuf type google.cloud.bigquery.storage.v1alpha.BatchCreateMetastorePartitionsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > BatchCreateMetastorePartitionsRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

REQUESTS_FIELD_NUMBER

public static final int REQUESTS_FIELD_NUMBER
Field Value
Type Description
int

SKIP_EXISTING_PARTITIONS_FIELD_NUMBER

public static final int SKIP_EXISTING_PARTITIONS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchCreateMetastorePartitionsRequest getDefaultInstance()
Returns
Type Description
BatchCreateMetastorePartitionsRequest

getDescriptor()

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

newBuilder()

public static BatchCreateMetastorePartitionsRequest.Builder newBuilder()
Returns
Type Description
BatchCreateMetastorePartitionsRequest.Builder

newBuilder(BatchCreateMetastorePartitionsRequest prototype)

public static BatchCreateMetastorePartitionsRequest.Builder newBuilder(BatchCreateMetastorePartitionsRequest prototype)
Parameter
Name Description
prototype BatchCreateMetastorePartitionsRequest
Returns
Type Description
BatchCreateMetastorePartitionsRequest.Builder

parseDelimitedFrom(InputStream input)

public static BatchCreateMetastorePartitionsRequest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMetastorePartitionsRequest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static BatchCreateMetastorePartitionsRequest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMetastorePartitionsRequest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static BatchCreateMetastorePartitionsRequest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMetastorePartitionsRequest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static BatchCreateMetastorePartitionsRequest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMetastorePartitionsRequest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static BatchCreateMetastorePartitionsRequest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMetastorePartitionsRequest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static BatchCreateMetastorePartitionsRequest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static BatchCreateMetastorePartitionsRequest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
BatchCreateMetastorePartitionsRequest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<BatchCreateMetastorePartitionsRequest> parser()
Returns
Type Description
Parser<BatchCreateMetastorePartitionsRequest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public BatchCreateMetastorePartitionsRequest getDefaultInstanceForType()
Returns
Type Description
BatchCreateMetastorePartitionsRequest

getParent()

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.

getParentBytes()

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.

getParserForType()

public Parser<BatchCreateMetastorePartitionsRequest> getParserForType()
Returns
Type Description
Parser<BatchCreateMetastorePartitionsRequest>
Overrides

getRequests(int index)

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
Returns
Type Description
CreateMetastorePartitionRequest

getRequestsCount()

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

getRequestsList()

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];

Returns
Type Description
List<CreateMetastorePartitionRequest>

getRequestsOrBuilder(int index)

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
Returns
Type Description
CreateMetastorePartitionRequestOrBuilder

getRequestsOrBuilderList()

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>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getSkipExistingPartitions()

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public BatchCreateMetastorePartitionsRequest.Builder newBuilderForType()
Returns
Type Description
BatchCreateMetastorePartitionsRequest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected BatchCreateMetastorePartitionsRequest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchCreateMetastorePartitionsRequest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public BatchCreateMetastorePartitionsRequest.Builder toBuilder()
Returns
Type Description
BatchCreateMetastorePartitionsRequest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException