public static final class AlloyDbSettings.PrimaryInstanceSettings extends GeneratedMessageV3 implements AlloyDbSettings.PrimaryInstanceSettingsOrBuilder
Settings for the cluster's primary instance
Protobuf type google.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() (deprecated)
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 [(.google.api.field_behavior) = REQUIRED];
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 [(.google.api.field_behavior) = REQUIRED];
Returns |
Type |
Description |
ByteString |
The bytes for id.
|
getLabels() (deprecated)
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.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.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 [(.google.api.field_behavior) = OUTPUT_ONLY];
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 [(.google.api.field_behavior) = OUTPUT_ONLY];
Returns |
Type |
Description |
ByteString |
The bytes for privateIp.
|
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
hasMachineConfig()
public boolean hasMachineConfig()
Configuration for the machines that host the underlying
database engine.
.google.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
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)
Parameter |
Name |
Description |
number |
int
|
Returns |
Type |
Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
Overrides
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
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