Class UDTEntity.Builder (2.41.0)

public static final class UDTEntity.Builder extends GeneratedMessageV3.Builder<UDTEntity.Builder> implements UDTEntityOrBuilder

UDT's parent is a schema.

Protobuf type google.cloud.clouddms.v1.UDTEntity

Implements

UDTEntityOrBuilder

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UDTEntity build()
Returns
Type Description
UDTEntity

buildPartial()

public UDTEntity buildPartial()
Returns
Type Description
UDTEntity

clear()

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

clearCustomFeatures()

public UDTEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
Type Description
UDTEntity.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUdtBody()

public UDTEntity.Builder clearUdtBody()

The SQL code which creates the udt body.

string udt_body = 2;

Returns
Type Description
UDTEntity.Builder

This builder for chaining.

clearUdtSqlCode()

public UDTEntity.Builder clearUdtSqlCode()

The SQL code which creates the udt.

string udt_sql_code = 1;

Returns
Type Description
UDTEntity.Builder

This builder for chaining.

clone()

public UDTEntity.Builder clone()
Returns
Type Description
UDTEntity.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 UDTEntity getDefaultInstanceForType()
Returns
Type Description
UDTEntity

getDescriptorForType()

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

getUdtBody()

public String getUdtBody()

The SQL code which creates the udt body.

string udt_body = 2;

Returns
Type Description
String

The udtBody.

getUdtBodyBytes()

public ByteString getUdtBodyBytes()

The SQL code which creates the udt body.

string udt_body = 2;

Returns
Type Description
ByteString

The bytes for udtBody.

getUdtSqlCode()

public String getUdtSqlCode()

The SQL code which creates the udt.

string udt_sql_code = 1;

Returns
Type Description
String

The udtSqlCode.

getUdtSqlCodeBytes()

public ByteString getUdtSqlCodeBytes()

The SQL code which creates the udt.

string udt_sql_code = 1;

Returns
Type Description
ByteString

The bytes for udtSqlCode.

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

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
Name Description
value Struct
Returns
Type Description
UDTEntity.Builder

mergeFrom(UDTEntity other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomFeatures(Struct value)

public UDTEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
Name Description
value Struct
Returns
Type Description
UDTEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public UDTEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
Name Description
builderForValue Builder
Returns
Type Description
UDTEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUdtBody(String value)

public UDTEntity.Builder setUdtBody(String value)

The SQL code which creates the udt body.

string udt_body = 2;

Parameter
Name Description
value String

The udtBody to set.

Returns
Type Description
UDTEntity.Builder

This builder for chaining.

setUdtBodyBytes(ByteString value)

public UDTEntity.Builder setUdtBodyBytes(ByteString value)

The SQL code which creates the udt body.

string udt_body = 2;

Parameter
Name Description
value ByteString

The bytes for udtBody to set.

Returns
Type Description
UDTEntity.Builder

This builder for chaining.

setUdtSqlCode(String value)

public UDTEntity.Builder setUdtSqlCode(String value)

The SQL code which creates the udt.

string udt_sql_code = 1;

Parameter
Name Description
value String

The udtSqlCode to set.

Returns
Type Description
UDTEntity.Builder

This builder for chaining.

setUdtSqlCodeBytes(ByteString value)

public UDTEntity.Builder setUdtSqlCodeBytes(ByteString value)

The SQL code which creates the udt.

string udt_sql_code = 1;

Parameter
Name Description
value ByteString

The bytes for udtSqlCode to set.

Returns
Type Description
UDTEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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