Class BatchUpdateMetastorePartitionsRequest (3.9.0)

public final class BatchUpdateMetastorePartitionsRequest extends GeneratedMessageV3 implements BatchUpdateMetastorePartitionsRequestOrBuilder

Request message for BatchUpdateMetastorePartitions.

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

Inheritance

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

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 BatchUpdateMetastorePartitionsRequest getDefaultInstance()
Returns
Type Description
BatchUpdateMetastorePartitionsRequest

getDescriptor()

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

newBuilder()

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

newBuilder(BatchUpdateMetastorePartitionsRequest prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BatchUpdateMetastorePartitionsRequest getDefaultInstanceForType()
Returns
Type Description
BatchUpdateMetastorePartitionsRequest

getParent()

public String getParent()

Required. Reference to the table to which these metastore partitions belong, 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 which these metastore partitions belong, 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<BatchUpdateMetastorePartitionsRequest> getParserForType()
Returns
Type Description
Parser<BatchUpdateMetastorePartitionsRequest>
Overrides

getRequests(int index)

public UpdateMetastorePartitionRequest getRequests(int index)

Required. Requests to update metastore partitions in the table.

repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateMetastorePartitionRequest

getRequestsCount()

public int getRequestsCount()

Required. Requests to update metastore partitions in the table.

repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getRequestsList()

public List<UpdateMetastorePartitionRequest> getRequestsList()

Required. Requests to update metastore partitions in the table.

repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<UpdateMetastorePartitionRequest>

getRequestsOrBuilder(int index)

public UpdateMetastorePartitionRequestOrBuilder getRequestsOrBuilder(int index)

Required. Requests to update metastore partitions in the table.

repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
UpdateMetastorePartitionRequestOrBuilder

getRequestsOrBuilderList()

public List<? extends UpdateMetastorePartitionRequestOrBuilder> getRequestsOrBuilderList()

Required. Requests to update metastore partitions in the table.

repeated .google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequest requests = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.cloud.bigquery.storage.v1alpha.UpdateMetastorePartitionRequestOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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