Class AudienceFilterClause.Builder (0.26.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 (i.e., users satisfying the filter clause are included in the Audience) or exclusive (i.e., 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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public AudienceFilterClause build()
Returns
TypeDescription
AudienceFilterClause

buildPartial()

public AudienceFilterClause buildPartial()
Returns
TypeDescription
AudienceFilterClause

clear()

public AudienceFilterClause.Builder clear()
Returns
TypeDescription
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
TypeDescription
AudienceFilterClause.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFilter()

public AudienceFilterClause.Builder clearFilter()
Returns
TypeDescription
AudienceFilterClause.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public AudienceFilterClause.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for clauseType.

getDefaultInstanceForType()

public AudienceFilterClause getDefaultInstanceForType()
Returns
TypeDescription
AudienceFilterClause

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFilterCase()

public AudienceFilterClause.FilterCase getFilterCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the simpleFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(AudienceFilterClause other)

public AudienceFilterClause.Builder mergeFrom(AudienceFilterClause other)
Parameter
NameDescription
otherAudienceFilterClause
Returns
TypeDescription
AudienceFilterClause.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public AudienceFilterClause.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueAudienceSequenceFilter
Returns
TypeDescription
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
NameDescription
valueAudienceSimpleFilter
Returns
TypeDescription
AudienceFilterClause.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final AudienceFilterClause.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueAudienceFilterClause.AudienceClauseType

The clauseType to set.

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

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

Returns
TypeDescription
AudienceFilterClause.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public AudienceFilterClause.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueAudienceSequenceFilter
Returns
TypeDescription
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
NameDescription
builderForValueAudienceSequenceFilter.Builder
Returns
TypeDescription
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
NameDescription
valueAudienceSimpleFilter
Returns
TypeDescription
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
NameDescription
builderForValueAudienceSimpleFilter.Builder
Returns
TypeDescription
AudienceFilterClause.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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