Class ValueListFilter.Builder (2.51.0)

public static final class ValueListFilter.Builder extends GeneratedMessageV3.Builder<ValueListFilter.Builder> implements ValueListFilterOrBuilder

A list of values to filter by in ConditionalColumnSetValue

Protobuf type google.cloud.clouddms.v1.ValueListFilter

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<String> values)

public ValueListFilter.Builder addAllValues(Iterable<String> values)

Required. The list to be used to filter by

repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
values Iterable<String>

The values to add.

Returns
Type Description
ValueListFilter.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(String value)

public ValueListFilter.Builder addValues(String value)

Required. The list to be used to filter by

repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The values to add.

Returns
Type Description
ValueListFilter.Builder

This builder for chaining.

addValuesBytes(ByteString value)

public ValueListFilter.Builder addValuesBytes(ByteString value)

Required. The list to be used to filter by

repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes of the values to add.

Returns
Type Description
ValueListFilter.Builder

This builder for chaining.

build()

public ValueListFilter build()
Returns
Type Description
ValueListFilter

buildPartial()

public ValueListFilter buildPartial()
Returns
Type Description
ValueListFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearIgnoreCase()

public ValueListFilter.Builder clearIgnoreCase()

Required. Whether to ignore case when filtering by values. Defaults to false

bool ignore_case = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValueListFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValuePresentList()

public ValueListFilter.Builder clearValuePresentList()

Required. Indicates whether the filter matches rows with values that are present in the list or those with values not present in it.

.google.cloud.clouddms.v1.ValuePresentInList value_present_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValueListFilter.Builder

This builder for chaining.

clearValues()

public ValueListFilter.Builder clearValues()

Required. The list to be used to filter by

repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValueListFilter.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ValueListFilter getDefaultInstanceForType()
Returns
Type Description
ValueListFilter

getDescriptorForType()

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

getIgnoreCase()

public boolean getIgnoreCase()

Required. Whether to ignore case when filtering by values. Defaults to false

bool ignore_case = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

The ignoreCase.

getValuePresentList()

public ValuePresentInList getValuePresentList()

Required. Indicates whether the filter matches rows with values that are present in the list or those with values not present in it.

.google.cloud.clouddms.v1.ValuePresentInList value_present_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ValuePresentInList

The valuePresentList.

getValuePresentListValue()

public int getValuePresentListValue()

Required. Indicates whether the filter matches rows with values that are present in the list or those with values not present in it.

.google.cloud.clouddms.v1.ValuePresentInList value_present_list = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for valuePresentList.

getValues(int index)

public String getValues(int index)

Required. The list to be used to filter by

repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The values at the given index.

getValuesBytes(int index)

public ByteString getValuesBytes(int index)

Required. The list to be used to filter by

repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the values at the given index.

getValuesCount()

public int getValuesCount()

Required. The list to be used to filter by

repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of values.

getValuesList()

public ProtocolStringList getValuesList()

Required. The list to be used to filter by

repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ProtocolStringList

A list containing the values.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ValueListFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setIgnoreCase(boolean value)

public ValueListFilter.Builder setIgnoreCase(boolean value)

Required. Whether to ignore case when filtering by values. Defaults to false

bool ignore_case = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value boolean

The ignoreCase to set.

Returns
Type Description
ValueListFilter.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValuePresentList(ValuePresentInList value)

public ValueListFilter.Builder setValuePresentList(ValuePresentInList value)

Required. Indicates whether the filter matches rows with values that are present in the list or those with values not present in it.

.google.cloud.clouddms.v1.ValuePresentInList value_present_list = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ValuePresentInList

The valuePresentList to set.

Returns
Type Description
ValueListFilter.Builder

This builder for chaining.

setValuePresentListValue(int value)

public ValueListFilter.Builder setValuePresentListValue(int value)

Required. Indicates whether the filter matches rows with values that are present in the list or those with values not present in it.

.google.cloud.clouddms.v1.ValuePresentInList value_present_list = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

The enum numeric value on the wire for valuePresentList to set.

Returns
Type Description
ValueListFilter.Builder

This builder for chaining.

setValues(int index, String value)

public ValueListFilter.Builder setValues(int index, String value)

Required. The list to be used to filter by

repeated string values = 2 [(.google.api.field_behavior) = REQUIRED];

Parameters
Name Description
index int

The index to set the value at.

value String

The values to set.

Returns
Type Description
ValueListFilter.Builder

This builder for chaining.