Class AudienceFilterClause (0.24.0)

public final class AudienceFilterClause extends GeneratedMessageV3 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 Fields

CLAUSE_TYPE_FIELD_NUMBER

public static final int CLAUSE_TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

SEQUENCE_FILTER_FIELD_NUMBER

public static final int SEQUENCE_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

SIMPLE_FILTER_FIELD_NUMBER

public static final int SIMPLE_FILTER_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AudienceFilterClause getDefaultInstance()
Returns
TypeDescription
AudienceFilterClause

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AudienceFilterClause.Builder newBuilder()
Returns
TypeDescription
AudienceFilterClause.Builder

newBuilder(AudienceFilterClause prototype)

public static AudienceFilterClause.Builder newBuilder(AudienceFilterClause prototype)
Parameter
NameDescription
prototypeAudienceFilterClause
Returns
TypeDescription
AudienceFilterClause.Builder

parseDelimitedFrom(InputStream input)

public static AudienceFilterClause parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterClause parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AudienceFilterClause parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterClause parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AudienceFilterClause parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterClause parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AudienceFilterClause parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterClause parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AudienceFilterClause parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterClause parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AudienceFilterClause parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AudienceFilterClause parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceFilterClause
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AudienceFilterClause> parser()
Returns
TypeDescription
Parser<AudienceFilterClause>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
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

getFilterCase()

public AudienceFilterClause.FilterCase getFilterCase()
Returns
TypeDescription
AudienceFilterClause.FilterCase

getParserForType()

public Parser<AudienceFilterClause> getParserForType()
Returns
TypeDescription
Parser<AudienceFilterClause>
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;

Returns
TypeDescription
AudienceSequenceFilter

The sequenceFilter.

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

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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;

Returns
TypeDescription
AudienceSimpleFilter

The simpleFilter.

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

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

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.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AudienceFilterClause.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AudienceFilterClause.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

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

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException