public static final class AlloyDbSettings.PrimaryInstanceSettings.Builder extends GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder> implements AlloyDbSettings.PrimaryInstanceSettingsOrBuilder
Settings for the cluster's primary instance
Protobuf type google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AlloyDbSettings.PrimaryInstanceSettings build()
buildPartial()
public AlloyDbSettings.PrimaryInstanceSettings buildPartial()
clear()
public AlloyDbSettings.PrimaryInstanceSettings.Builder clear()
Overrides
clearDatabaseFlags()
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearDatabaseFlags()
clearField(Descriptors.FieldDescriptor field)
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearId()
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearId()
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];
clearLabels()
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearLabels()
clearMachineConfig()
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearMachineConfig()
Configuration for the machines that host the underlying
database engine.
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
clearOneof(Descriptors.OneofDescriptor oneof)
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearPrivateIp()
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearPrivateIp()
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];
clone()
public AlloyDbSettings.PrimaryInstanceSettings.Builder clone()
Overrides
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
|
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;
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
|
getDefaultInstanceForType()
public AlloyDbSettings.PrimaryInstanceSettings getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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];
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;
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
|
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;
getMachineConfigBuilder()
public AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder getMachineConfigBuilder()
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;
getMutableDatabaseFlags()
public Map<String,String> getMutableDatabaseFlags()
Use alternate mutation accessors instead.
getMutableLabels()
public Map<String,String> getMutableLabels()
Use alternate mutation accessors instead.
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
internalGetMapField(int number)
protected MapField internalGetMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
internalGetMutableMapField(int number)
protected MapField internalGetMutableMapField(int number)
Parameter |
---|
Name | Description |
number | int
|
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AlloyDbSettings.PrimaryInstanceSettings other)
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(AlloyDbSettings.PrimaryInstanceSettings other)
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig value)
Configuration for the machines that host the underlying
database engine.
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AlloyDbSettings.PrimaryInstanceSettings.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
putAllDatabaseFlags(Map<String,String> values)
public AlloyDbSettings.PrimaryInstanceSettings.Builder putAllDatabaseFlags(Map<String,String> values)
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;
putAllLabels(Map<String,String> values)
public AlloyDbSettings.PrimaryInstanceSettings.Builder putAllLabels(Map<String,String> values)
Labels for the AlloyDB primary instance created by DMS. An object
containing a list of 'key', 'value' pairs.
map<string, string> labels = 7;
putDatabaseFlags(String key, String value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder putDatabaseFlags(String key, String value)
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;
putLabels(String key, String value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder putLabels(String key, String value)
Labels for the AlloyDB primary instance created by DMS. An object
containing a list of 'key', 'value' pairs.
map<string, string> labels = 7;
removeDatabaseFlags(String key)
public AlloyDbSettings.PrimaryInstanceSettings.Builder removeDatabaseFlags(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
|
removeLabels(String key)
public AlloyDbSettings.PrimaryInstanceSettings.Builder removeLabels(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
|
setField(Descriptors.FieldDescriptor field, Object value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setId(String value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder setId(String value)
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];
Parameter |
---|
Name | Description |
value | String
The id to set.
|
setIdBytes(ByteString value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder setIdBytes(ByteString value)
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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for id to set.
|
setMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder setMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig value)
Configuration for the machines that host the underlying
database engine.
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
setMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder builderForValue)
public AlloyDbSettings.PrimaryInstanceSettings.Builder setMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder builderForValue)
Configuration for the machines that host the underlying
database engine.
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
setPrivateIp(String value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder setPrivateIp(String value)
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];
Parameter |
---|
Name | Description |
value | String
The privateIp to set.
|
setPrivateIpBytes(ByteString value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder setPrivateIpBytes(ByteString value)
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];
Parameter |
---|
Name | Description |
value | ByteString
The bytes for privateIp to set.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AlloyDbSettings.PrimaryInstanceSettings.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final AlloyDbSettings.PrimaryInstanceSettings.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides