Class AlloyDbSettings.PrimaryInstanceSettings (0.16.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version latestkeyboard_arrow_down
public static final class AlloyDbSettings . PrimaryInstanceSettings extends GeneratedMessageV3 implements AlloyDbSettings . PrimaryInstanceSettingsOrBuilder
Settings for the cluster's primary instance
Protobuf type google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
DATABASE_FLAGS_FIELD_NUMBER
public static final int DATABASE_FLAGS_FIELD_NUMBER
Field Value
Type
Description
int
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
Field Value
Type
Description
int
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
Field Value
Type
Description
int
MACHINE_CONFIG_FIELD_NUMBER
public static final int MACHINE_CONFIG_FIELD_NUMBER
Field Value
Type
Description
int
PRIVATE_IP_FIELD_NUMBER
public static final int PRIVATE_IP_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static AlloyDbSettings . PrimaryInstanceSettings getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static AlloyDbSettings . PrimaryInstanceSettings . Builder newBuilder ()
newBuilder(AlloyDbSettings.PrimaryInstanceSettings prototype)
public static AlloyDbSettings . PrimaryInstanceSettings . Builder newBuilder ( AlloyDbSettings . PrimaryInstanceSettings prototype )
public static AlloyDbSettings . PrimaryInstanceSettings parseDelimitedFrom ( InputStream input )
public static AlloyDbSettings . PrimaryInstanceSettings parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static AlloyDbSettings . PrimaryInstanceSettings parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AlloyDbSettings . PrimaryInstanceSettings parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static AlloyDbSettings . PrimaryInstanceSettings parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AlloyDbSettings . PrimaryInstanceSettings parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static AlloyDbSettings . PrimaryInstanceSettings parseFrom ( CodedInputStream input )
public static AlloyDbSettings . PrimaryInstanceSettings parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static AlloyDbSettings . PrimaryInstanceSettings parseFrom ( InputStream input )
public static AlloyDbSettings . PrimaryInstanceSettings parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static AlloyDbSettings . PrimaryInstanceSettings parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AlloyDbSettings . PrimaryInstanceSettings parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<AlloyDbSettings . PrimaryInstanceSettings > parser ()
Methods
containsDatabaseFlags(String key)
public 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;
Parameter
Name
Description
key
String
containsLabels(String key)
public 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;
Parameter
Name
Description
key
String
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
getDatabaseFlags()
public Map<String , String > getDatabaseFlags ()
getDatabaseFlagsCount()
public 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;
Returns
Type
Description
int
getDatabaseFlagsMap()
public 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 key, String defaultValue)
public 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;
Returns
Type
Description
String
getDatabaseFlagsOrThrow(String key)
public 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;
Parameter
Name
Description
key
String
Returns
Type
Description
String
getDefaultInstanceForType()
public AlloyDbSettings . PrimaryInstanceSettings getDefaultInstanceForType ()
getId()
Required. The ID of the AlloyDB primary instance. The ID must satisfy the
regex expression "[a-z0-9-]+".
string id = 1;
Returns
Type
Description
String
The id.
getIdBytes()
public ByteString getIdBytes ()
Required. The ID of the AlloyDB primary instance. The ID must satisfy the
regex expression "[a-z0-9-]+".
string id = 1;
Returns
Type
Description
ByteString
The bytes for id.
getLabels()
public Map<String , String > getLabels ()
getLabelsCount()
public 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;
Returns
Type
Description
int
getLabelsMap()
public 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 key, String defaultValue)
public 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;
Returns
Type
Description
String
getLabelsOrThrow(String key)
public 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;
Parameter
Name
Description
key
String
Returns
Type
Description
String
getMachineConfig()
public AlloyDbSettings . PrimaryInstanceSettings . MachineConfig getMachineConfig ()
Configuration for the machines that host the underlying
database engine.
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
getMachineConfigOrBuilder()
public AlloyDbSettings . PrimaryInstanceSettings . MachineConfigOrBuilder getMachineConfigOrBuilder ()
Configuration for the machines that host the underlying
database engine.
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
getParserForType()
public Parser<AlloyDbSettings . PrimaryInstanceSettings > getParserForType ()
Overrides
getPrivateIp()
public 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;
Returns
Type
Description
String
The privateIp.
getPrivateIpBytes()
public 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;
Returns
Type
Description
ByteString
The bytes for privateIp.
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getUnknownFields()
public final UnknownFieldSet getUnknownFields ()
Overrides
hasMachineConfig()
public boolean hasMachineConfig ()
Configuration for the machines that host the underlying
database engine.
.google.events.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
Returns
Type
Description
boolean
Whether the machineConfig field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField ( int number )
Parameter
Name
Description
number
int
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public AlloyDbSettings . PrimaryInstanceSettings . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AlloyDbSettings . PrimaryInstanceSettings . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public AlloyDbSettings . PrimaryInstanceSettings . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-07 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[],[]]