Package com.google.cloud.clouddms.v1
Interface AlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
AlloyDbSettings.PrimaryInstanceSettings
,AlloyDbSettings.PrimaryInstanceSettings.Builder
- Enclosing class:
- AlloyDbSettings
public static interface AlloyDbSettings.PrimaryInstanceSettingsOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description boolean
containsDatabaseFlags(String key)
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.boolean
containsLabels(String key)
Labels for the AlloyDB primary instance created by DMS.Map<String,String>
getDatabaseFlags()
Deprecated.int
getDatabaseFlagsCount()
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.Map<String,String>
getDatabaseFlagsMap()
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.String
getDatabaseFlagsOrDefault(String key, String defaultValue)
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.String
getDatabaseFlagsOrThrow(String key)
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.String
getId()
Required.com.google.protobuf.ByteString
getIdBytes()
Required.Map<String,String>
getLabels()
Deprecated.int
getLabelsCount()
Labels for the AlloyDB primary instance created by DMS.Map<String,String>
getLabelsMap()
Labels for the AlloyDB primary instance created by DMS.String
getLabelsOrDefault(String key, String defaultValue)
Labels for the AlloyDB primary instance created by DMS.String
getLabelsOrThrow(String key)
Labels for the AlloyDB primary instance created by DMS.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
getMachineConfig()
Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuilder
getMachineConfigOrBuilder()
Configuration for the machines that host the underlying database engine.String
getPrivateIp()
Output only.com.google.protobuf.ByteString
getPrivateIpBytes()
Output only.boolean
hasMachineConfig()
Configuration for the machines that host the underlying database engine.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getId
String getId()
Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression "[a-z0-9-]+".
string id = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The id.
-
getIdBytes
com.google.protobuf.ByteString getIdBytes()
Required. The ID of the AlloyDB primary instance. The ID must satisfy the regex expression "[a-z0-9-]+".
string id = 1 [(.google.api.field_behavior) = REQUIRED];
- Returns:
- The bytes for id.
-
hasMachineConfig
boolean hasMachineConfig()
Configuration for the machines that host the underlying database engine.
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
- Returns:
- Whether the machineConfig field is set.
-
getMachineConfig
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig getMachineConfig()
Configuration for the machines that host the underlying database engine.
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
- Returns:
- The machineConfig.
-
getMachineConfigOrBuilder
AlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuilder getMachineConfigOrBuilder()
Configuration for the machines that host the underlying database engine.
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
-
getDatabaseFlagsCount
int getDatabaseFlagsCount()
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.
map<string, string> database_flags = 6;
-
containsDatabaseFlags
boolean containsDatabaseFlags(String key)
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.
map<string, string> database_flags = 6;
-
getDatabaseFlags
@Deprecated Map<String,String> getDatabaseFlags()
Deprecated.UsegetDatabaseFlagsMap()
instead.
-
getDatabaseFlagsMap
Map<String,String> getDatabaseFlagsMap()
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.
map<string, string> database_flags = 6;
-
getDatabaseFlagsOrDefault
String getDatabaseFlagsOrDefault(String key, String defaultValue)
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.
map<string, string> database_flags = 6;
-
getDatabaseFlagsOrThrow
String getDatabaseFlagsOrThrow(String key)
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances. See the AlloyDB documentation for how these can be used.
map<string, string> database_flags = 6;
-
getLabelsCount
int getLabelsCount()
Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 7;
-
containsLabels
boolean containsLabels(String key)
Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 7;
-
getLabels
@Deprecated Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.
-
getLabelsMap
Map<String,String> getLabelsMap()
Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 7;
-
getLabelsOrDefault
String getLabelsOrDefault(String key, String defaultValue)
Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 7;
-
getLabelsOrThrow
String getLabelsOrThrow(String key)
Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 7;
-
getPrivateIp
String getPrivateIp()
Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.
string private_ip = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The privateIp.
-
getPrivateIpBytes
com.google.protobuf.ByteString getPrivateIpBytes()
Output only. The private IP address for the Instance. This is the connection endpoint for an end-user application.
string private_ip = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];
- Returns:
- The bytes for privateIp.
-
-