Class SchemaEntity.Builder (2.20.0)

public static final class SchemaEntity.Builder extends GeneratedMessageV3.Builder<SchemaEntity.Builder> implements SchemaEntityOrBuilder

Schema typically has no parent entity, but can have a parent entity DatabaseInstance (for database engines which support it). For some database engines, the terms schema and user can be used interchangeably when they refer to a namespace or a collection of other database entities. Can store additional information which is schema specific.

Protobuf type google.cloud.clouddms.v1.SchemaEntity

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SchemaEntity build()
Returns
TypeDescription
SchemaEntity

buildPartial()

public SchemaEntity buildPartial()
Returns
TypeDescription
SchemaEntity

clear()

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

clearCustomFeatures()

public SchemaEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Returns
TypeDescription
SchemaEntity.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SchemaEntity.Builder clone()
Returns
TypeDescription
SchemaEntity.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 SchemaEntity getDefaultInstanceForType()
Returns
TypeDescription
SchemaEntity

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 SchemaEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
SchemaEntity.Builder

mergeFrom(SchemaEntity other)

public SchemaEntity.Builder mergeFrom(SchemaEntity other)
Parameter
NameDescription
otherSchemaEntity
Returns
TypeDescription
SchemaEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomFeatures(Struct value)

public SchemaEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
SchemaEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public SchemaEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 1;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SchemaEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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