public static final class CloudSqlSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder> implements CloudSqlSettingsOrBuilder
Settings for creating a Cloud SQL database instance.Protobuf type
google.cloud.clouddms.v1.CloudSqlSettings| Modifier and Type | Method and Description |
|---|---|
CloudSqlSettings.Builder |
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudSqlSettings |
build() |
CloudSqlSettings |
buildPartial() |
CloudSqlSettings.Builder |
clear() |
CloudSqlSettings.Builder |
clearActivationPolicy()
The activation policy specifies when the instance is activated; it is
applicable only when the instance state is 'RUNNABLE'.
|
CloudSqlSettings.Builder |
clearAutoStorageIncrease()
[default: ON] If you enable this setting, Cloud SQL checks your available
storage every 30 seconds.
|
CloudSqlSettings.Builder |
clearAvailabilityType()
Optional.
|
CloudSqlSettings.Builder |
clearCmekKeyName()
The KMS key name used for the csql instance.
|
CloudSqlSettings.Builder |
clearCollation()
The Cloud SQL default instance level collation.
|
CloudSqlSettings.Builder |
clearDatabaseFlags() |
CloudSqlSettings.Builder |
clearDatabaseVersion()
The database engine type and version.
|
CloudSqlSettings.Builder |
clearDataDiskSizeGb()
The storage capacity available to the database, in GB.
|
CloudSqlSettings.Builder |
clearDataDiskType()
The type of storage: `PD_SSD` (default) or `PD_HDD`.
|
CloudSqlSettings.Builder |
clearEdition()
Optional.
|
CloudSqlSettings.Builder |
clearField(com.google.protobuf.Descriptors.FieldDescriptor field) |
CloudSqlSettings.Builder |
clearIpConfig()
The settings for IP Management.
|
CloudSqlSettings.Builder |
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof) |
CloudSqlSettings.Builder |
clearRootPassword()
Input only.
|
CloudSqlSettings.Builder |
clearRootPasswordSet()
Output only.
|
CloudSqlSettings.Builder |
clearSecondaryZone()
Optional.
|
CloudSqlSettings.Builder |
clearSourceId()
The Database Migration Service source connection profile ID,
in the format:
`projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
|
CloudSqlSettings.Builder |
clearStorageAutoResizeLimit()
The maximum size to which storage capacity can be automatically increased.
|
CloudSqlSettings.Builder |
clearTier()
The tier (or machine type) for this instance, for example:
`db-n1-standard-1` (MySQL instances) or
`db-custom-1-3840` (PostgreSQL instances).
|
CloudSqlSettings.Builder |
clearUserLabels() |
CloudSqlSettings.Builder |
clearZone()
The Google Cloud Platform zone where your Cloud SQL database instance is
located.
|
CloudSqlSettings.Builder |
clone() |
boolean |
containsDatabaseFlags(String key)
The database flags passed to the Cloud SQL instance at startup.
|
boolean |
containsUserLabels(String key)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
|
CloudSqlSettings.SqlActivationPolicy |
getActivationPolicy()
The activation policy specifies when the instance is activated; it is
applicable only when the instance state is 'RUNNABLE'.
|
int |
getActivationPolicyValue()
The activation policy specifies when the instance is activated; it is
applicable only when the instance state is 'RUNNABLE'.
|
com.google.protobuf.BoolValue |
getAutoStorageIncrease()
[default: ON] If you enable this setting, Cloud SQL checks your available
storage every 30 seconds.
|
com.google.protobuf.BoolValue.Builder |
getAutoStorageIncreaseBuilder()
[default: ON] If you enable this setting, Cloud SQL checks your available
storage every 30 seconds.
|
com.google.protobuf.BoolValueOrBuilder |
getAutoStorageIncreaseOrBuilder()
[default: ON] If you enable this setting, Cloud SQL checks your available
storage every 30 seconds.
|
CloudSqlSettings.SqlAvailabilityType |
getAvailabilityType()
Optional.
|
int |
getAvailabilityTypeValue()
Optional.
|
String |
getCmekKeyName()
The KMS key name used for the csql instance.
|
com.google.protobuf.ByteString |
getCmekKeyNameBytes()
The KMS key name used for the csql instance.
|
String |
getCollation()
The Cloud SQL default instance level collation.
|
com.google.protobuf.ByteString |
getCollationBytes()
The Cloud SQL default instance level collation.
|
Map<String,String> |
getDatabaseFlags()
Deprecated.
|
int |
getDatabaseFlagsCount()
The database flags passed to the Cloud SQL instance at startup.
|
Map<String,String> |
getDatabaseFlagsMap()
The database flags passed to the Cloud SQL instance at startup.
|
String |
getDatabaseFlagsOrDefault(String key,
String defaultValue)
The database flags passed to the Cloud SQL instance at startup.
|
String |
getDatabaseFlagsOrThrow(String key)
The database flags passed to the Cloud SQL instance at startup.
|
CloudSqlSettings.SqlDatabaseVersion |
getDatabaseVersion()
The database engine type and version.
|
int |
getDatabaseVersionValue()
The database engine type and version.
|
com.google.protobuf.Int64Value |
getDataDiskSizeGb()
The storage capacity available to the database, in GB.
|
com.google.protobuf.Int64Value.Builder |
getDataDiskSizeGbBuilder()
The storage capacity available to the database, in GB.
|
com.google.protobuf.Int64ValueOrBuilder |
getDataDiskSizeGbOrBuilder()
The storage capacity available to the database, in GB.
|
CloudSqlSettings.SqlDataDiskType |
getDataDiskType()
The type of storage: `PD_SSD` (default) or `PD_HDD`.
|
int |
getDataDiskTypeValue()
The type of storage: `PD_SSD` (default) or `PD_HDD`.
|
CloudSqlSettings |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
com.google.protobuf.Descriptors.Descriptor |
getDescriptorForType() |
CloudSqlSettings.Edition |
getEdition()
Optional.
|
int |
getEditionValue()
Optional.
|
SqlIpConfig |
getIpConfig()
The settings for IP Management.
|
SqlIpConfig.Builder |
getIpConfigBuilder()
The settings for IP Management.
|
SqlIpConfigOrBuilder |
getIpConfigOrBuilder()
The settings for IP Management.
|
Map<String,String> |
getMutableDatabaseFlags()
Deprecated.
|
Map<String,String> |
getMutableUserLabels()
Deprecated.
|
String |
getRootPassword()
Input only.
|
com.google.protobuf.ByteString |
getRootPasswordBytes()
Input only.
|
boolean |
getRootPasswordSet()
Output only.
|
String |
getSecondaryZone()
Optional.
|
com.google.protobuf.ByteString |
getSecondaryZoneBytes()
Optional.
|
String |
getSourceId()
The Database Migration Service source connection profile ID,
in the format:
`projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
|
com.google.protobuf.ByteString |
getSourceIdBytes()
The Database Migration Service source connection profile ID,
in the format:
`projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
|
com.google.protobuf.Int64Value |
getStorageAutoResizeLimit()
The maximum size to which storage capacity can be automatically increased.
|
com.google.protobuf.Int64Value.Builder |
getStorageAutoResizeLimitBuilder()
The maximum size to which storage capacity can be automatically increased.
|
com.google.protobuf.Int64ValueOrBuilder |
getStorageAutoResizeLimitOrBuilder()
The maximum size to which storage capacity can be automatically increased.
|
String |
getTier()
The tier (or machine type) for this instance, for example:
`db-n1-standard-1` (MySQL instances) or
`db-custom-1-3840` (PostgreSQL instances).
|
com.google.protobuf.ByteString |
getTierBytes()
The tier (or machine type) for this instance, for example:
`db-n1-standard-1` (MySQL instances) or
`db-custom-1-3840` (PostgreSQL instances).
|
Map<String,String> |
getUserLabels()
Deprecated.
|
int |
getUserLabelsCount()
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
|
Map<String,String> |
getUserLabelsMap()
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
|
String |
getUserLabelsOrDefault(String key,
String defaultValue)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
|
String |
getUserLabelsOrThrow(String key)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
|
String |
getZone()
The Google Cloud Platform zone where your Cloud SQL database instance is
located.
|
com.google.protobuf.ByteString |
getZoneBytes()
The Google Cloud Platform zone where your Cloud SQL database instance is
located.
|
boolean |
hasAutoStorageIncrease()
[default: ON] If you enable this setting, Cloud SQL checks your available
storage every 30 seconds.
|
boolean |
hasDataDiskSizeGb()
The storage capacity available to the database, in GB.
|
boolean |
hasIpConfig()
The settings for IP Management.
|
boolean |
hasStorageAutoResizeLimit()
The maximum size to which storage capacity can be automatically increased.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMapFieldReflection(int number) |
protected com.google.protobuf.MapFieldReflectionAccessor |
internalGetMutableMapFieldReflection(int number) |
boolean |
isInitialized() |
CloudSqlSettings.Builder |
mergeAutoStorageIncrease(com.google.protobuf.BoolValue value)
[default: ON] If you enable this setting, Cloud SQL checks your available
storage every 30 seconds.
|
CloudSqlSettings.Builder |
mergeDataDiskSizeGb(com.google.protobuf.Int64Value value)
The storage capacity available to the database, in GB.
|
CloudSqlSettings.Builder |
mergeFrom(CloudSqlSettings other) |
CloudSqlSettings.Builder |
mergeFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
CloudSqlSettings.Builder |
mergeFrom(com.google.protobuf.Message other) |
CloudSqlSettings.Builder |
mergeIpConfig(SqlIpConfig value)
The settings for IP Management.
|
CloudSqlSettings.Builder |
mergeStorageAutoResizeLimit(com.google.protobuf.Int64Value value)
The maximum size to which storage capacity can be automatically increased.
|
CloudSqlSettings.Builder |
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudSqlSettings.Builder |
putAllDatabaseFlags(Map<String,String> values)
The database flags passed to the Cloud SQL instance at startup.
|
CloudSqlSettings.Builder |
putAllUserLabels(Map<String,String> values)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
|
CloudSqlSettings.Builder |
putDatabaseFlags(String key,
String value)
The database flags passed to the Cloud SQL instance at startup.
|
CloudSqlSettings.Builder |
putUserLabels(String key,
String value)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
|
CloudSqlSettings.Builder |
removeDatabaseFlags(String key)
The database flags passed to the Cloud SQL instance at startup.
|
CloudSqlSettings.Builder |
removeUserLabels(String key)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
|
CloudSqlSettings.Builder |
setActivationPolicy(CloudSqlSettings.SqlActivationPolicy value)
The activation policy specifies when the instance is activated; it is
applicable only when the instance state is 'RUNNABLE'.
|
CloudSqlSettings.Builder |
setActivationPolicyValue(int value)
The activation policy specifies when the instance is activated; it is
applicable only when the instance state is 'RUNNABLE'.
|
CloudSqlSettings.Builder |
setAutoStorageIncrease(com.google.protobuf.BoolValue.Builder builderForValue)
[default: ON] If you enable this setting, Cloud SQL checks your available
storage every 30 seconds.
|
CloudSqlSettings.Builder |
setAutoStorageIncrease(com.google.protobuf.BoolValue value)
[default: ON] If you enable this setting, Cloud SQL checks your available
storage every 30 seconds.
|
CloudSqlSettings.Builder |
setAvailabilityType(CloudSqlSettings.SqlAvailabilityType value)
Optional.
|
CloudSqlSettings.Builder |
setAvailabilityTypeValue(int value)
Optional.
|
CloudSqlSettings.Builder |
setCmekKeyName(String value)
The KMS key name used for the csql instance.
|
CloudSqlSettings.Builder |
setCmekKeyNameBytes(com.google.protobuf.ByteString value)
The KMS key name used for the csql instance.
|
CloudSqlSettings.Builder |
setCollation(String value)
The Cloud SQL default instance level collation.
|
CloudSqlSettings.Builder |
setCollationBytes(com.google.protobuf.ByteString value)
The Cloud SQL default instance level collation.
|
CloudSqlSettings.Builder |
setDatabaseVersion(CloudSqlSettings.SqlDatabaseVersion value)
The database engine type and version.
|
CloudSqlSettings.Builder |
setDatabaseVersionValue(int value)
The database engine type and version.
|
CloudSqlSettings.Builder |
setDataDiskSizeGb(com.google.protobuf.Int64Value.Builder builderForValue)
The storage capacity available to the database, in GB.
|
CloudSqlSettings.Builder |
setDataDiskSizeGb(com.google.protobuf.Int64Value value)
The storage capacity available to the database, in GB.
|
CloudSqlSettings.Builder |
setDataDiskType(CloudSqlSettings.SqlDataDiskType value)
The type of storage: `PD_SSD` (default) or `PD_HDD`.
|
CloudSqlSettings.Builder |
setDataDiskTypeValue(int value)
The type of storage: `PD_SSD` (default) or `PD_HDD`.
|
CloudSqlSettings.Builder |
setEdition(CloudSqlSettings.Edition value)
Optional.
|
CloudSqlSettings.Builder |
setEditionValue(int value)
Optional.
|
CloudSqlSettings.Builder |
setField(com.google.protobuf.Descriptors.FieldDescriptor field,
Object value) |
CloudSqlSettings.Builder |
setIpConfig(SqlIpConfig.Builder builderForValue)
The settings for IP Management.
|
CloudSqlSettings.Builder |
setIpConfig(SqlIpConfig value)
The settings for IP Management.
|
CloudSqlSettings.Builder |
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field,
int index,
Object value) |
CloudSqlSettings.Builder |
setRootPassword(String value)
Input only.
|
CloudSqlSettings.Builder |
setRootPasswordBytes(com.google.protobuf.ByteString value)
Input only.
|
CloudSqlSettings.Builder |
setRootPasswordSet(boolean value)
Output only.
|
CloudSqlSettings.Builder |
setSecondaryZone(String value)
Optional.
|
CloudSqlSettings.Builder |
setSecondaryZoneBytes(com.google.protobuf.ByteString value)
Optional.
|
CloudSqlSettings.Builder |
setSourceId(String value)
The Database Migration Service source connection profile ID,
in the format:
`projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
|
CloudSqlSettings.Builder |
setSourceIdBytes(com.google.protobuf.ByteString value)
The Database Migration Service source connection profile ID,
in the format:
`projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
|
CloudSqlSettings.Builder |
setStorageAutoResizeLimit(com.google.protobuf.Int64Value.Builder builderForValue)
The maximum size to which storage capacity can be automatically increased.
|
CloudSqlSettings.Builder |
setStorageAutoResizeLimit(com.google.protobuf.Int64Value value)
The maximum size to which storage capacity can be automatically increased.
|
CloudSqlSettings.Builder |
setTier(String value)
The tier (or machine type) for this instance, for example:
`db-n1-standard-1` (MySQL instances) or
`db-custom-1-3840` (PostgreSQL instances).
|
CloudSqlSettings.Builder |
setTierBytes(com.google.protobuf.ByteString value)
The tier (or machine type) for this instance, for example:
`db-n1-standard-1` (MySQL instances) or
`db-custom-1-3840` (PostgreSQL instances).
|
CloudSqlSettings.Builder |
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields) |
CloudSqlSettings.Builder |
setZone(String value)
The Google Cloud Platform zone where your Cloud SQL database instance is
located.
|
CloudSqlSettings.Builder |
setZoneBytes(com.google.protobuf.ByteString value)
The Google Cloud Platform zone where your Cloud SQL database instance is
located.
|
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, internalGetMapField, internalGetMutableMapField, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toStringaddAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, newUninitializedMessageExceptionequals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, waitpublic static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
internalGetMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>protected com.google.protobuf.MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)
internalGetMutableMapFieldReflection in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public CloudSqlSettings.Builder clear()
clear in interface com.google.protobuf.Message.Builderclear in interface com.google.protobuf.MessageLite.Builderclear in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.Message.BuildergetDescriptorForType in interface com.google.protobuf.MessageOrBuildergetDescriptorForType in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public CloudSqlSettings getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderpublic CloudSqlSettings build()
build in interface com.google.protobuf.Message.Builderbuild in interface com.google.protobuf.MessageLite.Builderpublic CloudSqlSettings buildPartial()
buildPartial in interface com.google.protobuf.Message.BuilderbuildPartial in interface com.google.protobuf.MessageLite.Builderpublic CloudSqlSettings.Builder clone()
clone in interface com.google.protobuf.Message.Builderclone in interface com.google.protobuf.MessageLite.Builderclone in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public CloudSqlSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
setField in interface com.google.protobuf.Message.BuildersetField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public CloudSqlSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
clearField in interface com.google.protobuf.Message.BuilderclearField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public CloudSqlSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
clearOneof in interface com.google.protobuf.Message.BuilderclearOneof in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public CloudSqlSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
setRepeatedField in interface com.google.protobuf.Message.BuildersetRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public CloudSqlSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
addRepeatedField in interface com.google.protobuf.Message.BuilderaddRepeatedField in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public CloudSqlSettings.Builder mergeFrom(com.google.protobuf.Message other)
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudSqlSettings.Builder>public CloudSqlSettings.Builder mergeFrom(CloudSqlSettings other)
public final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public CloudSqlSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
mergeFrom in interface com.google.protobuf.Message.BuildermergeFrom in interface com.google.protobuf.MessageLite.BuildermergeFrom in class com.google.protobuf.AbstractMessage.Builder<CloudSqlSettings.Builder>IOExceptionpublic int getDatabaseVersionValue()
The database engine type and version.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion database_version = 1;
getDatabaseVersionValue in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setDatabaseVersionValue(int value)
The database engine type and version.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion database_version = 1;
value - The enum numeric value on the wire for databaseVersion to set.public CloudSqlSettings.SqlDatabaseVersion getDatabaseVersion()
The database engine type and version.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion database_version = 1;
getDatabaseVersion in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setDatabaseVersion(CloudSqlSettings.SqlDatabaseVersion value)
The database engine type and version.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion database_version = 1;
value - The databaseVersion to set.public CloudSqlSettings.Builder clearDatabaseVersion()
The database engine type and version.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDatabaseVersion database_version = 1;
public int getUserLabelsCount()
CloudSqlSettingsOrBuilder
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.
map<string, string> user_labels = 2;getUserLabelsCount in interface CloudSqlSettingsOrBuilderpublic boolean containsUserLabels(String key)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.
map<string, string> user_labels = 2;containsUserLabels in interface CloudSqlSettingsOrBuilder@Deprecated public Map<String,String> getUserLabels()
getUserLabelsMap() instead.getUserLabels in interface CloudSqlSettingsOrBuilderpublic Map<String,String> getUserLabelsMap()
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.
map<string, string> user_labels = 2;getUserLabelsMap in interface CloudSqlSettingsOrBuilderpublic String getUserLabelsOrDefault(String key, String defaultValue)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.
map<string, string> user_labels = 2;getUserLabelsOrDefault in interface CloudSqlSettingsOrBuilderpublic String getUserLabelsOrThrow(String key)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.
map<string, string> user_labels = 2;getUserLabelsOrThrow in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder clearUserLabels()
public CloudSqlSettings.Builder removeUserLabels(String key)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.
map<string, string> user_labels = 2;@Deprecated public Map<String,String> getMutableUserLabels()
public CloudSqlSettings.Builder putUserLabels(String key, String value)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.
map<string, string> user_labels = 2;public CloudSqlSettings.Builder putAllUserLabels(Map<String,String> values)
The resource labels for a Cloud SQL instance to use to annotate any related
underlying resources such as Compute Engine VMs.
An object containing a list of "key": "value" pairs.
Example: `{ "name": "wrench", "mass": "18kg", "count": "3" }`.
map<string, string> user_labels = 2;public String getTier()
The tier (or machine type) for this instance, for example: `db-n1-standard-1` (MySQL instances) or `db-custom-1-3840` (PostgreSQL instances). For more information, see [Cloud SQL Instance Settings](https://cloud.google.com/sql/docs/mysql/instance-settings).
string tier = 3;getTier in interface CloudSqlSettingsOrBuilderpublic com.google.protobuf.ByteString getTierBytes()
The tier (or machine type) for this instance, for example: `db-n1-standard-1` (MySQL instances) or `db-custom-1-3840` (PostgreSQL instances). For more information, see [Cloud SQL Instance Settings](https://cloud.google.com/sql/docs/mysql/instance-settings).
string tier = 3;getTierBytes in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setTier(String value)
The tier (or machine type) for this instance, for example: `db-n1-standard-1` (MySQL instances) or `db-custom-1-3840` (PostgreSQL instances). For more information, see [Cloud SQL Instance Settings](https://cloud.google.com/sql/docs/mysql/instance-settings).
string tier = 3;value - The tier to set.public CloudSqlSettings.Builder clearTier()
The tier (or machine type) for this instance, for example: `db-n1-standard-1` (MySQL instances) or `db-custom-1-3840` (PostgreSQL instances). For more information, see [Cloud SQL Instance Settings](https://cloud.google.com/sql/docs/mysql/instance-settings).
string tier = 3;public CloudSqlSettings.Builder setTierBytes(com.google.protobuf.ByteString value)
The tier (or machine type) for this instance, for example: `db-n1-standard-1` (MySQL instances) or `db-custom-1-3840` (PostgreSQL instances). For more information, see [Cloud SQL Instance Settings](https://cloud.google.com/sql/docs/mysql/instance-settings).
string tier = 3;value - The bytes for tier to set.public boolean hasStorageAutoResizeLimit()
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;hasStorageAutoResizeLimit in interface CloudSqlSettingsOrBuilderpublic com.google.protobuf.Int64Value getStorageAutoResizeLimit()
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;getStorageAutoResizeLimit in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setStorageAutoResizeLimit(com.google.protobuf.Int64Value value)
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;public CloudSqlSettings.Builder setStorageAutoResizeLimit(com.google.protobuf.Int64Value.Builder builderForValue)
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;public CloudSqlSettings.Builder mergeStorageAutoResizeLimit(com.google.protobuf.Int64Value value)
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;public CloudSqlSettings.Builder clearStorageAutoResizeLimit()
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;public com.google.protobuf.Int64Value.Builder getStorageAutoResizeLimitBuilder()
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;public com.google.protobuf.Int64ValueOrBuilder getStorageAutoResizeLimitOrBuilder()
The maximum size to which storage capacity can be automatically increased. The default value is 0, which specifies that there is no limit.
.google.protobuf.Int64Value storage_auto_resize_limit = 4;getStorageAutoResizeLimitOrBuilder in interface CloudSqlSettingsOrBuilderpublic int getActivationPolicyValue()
The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
getActivationPolicyValue in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setActivationPolicyValue(int value)
The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
value - The enum numeric value on the wire for activationPolicy to set.public CloudSqlSettings.SqlActivationPolicy getActivationPolicy()
The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
getActivationPolicy in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setActivationPolicy(CloudSqlSettings.SqlActivationPolicy value)
The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
value - The activationPolicy to set.public CloudSqlSettings.Builder clearActivationPolicy()
The activation policy specifies when the instance is activated; it is applicable only when the instance state is 'RUNNABLE'. Valid values: 'ALWAYS': The instance is on, and remains so even in the absence of connection requests. `NEVER`: The instance is off; it is not activated, even if a connection request arrives.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlActivationPolicy activation_policy = 5;
public boolean hasIpConfig()
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;hasIpConfig in interface CloudSqlSettingsOrBuilderpublic SqlIpConfig getIpConfig()
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;getIpConfig in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setIpConfig(SqlIpConfig value)
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;public CloudSqlSettings.Builder setIpConfig(SqlIpConfig.Builder builderForValue)
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;public CloudSqlSettings.Builder mergeIpConfig(SqlIpConfig value)
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;public CloudSqlSettings.Builder clearIpConfig()
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;public SqlIpConfig.Builder getIpConfigBuilder()
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;public SqlIpConfigOrBuilder getIpConfigOrBuilder()
The settings for IP Management. This allows to enable or disable the instance IP and manage which external networks can connect to the instance. The IPv4 address cannot be disabled.
.google.cloud.clouddms.v1.SqlIpConfig ip_config = 6;getIpConfigOrBuilder in interface CloudSqlSettingsOrBuilderpublic boolean hasAutoStorageIncrease()
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;hasAutoStorageIncrease in interface CloudSqlSettingsOrBuilderpublic com.google.protobuf.BoolValue getAutoStorageIncrease()
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;getAutoStorageIncrease in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setAutoStorageIncrease(com.google.protobuf.BoolValue value)
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;public CloudSqlSettings.Builder setAutoStorageIncrease(com.google.protobuf.BoolValue.Builder builderForValue)
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;public CloudSqlSettings.Builder mergeAutoStorageIncrease(com.google.protobuf.BoolValue value)
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;public CloudSqlSettings.Builder clearAutoStorageIncrease()
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;public com.google.protobuf.BoolValue.Builder getAutoStorageIncreaseBuilder()
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;public com.google.protobuf.BoolValueOrBuilder getAutoStorageIncreaseOrBuilder()
[default: ON] If you enable this setting, Cloud SQL checks your available storage every 30 seconds. If the available storage falls below a threshold size, Cloud SQL automatically adds additional storage capacity. If the available storage repeatedly falls below the threshold size, Cloud SQL continues to add storage until it reaches the maximum of 30 TB.
.google.protobuf.BoolValue auto_storage_increase = 7;getAutoStorageIncreaseOrBuilder in interface CloudSqlSettingsOrBuilderpublic int getDatabaseFlagsCount()
CloudSqlSettingsOrBuilder
The database flags passed to the Cloud SQL instance at startup.
An object containing a list of "key": value pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;getDatabaseFlagsCount in interface CloudSqlSettingsOrBuilderpublic boolean containsDatabaseFlags(String key)
The database flags passed to the Cloud SQL instance at startup.
An object containing a list of "key": value pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;containsDatabaseFlags in interface CloudSqlSettingsOrBuilder@Deprecated public Map<String,String> getDatabaseFlags()
getDatabaseFlagsMap() instead.getDatabaseFlags in interface CloudSqlSettingsOrBuilderpublic Map<String,String> getDatabaseFlagsMap()
The database flags passed to the Cloud SQL instance at startup.
An object containing a list of "key": value pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;getDatabaseFlagsMap in interface CloudSqlSettingsOrBuilderpublic String getDatabaseFlagsOrDefault(String key, String defaultValue)
The database flags passed to the Cloud SQL instance at startup.
An object containing a list of "key": value pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;getDatabaseFlagsOrDefault in interface CloudSqlSettingsOrBuilderpublic String getDatabaseFlagsOrThrow(String key)
The database flags passed to the Cloud SQL instance at startup.
An object containing a list of "key": value pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;getDatabaseFlagsOrThrow in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder clearDatabaseFlags()
public CloudSqlSettings.Builder removeDatabaseFlags(String key)
The database flags passed to the Cloud SQL instance at startup.
An object containing a list of "key": value pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;@Deprecated public Map<String,String> getMutableDatabaseFlags()
public CloudSqlSettings.Builder putDatabaseFlags(String key, String value)
The database flags passed to the Cloud SQL instance at startup.
An object containing a list of "key": value pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;public CloudSqlSettings.Builder putAllDatabaseFlags(Map<String,String> values)
The database flags passed to the Cloud SQL instance at startup.
An object containing a list of "key": value pairs.
Example: { "name": "wrench", "mass": "1.3kg", "count": "3" }.
map<string, string> database_flags = 8;public int getDataDiskTypeValue()
The type of storage: `PD_SSD` (default) or `PD_HDD`.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType data_disk_type = 9;getDataDiskTypeValue in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setDataDiskTypeValue(int value)
The type of storage: `PD_SSD` (default) or `PD_HDD`.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType data_disk_type = 9;value - The enum numeric value on the wire for dataDiskType to set.public CloudSqlSettings.SqlDataDiskType getDataDiskType()
The type of storage: `PD_SSD` (default) or `PD_HDD`.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType data_disk_type = 9;getDataDiskType in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setDataDiskType(CloudSqlSettings.SqlDataDiskType value)
The type of storage: `PD_SSD` (default) or `PD_HDD`.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType data_disk_type = 9;value - The dataDiskType to set.public CloudSqlSettings.Builder clearDataDiskType()
The type of storage: `PD_SSD` (default) or `PD_HDD`.
.google.cloud.clouddms.v1.CloudSqlSettings.SqlDataDiskType data_disk_type = 9;public boolean hasDataDiskSizeGb()
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;hasDataDiskSizeGb in interface CloudSqlSettingsOrBuilderpublic com.google.protobuf.Int64Value getDataDiskSizeGb()
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;getDataDiskSizeGb in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setDataDiskSizeGb(com.google.protobuf.Int64Value value)
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;public CloudSqlSettings.Builder setDataDiskSizeGb(com.google.protobuf.Int64Value.Builder builderForValue)
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;public CloudSqlSettings.Builder mergeDataDiskSizeGb(com.google.protobuf.Int64Value value)
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;public CloudSqlSettings.Builder clearDataDiskSizeGb()
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;public com.google.protobuf.Int64Value.Builder getDataDiskSizeGbBuilder()
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;public com.google.protobuf.Int64ValueOrBuilder getDataDiskSizeGbOrBuilder()
The storage capacity available to the database, in GB. The minimum (and default) size is 10GB.
.google.protobuf.Int64Value data_disk_size_gb = 10;getDataDiskSizeGbOrBuilder in interface CloudSqlSettingsOrBuilderpublic String getZone()
The Google Cloud Platform zone where your Cloud SQL database instance is located.
string zone = 11;getZone in interface CloudSqlSettingsOrBuilderpublic com.google.protobuf.ByteString getZoneBytes()
The Google Cloud Platform zone where your Cloud SQL database instance is located.
string zone = 11;getZoneBytes in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setZone(String value)
The Google Cloud Platform zone where your Cloud SQL database instance is located.
string zone = 11;value - The zone to set.public CloudSqlSettings.Builder clearZone()
The Google Cloud Platform zone where your Cloud SQL database instance is located.
string zone = 11;public CloudSqlSettings.Builder setZoneBytes(com.google.protobuf.ByteString value)
The Google Cloud Platform zone where your Cloud SQL database instance is located.
string zone = 11;value - The bytes for zone to set.public String getSecondaryZone()
Optional. The Google Cloud Platform zone where the failover Cloud SQL database instance is located. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
string secondary_zone = 18 [(.google.api.field_behavior) = OPTIONAL];getSecondaryZone in interface CloudSqlSettingsOrBuilderpublic com.google.protobuf.ByteString getSecondaryZoneBytes()
Optional. The Google Cloud Platform zone where the failover Cloud SQL database instance is located. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
string secondary_zone = 18 [(.google.api.field_behavior) = OPTIONAL];getSecondaryZoneBytes in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setSecondaryZone(String value)
Optional. The Google Cloud Platform zone where the failover Cloud SQL database instance is located. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
string secondary_zone = 18 [(.google.api.field_behavior) = OPTIONAL];value - The secondaryZone to set.public CloudSqlSettings.Builder clearSecondaryZone()
Optional. The Google Cloud Platform zone where the failover Cloud SQL database instance is located. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
string secondary_zone = 18 [(.google.api.field_behavior) = OPTIONAL];public CloudSqlSettings.Builder setSecondaryZoneBytes(com.google.protobuf.ByteString value)
Optional. The Google Cloud Platform zone where the failover Cloud SQL database instance is located. Used when the Cloud SQL database availability type is REGIONAL (i.e. multiple zones / highly available).
string secondary_zone = 18 [(.google.api.field_behavior) = OPTIONAL];value - The bytes for secondaryZone to set.public String getSourceId()
The Database Migration Service source connection profile ID, in the format: `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
string source_id = 12;getSourceId in interface CloudSqlSettingsOrBuilderpublic com.google.protobuf.ByteString getSourceIdBytes()
The Database Migration Service source connection profile ID, in the format: `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
string source_id = 12;getSourceIdBytes in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setSourceId(String value)
The Database Migration Service source connection profile ID, in the format: `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
string source_id = 12;value - The sourceId to set.public CloudSqlSettings.Builder clearSourceId()
The Database Migration Service source connection profile ID, in the format: `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
string source_id = 12;public CloudSqlSettings.Builder setSourceIdBytes(com.google.protobuf.ByteString value)
The Database Migration Service source connection profile ID, in the format: `projects/my_project_name/locations/us-central1/connectionProfiles/connection_profile_ID`
string source_id = 12;value - The bytes for sourceId to set.public String getRootPassword()
Input only. Initial root password.
string root_password = 13 [(.google.api.field_behavior) = INPUT_ONLY];getRootPassword in interface CloudSqlSettingsOrBuilderpublic com.google.protobuf.ByteString getRootPasswordBytes()
Input only. Initial root password.
string root_password = 13 [(.google.api.field_behavior) = INPUT_ONLY];getRootPasswordBytes in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setRootPassword(String value)
Input only. Initial root password.
string root_password = 13 [(.google.api.field_behavior) = INPUT_ONLY];value - The rootPassword to set.public CloudSqlSettings.Builder clearRootPassword()
Input only. Initial root password.
string root_password = 13 [(.google.api.field_behavior) = INPUT_ONLY];public CloudSqlSettings.Builder setRootPasswordBytes(com.google.protobuf.ByteString value)
Input only. Initial root password.
string root_password = 13 [(.google.api.field_behavior) = INPUT_ONLY];value - The bytes for rootPassword to set.public boolean getRootPasswordSet()
Output only. Indicates If this connection profile root password is stored.
bool root_password_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];getRootPasswordSet in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setRootPasswordSet(boolean value)
Output only. Indicates If this connection profile root password is stored.
bool root_password_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];value - The rootPasswordSet to set.public CloudSqlSettings.Builder clearRootPasswordSet()
Output only. Indicates If this connection profile root password is stored.
bool root_password_set = 14 [(.google.api.field_behavior) = OUTPUT_ONLY];public String getCollation()
The Cloud SQL default instance level collation.
string collation = 15;getCollation in interface CloudSqlSettingsOrBuilderpublic com.google.protobuf.ByteString getCollationBytes()
The Cloud SQL default instance level collation.
string collation = 15;getCollationBytes in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setCollation(String value)
The Cloud SQL default instance level collation.
string collation = 15;value - The collation to set.public CloudSqlSettings.Builder clearCollation()
The Cloud SQL default instance level collation.
string collation = 15;public CloudSqlSettings.Builder setCollationBytes(com.google.protobuf.ByteString value)
The Cloud SQL default instance level collation.
string collation = 15;value - The bytes for collation to set.public String getCmekKeyName()
The KMS key name used for the csql instance.
string cmek_key_name = 16;getCmekKeyName in interface CloudSqlSettingsOrBuilderpublic com.google.protobuf.ByteString getCmekKeyNameBytes()
The KMS key name used for the csql instance.
string cmek_key_name = 16;getCmekKeyNameBytes in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setCmekKeyName(String value)
The KMS key name used for the csql instance.
string cmek_key_name = 16;value - The cmekKeyName to set.public CloudSqlSettings.Builder clearCmekKeyName()
The KMS key name used for the csql instance.
string cmek_key_name = 16;public CloudSqlSettings.Builder setCmekKeyNameBytes(com.google.protobuf.ByteString value)
The KMS key name used for the csql instance.
string cmek_key_name = 16;value - The bytes for cmekKeyName to set.public int getAvailabilityTypeValue()
Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
.google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType availability_type = 17 [(.google.api.field_behavior) = OPTIONAL];
getAvailabilityTypeValue in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setAvailabilityTypeValue(int value)
Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
.google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType availability_type = 17 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for availabilityType to set.public CloudSqlSettings.SqlAvailabilityType getAvailabilityType()
Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
.google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType availability_type = 17 [(.google.api.field_behavior) = OPTIONAL];
getAvailabilityType in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setAvailabilityType(CloudSqlSettings.SqlAvailabilityType value)
Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
.google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType availability_type = 17 [(.google.api.field_behavior) = OPTIONAL];
value - The availabilityType to set.public CloudSqlSettings.Builder clearAvailabilityType()
Optional. Availability type. Potential values: * `ZONAL`: The instance serves data from only one zone. Outages in that zone affect data availability. * `REGIONAL`: The instance can serve data from more than one zone in a region (it is highly available).
.google.cloud.clouddms.v1.CloudSqlSettings.SqlAvailabilityType availability_type = 17 [(.google.api.field_behavior) = OPTIONAL];
public int getEditionValue()
Optional. The edition of the given Cloud SQL instance.
.google.cloud.clouddms.v1.CloudSqlSettings.Edition edition = 19 [(.google.api.field_behavior) = OPTIONAL];
getEditionValue in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setEditionValue(int value)
Optional. The edition of the given Cloud SQL instance.
.google.cloud.clouddms.v1.CloudSqlSettings.Edition edition = 19 [(.google.api.field_behavior) = OPTIONAL];
value - The enum numeric value on the wire for edition to set.public CloudSqlSettings.Edition getEdition()
Optional. The edition of the given Cloud SQL instance.
.google.cloud.clouddms.v1.CloudSqlSettings.Edition edition = 19 [(.google.api.field_behavior) = OPTIONAL];
getEdition in interface CloudSqlSettingsOrBuilderpublic CloudSqlSettings.Builder setEdition(CloudSqlSettings.Edition value)
Optional. The edition of the given Cloud SQL instance.
.google.cloud.clouddms.v1.CloudSqlSettings.Edition edition = 19 [(.google.api.field_behavior) = OPTIONAL];
value - The edition to set.public CloudSqlSettings.Builder clearEdition()
Optional. The edition of the given Cloud SQL instance.
.google.cloud.clouddms.v1.CloudSqlSettings.Edition edition = 19 [(.google.api.field_behavior) = OPTIONAL];
public final CloudSqlSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
setUnknownFields in interface com.google.protobuf.Message.BuildersetUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>public final CloudSqlSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
mergeUnknownFields in interface com.google.protobuf.Message.BuildermergeUnknownFields in class com.google.protobuf.GeneratedMessageV3.Builder<CloudSqlSettings.Builder>Copyright © 2024 Google LLC. All rights reserved.