public static final class IntegerRangePartition.Builder extends GeneratedMessage.Builder<IntegerRangePartition.Builder> implements IntegerRangePartitionOrBuilderInteger range partitioning. see https://cloud.google.com/bigquery/docs/partitioned-tables#integer_range
Protobuf type google.cloud.datastream.v1.IntegerRangePartition
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > IntegerRangePartition.BuilderImplements
IntegerRangePartitionOrBuilderStatic 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 |
|
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 |
|
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 |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public IntegerRangePartition.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
IntegerRangePartition.Builder |
|
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 |
StringThe 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 |
ByteStringThe 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 |
longThe 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 |
longThe 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 |
longThe start to set. |
| Returns | |
|---|---|
| Type | Description |
IntegerRangePartition.Builder |
This builder for chaining. |