Class StreamMetastorePartitionsRequest (3.16.3)
3.23.0 (latest)
3.21.0
3.20.0
3.19.1
3.18.0
3.17.3
3.16.3
3.15.3
3.14.1
3.12.0
3.11.4
3.10.3
3.9.3
3.8.0
3.6.1
3.5.2
3.4.0
3.3.1
3.2.0
3.1.0
3.0.1
2.47.0
2.45.0
2.44.1
2.43.0
public final class StreamMetastorePartitionsRequest extends GeneratedMessageV3 implements StreamMetastorePartitionsRequestOrBuilder
The top-level message sent by the client to the
[Partitions.StreamMetastorePartitions][] method.
Follows the default gRPC streaming maximum size of 4 MB.
Protobuf type google.cloud.bigquery.storage.v1alpha.StreamMetastorePartitionsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int METASTORE_PARTITIONS_FIELD_NUMBER
Field Value
Type
Description
int
public static final int PARENT_FIELD_NUMBER
Field Value
Type
Description
int
public static final int SKIP_EXISTING_PARTITIONS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
public static StreamMetastorePartitionsRequest getDefaultInstance ()
public static final Descriptors . Descriptor getDescriptor ()
public static StreamMetastorePartitionsRequest . Builder newBuilder ()
public static StreamMetastorePartitionsRequest . Builder newBuilder ( StreamMetastorePartitionsRequest prototype )
public static StreamMetastorePartitionsRequest parseDelimitedFrom ( InputStream input )
public static StreamMetastorePartitionsRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static StreamMetastorePartitionsRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
public static StreamMetastorePartitionsRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
public static StreamMetastorePartitionsRequest parseFrom ( ByteString data )
public static StreamMetastorePartitionsRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static StreamMetastorePartitionsRequest parseFrom ( CodedInputStream input )
public static StreamMetastorePartitionsRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static StreamMetastorePartitionsRequest parseFrom ( InputStream input )
public static StreamMetastorePartitionsRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
public static StreamMetastorePartitionsRequest parseFrom ( ByteBuffer data )
public static StreamMetastorePartitionsRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
public static Parser<StreamMetastorePartitionsRequest> parser ()
Methods
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public StreamMetastorePartitionsRequest getDefaultInstanceForType ()
public MetastorePartition getMetastorePartitions ( int index )
Optional. A list of metastore partitions to be added to the table.
repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition metastore_partitions = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
public int getMetastorePartitionsCount ()
Optional. A list of metastore partitions to be added to the table.
repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition metastore_partitions = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
int
public List<MetastorePartition> getMetastorePartitionsList ()
Optional. A list of metastore partitions to be added to the table.
repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition metastore_partitions = 2 [(.google.api.field_behavior) = OPTIONAL];
public MetastorePartitionOrBuilder getMetastorePartitionsOrBuilder ( int index )
Optional. A list of metastore partitions to be added to the table.
repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition metastore_partitions = 2 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
index
int
public List <? extends MetastorePartitionOrBuilder > getMetastorePartitionsOrBuilderList ()
Optional. A list of metastore partitions to be added to the table.
repeated .google.cloud.bigquery.storage.v1alpha.MetastorePartition metastore_partitions = 2 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
List <? extends com.google.cloud.bigquery.storage.v1alpha.MetastorePartitionOrBuilder >
public String getParent ()
Required. Reference to the table to where the partition 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.
public ByteString getParentBytes ()
Required. Reference to the table to where the partition 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.
public Parser<StreamMetastorePartitionsRequest> getParserForType ()
Overrides
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
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 on commit if any partition already exists. If the flag is
set to true:
1) the server will skip existing partitions
insert only the non-existing partitions as part of the commit.
2) The client must set the skip_existing_partitions field to true for
all requests in the stream.
bool skip_existing_partitions = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
The skipExistingPartitions.
Returns
Type
Description
int
Overrides
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
public final boolean isInitialized ()
Overrides
public StreamMetastorePartitionsRequest . Builder newBuilderForType ()
protected StreamMetastorePartitionsRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
public StreamMetastorePartitionsRequest . Builder toBuilder ()
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-03-14 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-03-14 UTC."],[],[]]