Package com.google.cloud.clouddms.v1
Class AlloyDbSettings.PrimaryInstanceSettings
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings
-
- All Implemented Interfaces:
AlloyDbSettings.PrimaryInstanceSettingsOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- AlloyDbSettings
public static final class AlloyDbSettings.PrimaryInstanceSettings extends com.google.protobuf.GeneratedMessageV3 implements AlloyDbSettings.PrimaryInstanceSettingsOrBuilder
Settings for the cluster's primary instance
Protobuf typegoogle.cloud.clouddms.v1.AlloyDbSettings.PrimaryInstanceSettings- See Also:
- Serialized Form
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static classAlloyDbSettings.PrimaryInstanceSettings.BuilderSettings for the cluster's primary instancestatic classAlloyDbSettings.PrimaryInstanceSettings.MachineConfigMachineConfig describes the configuration of a machine.static interfaceAlloyDbSettings.PrimaryInstanceSettings.MachineConfigOrBuilder-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intDATABASE_FLAGS_FIELD_NUMBERstatic intID_FIELD_NUMBERstatic intLABELS_FIELD_NUMBERstatic intMACHINE_CONFIG_FIELD_NUMBERstatic intPRIVATE_IP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.booleanequals(Object obj)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.static AlloyDbSettings.PrimaryInstanceSettingsgetDefaultInstance()AlloyDbSettings.PrimaryInstanceSettingsgetDefaultInstanceForType()static com.google.protobuf.Descriptors.DescriptorgetDescriptor()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.MachineConfigOrBuildergetMachineConfigOrBuilder()Configuration for the machines that host the underlying database engine.com.google.protobuf.Parser<AlloyDbSettings.PrimaryInstanceSettings>getParserForType()StringgetPrivateIp()Output only.com.google.protobuf.ByteStringgetPrivateIpBytes()Output only.intgetSerializedSize()inthashCode()booleanhasMachineConfig()Configuration for the machines that host the underlying database engine.protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()protected com.google.protobuf.MapFieldinternalGetMapField(int number)booleanisInitialized()static AlloyDbSettings.PrimaryInstanceSettings.BuildernewBuilder()static AlloyDbSettings.PrimaryInstanceSettings.BuildernewBuilder(AlloyDbSettings.PrimaryInstanceSettings prototype)AlloyDbSettings.PrimaryInstanceSettings.BuildernewBuilderForType()protected AlloyDbSettings.PrimaryInstanceSettings.BuildernewBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)protected ObjectnewInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)static AlloyDbSettings.PrimaryInstanceSettingsparseDelimitedFrom(InputStream input)static AlloyDbSettings.PrimaryInstanceSettingsparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AlloyDbSettings.PrimaryInstanceSettingsparseFrom(byte[] data)static AlloyDbSettings.PrimaryInstanceSettingsparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AlloyDbSettings.PrimaryInstanceSettingsparseFrom(com.google.protobuf.ByteString data)static AlloyDbSettings.PrimaryInstanceSettingsparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AlloyDbSettings.PrimaryInstanceSettingsparseFrom(com.google.protobuf.CodedInputStream input)static AlloyDbSettings.PrimaryInstanceSettingsparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AlloyDbSettings.PrimaryInstanceSettingsparseFrom(InputStream input)static AlloyDbSettings.PrimaryInstanceSettingsparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static AlloyDbSettings.PrimaryInstanceSettingsparseFrom(ByteBuffer data)static AlloyDbSettings.PrimaryInstanceSettingsparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)static com.google.protobuf.Parser<AlloyDbSettings.PrimaryInstanceSettings>parser()AlloyDbSettings.PrimaryInstanceSettings.BuildertoBuilder()voidwriteTo(com.google.protobuf.CodedOutputStream output)-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
ID_FIELD_NUMBER
public static final int ID_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MACHINE_CONFIG_FIELD_NUMBER
public static final int MACHINE_CONFIG_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DATABASE_FLAGS_FIELD_NUMBER
public static final int DATABASE_FLAGS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
LABELS_FIELD_NUMBER
public static final int LABELS_FIELD_NUMBER
- See Also:
- Constant Field Values
-
PRIVATE_IP_FIELD_NUMBER
public static final int PRIVATE_IP_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
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.
-
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.
-
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
-
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
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static AlloyDbSettings.PrimaryInstanceSettings parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public AlloyDbSettings.PrimaryInstanceSettings.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static AlloyDbSettings.PrimaryInstanceSettings.Builder newBuilder()
-
newBuilder
public static AlloyDbSettings.PrimaryInstanceSettings.Builder newBuilder(AlloyDbSettings.PrimaryInstanceSettings prototype)
-
toBuilder
public AlloyDbSettings.PrimaryInstanceSettings.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AlloyDbSettings.PrimaryInstanceSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static AlloyDbSettings.PrimaryInstanceSettings getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<AlloyDbSettings.PrimaryInstanceSettings> parser()
-
getParserForType
public com.google.protobuf.Parser<AlloyDbSettings.PrimaryInstanceSettings> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AlloyDbSettings.PrimaryInstanceSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-