Class FilterTableColumns.Builder (2.43.0)

public static final class FilterTableColumns.Builder extends GeneratedMessageV3.Builder<FilterTableColumns.Builder> implements FilterTableColumnsOrBuilder

Options to configure rule type FilterTableColumns. The rule is used to filter the list of columns to include or exclude from a table.

The rule filter field can refer to one entity.

The rule scope can be: Table

Only one of the two lists can be specified for the rule.

Protobuf type google.cloud.clouddms.v1.FilterTableColumns

Static Methods

getDescriptor()

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

Methods

addAllExcludeColumns(Iterable<String> values)

public FilterTableColumns.Builder addAllExcludeColumns(Iterable<String> values)

Optional. List of columns to be excluded for a particular table.

repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The excludeColumns to add.

Returns
Type Description
FilterTableColumns.Builder

This builder for chaining.

addAllIncludeColumns(Iterable<String> values)

public FilterTableColumns.Builder addAllIncludeColumns(Iterable<String> values)

Optional. List of columns to be included for a particular table.

repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
values Iterable<String>

The includeColumns to add.

Returns
Type Description
FilterTableColumns.Builder

This builder for chaining.

addExcludeColumns(String value)

public FilterTableColumns.Builder addExcludeColumns(String value)

Optional. List of columns to be excluded for a particular table.

repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The excludeColumns to add.

Returns
Type Description
FilterTableColumns.Builder

This builder for chaining.

addExcludeColumnsBytes(ByteString value)

public FilterTableColumns.Builder addExcludeColumnsBytes(ByteString value)

Optional. List of columns to be excluded for a particular table.

repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the excludeColumns to add.

Returns
Type Description
FilterTableColumns.Builder

This builder for chaining.

addIncludeColumns(String value)

public FilterTableColumns.Builder addIncludeColumns(String value)

Optional. List of columns to be included for a particular table.

repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value String

The includeColumns to add.

Returns
Type Description
FilterTableColumns.Builder

This builder for chaining.

addIncludeColumnsBytes(ByteString value)

public FilterTableColumns.Builder addIncludeColumnsBytes(ByteString value)

Optional. List of columns to be included for a particular table.

repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
value ByteString

The bytes of the includeColumns to add.

Returns
Type Description
FilterTableColumns.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FilterTableColumns build()
Returns
Type Description
FilterTableColumns

buildPartial()

public FilterTableColumns buildPartial()
Returns
Type Description
FilterTableColumns

clear()

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

clearExcludeColumns()

public FilterTableColumns.Builder clearExcludeColumns()

Optional. List of columns to be excluded for a particular table.

repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FilterTableColumns.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearIncludeColumns()

public FilterTableColumns.Builder clearIncludeColumns()

Optional. List of columns to be included for a particular table.

repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
FilterTableColumns.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FilterTableColumns getDefaultInstanceForType()
Returns
Type Description
FilterTableColumns

getDescriptorForType()

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

getExcludeColumns(int index)

public String getExcludeColumns(int index)

Optional. List of columns to be excluded for a particular table.

repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The excludeColumns at the given index.

getExcludeColumnsBytes(int index)

public ByteString getExcludeColumnsBytes(int index)

Optional. List of columns to be excluded for a particular table.

repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the excludeColumns at the given index.

getExcludeColumnsCount()

public int getExcludeColumnsCount()

Optional. List of columns to be excluded for a particular table.

repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of excludeColumns.

getExcludeColumnsList()

public ProtocolStringList getExcludeColumnsList()

Optional. List of columns to be excluded for a particular table.

repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the excludeColumns.

getIncludeColumns(int index)

public String getIncludeColumns(int index)

Optional. List of columns to be included for a particular table.

repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The includeColumns at the given index.

getIncludeColumnsBytes(int index)

public ByteString getIncludeColumnsBytes(int index)

Optional. List of columns to be included for a particular table.

repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the includeColumns at the given index.

getIncludeColumnsCount()

public int getIncludeColumnsCount()

Optional. List of columns to be included for a particular table.

repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The count of includeColumns.

getIncludeColumnsList()

public ProtocolStringList getIncludeColumnsList()

Optional. List of columns to be included for a particular table.

repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ProtocolStringList

A list containing the includeColumns.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(FilterTableColumns other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setExcludeColumns(int index, String value)

public FilterTableColumns.Builder setExcludeColumns(int index, String value)

Optional. List of columns to be excluded for a particular table.

repeated string exclude_columns = 2 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The excludeColumns to set.

Returns
Type Description
FilterTableColumns.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setIncludeColumns(int index, String value)

public FilterTableColumns.Builder setIncludeColumns(int index, String value)

Optional. List of columns to be included for a particular table.

repeated string include_columns = 1 [(.google.api.field_behavior) = OPTIONAL];

Parameters
Name Description
index int

The index to set the value at.

value String

The includeColumns to set.

Returns
Type Description
FilterTableColumns.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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