Class ChannelGroupFilter.Builder (0.47.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public ChannelGroupFilter build()
Returns
TypeDescription
ChannelGroupFilter

buildPartial()

public ChannelGroupFilter buildPartial()
Returns
TypeDescription
ChannelGroupFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValueFilter()

public ChannelGroupFilter.Builder clearValueFilter()
Returns
TypeDescription
ChannelGroupFilter.Builder

clone()

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

getDefaultInstanceForType()

public ChannelGroupFilter getDefaultInstanceForType()
Returns
TypeDescription
ChannelGroupFilter

getDescriptorForType()

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

getValueFilterCase()

public ChannelGroupFilter.ValueFilterCase getValueFilterCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the stringFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(ChannelGroupFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public ChannelGroupFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueChannelGroupFilter.InListFilter
Returns
TypeDescription
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
NameDescription
valueChannelGroupFilter.StringFilter
Returns
TypeDescription
ChannelGroupFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The fieldName to set.

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

The bytes for fieldName to set.

Returns
TypeDescription
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
NameDescription
valueChannelGroupFilter.InListFilter
Returns
TypeDescription
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
NameDescription
builderForValueChannelGroupFilter.InListFilter.Builder
Returns
TypeDescription
ChannelGroupFilter.Builder

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

public ChannelGroupFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueChannelGroupFilter.StringFilter
Returns
TypeDescription
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
NameDescription
builderForValueChannelGroupFilter.StringFilter.Builder
Returns
TypeDescription
ChannelGroupFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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