Class SplitPoints.Builder
java.lang.Object
com.google.protobuf.AbstractMessageLite.Builder
com.google.protobuf.AbstractMessage.Builder<BuilderT>
com.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
com.google.spanner.admin.database.v1.SplitPoints.Builder
- All Implemented Interfaces:
com.google.protobuf.Message.Builder,com.google.protobuf.MessageLite.Builder,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,SplitPointsOrBuilder,Cloneable
- Enclosing class:
- SplitPoints
public static final class SplitPoints.Builder
extends com.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
implements SplitPointsOrBuilder
The split points of a table/index.Protobuf type
google.spanner.admin.database.v1.SplitPoints-
Method Summary
Modifier and TypeMethodDescriptionaddAllKeys(Iterable<? extends SplitPoints.Key> values) Required.addKeys(int index, SplitPoints.Key value) Required.addKeys(int index, SplitPoints.Key.Builder builderForValue) Required.addKeys(SplitPoints.Key value) Required.addKeys(SplitPoints.Key.Builder builderForValue) Required.Required.addKeysBuilder(int index) Required.addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) build()clear()Optional.clearField(com.google.protobuf.Descriptors.FieldDescriptor field) The index to split.Required.clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) The table to split.clone()static final com.google.protobuf.Descriptors.Descriptorcom.google.protobuf.Descriptors.Descriptorcom.google.protobuf.TimestampOptional.com.google.protobuf.Timestamp.BuilderOptional.com.google.protobuf.TimestampOrBuilderOptional.getIndex()The index to split.com.google.protobuf.ByteStringThe index to split.getKeys(int index) Required.getKeysBuilder(int index) Required.Required.intRequired.Required.getKeysOrBuilder(int index) Required.List<? extends SplitPoints.KeyOrBuilder>Required.getTable()The table to split.com.google.protobuf.ByteStringThe table to split.booleanOptional.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTablefinal booleanmergeExpireTime(com.google.protobuf.Timestamp value) Optional.mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) mergeFrom(com.google.protobuf.Message other) mergeFrom(SplitPoints other) final SplitPoints.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) removeKeys(int index) Required.setExpireTime(com.google.protobuf.Timestamp value) Optional.setExpireTime(com.google.protobuf.Timestamp.Builder builderForValue) Optional.The index to split.setIndexBytes(com.google.protobuf.ByteString value) The index to split.setKeys(int index, SplitPoints.Key value) Required.setKeys(int index, SplitPoints.Key.Builder builderForValue) Required.setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) The table to split.setTableBytes(com.google.protobuf.ByteString value) The table to split.final SplitPoints.BuildersetUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, internalGetMutableMapField, internalGetMutableMapFieldReflection, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageExceptionMethods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.Message.Builder
mergeDelimitedFrom, mergeDelimitedFromMethods inherited from interface com.google.protobuf.MessageLite.Builder
mergeFromMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
clear
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
setField
public SplitPoints.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
clearField
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
clearOneof
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
setRepeatedField
public SplitPoints.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value) - Specified by:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
addRepeatedField
public SplitPoints.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value) - Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
mergeFrom
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SplitPoints.Builder>
-
mergeFrom
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
mergeFrom
public SplitPoints.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<SplitPoints.Builder>- Throws:
IOException
-
getTable
The table to split.
string table = 1;- Specified by:
getTablein interfaceSplitPointsOrBuilder- Returns:
- The table.
-
getTableBytes
public com.google.protobuf.ByteString getTableBytes()The table to split.
string table = 1;- Specified by:
getTableBytesin interfaceSplitPointsOrBuilder- Returns:
- The bytes for table.
-
setTable
The table to split.
string table = 1;- Parameters:
value- The table to set.- Returns:
- This builder for chaining.
-
clearTable
The table to split.
string table = 1;- Returns:
- This builder for chaining.
-
setTableBytes
The table to split.
string table = 1;- Parameters:
value- The bytes for table to set.- Returns:
- This builder for chaining.
-
getIndex
The index to split. If specified, the `table` field must refer to the index's base table.
string index = 2;- Specified by:
getIndexin interfaceSplitPointsOrBuilder- Returns:
- The index.
-
getIndexBytes
public com.google.protobuf.ByteString getIndexBytes()The index to split. If specified, the `table` field must refer to the index's base table.
string index = 2;- Specified by:
getIndexBytesin interfaceSplitPointsOrBuilder- Returns:
- The bytes for index.
-
setIndex
The index to split. If specified, the `table` field must refer to the index's base table.
string index = 2;- Parameters:
value- The index to set.- Returns:
- This builder for chaining.
-
clearIndex
The index to split. If specified, the `table` field must refer to the index's base table.
string index = 2;- Returns:
- This builder for chaining.
-
setIndexBytes
The index to split. If specified, the `table` field must refer to the index's base table.
string index = 2;- Parameters:
value- The bytes for index to set.- Returns:
- This builder for chaining.
-
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];- Specified by:
getKeysListin interfaceSplitPointsOrBuilder
-
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];- Specified by:
getKeysCountin interfaceSplitPointsOrBuilder
-
getKeys
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];- Specified by:
getKeysin interfaceSplitPointsOrBuilder
-
setKeys
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]; -
setKeys
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]; -
addKeys
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]; -
addKeys
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]; -
addKeys
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]; -
addKeys
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]; -
addAllKeys
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]; -
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]; -
removeKeys
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]; -
getKeysBuilder
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]; -
getKeysOrBuilder
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];- Specified by:
getKeysOrBuilderin interfaceSplitPointsOrBuilder
-
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];- Specified by:
getKeysOrBuilderListin interfaceSplitPointsOrBuilder
-
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]; -
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]; -
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]; -
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];- Specified by:
hasExpireTimein interfaceSplitPointsOrBuilder- Returns:
- Whether the expireTime field is set.
-
getExpireTime
public com.google.protobuf.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];- Specified by:
getExpireTimein interfaceSplitPointsOrBuilder- Returns:
- The expireTime.
-
setExpireTime
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]; -
setExpireTime
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]; -
mergeExpireTime
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]; -
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]; -
getExpireTimeBuilder
public com.google.protobuf.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]; -
getExpireTimeOrBuilder
public com.google.protobuf.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];- Specified by:
getExpireTimeOrBuilderin interfaceSplitPointsOrBuilder
-
setUnknownFields
public final SplitPoints.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-
mergeUnknownFields
public final SplitPoints.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) - Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<SplitPoints.Builder>
-