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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public DatabaseType.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public DatabaseType build()
buildPartial()
public DatabaseType buildPartial()
clear()
public DatabaseType.Builder clear()
Overrides
clearEngine()
public DatabaseType.Builder clearEngine()
The database engine.
.google.cloud.clouddms.v1.DatabaseEngine engine = 2;
clearField(Descriptors.FieldDescriptor field)
public DatabaseType.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public DatabaseType.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearProvider()
public DatabaseType.Builder clearProvider()
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 1;
clone()
public DatabaseType.Builder clone()
Overrides
getDefaultInstanceForType()
public DatabaseType getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(DatabaseType other)
public DatabaseType.Builder mergeFrom(DatabaseType other)
public DatabaseType.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public DatabaseType.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseType.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEngine(DatabaseEngine value)
public DatabaseType.Builder setEngine(DatabaseEngine value)
The database engine.
.google.cloud.clouddms.v1.DatabaseEngine engine = 2;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public DatabaseType.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setProvider(DatabaseProvider value)
public DatabaseType.Builder setProvider(DatabaseProvider value)
The database provider.
.google.cloud.clouddms.v1.DatabaseProvider provider = 1;
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.
|
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public DatabaseType.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final DatabaseType.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides