Class ConvertRowIdToColumn.Builder (2.82.0)

public static final class ConvertRowIdToColumn.Builder extends GeneratedMessage.Builder<ConvertRowIdToColumn.Builder> implements ConvertRowIdToColumnOrBuilder

Options to configure rule type ConvertROWIDToColumn. The rule is used to add column rowid to destination tables based on an Oracle rowid function/property.

The rule filter field can refer to one or more entities.

The rule scope can be one of: Table.

This rule requires additional filter to be specified beyond the basic rule filter field, which is whether or not to work on tables which already have a primary key defined.

Protobuf type google.cloud.clouddms.v1.ConvertRowIdToColumn

Static Methods

getDescriptor()

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

Methods

build()

public ConvertRowIdToColumn build()
Returns
Type Description
ConvertRowIdToColumn

buildPartial()

public ConvertRowIdToColumn buildPartial()
Returns
Type Description
ConvertRowIdToColumn

clear()

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

clearOnlyIfNoPrimaryKey()

public ConvertRowIdToColumn.Builder clearOnlyIfNoPrimaryKey()

Required. Only work on tables without primary key defined

bool only_if_no_primary_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ConvertRowIdToColumn.Builder

This builder for chaining.

getDefaultInstanceForType()

public ConvertRowIdToColumn getDefaultInstanceForType()
Returns
Type Description
ConvertRowIdToColumn

getDescriptorForType()

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

getOnlyIfNoPrimaryKey()

public boolean getOnlyIfNoPrimaryKey()

Required. Only work on tables without primary key defined

bool only_if_no_primary_key = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The onlyIfNoPrimaryKey.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ConvertRowIdToColumn other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setOnlyIfNoPrimaryKey(boolean value)

public ConvertRowIdToColumn.Builder setOnlyIfNoPrimaryKey(boolean value)

Required. Only work on tables without primary key defined

bool only_if_no_primary_key = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value boolean

The onlyIfNoPrimaryKey to set.

Returns
Type Description
ConvertRowIdToColumn.Builder

This builder for chaining.