Package com.google.cloud.clouddms.v1
Class AlloyDbSettings.PrimaryInstanceSettings.Builder
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite.Builder
-
- com.google.protobuf.AbstractMessage.Builder<BuilderT>
-
- com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
- com.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.Builder
-
- All Implemented Interfaces:
AlloyDbSettings.PrimaryInstanceSettingsOrBuilder
,com.google.protobuf.Message.Builder
,com.google.protobuf.MessageLite.Builder
,com.google.protobuf.MessageLiteOrBuilder
,com.google.protobuf.MessageOrBuilder
,Cloneable
- Enclosing class:
- AlloyDbSettings.PrimaryInstanceSettings
public static final class AlloyDbSettings.PrimaryInstanceSettings.Builder extends com.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder> implements AlloyDbSettings.PrimaryInstanceSettingsOrBuilder
Settings for the cluster's primary instance
Protobuf typegoogle.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description AlloyDbSettings.PrimaryInstanceSettings.Builder
addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AlloyDbSettings.PrimaryInstanceSettings
build()
AlloyDbSettings.PrimaryInstanceSettings
buildPartial()
AlloyDbSettings.PrimaryInstanceSettings.Builder
clear()
AlloyDbSettings.PrimaryInstanceSettings.Builder
clearDatabaseFlags()
AlloyDbSettings.PrimaryInstanceSettings.Builder
clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
AlloyDbSettings.PrimaryInstanceSettings.Builder
clearId()
Required.AlloyDbSettings.PrimaryInstanceSettings.Builder
clearLabels()
AlloyDbSettings.PrimaryInstanceSettings.Builder
clearMachineConfig()
Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.Builder
clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
AlloyDbSettings.PrimaryInstanceSettings.Builder
clearPrivateIp()
Output only.AlloyDbSettings.PrimaryInstanceSettings.Builder
clone()
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.AlloyDbSettings.PrimaryInstanceSettings
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
com.google.protobuf.Descriptors.Descriptor
getDescriptorForType()
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.MachineConfig.Builder
getMachineConfigBuilder()
Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuilder
getMachineConfigOrBuilder()
Configuration for the machines that host the underlying database engine.Map<String,String>
getMutableDatabaseFlags()
Deprecated.Map<String,String>
getMutableLabels()
Deprecated.String
getPrivateIp()
Output only.com.google.protobuf.ByteString
getPrivateIpBytes()
Output only.boolean
hasMachineConfig()
Configuration for the machines that host the underlying database engine.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable
internalGetFieldAccessorTable()
protected com.google.protobuf.MapField
internalGetMapField(int number)
protected com.google.protobuf.MapField
internalGetMutableMapField(int number)
boolean
isInitialized()
AlloyDbSettings.PrimaryInstanceSettings.Builder
mergeFrom(AlloyDbSettings.PrimaryInstanceSettings other)
AlloyDbSettings.PrimaryInstanceSettings.Builder
mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
AlloyDbSettings.PrimaryInstanceSettings.Builder
mergeFrom(com.google.protobuf.Message other)
AlloyDbSettings.PrimaryInstanceSettings.Builder
mergeMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig value)
Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.Builder
mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
AlloyDbSettings.PrimaryInstanceSettings.Builder
putAllDatabaseFlags(Map<String,String> values)
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.AlloyDbSettings.PrimaryInstanceSettings.Builder
putAllLabels(Map<String,String> values)
Labels for the AlloyDB primary instance created by DMS.AlloyDbSettings.PrimaryInstanceSettings.Builder
putDatabaseFlags(String key, String value)
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.AlloyDbSettings.PrimaryInstanceSettings.Builder
putLabels(String key, String value)
Labels for the AlloyDB primary instance created by DMS.AlloyDbSettings.PrimaryInstanceSettings.Builder
removeDatabaseFlags(String key)
Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.AlloyDbSettings.PrimaryInstanceSettings.Builder
removeLabels(String key)
Labels for the AlloyDB primary instance created by DMS.AlloyDbSettings.PrimaryInstanceSettings.Builder
setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
AlloyDbSettings.PrimaryInstanceSettings.Builder
setId(String value)
Required.AlloyDbSettings.PrimaryInstanceSettings.Builder
setIdBytes(com.google.protobuf.ByteString value)
Required.AlloyDbSettings.PrimaryInstanceSettings.Builder
setMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig value)
Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.Builder
setMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder builderForValue)
Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.Builder
setPrivateIp(String value)
Output only.AlloyDbSettings.PrimaryInstanceSettings.Builder
setPrivateIpBytes(com.google.protobuf.ByteString value)
Output only.AlloyDbSettings.PrimaryInstanceSettings.Builder
setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
AlloyDbSettings.PrimaryInstanceSettings.Builder
setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3.Builder
getAllFields, getField, getFieldBuilder, getOneofFieldDescriptor, getParentForChildren, getRepeatedField, getRepeatedFieldBuilder, getRepeatedFieldCount, getUnknownFields, getUnknownFieldSetBuilder, hasField, hasOneof, isClean, markClean, mergeUnknownLengthDelimitedField, mergeUnknownVarintField, newBuilderForField, onBuilt, onChanged, parseUnknownField, setUnknownFieldSetBuilder, setUnknownFieldsProto3
-
Methods inherited from class com.google.protobuf.AbstractMessage.Builder
findInitializationErrors, getInitializationErrorString, internalMergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, mergeFrom, newUninitializedMessageException, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite.Builder
addAll, addAll, mergeDelimitedFrom, mergeDelimitedFrom, mergeFrom, newUninitializedMessageException
-
Methods inherited from class java.lang.Object
equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
-
-
-
-
Method Detail
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetMapField
protected com.google.protobuf.MapField internalGetMapField(int number)
- Overrides:
internalGetMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
clear
public AlloyDbSettings.PrimaryInstanceSettings.Builder clear()
- Specified by:
clear
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clear
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clear
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.Message.Builder
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.MessageOrBuilder
- Overrides:
getDescriptorForType
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
getDefaultInstanceForType
public AlloyDbSettings.PrimaryInstanceSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
build
public AlloyDbSettings.PrimaryInstanceSettings build()
- Specified by:
build
in interfacecom.google.protobuf.Message.Builder
- Specified by:
build
in interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AlloyDbSettings.PrimaryInstanceSettings buildPartial()
- Specified by:
buildPartial
in interfacecom.google.protobuf.Message.Builder
- Specified by:
buildPartial
in interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AlloyDbSettings.PrimaryInstanceSettings.Builder clone()
- Specified by:
clone
in interfacecom.google.protobuf.Message.Builder
- Specified by:
clone
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
clone
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
setField
public AlloyDbSettings.PrimaryInstanceSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
clearField
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
clearOneof
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneof
in interfacecom.google.protobuf.Message.Builder
- Overrides:
clearOneof
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
setRepeatedField
public AlloyDbSettings.PrimaryInstanceSettings.Builder setRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)
- Specified by:
setRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
addRepeatedField
public AlloyDbSettings.PrimaryInstanceSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedField
in interfacecom.google.protobuf.Message.Builder
- Overrides:
addRepeatedField
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
mergeFrom
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
mergeFrom
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(AlloyDbSettings.PrimaryInstanceSettings other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
mergeFrom
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Specified by:
mergeFrom
in interfacecom.google.protobuf.Message.Builder
- Specified by:
mergeFrom
in interfacecom.google.protobuf.MessageLite.Builder
- Overrides:
mergeFrom
in classcom.google.protobuf.AbstractMessage.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
- Throws:
IOException
-
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];
- Specified by:
getId
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
- Returns:
- The id.
-
getIdBytes
public 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];
- Specified by:
getIdBytes
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
- Returns:
- The bytes for id.
-
setId
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];
- Parameters:
value
- The id to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setIdBytes
public AlloyDbSettings.PrimaryInstanceSettings.Builder setIdBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for id to set.- Returns:
- This builder for chaining.
-
hasMachineConfig
public boolean hasMachineConfig()
Configuration for the machines that host the underlying database engine.
.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig machine_config = 2;
- Specified by:
hasMachineConfig
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
- Returns:
- Whether the machineConfig field is set.
-
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;
- Specified by:
getMachineConfig
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
- Returns:
- The machineConfig.
-
setMachineConfig
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
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;
-
mergeMachineConfig
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;
-
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;
-
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;
- Specified by:
getMachineConfigOrBuilder
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
getDatabaseFlagsCount
public int getDatabaseFlagsCount()
Description copied from interface:AlloyDbSettings.PrimaryInstanceSettingsOrBuilder
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;
- Specified by:
getDatabaseFlagsCount
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
containsDatabaseFlags
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;
- Specified by:
containsDatabaseFlags
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
getDatabaseFlags
@Deprecated public Map<String,String> getDatabaseFlags()
Deprecated.UsegetDatabaseFlagsMap()
instead.- Specified by:
getDatabaseFlags
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
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;
- Specified by:
getDatabaseFlagsMap
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
getDatabaseFlagsOrDefault
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;
- Specified by:
getDatabaseFlagsOrDefault
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
getDatabaseFlagsOrThrow
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;
- Specified by:
getDatabaseFlagsOrThrow
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
clearDatabaseFlags
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearDatabaseFlags()
-
removeDatabaseFlags
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;
-
getMutableDatabaseFlags
@Deprecated public Map<String,String> getMutableDatabaseFlags()
Deprecated.Use alternate mutation accessors instead.
-
putDatabaseFlags
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;
-
putAllDatabaseFlags
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;
-
getLabelsCount
public int getLabelsCount()
Description copied from interface:AlloyDbSettings.PrimaryInstanceSettingsOrBuilder
Labels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 7;
- Specified by:
getLabelsCount
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
containsLabels
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;
- Specified by:
containsLabels
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()
instead.- Specified by:
getLabels
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
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;
- Specified by:
getLabelsMap
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
getLabelsOrDefault
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;
- Specified by:
getLabelsOrDefault
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
getLabelsOrThrow
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;
- Specified by:
getLabelsOrThrow
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
clearLabels
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearLabels()
-
removeLabels
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;
-
getMutableLabels
@Deprecated public Map<String,String> getMutableLabels()
Deprecated.Use alternate mutation accessors instead.
-
putLabels
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;
-
putAllLabels
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;
-
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];
- Specified by:
getPrivateIp
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
- Returns:
- The privateIp.
-
getPrivateIpBytes
public 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];
- Specified by:
getPrivateIpBytes
in interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
- Returns:
- The bytes for privateIp.
-
setPrivateIp
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];
- Parameters:
value
- The privateIp to set.- Returns:
- This builder for chaining.
-
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:
- This builder for chaining.
-
setPrivateIpBytes
public AlloyDbSettings.PrimaryInstanceSettings.Builder setPrivateIpBytes(com.google.protobuf.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];
- Parameters:
value
- The bytes for privateIp to set.- Returns:
- This builder for chaining.
-
setUnknownFields
public final AlloyDbSettings.PrimaryInstanceSettings.Builder setUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
setUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
setUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
mergeUnknownFields
public final AlloyDbSettings.PrimaryInstanceSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFields
in interfacecom.google.protobuf.Message.Builder
- Overrides:
mergeUnknownFields
in classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
-