Class SourceSqlChange.Builder (2.43.0)

public static final class SourceSqlChange.Builder extends GeneratedMessageV3.Builder<SourceSqlChange.Builder> implements SourceSqlChangeOrBuilder

Options to configure rule type SourceSqlChange. The rule is used to alter the sql code for database entities.

The rule filter field can refer to one entity.

The rule scope can be: StoredProcedure, Function, Trigger, View

Protobuf type google.cloud.clouddms.v1.SourceSqlChange

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceSqlChange build()
Returns
Type Description
SourceSqlChange

buildPartial()

public SourceSqlChange buildPartial()
Returns
Type Description
SourceSqlChange

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSqlCode()

public SourceSqlChange.Builder clearSqlCode()

Required. Sql code for source (stored procedure, function, trigger or view)

string sql_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SourceSqlChange.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SourceSqlChange getDefaultInstanceForType()
Returns
Type Description
SourceSqlChange

getDescriptorForType()

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

getSqlCode()

public String getSqlCode()

Required. Sql code for source (stored procedure, function, trigger or view)

string sql_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The sqlCode.

getSqlCodeBytes()

public ByteString getSqlCodeBytes()

Required. Sql code for source (stored procedure, function, trigger or view)

string sql_code = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for sqlCode.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SourceSqlChange other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSqlCode(String value)

public SourceSqlChange.Builder setSqlCode(String value)

Required. Sql code for source (stored procedure, function, trigger or view)

string sql_code = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The sqlCode to set.

Returns
Type Description
SourceSqlChange.Builder

This builder for chaining.

setSqlCodeBytes(ByteString value)

public SourceSqlChange.Builder setSqlCodeBytes(ByteString value)

Required. Sql code for source (stored procedure, function, trigger or view)

string sql_code = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for sqlCode to set.

Returns
Type Description
SourceSqlChange.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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