Class ChannelGroupFilter.InListFilter.Builder (0.47.0)

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

A filter for a string dimension that matches a particular list of options. The match is case insensitive.

Protobuf type google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<String> values)

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

Required. The list of possible string values to match against. Must be non-empty.

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

Parameter
NameDescription
valuesIterable<String>

The values to add.

Returns
TypeDescription
ChannelGroupFilter.InListFilter.Builder

This builder for chaining.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

addValues(String value)

public ChannelGroupFilter.InListFilter.Builder addValues(String value)

Required. The list of possible string values to match against. Must be non-empty.

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

Parameter
NameDescription
valueString

The values to add.

Returns
TypeDescription
ChannelGroupFilter.InListFilter.Builder

This builder for chaining.

addValuesBytes(ByteString value)

public ChannelGroupFilter.InListFilter.Builder addValuesBytes(ByteString value)

Required. The list of possible string values to match against. Must be non-empty.

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

Parameter
NameDescription
valueByteString

The bytes of the values to add.

Returns
TypeDescription
ChannelGroupFilter.InListFilter.Builder

This builder for chaining.

build()

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

buildPartial()

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

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValues()

public ChannelGroupFilter.InListFilter.Builder clearValues()

Required. The list of possible string values to match against. Must be non-empty.

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

Returns
TypeDescription
ChannelGroupFilter.InListFilter.Builder

This builder for chaining.

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getValues(int index)

public String getValues(int index)

Required. The list of possible string values to match against. Must be non-empty.

repeated string values = 1 [(.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 of possible string values to match against. Must be non-empty.

repeated string values = 1 [(.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 of possible string values to match against. Must be non-empty.

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

Returns
TypeDescription
int

The count of values.

getValuesList()

public ProtocolStringList getValuesList()

Required. The list of possible string values to match against. Must be non-empty.

repeated string values = 1 [(.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(ChannelGroupFilter.InListFilter other)

public ChannelGroupFilter.InListFilter.Builder mergeFrom(ChannelGroupFilter.InListFilter other)
Parameter
NameDescription
otherChannelGroupFilter.InListFilter
Returns
TypeDescription
ChannelGroupFilter.InListFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValues(int index, String value)

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

Required. The list of possible string values to match against. Must be non-empty.

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

Parameters
NameDescription
indexint

The index to set the value at.

valueString

The values to set.

Returns
TypeDescription
ChannelGroupFilter.InListFilter.Builder

This builder for chaining.