Class FunctionEntity.Builder (2.28.0)

public static final class FunctionEntity.Builder extends GeneratedMessageV3.Builder<FunctionEntity.Builder> implements FunctionEntityOrBuilder

Function's parent is a schema.

Protobuf type google.cloud.clouddms.v1.FunctionEntity

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FunctionEntity build()
Returns
TypeDescription
FunctionEntity

buildPartial()

public FunctionEntity buildPartial()
Returns
TypeDescription
FunctionEntity

clear()

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

clearCustomFeatures()

public FunctionEntity.Builder clearCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
FunctionEntity.Builder

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSqlCode()

public FunctionEntity.Builder clearSqlCode()

The SQL code which creates the function.

string sql_code = 1;

Returns
TypeDescription
FunctionEntity.Builder

This builder for chaining.

clone()

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

getCustomFeatures()

public Struct getCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
Struct

The customFeatures.

getCustomFeaturesBuilder()

public Struct.Builder getCustomFeaturesBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
Builder

getCustomFeaturesOrBuilder()

public StructOrBuilder getCustomFeaturesOrBuilder()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Returns
TypeDescription
StructOrBuilder

getDefaultInstanceForType()

public FunctionEntity getDefaultInstanceForType()
Returns
TypeDescription
FunctionEntity

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getSqlCode()

public String getSqlCode()

The SQL code which creates the function.

string sql_code = 1;

Returns
TypeDescription
String

The sqlCode.

getSqlCodeBytes()

public ByteString getSqlCodeBytes()

The SQL code which creates the function.

string sql_code = 1;

Returns
TypeDescription
ByteString

The bytes for sqlCode.

hasCustomFeatures()

public boolean hasCustomFeatures()

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

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

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
FunctionEntity.Builder

mergeFrom(FunctionEntity other)

public FunctionEntity.Builder mergeFrom(FunctionEntity other)
Parameter
NameDescription
otherFunctionEntity
Returns
TypeDescription
FunctionEntity.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCustomFeatures(Struct value)

public FunctionEntity.Builder setCustomFeatures(Struct value)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
NameDescription
valueStruct
Returns
TypeDescription
FunctionEntity.Builder

setCustomFeatures(Struct.Builder builderForValue)

public FunctionEntity.Builder setCustomFeatures(Struct.Builder builderForValue)

Custom engine specific features.

.google.protobuf.Struct custom_features = 2;

Parameter
NameDescription
builderForValueBuilder
Returns
TypeDescription
FunctionEntity.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSqlCode(String value)

public FunctionEntity.Builder setSqlCode(String value)

The SQL code which creates the function.

string sql_code = 1;

Parameter
NameDescription
valueString

The sqlCode to set.

Returns
TypeDescription
FunctionEntity.Builder

This builder for chaining.

setSqlCodeBytes(ByteString value)

public FunctionEntity.Builder setSqlCodeBytes(ByteString value)

The SQL code which creates the function.

string sql_code = 1;

Parameter
NameDescription
valueByteString

The bytes for sqlCode to set.

Returns
TypeDescription
FunctionEntity.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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