Class DatabaseType (2.34.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
TypeDescription
int

PROVIDER_FIELD_NUMBER

public static final int PROVIDER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DatabaseType getDefaultInstance()
Returns
TypeDescription
DatabaseType

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static DatabaseType.Builder newBuilder()
Returns
TypeDescription
DatabaseType.Builder

newBuilder(DatabaseType prototype)

public static DatabaseType.Builder newBuilder(DatabaseType prototype)
Parameter
NameDescription
prototypeDatabaseType
Returns
TypeDescription
DatabaseType.Builder

parseDelimitedFrom(InputStream input)

public static DatabaseType parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static DatabaseType parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static DatabaseType parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static DatabaseType parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static DatabaseType parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static DatabaseType parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static DatabaseType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseType
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<DatabaseType> parser()
Returns
TypeDescription
Parser<DatabaseType>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public DatabaseType getDefaultInstanceForType()
Returns
TypeDescription
DatabaseType

getEngine()

public DatabaseEngine getEngine()

The database engine.

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

Returns
TypeDescription
DatabaseEngine

The engine.

getEngineValue()

public int getEngineValue()

The database engine.

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

Returns
TypeDescription
int

The enum numeric value on the wire for engine.

getParserForType()

public Parser<DatabaseType> getParserForType()
Returns
TypeDescription
Parser<DatabaseType>
Overrides

getProvider()

public DatabaseProvider getProvider()

The database provider.

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

Returns
TypeDescription
DatabaseProvider

The provider.

getProviderValue()

public int getProviderValue()

The database provider.

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

Returns
TypeDescription
int

The enum numeric value on the wire for provider.

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public DatabaseType.Builder newBuilderForType()
Returns
TypeDescription
DatabaseType.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected DatabaseType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
DatabaseType.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public DatabaseType.Builder toBuilder()
Returns
TypeDescription
DatabaseType.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException