public static final class ReconfigureCloudDatabaseAction.Builder extends GeneratedMessageV3.Builder<ReconfigureCloudDatabaseAction.Builder> implements ReconfigureCloudDatabaseActionOrBuilder
Action that reconfigures a Cloud Spanner database.
Protobuf type google.spanner.executor.v1.ReconfigureCloudDatabaseAction
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ReconfigureCloudDatabaseAction.BuilderImplements
ReconfigureCloudDatabaseActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns | |
---|---|
Type | Description |
Descriptor |
Methods
addAllServingLocations(Iterable<String> values)
public ReconfigureCloudDatabaseAction.Builder addAllServingLocations(Iterable<String> values)
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
Parameter | |
---|---|
Name | Description |
values | Iterable<String> The servingLocations to add. |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder | This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ReconfigureCloudDatabaseAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
addServingLocations(String value)
public ReconfigureCloudDatabaseAction.Builder addServingLocations(String value)
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
Parameter | |
---|---|
Name | Description |
value | String The servingLocations to add. |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder | This builder for chaining. |
addServingLocationsBytes(ByteString value)
public ReconfigureCloudDatabaseAction.Builder addServingLocationsBytes(ByteString value)
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes of the servingLocations to add. |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder | This builder for chaining. |
build()
public ReconfigureCloudDatabaseAction build()
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
buildPartial()
public ReconfigureCloudDatabaseAction buildPartial()
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
clear()
public ReconfigureCloudDatabaseAction.Builder clear()
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
clearDatabaseUri()
public ReconfigureCloudDatabaseAction.Builder clearDatabaseUri()
The fully qualified uri of the database to be reconfigured.
optional string database_uri = 1;
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder | This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ReconfigureCloudDatabaseAction.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field | FieldDescriptor |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public ReconfigureCloudDatabaseAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof | OneofDescriptor |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
clearServingLocations()
public ReconfigureCloudDatabaseAction.Builder clearServingLocations()
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder | This builder for chaining. |
clone()
public ReconfigureCloudDatabaseAction.Builder clone()
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
getDatabaseUri()
public String getDatabaseUri()
The fully qualified uri of the database to be reconfigured.
optional string database_uri = 1;
Returns | |
---|---|
Type | Description |
String | The databaseUri. |
getDatabaseUriBytes()
public ByteString getDatabaseUriBytes()
The fully qualified uri of the database to be reconfigured.
optional string database_uri = 1;
Returns | |
---|---|
Type | Description |
ByteString | The bytes for databaseUri. |
getDefaultInstanceForType()
public ReconfigureCloudDatabaseAction getDefaultInstanceForType()
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction |
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns | |
---|---|
Type | Description |
Descriptor |
getServingLocations(int index)
public String getServingLocations(int index)
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
Parameter | |
---|---|
Name | Description |
index | int The index of the element to return. |
Returns | |
---|---|
Type | Description |
String | The servingLocations at the given index. |
getServingLocationsBytes(int index)
public ByteString getServingLocationsBytes(int index)
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
Parameter | |
---|---|
Name | Description |
index | int The index of the value to return. |
Returns | |
---|---|
Type | Description |
ByteString | The bytes of the servingLocations at the given index. |
getServingLocationsCount()
public int getServingLocationsCount()
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
Returns | |
---|---|
Type | Description |
int | The count of servingLocations. |
getServingLocationsList()
public ProtocolStringList getServingLocationsList()
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
Returns | |
---|---|
Type | Description |
ProtocolStringList | A list containing the servingLocations. |
hasDatabaseUri()
public boolean hasDatabaseUri()
The fully qualified uri of the database to be reconfigured.
optional string database_uri = 1;
Returns | |
---|---|
Type | Description |
boolean | Whether the databaseUri field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns | |
---|---|
Type | Description |
FieldAccessorTable |
isInitialized()
public final boolean isInitialized()
Returns | |
---|---|
Type | Description |
boolean |
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ReconfigureCloudDatabaseAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters | |
---|---|
Name | Description |
input | CodedInputStream |
extensionRegistry | ExtensionRegistryLite |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
Exceptions | |
---|---|
Type | Description |
IOException |
mergeFrom(Message other)
public ReconfigureCloudDatabaseAction.Builder mergeFrom(Message other)
Parameter | |
---|---|
Name | Description |
other | Message |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
mergeFrom(ReconfigureCloudDatabaseAction other)
public ReconfigureCloudDatabaseAction.Builder mergeFrom(ReconfigureCloudDatabaseAction other)
Parameter | |
---|---|
Name | Description |
other | ReconfigureCloudDatabaseAction |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ReconfigureCloudDatabaseAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
setDatabaseUri(String value)
public ReconfigureCloudDatabaseAction.Builder setDatabaseUri(String value)
The fully qualified uri of the database to be reconfigured.
optional string database_uri = 1;
Parameter | |
---|---|
Name | Description |
value | String The databaseUri to set. |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder | This builder for chaining. |
setDatabaseUriBytes(ByteString value)
public ReconfigureCloudDatabaseAction.Builder setDatabaseUriBytes(ByteString value)
The fully qualified uri of the database to be reconfigured.
optional string database_uri = 1;
Parameter | |
---|---|
Name | Description |
value | ByteString The bytes for databaseUri to set. |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder | This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ReconfigureCloudDatabaseAction.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
value | Object |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ReconfigureCloudDatabaseAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field | FieldDescriptor |
index | int |
value | Object |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |
setServingLocations(int index, String value)
public ReconfigureCloudDatabaseAction.Builder setServingLocations(int index, String value)
The locations of the serving regions, e.g. "asia-south1".
repeated string serving_locations = 2;
Parameters | |
---|---|
Name | Description |
index | int The index to set the value at. |
value | String The servingLocations to set. |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder | This builder for chaining. |
setUnknownFields(UnknownFieldSet unknownFields)
public final ReconfigureCloudDatabaseAction.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields | UnknownFieldSet |
Returns | |
---|---|
Type | Description |
ReconfigureCloudDatabaseAction.Builder |