Class SplitPoints (6.89.0)

publicfinalclassSplitPointsextendsGeneratedMessageV3implementsSplitPointsOrBuilder

The split points of a table/index.

Protobuf type google.spanner.admin.database.v1.SplitPoints

Static Fields

EXPIRE_TIME_FIELD_NUMBER

publicstaticfinalintEXPIRE_TIME_FIELD_NUMBER
Field Value
TypeDescription
int

INDEX_FIELD_NUMBER

publicstaticfinalintINDEX_FIELD_NUMBER
Field Value
TypeDescription
int

KEYS_FIELD_NUMBER

publicstaticfinalintKEYS_FIELD_NUMBER
Field Value
TypeDescription
int

TABLE_FIELD_NUMBER

publicstaticfinalintTABLE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

publicstaticSplitPointsgetDefaultInstance()
Returns
TypeDescription
SplitPoints

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

publicstaticSplitPoints.BuildernewBuilder()
Returns
TypeDescription
SplitPoints.Builder

newBuilder(SplitPoints prototype)

publicstaticSplitPoints.BuildernewBuilder(SplitPointsprototype)
Parameter
NameDescription
prototypeSplitPoints
Returns
TypeDescription
SplitPoints.Builder

parseDelimitedFrom(InputStream input)

publicstaticSplitPointsparseDelimitedFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSplitPointsparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

publicstaticSplitPointsparseFrom(byte[]data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticSplitPointsparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticSplitPointsparseFrom(ByteStringdata)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticSplitPointsparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticSplitPointsparseFrom(CodedInputStreaminput)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSplitPointsparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

publicstaticSplitPointsparseFrom(InputStreaminput)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticSplitPointsparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

publicstaticSplitPointsparseFrom(ByteBufferdata)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticSplitPointsparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SplitPoints
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

publicstaticParser<SplitPoints>parser()
Returns
TypeDescription
Parser<SplitPoints>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

publicSplitPointsgetDefaultInstanceForType()
Returns
TypeDescription
SplitPoints

getExpireTime()

publicTimestampgetExpireTime()

Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
Timestamp

The expireTime.

getExpireTimeOrBuilder()

publicTimestampOrBuildergetExpireTimeOrBuilder()

Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
TimestampOrBuilder

getIndex()

publicStringgetIndex()

The index to split. If specified, the table field must refer to the index's base table.

string index = 2;

Returns
TypeDescription
String

The index.

getIndexBytes()

publicByteStringgetIndexBytes()

The index to split. If specified, the table field must refer to the index's base table.

string index = 2;

Returns
TypeDescription
ByteString

The bytes for index.

getKeys(int index)

publicSplitPoints.KeygetKeys(intindex)

Required. The list of split keys, i.e., the split boundaries.

repeated .google.spanner.admin.database.v1.SplitPoints.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
SplitPoints.Key

getKeysCount()

publicintgetKeysCount()

Required. The list of split keys, i.e., the split boundaries.

repeated .google.spanner.admin.database.v1.SplitPoints.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

getKeysList()

publicList<SplitPoints.Key>getKeysList()

Required. The list of split keys, i.e., the split boundaries.

repeated .google.spanner.admin.database.v1.SplitPoints.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<Key>

getKeysOrBuilder(int index)

publicSplitPoints.KeyOrBuildergetKeysOrBuilder(intindex)

Required. The list of split keys, i.e., the split boundaries.

repeated .google.spanner.admin.database.v1.SplitPoints.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
indexint
Returns
TypeDescription
SplitPoints.KeyOrBuilder

getKeysOrBuilderList()

publicList<?extendsSplitPoints.KeyOrBuilder>getKeysOrBuilderList()

Required. The list of split keys, i.e., the split boundaries.

repeated .google.spanner.admin.database.v1.SplitPoints.Key keys = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
List<? extends com.google.spanner.admin.database.v1.SplitPoints.KeyOrBuilder>

getParserForType()

publicParser<SplitPoints>getParserForType()
Returns
TypeDescription
Parser<SplitPoints>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
TypeDescription
int
Overrides

getTable()

publicStringgetTable()

The table to split.

string table = 1;

Returns
TypeDescription
String

The table.

getTableBytes()

publicByteStringgetTableBytes()

The table to split.

string table = 1;

Returns
TypeDescription
ByteString

The bytes for table.

hasExpireTime()

publicbooleanhasExpireTime()

Optional. The expiration timestamp of the split points. A timestamp in the past means immediate expiration. The maximum value can be 30 days in the future. Defaults to 10 days in the future if not specified.

.google.protobuf.Timestamp expire_time = 5 [(.google.api.field_behavior) = OPTIONAL];

Returns
TypeDescription
boolean

Whether the expireTime field is set.

hashCode()

publicinthashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

publicSplitPoints.BuildernewBuilderForType()
Returns
TypeDescription
SplitPoints.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedSplitPoints.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SplitPoints.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

publicSplitPoints.BuildertoBuilder()
Returns
TypeDescription
SplitPoints.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException