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 class
AlloyDbSettings.PrimaryInstanceSettings.Builder
Settings for the cluster's primary instancestatic class
AlloyDbSettings.PrimaryInstanceSettings.MachineConfig
MachineConfig describes the configuration of a machine.static interface
AlloyDbSettings.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 int
DATABASE_FLAGS_FIELD_NUMBER
static int
ID_FIELD_NUMBER
static int
LABELS_FIELD_NUMBER
static int
MACHINE_CONFIG_FIELD_NUMBER
static int
PRIVATE_IP_FIELD_NUMBER
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description 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.boolean
equals(Object obj)
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.static AlloyDbSettings.PrimaryInstanceSettings
getDefaultInstance()
AlloyDbSettings.PrimaryInstanceSettings
getDefaultInstanceForType()
static com.google.protobuf.Descriptors.Descriptor
getDescriptor()
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.MachineConfigOrBuilder
getMachineConfigOrBuilder()
Configuration for the machines that host the underlying database engine.com.google.protobuf.Parser<AlloyDbSettings.PrimaryInstanceSettings>
getParserForType()
String
getPrivateIp()
Output only.com.google.protobuf.ByteString
getPrivateIpBytes()
Output only.int
getSerializedSize()
int
hashCode()
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)
boolean
isInitialized()
static AlloyDbSettings.PrimaryInstanceSettings.Builder
newBuilder()
static AlloyDbSettings.PrimaryInstanceSettings.Builder
newBuilder(AlloyDbSettings.PrimaryInstanceSettings prototype)
AlloyDbSettings.PrimaryInstanceSettings.Builder
newBuilderForType()
protected AlloyDbSettings.PrimaryInstanceSettings.Builder
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
protected Object
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
static AlloyDbSettings.PrimaryInstanceSettings
parseDelimitedFrom(InputStream input)
static AlloyDbSettings.PrimaryInstanceSettings
parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AlloyDbSettings.PrimaryInstanceSettings
parseFrom(byte[] data)
static AlloyDbSettings.PrimaryInstanceSettings
parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AlloyDbSettings.PrimaryInstanceSettings
parseFrom(com.google.protobuf.ByteString data)
static AlloyDbSettings.PrimaryInstanceSettings
parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AlloyDbSettings.PrimaryInstanceSettings
parseFrom(com.google.protobuf.CodedInputStream input)
static AlloyDbSettings.PrimaryInstanceSettings
parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AlloyDbSettings.PrimaryInstanceSettings
parseFrom(InputStream input)
static AlloyDbSettings.PrimaryInstanceSettings
parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static AlloyDbSettings.PrimaryInstanceSettings
parseFrom(ByteBuffer data)
static AlloyDbSettings.PrimaryInstanceSettings
parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
static com.google.protobuf.Parser<AlloyDbSettings.PrimaryInstanceSettings>
parser()
AlloyDbSettings.PrimaryInstanceSettings.Builder
toBuilder()
void
writeTo(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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
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
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in 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:
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.
-
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.
-
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
-
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
-
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.
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AlloyDbSettings.PrimaryInstanceSettings.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public AlloyDbSettings.PrimaryInstanceSettings getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-