Class DatabaseType.Builder (2.2.5)

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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public DatabaseType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DatabaseType.Builder
Overrides

build()

public DatabaseType build()
Returns
TypeDescription
DatabaseType

buildPartial()

public DatabaseType buildPartial()
Returns
TypeDescription
DatabaseType

clear()

public DatabaseType.Builder clear()
Returns
TypeDescription
DatabaseType.Builder
Overrides

clearEngine()

public DatabaseType.Builder clearEngine()

The database engine.

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

Returns
TypeDescription
DatabaseType.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public DatabaseType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
DatabaseType.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public DatabaseType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
DatabaseType.Builder
Overrides

clearProvider()

public DatabaseType.Builder clearProvider()

The database provider.

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

Returns
TypeDescription
DatabaseType.Builder

This builder for chaining.

clone()

public DatabaseType.Builder clone()
Returns
TypeDescription
DatabaseType.Builder
Overrides

getDefaultInstanceForType()

public DatabaseType getDefaultInstanceForType()
Returns
TypeDescription
DatabaseType

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(DatabaseType other)

public DatabaseType.Builder mergeFrom(DatabaseType other)
Parameter
NameDescription
otherDatabaseType
Returns
TypeDescription
DatabaseType.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public DatabaseType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
DatabaseType.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public DatabaseType.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
DatabaseType.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DatabaseType.Builder
Overrides

setEngine(DatabaseEngine value)

public DatabaseType.Builder setEngine(DatabaseEngine value)

The database engine.

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

Parameter
NameDescription
valueDatabaseEngine

The engine to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
DatabaseType.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public DatabaseType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
DatabaseType.Builder
Overrides

setProvider(DatabaseProvider value)

public DatabaseType.Builder setProvider(DatabaseProvider value)

The database provider.

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

Parameter
NameDescription
valueDatabaseProvider

The provider to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DatabaseType.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final DatabaseType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
DatabaseType.Builder
Overrides