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()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static DatabaseType.Builder newBuilder()
newBuilder(DatabaseType prototype)
public static DatabaseType.Builder newBuilder(DatabaseType prototype)
public static DatabaseType parseDelimitedFrom(InputStream input)
public static DatabaseType parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static DatabaseType parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static DatabaseType parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static DatabaseType parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatabaseType parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static DatabaseType parseFrom(CodedInputStream input)
public static DatabaseType parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static DatabaseType parseFrom(InputStream input)
public static DatabaseType parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static DatabaseType parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static DatabaseType parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<DatabaseType> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getDefaultInstanceForType()
public DatabaseType getDefaultInstanceForType()
getEngine()
public DatabaseEngine getEngine()
The database engine.
.google.cloud.clouddms.v1.DatabaseEngine engine = 2;
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()
Overrides
getProvider()
public DatabaseProvider getProvider()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 1;
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
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Overrides
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public DatabaseType.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected DatabaseType.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public DatabaseType.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides