Class DatabaseInstanceEntity.Builder (2.30.0)

public static final class DatabaseInstanceEntity.Builder extends GeneratedMessageV3.Builder<DatabaseInstanceEntity.Builder> implements DatabaseInstanceEntityOrBuilder

DatabaseInstance acts as a parent entity to other database entities.

Protobuf type google.cloud.clouddms.v1.DatabaseInstanceEntity

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public DatabaseInstanceEntity build()
Returns
TypeDescription
DatabaseInstanceEntity

buildPartial()

public DatabaseInstanceEntity buildPartial()
Returns
TypeDescription
DatabaseInstanceEntity

clear()

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

clearCustomFeatures()

public DatabaseInstanceEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
DatabaseInstanceEntity.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
Builder

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public DatabaseInstanceEntity getDefaultInstanceForType()
Returns
TypeDescription
DatabaseInstanceEntity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
boolean

Whether the customFeatures field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeCustomFeatures(Struct value)

public DatabaseInstanceEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
DatabaseInstanceEntity.Builder

mergeFrom(DatabaseInstanceEntity other)

public DatabaseInstanceEntity.Builder mergeFrom(DatabaseInstanceEntity other)
Parameter
NameDescription
otherDatabaseInstanceEntity
Returns
TypeDescription
DatabaseInstanceEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomFeatures(Struct value)

public DatabaseInstanceEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
DatabaseInstanceEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public DatabaseInstanceEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
DatabaseInstanceEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public DatabaseInstanceEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
DatabaseInstanceEntity.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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