Send feedback
Class AddSplitPointsRequest (6.87.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version latest keyboard_arrow_down
public final class AddSplitPointsRequest extends GeneratedMessageV3 implements AddSplitPointsRequestOrBuilder
The request for
AddSplitPoints .
Protobuf type google.spanner.admin.database.v1.AddSplitPointsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DATABASE_FIELD_NUMBER
public static final int DATABASE_FIELD_NUMBER
Field Value
Type
Description
int
INITIATOR_FIELD_NUMBER
public static final int INITIATOR_FIELD_NUMBER
Field Value
Type
Description
int
SPLIT_POINTS_FIELD_NUMBER
public static final int SPLIT_POINTS_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static AddSplitPointsRequest getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AddSplitPointsRequest . Builder newBuilder ()
newBuilder(AddSplitPointsRequest prototype)
public static AddSplitPointsRequest . Builder newBuilder ( AddSplitPointsRequest prototype )
public static AddSplitPointsRequest parseDelimitedFrom ( InputStream input )
public static AddSplitPointsRequest parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AddSplitPointsRequest parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AddSplitPointsRequest parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AddSplitPointsRequest parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AddSplitPointsRequest parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AddSplitPointsRequest parseFrom ( CodedInputStream input )
public static AddSplitPointsRequest parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AddSplitPointsRequest parseFrom ( InputStream input )
public static AddSplitPointsRequest parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AddSplitPointsRequest parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AddSplitPointsRequest parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AddSplitPointsRequest> parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDatabase()
public String getDatabase ()
Required. The database on whose tables/indexes split points are to be
added. Values are of the form
projects/<project>/instances/<instance>/databases/<database>
.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
String
The database.
getDatabaseBytes()
public ByteString getDatabaseBytes ()
Required. The database on whose tables/indexes split points are to be
added. Values are of the form
projects/<project>/instances/<instance>/databases/<database>
.
string database = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }
Returns
Type
Description
ByteString
The bytes for database.
getDefaultInstanceForType()
public AddSplitPointsRequest getDefaultInstanceForType ()
getInitiator()
public String getInitiator ()
Optional. A user-supplied tag associated with the split points.
For example, "intital_data_load", "special_event_1".
Defaults to "CloudAddSplitPointsAPI" if not specified.
The length of the tag must not exceed 50 characters,else will be trimmed.
Only valid UTF8 characters are allowed.
string initiator = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
String
The initiator.
getInitiatorBytes()
public ByteString getInitiatorBytes ()
Optional. A user-supplied tag associated with the split points.
For example, "intital_data_load", "special_event_1".
Defaults to "CloudAddSplitPointsAPI" if not specified.
The length of the tag must not exceed 50 characters,else will be trimmed.
Only valid UTF8 characters are allowed.
string initiator = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
ByteString
The bytes for initiator.
getParserForType()
public Parser<AddSplitPointsRequest> getParserForType ()
Overrides
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getSplitPoints(int index)
public SplitPoints getSplitPoints ( int index )
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
index
int
getSplitPointsCount()
public int getSplitPointsCount ()
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
getSplitPointsList()
public List<SplitPoints> getSplitPointsList ()
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
getSplitPointsOrBuilder(int index)
public SplitPointsOrBuilder getSplitPointsOrBuilder ( int index )
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
index
int
getSplitPointsOrBuilderList()
public List <? extends SplitPointsOrBuilder > getSplitPointsOrBuilderList ()
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
List <? extends com.google.spanner.admin.database.v1.SplitPointsOrBuilder >
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public AddSplitPointsRequest . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AddSplitPointsRequest . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public AddSplitPointsRequest . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Send feedback
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-02-22 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-02-22 UTC."],[],[]]