Class AudienceSequenceFilter (0.56.0)

public final class AudienceSequenceFilter extends GeneratedMessageV3 implements AudienceSequenceFilterOrBuilder

Defines filters that must occur in a specific order for the user to be a member of the Audience.

Protobuf type google.analytics.admin.v1alpha.AudienceSequenceFilter

Static Fields

SCOPE_FIELD_NUMBER

public static final int SCOPE_FIELD_NUMBER
Field Value
Type Description
int

SEQUENCE_MAXIMUM_DURATION_FIELD_NUMBER

public static final int SEQUENCE_MAXIMUM_DURATION_FIELD_NUMBER
Field Value
Type Description
int

SEQUENCE_STEPS_FIELD_NUMBER

public static final int SEQUENCE_STEPS_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static AudienceSequenceFilter getDefaultInstance()
Returns
Type Description
AudienceSequenceFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static AudienceSequenceFilter.Builder newBuilder()
Returns
Type Description
AudienceSequenceFilter.Builder

newBuilder(AudienceSequenceFilter prototype)

public static AudienceSequenceFilter.Builder newBuilder(AudienceSequenceFilter prototype)
Parameter
Name Description
prototype AudienceSequenceFilter
Returns
Type Description
AudienceSequenceFilter.Builder

parseDelimitedFrom(InputStream input)

public static AudienceSequenceFilter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceSequenceFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static AudienceSequenceFilter parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AudienceSequenceFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AudienceSequenceFilter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AudienceSequenceFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AudienceSequenceFilter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceSequenceFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static AudienceSequenceFilter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceSequenceFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static AudienceSequenceFilter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AudienceSequenceFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
AudienceSequenceFilter
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<AudienceSequenceFilter> parser()
Returns
Type Description
Parser<AudienceSequenceFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public AudienceSequenceFilter getDefaultInstanceForType()
Returns
Type Description
AudienceSequenceFilter

getParserForType()

public Parser<AudienceSequenceFilter> getParserForType()
Returns
Type Description
Parser<AudienceSequenceFilter>
Overrides

getScope()

public AudienceFilterScope getScope()

Required. Immutable. Specifies the scope for this filter.

.google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
AudienceFilterScope

The scope.

getScopeValue()

public int getScopeValue()

Required. Immutable. Specifies the scope for this filter.

.google.analytics.admin.v1alpha.AudienceFilterScope scope = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
int

The enum numeric value on the wire for scope.

getSequenceMaximumDuration()

public Duration getSequenceMaximumDuration()

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
Duration

The sequenceMaximumDuration.

getSequenceMaximumDurationOrBuilder()

public DurationOrBuilder getSequenceMaximumDurationOrBuilder()

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
DurationOrBuilder

getSequenceSteps(int index)

public AudienceSequenceFilter.AudienceSequenceStep getSequenceSteps(int index)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStep

getSequenceStepsCount()

public int getSequenceStepsCount()

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

getSequenceStepsList()

public List<AudienceSequenceFilter.AudienceSequenceStep> getSequenceStepsList()

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<AudienceSequenceStep>

getSequenceStepsOrBuilder(int index)

public AudienceSequenceFilter.AudienceSequenceStepOrBuilder getSequenceStepsOrBuilder(int index)

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int
Returns
Type Description
AudienceSequenceFilter.AudienceSequenceStepOrBuilder

getSequenceStepsOrBuilderList()

public List<? extends AudienceSequenceFilter.AudienceSequenceStepOrBuilder> getSequenceStepsOrBuilderList()

Required. An ordered sequence of steps. A user must complete each step in order to join the sequence filter.

repeated .google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStep sequence_steps = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder>

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasSequenceMaximumDuration()

public boolean hasSequenceMaximumDuration()

Optional. Defines the time period in which the whole sequence must occur.

.google.protobuf.Duration sequence_maximum_duration = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
boolean

Whether the sequenceMaximumDuration field is set.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public AudienceSequenceFilter.Builder newBuilderForType()
Returns
Type Description
AudienceSequenceFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AudienceSequenceFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
AudienceSequenceFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public AudienceSequenceFilter.Builder toBuilder()
Returns
Type Description
AudienceSequenceFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException