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
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudienceFilterClause.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public AudienceFilterClause build()
Returns
buildPartial()
public AudienceFilterClause buildPartial()
Returns
clear()
public AudienceFilterClause.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public AudienceFilterClause.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearFilter()
public AudienceFilterClause.Builder clearFilter()
Returns
clearOneof(Descriptors.OneofDescriptor oneof)
public AudienceFilterClause.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
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
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
clone()
public AudienceFilterClause.Builder clone()
Returns
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
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
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getFilterCase()
public AudienceFilterClause.FilterCase getFilterCase()
Returns
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
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
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
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
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
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
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
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(AudienceFilterClause other)
public AudienceFilterClause.Builder mergeFrom(AudienceFilterClause other)
Parameter
Returns
public AudienceFilterClause.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public AudienceFilterClause.Builder mergeFrom(Message other)
Parameter
Returns
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
Returns
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
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final AudienceFilterClause.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
Returns
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
setField(Descriptors.FieldDescriptor field, Object value)
public AudienceFilterClause.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudienceFilterClause.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
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
Returns
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
Returns
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
Returns
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
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final AudienceFilterClause.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides