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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatabaseType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public DatabaseType build()
Returns
buildPartial()
public DatabaseType buildPartial()
Returns
clear()
public DatabaseType.Builder clear()
Returns
Overrides
clearEngine()
public DatabaseType.Builder clearEngine()
The database engine.
.google.cloud.clouddms.v1.DatabaseEngine engine = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public DatabaseType.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DatabaseType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearProvider()
public DatabaseType.Builder clearProvider()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 1;
Returns
clone()
public DatabaseType.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public DatabaseType getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEngine()
public DatabaseEngine getEngine()
The database engine.
.google.cloud.clouddms.v1.DatabaseEngine engine = 2;
Returns
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(DatabaseType other)
public DatabaseType.Builder mergeFrom(DatabaseType other)
Parameter
Returns
public DatabaseType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public DatabaseType.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEngine(DatabaseEngine value)
public DatabaseType.Builder setEngine(DatabaseEngine value)
The database engine.
.google.cloud.clouddms.v1.DatabaseEngine engine = 2;
Parameter
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public DatabaseType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setProvider(DatabaseProvider value)
public DatabaseType.Builder setProvider(DatabaseProvider value)
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 1;
Parameter
Returns
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
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatabaseType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides