public static final class AddSplitPointsRequest.Builder extends GeneratedMessageV3.Builder<AddSplitPointsRequest.Builder> implements AddSplitPointsRequestOrBuilder
The request for AddSplitPoints.
Protobuf type google.spanner.admin.database.v1.AddSplitPointsRequest
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addAllSplitPoints(Iterable<? extends SplitPoints> values)
public AddSplitPointsRequest.Builder addAllSplitPoints(Iterable<? extends SplitPoints> values)
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter |
---|
Name | Description |
values | Iterable<? extends com.google.spanner.admin.database.v1.SplitPoints>
|
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AddSplitPointsRequest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
OverridesaddSplitPoints(SplitPoints value)
public AddSplitPointsRequest.Builder addSplitPoints(SplitPoints value)
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
addSplitPoints(SplitPoints.Builder builderForValue)
public AddSplitPointsRequest.Builder addSplitPoints(SplitPoints.Builder builderForValue)
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
addSplitPoints(int index, SplitPoints value)
public AddSplitPointsRequest.Builder addSplitPoints(int index, SplitPoints value)
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
addSplitPoints(int index, SplitPoints.Builder builderForValue)
public AddSplitPointsRequest.Builder addSplitPoints(int index, SplitPoints.Builder builderForValue)
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
addSplitPointsBuilder()
public SplitPoints.Builder addSplitPointsBuilder()
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
addSplitPointsBuilder(int index)
public SplitPoints.Builder addSplitPointsBuilder(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
|
build()
public AddSplitPointsRequest build()
buildPartial()
public AddSplitPointsRequest buildPartial()
clear()
public AddSplitPointsRequest.Builder clear()
OverridesclearDatabase()
public AddSplitPointsRequest.Builder clearDatabase()
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) = { ... }
clearField(Descriptors.FieldDescriptor field)
public AddSplitPointsRequest.Builder clearField(Descriptors.FieldDescriptor field)
OverridesclearInitiator()
public AddSplitPointsRequest.Builder clearInitiator()
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];
clearOneof(Descriptors.OneofDescriptor oneof)
public AddSplitPointsRequest.Builder clearOneof(Descriptors.OneofDescriptor oneof)
OverridesclearSplitPoints()
public AddSplitPointsRequest.Builder clearSplitPoints()
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public AddSplitPointsRequest.Builder clone()
OverridesgetDatabase()
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
OverridesgetInitiator()
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. |
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
|
getSplitPointsBuilder(int index)
public SplitPoints.Builder getSplitPointsBuilder(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
|
getSplitPointsBuilderList()
public List<SplitPoints.Builder> getSplitPointsBuilderList()
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
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> | |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
OverridesisInitialized()
public final boolean isInitialized()
Overridespublic AddSplitPointsRequest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
OverridesmergeFrom(Message other)
public AddSplitPointsRequest.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
OverridesmergeFrom(AddSplitPointsRequest other)
public AddSplitPointsRequest.Builder mergeFrom(AddSplitPointsRequest other)
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AddSplitPointsRequest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
OverridesremoveSplitPoints(int index)
public AddSplitPointsRequest.Builder removeSplitPoints(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
|
setDatabase(String value)
public AddSplitPointsRequest.Builder setDatabase(String value)
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) = { ... }
Parameter |
---|
Name | Description |
value | String
The database to set. |
setDatabaseBytes(ByteString value)
public AddSplitPointsRequest.Builder setDatabaseBytes(ByteString value)
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) = { ... }
Parameter |
---|
Name | Description |
value | ByteString
The bytes for database to set. |
setField(Descriptors.FieldDescriptor field, Object value)
public AddSplitPointsRequest.Builder setField(Descriptors.FieldDescriptor field, Object value)
OverridessetInitiator(String value)
public AddSplitPointsRequest.Builder setInitiator(String value)
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];
Parameter |
---|
Name | Description |
value | String
The initiator to set. |
setInitiatorBytes(ByteString value)
public AddSplitPointsRequest.Builder setInitiatorBytes(ByteString value)
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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for initiator to set. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AddSplitPointsRequest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
OverridessetSplitPoints(int index, SplitPoints value)
public AddSplitPointsRequest.Builder setSplitPoints(int index, SplitPoints value)
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
setSplitPoints(int index, SplitPoints.Builder builderForValue)
public AddSplitPointsRequest.Builder setSplitPoints(int index, SplitPoints.Builder builderForValue)
Required. The split points to add.
repeated .google.spanner.admin.database.v1.SplitPoints split_points = 2 [(.google.api.field_behavior) = REQUIRED];
setUnknownFields(UnknownFieldSet unknownFields)
public final AddSplitPointsRequest.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides