Class UDTEntity.Builder (2.36.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public UDTEntity build()
Returns
TypeDescription
UDTEntity

buildPartial()

public UDTEntity buildPartial()
Returns
TypeDescription
UDTEntity

clear()

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

clearCustomFeatures()

public UDTEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Returns
TypeDescription
UDTEntity.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearUdtBody()

public UDTEntity.Builder clearUdtBody()

The SQL code which creates the udt body.

string udt_body = 2;

Returns
TypeDescription
UDTEntity.Builder

This builder for chaining.

clearUdtSqlCode()

public UDTEntity.Builder clearUdtSqlCode()

The SQL code which creates the udt.

string udt_sql_code = 1;

Returns
TypeDescription
UDTEntity.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getUdtBody()

public String getUdtBody()

The SQL code which creates the udt body.

string udt_body = 2;

Returns
TypeDescription
String

The udtBody.

getUdtBodyBytes()

public ByteString getUdtBodyBytes()

The SQL code which creates the udt body.

string udt_body = 2;

Returns
TypeDescription
ByteString

The bytes for udtBody.

getUdtSqlCode()

public String getUdtSqlCode()

The SQL code which creates the udt.

string udt_sql_code = 1;

Returns
TypeDescription
String

The udtSqlCode.

getUdtSqlCodeBytes()

public ByteString getUdtSqlCodeBytes()

The SQL code which creates the udt.

string udt_sql_code = 1;

Returns
TypeDescription
ByteString

The bytes for udtSqlCode.

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

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
UDTEntity.Builder

mergeFrom(UDTEntity other)

public UDTEntity.Builder mergeFrom(UDTEntity other)
Parameter
NameDescription
otherUDTEntity
Returns
TypeDescription
UDTEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomFeatures(Struct value)

public UDTEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
UDTEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public UDTEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 3;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
UDTEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

The udtBody to set.

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

The bytes for udtBody to set.

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

The udtSqlCode to set.

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

The bytes for udtSqlCode to set.

Returns
TypeDescription
UDTEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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