Class SynonymEntity.Builder (2.28.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SynonymEntity build()
Returns
TypeDescription
SynonymEntity

buildPartial()

public SynonymEntity buildPartial()
Returns
TypeDescription
SynonymEntity

clear()

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

clearCustomFeatures()

public SynonymEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
SynonymEntity.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public SynonymEntity.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SynonymEntity.Builder

This builder for chaining.

clone()

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

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
Builder

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public SynonymEntity getDefaultInstanceForType()
Returns
TypeDescription
SynonymEntity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
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 SynonymEntity.Builder mergeCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
SynonymEntity.Builder

mergeFrom(SynonymEntity other)

public SynonymEntity.Builder mergeFrom(SynonymEntity other)
Parameter
NameDescription
otherSynonymEntity
Returns
TypeDescription
SynonymEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomFeatures(Struct value)

public SynonymEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
SynonymEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public SynonymEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
SynonymEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public SynonymEntity.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The sourceEntity to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for sourceEntity to set.

Returns
TypeDescription
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
NameDescription
valueDatabaseEntityType

The sourceType to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
SynonymEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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