Class AudienceFilterClause.Builder (0.64.0)

public static final class AudienceFilterClause.Builder extends GeneratedMessageV3.Builder<AudienceFilterClause.Builder> implements AudienceFilterClauseOrBuilder

A clause for defining either a simple or sequence filter. A filter can be inclusive (For example, users satisfying the filter clause are included in the Audience) or exclusive (For example, users satisfying the filter clause are excluded from the Audience).

Protobuf type google.analytics.admin.v1alpha.AudienceFilterClause

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AudienceFilterClause build()
Returns
Type Description
AudienceFilterClause

buildPartial()

public AudienceFilterClause buildPartial()
Returns
Type Description
AudienceFilterClause

clear()

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

clearClauseType()

public AudienceFilterClause.Builder clearClauseType()

Required. Specifies whether this is an include or exclude filter clause.

.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AudienceFilterClause.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public AudienceFilterClause.Builder clearFilter()
Returns
Type Description
AudienceFilterClause.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearSequenceFilter()

public AudienceFilterClause.Builder clearSequenceFilter()

Filters that must occur in a specific order for the user to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;

Returns
Type Description
AudienceFilterClause.Builder

clearSimpleFilter()

public AudienceFilterClause.Builder clearSimpleFilter()

A simple filter that a user must satisfy to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;

Returns
Type Description
AudienceFilterClause.Builder

clone()

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

getClauseType()

public AudienceFilterClause.AudienceClauseType getClauseType()

Required. Specifies whether this is an include or exclude filter clause.

.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
AudienceFilterClause.AudienceClauseType

The clauseType.

getClauseTypeValue()

public int getClauseTypeValue()

Required. Specifies whether this is an include or exclude filter clause.

.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for clauseType.

getDefaultInstanceForType()

public AudienceFilterClause getDefaultInstanceForType()
Returns
Type Description
AudienceFilterClause

getDescriptorForType()

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

getFilterCase()

public AudienceFilterClause.FilterCase getFilterCase()
Returns
Type Description
AudienceFilterClause.FilterCase

getSequenceFilter()

public AudienceSequenceFilter getSequenceFilter()

Filters that must occur in a specific order for the user to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;

Returns
Type Description
AudienceSequenceFilter

The sequenceFilter.

getSequenceFilterBuilder()

public AudienceSequenceFilter.Builder getSequenceFilterBuilder()

Filters that must occur in a specific order for the user to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;

Returns
Type Description
AudienceSequenceFilter.Builder

getSequenceFilterOrBuilder()

public AudienceSequenceFilterOrBuilder getSequenceFilterOrBuilder()

Filters that must occur in a specific order for the user to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;

Returns
Type Description
AudienceSequenceFilterOrBuilder

getSimpleFilter()

public AudienceSimpleFilter getSimpleFilter()

A simple filter that a user must satisfy to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;

Returns
Type Description
AudienceSimpleFilter

The simpleFilter.

getSimpleFilterBuilder()

public AudienceSimpleFilter.Builder getSimpleFilterBuilder()

A simple filter that a user must satisfy to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;

Returns
Type Description
AudienceSimpleFilter.Builder

getSimpleFilterOrBuilder()

public AudienceSimpleFilterOrBuilder getSimpleFilterOrBuilder()

A simple filter that a user must satisfy to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;

Returns
Type Description
AudienceSimpleFilterOrBuilder

hasSequenceFilter()

public boolean hasSequenceFilter()

Filters that must occur in a specific order for the user to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;

Returns
Type Description
boolean

Whether the sequenceFilter field is set.

hasSimpleFilter()

public boolean hasSimpleFilter()

A simple filter that a user must satisfy to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;

Returns
Type Description
boolean

Whether the simpleFilter field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(AudienceFilterClause other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeSequenceFilter(AudienceSequenceFilter value)

public AudienceFilterClause.Builder mergeSequenceFilter(AudienceSequenceFilter value)

Filters that must occur in a specific order for the user to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;

Parameter
Name Description
value AudienceSequenceFilter
Returns
Type Description
AudienceFilterClause.Builder

mergeSimpleFilter(AudienceSimpleFilter value)

public AudienceFilterClause.Builder mergeSimpleFilter(AudienceSimpleFilter value)

A simple filter that a user must satisfy to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;

Parameter
Name Description
value AudienceSimpleFilter
Returns
Type Description
AudienceFilterClause.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setClauseType(AudienceFilterClause.AudienceClauseType value)

public AudienceFilterClause.Builder setClauseType(AudienceFilterClause.AudienceClauseType value)

Required. Specifies whether this is an include or exclude filter clause.

.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value AudienceFilterClause.AudienceClauseType

The clauseType to set.

Returns
Type Description
AudienceFilterClause.Builder

This builder for chaining.

setClauseTypeValue(int value)

public AudienceFilterClause.Builder setClauseTypeValue(int value)

Required. Specifies whether this is an include or exclude filter clause.

.google.analytics.admin.v1alpha.AudienceFilterClause.AudienceClauseType clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
AudienceFilterClause.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setSequenceFilter(AudienceSequenceFilter value)

public AudienceFilterClause.Builder setSequenceFilter(AudienceSequenceFilter value)

Filters that must occur in a specific order for the user to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;

Parameter
Name Description
value AudienceSequenceFilter
Returns
Type Description
AudienceFilterClause.Builder

setSequenceFilter(AudienceSequenceFilter.Builder builderForValue)

public AudienceFilterClause.Builder setSequenceFilter(AudienceSequenceFilter.Builder builderForValue)

Filters that must occur in a specific order for the user to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSequenceFilter sequence_filter = 3;

Parameter
Name Description
builderForValue AudienceSequenceFilter.Builder
Returns
Type Description
AudienceFilterClause.Builder

setSimpleFilter(AudienceSimpleFilter value)

public AudienceFilterClause.Builder setSimpleFilter(AudienceSimpleFilter value)

A simple filter that a user must satisfy to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;

Parameter
Name Description
value AudienceSimpleFilter
Returns
Type Description
AudienceFilterClause.Builder

setSimpleFilter(AudienceSimpleFilter.Builder builderForValue)

public AudienceFilterClause.Builder setSimpleFilter(AudienceSimpleFilter.Builder builderForValue)

A simple filter that a user must satisfy to be a member of the Audience.

.google.analytics.admin.v1alpha.AudienceSimpleFilter simple_filter = 2;

Parameter
Name Description
builderForValue AudienceSimpleFilter.Builder
Returns
Type Description
AudienceFilterClause.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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