Class DatabaseEngineInfo (2.33.0)

public final class DatabaseEngineInfo extends GeneratedMessageV3 implements DatabaseEngineInfoOrBuilder

The type and version of a source or destination database.

Protobuf type google.cloud.clouddms.v1.DatabaseEngineInfo

Static Fields

ENGINE_FIELD_NUMBER

public static final int ENGINE_FIELD_NUMBER
Field Value
TypeDescription
int

VERSION_FIELD_NUMBER

public static final int VERSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static DatabaseEngineInfo getDefaultInstance()
Returns
TypeDescription
DatabaseEngineInfo

getDescriptor()

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

newBuilder()

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

newBuilder(DatabaseEngineInfo prototype)

public static DatabaseEngineInfo.Builder newBuilder(DatabaseEngineInfo prototype)
Parameter
NameDescription
prototypeDatabaseEngineInfo
Returns
TypeDescription
DatabaseEngineInfo.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public DatabaseEngineInfo getDefaultInstanceForType()
Returns
TypeDescription
DatabaseEngineInfo

getEngine()

public DatabaseEngine getEngine()

Required. Engine type.

.google.cloud.clouddms.v1.DatabaseEngine engine = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
DatabaseEngine

The engine.

getEngineValue()

public int getEngineValue()

Required. Engine type.

.google.cloud.clouddms.v1.DatabaseEngine engine = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for engine.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getVersion()

public String getVersion()

Required. Engine named version, for example 12.c.1.

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The version.

getVersionBytes()

public ByteString getVersionBytes()

Required. Engine named version, for example 12.c.1.

string version = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for version.

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 DatabaseEngineInfo.Builder newBuilderForType()
Returns
TypeDescription
DatabaseEngineInfo.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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