public static final class SplitPoints.Builder extends GeneratedMessageV3.Builder<SplitPoints.Builder> implements SplitPointsOrBuilder
The split points of a table/index.
Protobuf type google.spanner.admin.database.v1.SplitPoints
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > SplitPoints.BuilderImplements
SplitPointsOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllKeys(Iterable<? extends SplitPoints.Key> values)
public SplitPoints.Builder addAllKeys(Iterable<? extends SplitPoints.Key> values)
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 | |
---|---|
Name | Description |
values |
Iterable<? extends com.google.spanner.admin.database.v1.SplitPoints.Key> |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
addKeys(SplitPoints.Key value)
public SplitPoints.Builder addKeys(SplitPoints.Key value)
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 | |
---|---|
Name | Description |
value |
SplitPoints.Key |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
addKeys(SplitPoints.Key.Builder builderForValue)
public SplitPoints.Builder addKeys(SplitPoints.Key.Builder builderForValue)
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 | |
---|---|
Name | Description |
builderForValue |
SplitPoints.Key.Builder |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
addKeys(int index, SplitPoints.Key value)
public SplitPoints.Builder addKeys(int index, SplitPoints.Key value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SplitPoints.Key |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
addKeys(int index, SplitPoints.Key.Builder builderForValue)
public SplitPoints.Builder addKeys(int index, SplitPoints.Key.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SplitPoints.Key.Builder |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
addKeysBuilder()
public SplitPoints.Key.Builder addKeysBuilder()
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 | |
---|---|
Type | Description |
SplitPoints.Key.Builder |
addKeysBuilder(int index)
public SplitPoints.Key.Builder addKeysBuilder(int index)
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SplitPoints.Key.Builder |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SplitPoints.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
build()
public SplitPoints build()
Returns | |
---|---|
Type | Description |
SplitPoints |
buildPartial()
public SplitPoints buildPartial()
Returns | |
---|---|
Type | Description |
SplitPoints |
clear()
public SplitPoints.Builder clear()
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
clearExpireTime()
public SplitPoints.Builder clearExpireTime()
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 | |
---|---|
Type | Description |
SplitPoints.Builder |
clearField(Descriptors.FieldDescriptor field)
public SplitPoints.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
clearIndex()
public SplitPoints.Builder clearIndex()
The index to split.
If specified, the table
field must refer to the index's base table.
string index = 2;
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
This builder for chaining. |
clearKeys()
public SplitPoints.Builder clearKeys()
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 | |
---|---|
Type | Description |
SplitPoints.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public SplitPoints.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
clearTable()
public SplitPoints.Builder clearTable()
The table to split.
string table = 1;
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
This builder for chaining. |
clone()
public SplitPoints.Builder clone()
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
getDefaultInstanceForType()
public SplitPoints getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
SplitPoints |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getExpireTime()
public Timestamp getExpireTime()
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 | |
---|---|
Type | Description |
Timestamp |
The expireTime. |
getExpireTimeBuilder()
public Timestamp.Builder getExpireTimeBuilder()
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 | |
---|---|
Type | Description |
Builder |
getExpireTimeOrBuilder()
public TimestampOrBuilder getExpireTimeOrBuilder()
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 | |
---|---|
Type | Description |
TimestampOrBuilder |
getIndex()
public String getIndex()
The index to split.
If specified, the table
field must refer to the index's base table.
string index = 2;
Returns | |
---|---|
Type | Description |
String |
The index. |
getIndexBytes()
public ByteString getIndexBytes()
The index to split.
If specified, the table
field must refer to the index's base table.
string index = 2;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for index. |
getKeys(int index)
public SplitPoints.Key getKeys(int index)
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SplitPoints.Key |
getKeysBuilder(int index)
public SplitPoints.Key.Builder getKeysBuilder(int index)
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SplitPoints.Key.Builder |
getKeysBuilderList()
public List<SplitPoints.Key.Builder> getKeysBuilderList()
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 | |
---|---|
Type | Description |
List<Builder> |
getKeysCount()
public int getKeysCount()
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 | |
---|---|
Type | Description |
int |
getKeysList()
public List<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 | |
---|---|
Type | Description |
List<Key> |
getKeysOrBuilder(int index)
public SplitPoints.KeyOrBuilder getKeysOrBuilder(int index)
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SplitPoints.KeyOrBuilder |
getKeysOrBuilderList()
public List<? extends SplitPoints.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 | |
---|---|
Type | Description |
List<? extends com.google.spanner.admin.database.v1.SplitPoints.KeyOrBuilder> |
getTable()
public String getTable()
The table to split.
string table = 1;
Returns | |
---|---|
Type | Description |
String |
The table. |
getTableBytes()
public ByteString getTableBytes()
The table to split.
string table = 1;
Returns | |
---|---|
Type | Description |
ByteString |
The bytes for table. |
hasExpireTime()
public boolean hasExpireTime()
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 | |
---|---|
Type | Description |
boolean |
Whether the expireTime field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeExpireTime(Timestamp value)
public SplitPoints.Builder mergeExpireTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public SplitPoints.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public SplitPoints.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other |
Message |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
mergeFrom(SplitPoints other)
public SplitPoints.Builder mergeFrom(SplitPoints other)
Parameter | |
---|---|
Name | Description |
other |
SplitPoints |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SplitPoints.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
removeKeys(int index)
public SplitPoints.Builder removeKeys(int index)
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 | |
---|---|
Name | Description |
index |
int |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
setExpireTime(Timestamp value)
public SplitPoints.Builder setExpireTime(Timestamp value)
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];
Parameter | |
---|---|
Name | Description |
value |
Timestamp |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
setExpireTime(Timestamp.Builder builderForValue)
public SplitPoints.Builder setExpireTime(Timestamp.Builder builderForValue)
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];
Parameter | |
---|---|
Name | Description |
builderForValue |
Builder |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public SplitPoints.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
setIndex(String value)
public SplitPoints.Builder setIndex(String value)
The index to split.
If specified, the table
field must refer to the index's base table.
string index = 2;
Parameter | |
---|---|
Name | Description |
value |
String The index to set. |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
This builder for chaining. |
setIndexBytes(ByteString value)
public SplitPoints.Builder setIndexBytes(ByteString value)
The index to split.
If specified, the table
field must refer to the index's base table.
string index = 2;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for index to set. |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
This builder for chaining. |
setKeys(int index, SplitPoints.Key value)
public SplitPoints.Builder setKeys(int index, SplitPoints.Key value)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
value |
SplitPoints.Key |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
setKeys(int index, SplitPoints.Key.Builder builderForValue)
public SplitPoints.Builder setKeys(int index, SplitPoints.Key.Builder builderForValue)
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];
Parameters | |
---|---|
Name | Description |
index |
int |
builderForValue |
SplitPoints.Key.Builder |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SplitPoints.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
setTable(String value)
public SplitPoints.Builder setTable(String value)
The table to split.
string table = 1;
Parameter | |
---|---|
Name | Description |
value |
String The table to set. |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
This builder for chaining. |
setTableBytes(ByteString value)
public SplitPoints.Builder setTableBytes(ByteString value)
The table to split.
string table = 1;
Parameter | |
---|---|
Name | Description |
value |
ByteString The bytes for table to set. |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |
This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final SplitPoints.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
SplitPoints.Builder |