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

The values to add.

Returns
TypeDescription
ValueListFilter.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

The values to add.

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

The bytes of the values to add.

Returns
TypeDescription
ValueListFilter.Builder

This builder for chaining.

build()

public ValueListFilter build()
Returns
TypeDescription
ValueListFilter

buildPartial()

public ValueListFilter buildPartial()
Returns
TypeDescription
ValueListFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

This builder for chaining.

clone()

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

getDefaultInstanceForType()

public ValueListFilter getDefaultInstanceForType()
Returns
TypeDescription
ValueListFilter

getDescriptorForType()

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

The index of the element to return.

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

The index of the value to return.

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

A list containing the values.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ValueListFilter other)

public ValueListFilter.Builder mergeFrom(ValueListFilter other)
Parameter
NameDescription
otherValueListFilter
Returns
TypeDescription
ValueListFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The ignoreCase to set.

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ValueListFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueValuePresentInList

The valuePresentList to set.

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

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

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

The index to set the value at.

valueString

The values to set.

Returns
TypeDescription
ValueListFilter.Builder

This builder for chaining.