Class BigQueryPartitioning (1.102.0)

public final class BigQueryPartitioning extends GeneratedMessage implements BigQueryPartitioningOrBuilder

BigQuery partitioning configuration.

Protobuf type google.cloud.datastream.v1.BigQueryPartitioning

Static Fields

INGESTION_TIME_PARTITION_FIELD_NUMBER

public static final int INGESTION_TIME_PARTITION_FIELD_NUMBER
Field Value
Type Description
int

INTEGER_RANGE_PARTITION_FIELD_NUMBER

public static final int INTEGER_RANGE_PARTITION_FIELD_NUMBER
Field Value
Type Description
int

REQUIRE_PARTITION_FILTER_FIELD_NUMBER

public static final int REQUIRE_PARTITION_FILTER_FIELD_NUMBER
Field Value
Type Description
int

TIME_UNIT_PARTITION_FIELD_NUMBER

public static final int TIME_UNIT_PARTITION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static BigQueryPartitioning getDefaultInstance()
Returns
Type Description
BigQueryPartitioning

getDescriptor()

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

newBuilder()

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

newBuilder(BigQueryPartitioning prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public BigQueryPartitioning getDefaultInstanceForType()
Returns
Type Description
BigQueryPartitioning

getIngestionTimePartition()

public IngestionTimePartition getIngestionTimePartition()

Ingestion time partitioning.

.google.cloud.datastream.v1.IngestionTimePartition ingestion_time_partition = 102;

Returns
Type Description
IngestionTimePartition

The ingestionTimePartition.

getIngestionTimePartitionOrBuilder()

public IngestionTimePartitionOrBuilder getIngestionTimePartitionOrBuilder()

Ingestion time partitioning.

.google.cloud.datastream.v1.IngestionTimePartition ingestion_time_partition = 102;

Returns
Type Description
IngestionTimePartitionOrBuilder

getIntegerRangePartition()

public IntegerRangePartition getIntegerRangePartition()

Integer range partitioning.

.google.cloud.datastream.v1.IntegerRangePartition integer_range_partition = 100;

Returns
Type Description
IntegerRangePartition

The integerRangePartition.

getIntegerRangePartitionOrBuilder()

public IntegerRangePartitionOrBuilder getIntegerRangePartitionOrBuilder()

Integer range partitioning.

.google.cloud.datastream.v1.IntegerRangePartition integer_range_partition = 100;

Returns
Type Description
IntegerRangePartitionOrBuilder

getParserForType()

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

getPartitioningCase()

public BigQueryPartitioning.PartitioningCase getPartitioningCase()
Returns
Type Description
BigQueryPartitioning.PartitioningCase

getRequirePartitionFilter()

public boolean getRequirePartitionFilter()

Optional. If true, queries over the table require a partition filter.

bool require_partition_filter = 103 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

The requirePartitionFilter.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

getTimeUnitPartition()

public TimeUnitPartition getTimeUnitPartition()

Time unit column partitioning.

.google.cloud.datastream.v1.TimeUnitPartition time_unit_partition = 101;

Returns
Type Description
TimeUnitPartition

The timeUnitPartition.

getTimeUnitPartitionOrBuilder()

public TimeUnitPartitionOrBuilder getTimeUnitPartitionOrBuilder()

Time unit column partitioning.

.google.cloud.datastream.v1.TimeUnitPartition time_unit_partition = 101;

Returns
Type Description
TimeUnitPartitionOrBuilder

hasIngestionTimePartition()

public boolean hasIngestionTimePartition()

Ingestion time partitioning.

.google.cloud.datastream.v1.IngestionTimePartition ingestion_time_partition = 102;

Returns
Type Description
boolean

Whether the ingestionTimePartition field is set.

hasIntegerRangePartition()

public boolean hasIntegerRangePartition()

Integer range partitioning.

.google.cloud.datastream.v1.IntegerRangePartition integer_range_partition = 100;

Returns
Type Description
boolean

Whether the integerRangePartition field is set.

hasTimeUnitPartition()

public boolean hasTimeUnitPartition()

Time unit column partitioning.

.google.cloud.datastream.v1.TimeUnitPartition time_unit_partition = 101;

Returns
Type Description
boolean

Whether the timeUnitPartition field is set.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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