Class ChannelGroupFilter.Builder (0.64.0)

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

A specific filter for a single dimension.

Protobuf type google.analytics.admin.v1alpha.ChannelGroupFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ChannelGroupFilter build()
Returns
Type Description
ChannelGroupFilter

buildPartial()

public ChannelGroupFilter buildPartial()
Returns
Type Description
ChannelGroupFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFieldName()

public ChannelGroupFilter.Builder clearFieldName()

Required. Immutable. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ChannelGroupFilter.Builder

This builder for chaining.

clearInListFilter()

public ChannelGroupFilter.Builder clearInListFilter()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Returns
Type Description
ChannelGroupFilter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStringFilter()

public ChannelGroupFilter.Builder clearStringFilter()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Returns
Type Description
ChannelGroupFilter.Builder

clearValueFilter()

public ChannelGroupFilter.Builder clearValueFilter()
Returns
Type Description
ChannelGroupFilter.Builder

clone()

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

getDefaultInstanceForType()

public ChannelGroupFilter getDefaultInstanceForType()
Returns
Type Description
ChannelGroupFilter

getDescriptorForType()

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

getFieldName()

public String getFieldName()

Required. Immutable. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

Required. Immutable. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for fieldName.

getInListFilter()

public ChannelGroupFilter.InListFilter getInListFilter()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Returns
Type Description
ChannelGroupFilter.InListFilter

The inListFilter.

getInListFilterBuilder()

public ChannelGroupFilter.InListFilter.Builder getInListFilterBuilder()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Returns
Type Description
ChannelGroupFilter.InListFilter.Builder

getInListFilterOrBuilder()

public ChannelGroupFilter.InListFilterOrBuilder getInListFilterOrBuilder()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Returns
Type Description
ChannelGroupFilter.InListFilterOrBuilder

getStringFilter()

public ChannelGroupFilter.StringFilter getStringFilter()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Returns
Type Description
ChannelGroupFilter.StringFilter

The stringFilter.

getStringFilterBuilder()

public ChannelGroupFilter.StringFilter.Builder getStringFilterBuilder()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Returns
Type Description
ChannelGroupFilter.StringFilter.Builder

getStringFilterOrBuilder()

public ChannelGroupFilter.StringFilterOrBuilder getStringFilterOrBuilder()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Returns
Type Description
ChannelGroupFilter.StringFilterOrBuilder

getValueFilterCase()

public ChannelGroupFilter.ValueFilterCase getValueFilterCase()
Returns
Type Description
ChannelGroupFilter.ValueFilterCase

hasInListFilter()

public boolean hasInListFilter()

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Returns
Type Description
boolean

Whether the inListFilter field is set.

hasStringFilter()

public boolean hasStringFilter()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Returns
Type Description
boolean

Whether the stringFilter field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ChannelGroupFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeInListFilter(ChannelGroupFilter.InListFilter value)

public ChannelGroupFilter.Builder mergeInListFilter(ChannelGroupFilter.InListFilter value)

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Parameter
Name Description
value ChannelGroupFilter.InListFilter
Returns
Type Description
ChannelGroupFilter.Builder

mergeStringFilter(ChannelGroupFilter.StringFilter value)

public ChannelGroupFilter.Builder mergeStringFilter(ChannelGroupFilter.StringFilter value)

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Parameter
Name Description
value ChannelGroupFilter.StringFilter
Returns
Type Description
ChannelGroupFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFieldName(String value)

public ChannelGroupFilter.Builder setFieldName(String value)

Required. Immutable. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The fieldName to set.

Returns
Type Description
ChannelGroupFilter.Builder

This builder for chaining.

setFieldNameBytes(ByteString value)

public ChannelGroupFilter.Builder setFieldNameBytes(ByteString value)

Required. Immutable. The dimension name to filter.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for fieldName to set.

Returns
Type Description
ChannelGroupFilter.Builder

This builder for chaining.

setInListFilter(ChannelGroupFilter.InListFilter value)

public ChannelGroupFilter.Builder setInListFilter(ChannelGroupFilter.InListFilter value)

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Parameter
Name Description
value ChannelGroupFilter.InListFilter
Returns
Type Description
ChannelGroupFilter.Builder

setInListFilter(ChannelGroupFilter.InListFilter.Builder builderForValue)

public ChannelGroupFilter.Builder setInListFilter(ChannelGroupFilter.InListFilter.Builder builderForValue)

A filter for a string dimension that matches a particular list of options.

.google.analytics.admin.v1alpha.ChannelGroupFilter.InListFilter in_list_filter = 3;

Parameter
Name Description
builderForValue ChannelGroupFilter.InListFilter.Builder
Returns
Type Description
ChannelGroupFilter.Builder

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

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

setStringFilter(ChannelGroupFilter.StringFilter value)

public ChannelGroupFilter.Builder setStringFilter(ChannelGroupFilter.StringFilter value)

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Parameter
Name Description
value ChannelGroupFilter.StringFilter
Returns
Type Description
ChannelGroupFilter.Builder

setStringFilter(ChannelGroupFilter.StringFilter.Builder builderForValue)

public ChannelGroupFilter.Builder setStringFilter(ChannelGroupFilter.StringFilter.Builder builderForValue)

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.ChannelGroupFilter.StringFilter string_filter = 2;

Parameter
Name Description
builderForValue ChannelGroupFilter.StringFilter.Builder
Returns
Type Description
ChannelGroupFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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