Class DatabaseType (2.48.0)

public final class DatabaseType extends GeneratedMessageV3 implements DatabaseTypeOrBuilder

A message defining the database engine and provider.

Protobuf type google.cloud.clouddms.v1.DatabaseType

Static Fields

ENGINE_FIELD_NUMBER

public static final int ENGINE_FIELD_NUMBER
Field Value
Type Description
int

PROVIDER_FIELD_NUMBER

public static final int PROVIDER_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static DatabaseType getDefaultInstance()
Returns
Type Description
DatabaseType

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static DatabaseType.Builder newBuilder()
Returns
Type Description
DatabaseType.Builder

newBuilder(DatabaseType prototype)

public static DatabaseType.Builder newBuilder(DatabaseType prototype)
Parameter
Name Description
prototype DatabaseType
Returns
Type Description
DatabaseType.Builder

parseDelimitedFrom(InputStream input)

public static DatabaseType parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatabaseType
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseType
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static DatabaseType parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
DatabaseType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatabaseType parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
DatabaseType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatabaseType parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
DatabaseType
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseType
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static DatabaseType parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
DatabaseType
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseType
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static DatabaseType parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
DatabaseType
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseType
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<DatabaseType> parser()
Returns
Type Description
Parser<DatabaseType>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public DatabaseType getDefaultInstanceForType()
Returns
Type Description
DatabaseType

getEngine()

public DatabaseEngine getEngine()

The database engine.

.google.cloud.clouddms.v1.DatabaseEngine engine = 2;

Returns
Type Description
DatabaseEngine

The engine.

getEngineValue()

public int getEngineValue()

The database engine.

.google.cloud.clouddms.v1.DatabaseEngine engine = 2;

Returns
Type Description
int

The enum numeric value on the wire for engine.

getParserForType()

public Parser<DatabaseType> getParserForType()
Returns
Type Description
Parser<DatabaseType>
Overrides

getProvider()

public DatabaseProvider getProvider()

The database provider.

.google.cloud.clouddms.v1.DatabaseProvider provider = 1;

Returns
Type Description
DatabaseProvider

The provider.

getProviderValue()

public int getProviderValue()

The database provider.

.google.cloud.clouddms.v1.DatabaseProvider provider = 1;

Returns
Type Description
int

The enum numeric value on the wire for provider.

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public DatabaseType.Builder newBuilderForType()
Returns
Type Description
DatabaseType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatabaseType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
DatabaseType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public DatabaseType.Builder toBuilder()
Returns
Type Description
DatabaseType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException