Class DatabaseType.Builder (2.54.0)

public static final class DatabaseType.Builder extends GeneratedMessageV3.Builder<DatabaseType.Builder> implements DatabaseTypeOrBuilder

A message defining the database engine and provider.

Protobuf type google.cloud.clouddms.v1.DatabaseType

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatabaseType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatabaseType.Builder
Overrides

build()

public DatabaseType build()
Returns
Type Description
DatabaseType

buildPartial()

public DatabaseType buildPartial()
Returns
Type Description
DatabaseType

clear()

public DatabaseType.Builder clear()
Returns
Type Description
DatabaseType.Builder
Overrides

clearEngine()

public DatabaseType.Builder clearEngine()

The database engine.

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

Returns
Type Description
DatabaseType.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DatabaseType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
DatabaseType.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DatabaseType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
DatabaseType.Builder
Overrides

clearProvider()

public DatabaseType.Builder clearProvider()

The database provider.

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

Returns
Type Description
DatabaseType.Builder

This builder for chaining.

clone()

public DatabaseType.Builder clone()
Returns
Type Description
DatabaseType.Builder
Overrides

getDefaultInstanceForType()

public DatabaseType getDefaultInstanceForType()
Returns
Type Description
DatabaseType

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(DatabaseType other)

public DatabaseType.Builder mergeFrom(DatabaseType other)
Parameter
Name Description
other DatabaseType
Returns
Type Description
DatabaseType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatabaseType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
DatabaseType.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public DatabaseType.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
DatabaseType.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatabaseType.Builder
Overrides

setEngine(DatabaseEngine value)

public DatabaseType.Builder setEngine(DatabaseEngine value)

The database engine.

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

Parameter
Name Description
value DatabaseEngine

The engine to set.

Returns
Type Description
DatabaseType.Builder

This builder for chaining.

setEngineValue(int value)

public DatabaseType.Builder setEngineValue(int value)

The database engine.

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

Parameter
Name Description
value int

The enum numeric value on the wire for engine to set.

Returns
Type Description
DatabaseType.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DatabaseType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
DatabaseType.Builder
Overrides

setProvider(DatabaseProvider value)

public DatabaseType.Builder setProvider(DatabaseProvider value)

The database provider.

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

Parameter
Name Description
value DatabaseProvider

The provider to set.

Returns
Type Description
DatabaseType.Builder

This builder for chaining.

setProviderValue(int value)

public DatabaseType.Builder setProviderValue(int value)

The database provider.

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

Parameter
Name Description
value int

The enum numeric value on the wire for provider to set.

Returns
Type Description
DatabaseType.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public DatabaseType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
DatabaseType.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
DatabaseType.Builder
Overrides