Class SourceSqlChange.Builder (2.33.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SourceSqlChange build()
Returns
TypeDescription
SourceSqlChange

buildPartial()

public SourceSqlChange buildPartial()
Returns
TypeDescription
SourceSqlChange

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public SourceSqlChange getDefaultInstanceForType()
Returns
TypeDescription
SourceSqlChange

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for sqlCode.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SourceSqlChange other)

public SourceSqlChange.Builder mergeFrom(SourceSqlChange other)
Parameter
NameDescription
otherSourceSqlChange
Returns
TypeDescription
SourceSqlChange.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

The sqlCode to set.

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

The bytes for sqlCode to set.

Returns
TypeDescription
SourceSqlChange.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

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