Class IntegerRangePartition.Builder (1.102.0)

public static final class IntegerRangePartition.Builder extends GeneratedMessage.Builder<IntegerRangePartition.Builder> implements IntegerRangePartitionOrBuilder

Integer range partitioning. see https://cloud.google.com/bigquery/docs/partitioned-tables#integer_range

Protobuf type google.cloud.datastream.v1.IntegerRangePartition

Static Methods

getDescriptor()

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

Methods

build()

public IntegerRangePartition build()
Returns
Type Description
IntegerRangePartition

buildPartial()

public IntegerRangePartition buildPartial()
Returns
Type Description
IntegerRangePartition

clear()

public IntegerRangePartition.Builder clear()
Returns
Type Description
IntegerRangePartition.Builder
Overrides

clearColumn()

public IntegerRangePartition.Builder clearColumn()

Required. The partitioning column.

string column = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntegerRangePartition.Builder

This builder for chaining.

clearEnd()

public IntegerRangePartition.Builder clearEnd()

Required. The ending value for range partitioning (exclusive).

int64 end = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntegerRangePartition.Builder

This builder for chaining.

clearInterval()

public IntegerRangePartition.Builder clearInterval()

Required. The interval of each range within the partition.

int64 interval = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntegerRangePartition.Builder

This builder for chaining.

clearStart()

public IntegerRangePartition.Builder clearStart()

Required. The starting value for range partitioning (inclusive).

int64 start = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
IntegerRangePartition.Builder

This builder for chaining.

getColumn()

public String getColumn()

Required. The partitioning column.

string column = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The column.

getColumnBytes()

public ByteString getColumnBytes()

Required. The partitioning column.

string column = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for column.

getDefaultInstanceForType()

public IntegerRangePartition getDefaultInstanceForType()
Returns
Type Description
IntegerRangePartition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getEnd()

public long getEnd()

Required. The ending value for range partitioning (exclusive).

int64 end = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The end.

getInterval()

public long getInterval()

Required. The interval of each range within the partition.

int64 interval = 4 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The interval.

getStart()

public long getStart()

Required. The starting value for range partitioning (inclusive).

int64 start = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
long

The start.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(IntegerRangePartition other)

public IntegerRangePartition.Builder mergeFrom(IntegerRangePartition other)
Parameter
Name Description
other IntegerRangePartition
Returns
Type Description
IntegerRangePartition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public IntegerRangePartition.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
IntegerRangePartition.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public IntegerRangePartition.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
IntegerRangePartition.Builder
Overrides

setColumn(String value)

public IntegerRangePartition.Builder setColumn(String value)

Required. The partitioning column.

string column = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The column to set.

Returns
Type Description
IntegerRangePartition.Builder

This builder for chaining.

setColumnBytes(ByteString value)

public IntegerRangePartition.Builder setColumnBytes(ByteString value)

Required. The partitioning column.

string column = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for column to set.

Returns
Type Description
IntegerRangePartition.Builder

This builder for chaining.

setEnd(long value)

public IntegerRangePartition.Builder setEnd(long value)

Required. The ending value for range partitioning (exclusive).

int64 end = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The end to set.

Returns
Type Description
IntegerRangePartition.Builder

This builder for chaining.

setInterval(long value)

public IntegerRangePartition.Builder setInterval(long value)

Required. The interval of each range within the partition.

int64 interval = 4 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The interval to set.

Returns
Type Description
IntegerRangePartition.Builder

This builder for chaining.

setStart(long value)

public IntegerRangePartition.Builder setStart(long value)

Required. The starting value for range partitioning (inclusive).

int64 start = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value long

The start to set.

Returns
Type Description
IntegerRangePartition.Builder

This builder for chaining.