Class SynonymEntity.Builder (2.46.0)

public static final class SynonymEntity.Builder extends GeneratedMessageV3.Builder<SynonymEntity.Builder> implements SynonymEntityOrBuilder

Synonym's parent is a schema.

Protobuf type google.cloud.clouddms.v1.SynonymEntity

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public SynonymEntity.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SynonymEntity.Builder
Overrides

build()

public SynonymEntity build()
Returns
Type Description
SynonymEntity

buildPartial()

public SynonymEntity buildPartial()
Returns
Type Description
SynonymEntity

clear()

public SynonymEntity.Builder clear()
Returns
Type Description
SynonymEntity.Builder
Overrides

clearCustomFeatures()

public SynonymEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
SynonymEntity.Builder

clearField(Descriptors.FieldDescriptor field)

public SynonymEntity.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SynonymEntity.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public SynonymEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SynonymEntity.Builder
Overrides

clearSourceEntity()

public SynonymEntity.Builder clearSourceEntity()

The name of the entity for which the synonym is being created (the source).

string source_entity = 1;

Returns
Type Description
SynonymEntity.Builder

This builder for chaining.

clearSourceType()

public SynonymEntity.Builder clearSourceType()

The type of the entity for which the synonym is being created (usually a table or a sequence).

.google.cloud.clouddms.v1.DatabaseEntityType source_type = 2;

Returns
Type Description
SynonymEntity.Builder

This builder for chaining.

clone()

public SynonymEntity.Builder clone()
Returns
Type Description
SynonymEntity.Builder
Overrides

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
Struct

The customFeatures.

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
Builder

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
StructOrBuilder

getDefaultInstanceForType()

public SynonymEntity getDefaultInstanceForType()
Returns
Type Description
SynonymEntity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getSourceEntity()

public String getSourceEntity()

The name of the entity for which the synonym is being created (the source).

string source_entity = 1;

Returns
Type Description
String

The sourceEntity.

getSourceEntityBytes()

public ByteString getSourceEntityBytes()

The name of the entity for which the synonym is being created (the source).

string source_entity = 1;

Returns
Type Description
ByteString

The bytes for sourceEntity.

getSourceType()

public DatabaseEntityType getSourceType()

The type of the entity for which the synonym is being created (usually a table or a sequence).

.google.cloud.clouddms.v1.DatabaseEntityType source_type = 2;

Returns
Type Description
DatabaseEntityType

The sourceType.

getSourceTypeValue()

public int getSourceTypeValue()

The type of the entity for which the synonym is being created (usually a table or a sequence).

.google.cloud.clouddms.v1.DatabaseEntityType source_type = 2;

Returns
Type Description
int

The enum numeric value on the wire for sourceType.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
boolean

Whether the customFeatures field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeCustomFeatures(Struct value)

public SynonymEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
Name Description
value Struct
Returns
Type Description
SynonymEntity.Builder

mergeFrom(SynonymEntity other)

public SynonymEntity.Builder mergeFrom(SynonymEntity other)
Parameter
Name Description
other SynonymEntity
Returns
Type Description
SynonymEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public SynonymEntity.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SynonymEntity.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public SynonymEntity.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SynonymEntity.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SynonymEntity.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SynonymEntity.Builder
Overrides

setCustomFeatures(Struct value)

public SynonymEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
Name Description
value Struct
Returns
Type Description
SynonymEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public SynonymEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
SynonymEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public SynonymEntity.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
SynonymEntity.Builder
Overrides

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

public SynonymEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SynonymEntity.Builder
Overrides

setSourceEntity(String value)

public SynonymEntity.Builder setSourceEntity(String value)

The name of the entity for which the synonym is being created (the source).

string source_entity = 1;

Parameter
Name Description
value String

The sourceEntity to set.

Returns
Type Description
SynonymEntity.Builder

This builder for chaining.

setSourceEntityBytes(ByteString value)

public SynonymEntity.Builder setSourceEntityBytes(ByteString value)

The name of the entity for which the synonym is being created (the source).

string source_entity = 1;

Parameter
Name Description
value ByteString

The bytes for sourceEntity to set.

Returns
Type Description
SynonymEntity.Builder

This builder for chaining.

setSourceType(DatabaseEntityType value)

public SynonymEntity.Builder setSourceType(DatabaseEntityType value)

The type of the entity for which the synonym is being created (usually a table or a sequence).

.google.cloud.clouddms.v1.DatabaseEntityType source_type = 2;

Parameter
Name Description
value DatabaseEntityType

The sourceType to set.

Returns
Type Description
SynonymEntity.Builder

This builder for chaining.

setSourceTypeValue(int value)

public SynonymEntity.Builder setSourceTypeValue(int value)

The type of the entity for which the synonym is being created (usually a table or a sequence).

.google.cloud.clouddms.v1.DatabaseEntityType source_type = 2;

Parameter
Name Description
value int

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

Returns
Type Description
SynonymEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final SynonymEntity.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SynonymEntity.Builder
Overrides