Class BatchUpdatePartitionsRequest (0.76.0)

public final class BatchUpdatePartitionsRequest extends GeneratedMessage implements BatchUpdatePartitionsRequestOrBuilder

Request message for BatchUpdatePartitions.

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

Inheritance

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

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

Static Methods

getDefaultInstance()

public static BatchUpdatePartitionsRequest getDefaultInstance()
Returns
Type Description
BatchUpdatePartitionsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchUpdatePartitionsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchUpdatePartitionsRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdatePartitionsRequest

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<BatchUpdatePartitionsRequest> getParserForType()
Returns
Type Description
Parser<BatchUpdatePartitionsRequest>
Overrides

getRequests(int index)

public UpdatePartitionRequest getRequests(int index)

Required. Requests to update partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
UpdatePartitionRequest

getRequestsCount()

public int getRequestsCount()

Required. Requests to update partitions in the table.

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

Returns
Type Description
int

getRequestsList()

public List<UpdatePartitionRequest> getRequestsList()

Required. Requests to update partitions in the table.

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

Returns
Type Description
List<UpdatePartitionRequest>

getRequestsOrBuilder(int index)

public UpdatePartitionRequestOrBuilder getRequestsOrBuilder(int index)

Required. Requests to update partitions in the table.

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

Parameter
Name Description
index int
Returns
Type Description
UpdatePartitionRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdatePartitionRequestOrBuilder> getRequestsOrBuilderList()

Required. Requests to update partitions in the table.

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

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

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 BatchUpdatePartitionsRequest.Builder newBuilderForType()
Returns
Type Description
BatchUpdatePartitionsRequest.Builder

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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