- 2.84.0 (latest)
- 2.82.0
- 2.81.0
- 2.80.0
- 2.79.0
- 2.77.0
- 2.75.0
- 2.74.0
- 2.73.0
- 2.72.0
- 2.71.0
- 2.69.0
- 2.67.0
- 2.66.0
- 2.63.0
- 2.62.0
- 2.61.0
- 2.59.0
- 2.58.0
- 2.57.0
- 2.56.0
- 2.55.0
- 2.54.0
- 2.53.0
- 2.52.0
- 2.51.0
- 2.50.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.39.0
- 2.38.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.27.0
- 2.26.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.11.0
- 2.10.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.0
- 2.3.0
- 2.2.8
- 2.1.9
public static final class AlloyDbSettings.PrimaryInstanceSettings.Builder extends GeneratedMessage.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder> implements AlloyDbSettings.PrimaryInstanceSettingsOrBuilderSettings for the cluster's primary instance
Protobuf type google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > AlloyDbSettings.PrimaryInstanceSettings.BuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
build()
public AlloyDbSettings.PrimaryInstanceSettings build()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings |
|
buildPartial()
public AlloyDbSettings.PrimaryInstanceSettings buildPartial()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings |
|
clear()
public AlloyDbSettings.PrimaryInstanceSettings.Builder clear()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
clearDatabaseFlags()
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearDatabaseFlags()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
This builder for chaining. |
clearLabels()
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearLabels()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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];
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
This builder for chaining. |
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
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 |
| Returns | |
|---|---|
| Type | Description |
boolean |
|
getDatabaseFlags() (deprecated)
public Map<String,String> getDatabaseFlags()Use #getDatabaseFlagsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| 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()| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getId()
public 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 | |
|---|---|
| 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()Use #getLabelsMap() instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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;
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
defaultValue |
String |
| 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;
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig |
The machineConfig. |
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;
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder |
|
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;
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuilder |
|
getMutableDatabaseFlags() (deprecated)
public Map<String,String> getMutableDatabaseFlags()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
getMutableLabels() (deprecated)
public Map<String,String> getMutableLabels()Use alternate mutation accessors instead.
| Returns | |
|---|---|
| Type | Description |
Map<String,String> |
|
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 GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
internalGetMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
internalGetMutableMapFieldReflection(int number)
protected MapFieldReflectionAccessor internalGetMutableMapFieldReflection(int number)| Parameter | |
|---|---|
| Name | Description |
number |
int |
| Returns | |
|---|---|
| Type | Description |
com.google.protobuf.MapFieldReflectionAccessor |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(AlloyDbSettings.PrimaryInstanceSettings other)
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(AlloyDbSettings.PrimaryInstanceSettings other)| Parameter | |
|---|---|
| Name | Description |
other |
AlloyDbSettings.PrimaryInstanceSettings |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
values |
Map<String,String> |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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;
| Parameters | |
|---|---|
| Name | Description |
key |
String |
value |
String |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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 |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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 |
StringThe id to set. |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for id to set. |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
This builder for chaining. |
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;
| Parameter | |
|---|---|
| Name | Description |
value |
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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;
| Parameter | |
|---|---|
| Name | Description |
builderForValue |
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
|
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 |
StringThe privateIp to set. |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
This builder for chaining. |
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 |
ByteStringThe bytes for privateIp to set. |
| Returns | |
|---|---|
| Type | Description |
AlloyDbSettings.PrimaryInstanceSettings.Builder |
This builder for chaining. |