- 6.102.1 (latest)
- 6.102.0
- 6.101.1
- 6.100.0
- 6.99.0
- 6.98.1
- 6.97.1
- 6.96.1
- 6.95.1
- 6.94.0
- 6.93.0
- 6.89.0
- 6.88.0
- 6.87.0
- 6.86.0
- 6.85.0
- 6.83.0
- 6.82.0
- 6.80.1
- 6.79.0
- 6.77.0
- 6.74.1
- 6.72.0
- 6.71.0
- 6.69.0
- 6.68.0
- 6.66.0
- 6.65.1
- 6.62.0
- 6.60.0
- 6.58.0
- 6.57.0
- 6.56.0
- 6.55.0
- 6.54.0
- 6.53.0
- 6.52.1
- 6.51.0
- 6.50.1
- 6.49.0
- 6.25.1
- 6.24.0
- 6.23.4
- 6.22.0
- 6.21.2
- 6.20.0
- 6.19.1
- 6.18.0
- 6.17.4
- 6.14.1
public static final class ChangeQuorumCloudDatabaseAction.Builder extends GeneratedMessageV3.Builder<ChangeQuorumCloudDatabaseAction.Builder> implements ChangeQuorumCloudDatabaseActionOrBuilderAction that changes quorum of a Cloud Spanner database.
 Protobuf type google.spanner.executor.v1.ChangeQuorumCloudDatabaseAction
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ChangeQuorumCloudDatabaseAction.BuilderImplements
ChangeQuorumCloudDatabaseActionOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description | 
| Descriptor | |
Methods
addAllServingLocations(Iterable<String> values)
public ChangeQuorumCloudDatabaseAction.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 | 
| ChangeQuorumCloudDatabaseAction.Builder | This builder for chaining. | 
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ChangeQuorumCloudDatabaseAction.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
addServingLocations(String value)
public ChangeQuorumCloudDatabaseAction.Builder addServingLocations(String value)The locations of the serving regions, e.g. "asia-south1".
 repeated string serving_locations = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe servingLocations to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | This builder for chaining. | 
addServingLocationsBytes(ByteString value)
public ChangeQuorumCloudDatabaseAction.Builder addServingLocationsBytes(ByteString value)The locations of the serving regions, e.g. "asia-south1".
 repeated string serving_locations = 2;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes of the servingLocations to add. | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | This builder for chaining. | 
build()
public ChangeQuorumCloudDatabaseAction build()| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction | |
buildPartial()
public ChangeQuorumCloudDatabaseAction buildPartial()| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction | |
clear()
public ChangeQuorumCloudDatabaseAction.Builder clear()| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
clearDatabaseUri()
public ChangeQuorumCloudDatabaseAction.Builder clearDatabaseUri()The fully qualified uri of the database whose quorum has to be changed.
 optional string database_uri = 1;
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | This builder for chaining. | 
clearField(Descriptors.FieldDescriptor field)
public ChangeQuorumCloudDatabaseAction.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
clearOneof(Descriptors.OneofDescriptor oneof)
public ChangeQuorumCloudDatabaseAction.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description | 
| oneof | OneofDescriptor | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
clearServingLocations()
public ChangeQuorumCloudDatabaseAction.Builder clearServingLocations()The locations of the serving regions, e.g. "asia-south1".
 repeated string serving_locations = 2;
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | This builder for chaining. | 
clone()
public ChangeQuorumCloudDatabaseAction.Builder clone()| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
getDatabaseUri()
public String getDatabaseUri()The fully qualified uri of the database whose quorum has to be changed.
 optional string database_uri = 1;
| Returns | |
|---|---|
| Type | Description | 
| String | The databaseUri. | 
getDatabaseUriBytes()
public ByteString getDatabaseUriBytes()The fully qualified uri of the database whose quorum has to be changed.
 optional string database_uri = 1;
| Returns | |
|---|---|
| Type | Description | 
| ByteString | The bytes for databaseUri. | 
getDefaultInstanceForType()
public ChangeQuorumCloudDatabaseAction getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction | |
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 | intThe 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 | intThe 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 whose quorum has to be changed.
 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 ChangeQuorumCloudDatabaseAction.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description | 
| input | CodedInputStream | 
| extensionRegistry | ExtensionRegistryLite | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
| Exceptions | |
|---|---|
| Type | Description | 
| IOException | |
mergeFrom(Message other)
public ChangeQuorumCloudDatabaseAction.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description | 
| other | Message | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
mergeFrom(ChangeQuorumCloudDatabaseAction other)
public ChangeQuorumCloudDatabaseAction.Builder mergeFrom(ChangeQuorumCloudDatabaseAction other)| Parameter | |
|---|---|
| Name | Description | 
| other | ChangeQuorumCloudDatabaseAction | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ChangeQuorumCloudDatabaseAction.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
setDatabaseUri(String value)
public ChangeQuorumCloudDatabaseAction.Builder setDatabaseUri(String value)The fully qualified uri of the database whose quorum has to be changed.
 optional string database_uri = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | StringThe databaseUri to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | This builder for chaining. | 
setDatabaseUriBytes(ByteString value)
public ChangeQuorumCloudDatabaseAction.Builder setDatabaseUriBytes(ByteString value)The fully qualified uri of the database whose quorum has to be changed.
 optional string database_uri = 1;
| Parameter | |
|---|---|
| Name | Description | 
| value | ByteStringThe bytes for databaseUri to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | This builder for chaining. | 
setField(Descriptors.FieldDescriptor field, Object value)
public ChangeQuorumCloudDatabaseAction.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ChangeQuorumCloudDatabaseAction.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description | 
| field | FieldDescriptor | 
| index | int | 
| value | Object | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |
setServingLocations(int index, String value)
public ChangeQuorumCloudDatabaseAction.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 | intThe index to set the value at. | 
| value | StringThe servingLocations to set. | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | This builder for chaining. | 
setUnknownFields(UnknownFieldSet unknownFields)
public final ChangeQuorumCloudDatabaseAction.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description | 
| unknownFields | UnknownFieldSet | 
| Returns | |
|---|---|
| Type | Description | 
| ChangeQuorumCloudDatabaseAction.Builder | |