Class FilterTableColumns.Builder (2.34.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
TypeDescription
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
NameDescription
valuesIterable<String>

The excludeColumns to add.

Returns
TypeDescription
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
NameDescription
valuesIterable<String>

The includeColumns to add.

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

The excludeColumns to add.

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

The bytes of the excludeColumns to add.

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

The includeColumns to add.

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

The bytes of the includeColumns to add.

Returns
TypeDescription
FilterTableColumns.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public FilterTableColumns build()
Returns
TypeDescription
FilterTableColumns

buildPartial()

public FilterTableColumns buildPartial()
Returns
TypeDescription
FilterTableColumns

clear()

public FilterTableColumns.Builder clear()
Returns
TypeDescription
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
TypeDescription
FilterTableColumns.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public FilterTableColumns.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
FilterTableColumns.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDefaultInstanceForType()

public FilterTableColumns getDefaultInstanceForType()
Returns
TypeDescription
FilterTableColumns

getDescriptorForType()

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

The index of the element to return.

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

The index of the value to return.

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

The index of the element to return.

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

The index of the value to return.

Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ProtocolStringList

A list containing the includeColumns.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(FilterTableColumns other)

public FilterTableColumns.Builder mergeFrom(FilterTableColumns other)
Parameter
NameDescription
otherFilterTableColumns
Returns
TypeDescription
FilterTableColumns.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final FilterTableColumns.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The excludeColumns to set.

Returns
TypeDescription
FilterTableColumns.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public FilterTableColumns.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
indexint

The index to set the value at.

valueString

The includeColumns to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
FilterTableColumns.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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