public final class AudienceFilterClause extends GeneratedMessageV3 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.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
CLAUSE_TYPE_FIELD_NUMBER
public static final int CLAUSE_TYPE_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SEQUENCE_FILTER_FIELD_NUMBER
public static final int SEQUENCE_FILTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
SIMPLE_FILTER_FIELD_NUMBER
public static final int SIMPLE_FILTER_FIELD_NUMBER
Field Value |
Type |
Description |
int |
|
Static Methods
getDefaultInstance()
public static AudienceFilterClause getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static AudienceFilterClause.Builder newBuilder()
newBuilder(AudienceFilterClause prototype)
public static AudienceFilterClause.Builder newBuilder(AudienceFilterClause prototype)
public static AudienceFilterClause parseDelimitedFrom(InputStream input)
public static AudienceFilterClause parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static AudienceFilterClause parseFrom(byte[] data)
Parameter |
Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterClause parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static AudienceFilterClause parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterClause parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterClause parseFrom(CodedInputStream input)
public static AudienceFilterClause parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterClause parseFrom(InputStream input)
public static AudienceFilterClause parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static AudienceFilterClause parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static AudienceFilterClause parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<AudienceFilterClause> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
Name |
Description |
obj |
Object
|
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()
getFilterCase()
public AudienceFilterClause.FilterCase getFilterCase()
getParserForType()
public Parser<AudienceFilterClause> getParserForType()
Overrides
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;
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;
getSerializedSize()
public int getSerializedSize()
Returns |
Type |
Description |
int |
|
Overrides
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;
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.
|
hashCode()
Returns |
Type |
Description |
int |
|
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public AudienceFilterClause.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected AudienceFilterClause.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Returns |
Type |
Description |
Object |
|
Overrides
toBuilder()
public AudienceFilterClause.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides