Class Filter.InListFilter.Builder (0.44.0)

public static final class Filter.InListFilter.Builder extends GeneratedMessageV3.Builder<Filter.InListFilter.Builder> implements Filter.InListFilterOrBuilder

The result needs to be in a list of string values.

Protobuf type google.analytics.data.v1beta.Filter.InListFilter

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addAllValues(Iterable<String> values)

public Filter.InListFilter.Builder addAllValues(Iterable<String> values)

The list of string values. Must be non-empty.

repeated string values = 1;

Parameter
NameDescription
valuesIterable<String>

The values to add.

Returns
TypeDescription
Filter.InListFilter.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(String value)

public Filter.InListFilter.Builder addValues(String value)

The list of string values. Must be non-empty.

repeated string values = 1;

Parameter
NameDescription
valueString

The values to add.

Returns
TypeDescription
Filter.InListFilter.Builder

This builder for chaining.

addValuesBytes(ByteString value)

public Filter.InListFilter.Builder addValuesBytes(ByteString value)

The list of string values. Must be non-empty.

repeated string values = 1;

Parameter
NameDescription
valueByteString

The bytes of the values to add.

Returns
TypeDescription
Filter.InListFilter.Builder

This builder for chaining.

build()

public Filter.InListFilter build()
Returns
TypeDescription
Filter.InListFilter

buildPartial()

public Filter.InListFilter buildPartial()
Returns
TypeDescription
Filter.InListFilter

clear()

public Filter.InListFilter.Builder clear()
Returns
TypeDescription
Filter.InListFilter.Builder
Overrides

clearCaseSensitive()

public Filter.InListFilter.Builder clearCaseSensitive()

If true, the string value is case sensitive.

bool case_sensitive = 2;

Returns
TypeDescription
Filter.InListFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Filter.InListFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Filter.InListFilter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValues()

public Filter.InListFilter.Builder clearValues()

The list of string values. Must be non-empty.

repeated string values = 1;

Returns
TypeDescription
Filter.InListFilter.Builder

This builder for chaining.

clone()

public Filter.InListFilter.Builder clone()
Returns
TypeDescription
Filter.InListFilter.Builder
Overrides

getCaseSensitive()

public boolean getCaseSensitive()

If true, the string value is case sensitive.

bool case_sensitive = 2;

Returns
TypeDescription
boolean

The caseSensitive.

getDefaultInstanceForType()

public Filter.InListFilter getDefaultInstanceForType()
Returns
TypeDescription
Filter.InListFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValues(int index)

public String getValues(int index)

The list of string values. Must be non-empty.

repeated string values = 1;

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)

The list of string values. Must be non-empty.

repeated string values = 1;

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()

The list of string values. Must be non-empty.

repeated string values = 1;

Returns
TypeDescription
int

The count of values.

getValuesList()

public ProtocolStringList getValuesList()

The list of string values. Must be non-empty.

repeated string values = 1;

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(Filter.InListFilter other)

public Filter.InListFilter.Builder mergeFrom(Filter.InListFilter other)
Parameter
NameDescription
otherFilter.InListFilter
Returns
TypeDescription
Filter.InListFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setCaseSensitive(boolean value)

public Filter.InListFilter.Builder setCaseSensitive(boolean value)

If true, the string value is case sensitive.

bool case_sensitive = 2;

Parameter
NameDescription
valueboolean

The caseSensitive to set.

Returns
TypeDescription
Filter.InListFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Filter.InListFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Filter.InListFilter.Builder
Overrides

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

public Filter.InListFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Filter.InListFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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

setValues(int index, String value)

public Filter.InListFilter.Builder setValues(int index, String value)

The list of string values. Must be non-empty.

repeated string values = 1;

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The values to set.

Returns
TypeDescription
Filter.InListFilter.Builder

This builder for chaining.