Class BatchDeletePartitionsRequest (0.76.0)

public final class BatchDeletePartitionsRequest extends GeneratedMessage implements BatchDeletePartitionsRequestOrBuilder

Request message for BatchDeletePartitions. The Partition is uniquely identified by values, which is an ordered list. Hence, there is no separate name or partition id field.

Protobuf type google.cloud.biglake.hive.v1beta.BatchDeletePartitionsRequest

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessage > BatchDeletePartitionsRequest

Static Fields

PARENT_FIELD_NUMBER

public static final int PARENT_FIELD_NUMBER
Field Value
Type Description
int

PARTITION_VALUES_FIELD_NUMBER

public static final int PARTITION_VALUES_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BatchDeletePartitionsRequest getDefaultInstance()
Returns
Type Description
BatchDeletePartitionsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchDeletePartitionsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchDeletePartitionsRequest getDefaultInstanceForType()
Returns
Type Description
BatchDeletePartitionsRequest

getParent()

public String getParent()

Required. Reference to the table to which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/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 which these partitions belong, in the format of projects/{project}/catalogs/{catalogs}/databases/{database}/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<BatchDeletePartitionsRequest> getParserForType()
Returns
Type Description
Parser<BatchDeletePartitionsRequest>
Overrides

getPartitionValues(int index)

public PartitionValues getPartitionValues(int index)

Required. The list of partitions (identified by its values) to be deleted. A maximum of 900 partitions can be deleted in a batch.

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PartitionValues

getPartitionValuesCount()

public int getPartitionValuesCount()

Required. The list of partitions (identified by its values) to be deleted. A maximum of 900 partitions can be deleted in a batch.

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getPartitionValuesList()

public List<PartitionValues> getPartitionValuesList()

Required. The list of partitions (identified by its values) to be deleted. A maximum of 900 partitions can be deleted in a batch.

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<PartitionValues>

getPartitionValuesOrBuilder(int index)

public PartitionValuesOrBuilder getPartitionValuesOrBuilder(int index)

Required. The list of partitions (identified by its values) to be deleted. A maximum of 900 partitions can be deleted in a batch.

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
PartitionValuesOrBuilder

getPartitionValuesOrBuilderList()

public List<? extends PartitionValuesOrBuilder> getPartitionValuesOrBuilderList()

Required. The list of partitions (identified by its values) to be deleted. A maximum of 900 partitions can be deleted in a batch.

repeated .google.cloud.biglake.hive.v1beta.PartitionValues partition_values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.biglake.hive.v1beta.PartitionValuesOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

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

newBuilderForType(AbstractMessage.BuilderParent parent)

protected BatchDeletePartitionsRequest.Builder newBuilderForType(AbstractMessage.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
BatchDeletePartitionsRequest.Builder
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

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