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.BuilderaddRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AlloyDbSettings.PrimaryInstanceSettingsbuild()AlloyDbSettings.PrimaryInstanceSettingsbuildPartial()AlloyDbSettings.PrimaryInstanceSettings.Builderclear()AlloyDbSettings.PrimaryInstanceSettings.BuilderclearDatabaseFlags()AlloyDbSettings.PrimaryInstanceSettings.BuilderclearField(com.google.protobuf.Descriptors.FieldDescriptor field)AlloyDbSettings.PrimaryInstanceSettings.BuilderclearId()Required.AlloyDbSettings.PrimaryInstanceSettings.BuilderclearLabels()AlloyDbSettings.PrimaryInstanceSettings.BuilderclearMachineConfig()Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.BuilderclearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)AlloyDbSettings.PrimaryInstanceSettings.BuilderclearPrivateIp()Output only.AlloyDbSettings.PrimaryInstanceSettings.Builderclone()booleancontainsDatabaseFlags(String key)Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.booleancontainsLabels(String key)Labels for the AlloyDB primary instance created by DMS.Map<String,String>getDatabaseFlags()Deprecated.intgetDatabaseFlagsCount()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.StringgetDatabaseFlagsOrDefault(String key, String defaultValue)Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.StringgetDatabaseFlagsOrThrow(String key)Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.AlloyDbSettings.PrimaryInstanceSettingsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()com.google.protobuf.Descriptors.DescriptorgetDescriptorForType()StringgetId()Required.com.google.protobuf.ByteStringgetIdBytes()Required.Map<String,String>getLabels()Deprecated.intgetLabelsCount()Labels for the AlloyDB primary instance created by DMS.Map<String,String>getLabelsMap()Labels for the AlloyDB primary instance created by DMS.StringgetLabelsOrDefault(String key, String defaultValue)Labels for the AlloyDB primary instance created by DMS.StringgetLabelsOrThrow(String key)Labels for the AlloyDB primary instance created by DMS.AlloyDbSettings.PrimaryInstanceSettings.MachineConfiggetMachineConfig()Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.BuildergetMachineConfigBuilder()Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuildergetMachineConfigOrBuilder()Configuration for the machines that host the underlying database engine.Map<String,String>getMutableDatabaseFlags()Deprecated.Map<String,String>getMutableLabels()Deprecated.StringgetPrivateIp()Output only.com.google.protobuf.ByteStringgetPrivateIpBytes()Output only.booleanhasMachineConfig()Configuration for the machines that host the underlying database engine.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)protected com.google.protobuf.MapFieldinternalGetMutableMapField(int number)booleanisInitialized()AlloyDbSettings.PrimaryInstanceSettings.BuildermergeFrom(AlloyDbSettings.PrimaryInstanceSettings other)AlloyDbSettings.PrimaryInstanceSettings.BuildermergeFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)AlloyDbSettings.PrimaryInstanceSettings.BuildermergeFrom(com.google.protobuf.Message other)AlloyDbSettings.PrimaryInstanceSettings.BuildermergeMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig value)Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.BuildermergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)AlloyDbSettings.PrimaryInstanceSettings.BuilderputAllDatabaseFlags(Map<String,String> values)Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.AlloyDbSettings.PrimaryInstanceSettings.BuilderputAllLabels(Map<String,String> values)Labels for the AlloyDB primary instance created by DMS.AlloyDbSettings.PrimaryInstanceSettings.BuilderputDatabaseFlags(String key, String value)Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.AlloyDbSettings.PrimaryInstanceSettings.BuilderputLabels(String key, String value)Labels for the AlloyDB primary instance created by DMS.AlloyDbSettings.PrimaryInstanceSettings.BuilderremoveDatabaseFlags(String key)Database flags to pass to AlloyDB when DMS is creating the AlloyDB cluster and instances.AlloyDbSettings.PrimaryInstanceSettings.BuilderremoveLabels(String key)Labels for the AlloyDB primary instance created by DMS.AlloyDbSettings.PrimaryInstanceSettings.BuildersetField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)AlloyDbSettings.PrimaryInstanceSettings.BuildersetId(String value)Required.AlloyDbSettings.PrimaryInstanceSettings.BuildersetIdBytes(com.google.protobuf.ByteString value)Required.AlloyDbSettings.PrimaryInstanceSettings.BuildersetMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig value)Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.BuildersetMachineConfig(AlloyDbSettings.PrimaryInstanceSettings.MachineConfig.Builder builderForValue)Configuration for the machines that host the underlying database engine.AlloyDbSettings.PrimaryInstanceSettings.BuildersetPrivateIp(String value)Output only.AlloyDbSettings.PrimaryInstanceSettings.BuildersetPrivateIpBytes(com.google.protobuf.ByteString value)Output only.AlloyDbSettings.PrimaryInstanceSettings.BuildersetRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, int index, Object value)AlloyDbSettings.PrimaryInstanceSettings.BuildersetUnknownFields(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:
internalGetMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
internalGetMutableMapField
protected com.google.protobuf.MapField internalGetMutableMapField(int number)
- Overrides:
internalGetMutableMapFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
clear
public AlloyDbSettings.PrimaryInstanceSettings.Builder clear()
- Specified by:
clearin interfacecom.google.protobuf.Message.Builder- Specified by:
clearin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clearin classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
getDescriptorForType
public com.google.protobuf.Descriptors.Descriptor getDescriptorForType()
- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.Message.Builder- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.MessageOrBuilder- Overrides:
getDescriptorForTypein classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
getDefaultInstanceForType
public AlloyDbSettings.PrimaryInstanceSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
build
public AlloyDbSettings.PrimaryInstanceSettings build()
- Specified by:
buildin interfacecom.google.protobuf.Message.Builder- Specified by:
buildin interfacecom.google.protobuf.MessageLite.Builder
-
buildPartial
public AlloyDbSettings.PrimaryInstanceSettings buildPartial()
- Specified by:
buildPartialin interfacecom.google.protobuf.Message.Builder- Specified by:
buildPartialin interfacecom.google.protobuf.MessageLite.Builder
-
clone
public AlloyDbSettings.PrimaryInstanceSettings.Builder clone()
- Specified by:
clonein interfacecom.google.protobuf.Message.Builder- Specified by:
clonein interfacecom.google.protobuf.MessageLite.Builder- Overrides:
clonein classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
setField
public AlloyDbSettings.PrimaryInstanceSettings.Builder setField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
setFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
clearField
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearField(com.google.protobuf.Descriptors.FieldDescriptor field)
- Specified by:
clearFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
clearFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
clearOneof
public AlloyDbSettings.PrimaryInstanceSettings.Builder clearOneof(com.google.protobuf.Descriptors.OneofDescriptor oneof)
- Specified by:
clearOneofin interfacecom.google.protobuf.Message.Builder- Overrides:
clearOneofin 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:
setRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
setRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
addRepeatedField
public AlloyDbSettings.PrimaryInstanceSettings.Builder addRepeatedField(com.google.protobuf.Descriptors.FieldDescriptor field, Object value)
- Specified by:
addRepeatedFieldin interfacecom.google.protobuf.Message.Builder- Overrides:
addRepeatedFieldin classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
mergeFrom
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(com.google.protobuf.Message other)
- Specified by:
mergeFromin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeFromin classcom.google.protobuf.AbstractMessage.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
mergeFrom
public AlloyDbSettings.PrimaryInstanceSettings.Builder mergeFrom(AlloyDbSettings.PrimaryInstanceSettings other)
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin 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:
mergeFromin interfacecom.google.protobuf.Message.Builder- Specified by:
mergeFromin interfacecom.google.protobuf.MessageLite.Builder- Overrides:
mergeFromin 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:
getIdin 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:
getIdBytesin 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:
hasMachineConfigin 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:
getMachineConfigin 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:
getMachineConfigOrBuilderin interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
getDatabaseFlagsCount
public int getDatabaseFlagsCount()
Description copied from interface:AlloyDbSettings.PrimaryInstanceSettingsOrBuilderDatabase 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:
getDatabaseFlagsCountin 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:
containsDatabaseFlagsin interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
getDatabaseFlags
@Deprecated public Map<String,String> getDatabaseFlags()
Deprecated.UsegetDatabaseFlagsMap()instead.- Specified by:
getDatabaseFlagsin 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:
getDatabaseFlagsMapin 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:
getDatabaseFlagsOrDefaultin 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:
getDatabaseFlagsOrThrowin 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.PrimaryInstanceSettingsOrBuilderLabels for the AlloyDB primary instance created by DMS. An object containing a list of 'key', 'value' pairs.
map<string, string> labels = 7;- Specified by:
getLabelsCountin 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:
containsLabelsin interfaceAlloyDbSettings.PrimaryInstanceSettingsOrBuilder
-
getLabels
@Deprecated public Map<String,String> getLabels()
Deprecated.UsegetLabelsMap()instead.- Specified by:
getLabelsin 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:
getLabelsMapin 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:
getLabelsOrDefaultin 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:
getLabelsOrThrowin 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:
getPrivateIpin 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:
getPrivateIpBytesin 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:
setUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
setUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
mergeUnknownFields
public final AlloyDbSettings.PrimaryInstanceSettings.Builder mergeUnknownFields(com.google.protobuf.UnknownFieldSet unknownFields)
- Specified by:
mergeUnknownFieldsin interfacecom.google.protobuf.Message.Builder- Overrides:
mergeUnknownFieldsin classcom.google.protobuf.GeneratedMessageV3.Builder<AlloyDbSettings.PrimaryInstanceSettings.Builder>
-
-