Class IntegerRangePartition (1.102.0)

public final class IntegerRangePartition extends GeneratedMessage implements IntegerRangePartitionOrBuilder

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

Protobuf type google.cloud.datastream.v1.IntegerRangePartition

Static Fields

COLUMN_FIELD_NUMBER

public static final int COLUMN_FIELD_NUMBER
Field Value
Type Description
int

END_FIELD_NUMBER

public static final int END_FIELD_NUMBER
Field Value
Type Description
int

INTERVAL_FIELD_NUMBER

public static final int INTERVAL_FIELD_NUMBER
Field Value
Type Description
int

START_FIELD_NUMBER

public static final int START_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static IntegerRangePartition getDefaultInstance()
Returns
Type Description
IntegerRangePartition

getDescriptor()

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

newBuilder()

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

newBuilder(IntegerRangePartition prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

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

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.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

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

newBuilderForType(AbstractMessage.BuilderParent parent)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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