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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudienceFilterClause.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public AudienceFilterClause build()
buildPartial()
public AudienceFilterClause buildPartial()
clear()
public AudienceFilterClause.Builder clear()
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];
clearField(Descriptors.FieldDescriptor field)
public AudienceFilterClause.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearFilter()
public AudienceFilterClause.Builder clearFilter()
clearOneof(Descriptors.OneofDescriptor oneof)
public AudienceFilterClause.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
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;
clone()
public AudienceFilterClause.Builder clone()
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];
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()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getFilterCase()
public AudienceFilterClause.FilterCase getFilterCase()
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;
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;
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;
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(AudienceFilterClause other)
public AudienceFilterClause.Builder mergeFrom(AudienceFilterClause other)
public AudienceFilterClause.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public AudienceFilterClause.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudienceFilterClause.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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];
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public AudienceFilterClause.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudienceFilterClause.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final AudienceFilterClause.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides