Class AudienceSequenceFilter (0.47.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
TypeDescription
int

SEQUENCE_MAXIMUM_DURATION_FIELD_NUMBER

public static final int SEQUENCE_MAXIMUM_DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

SEQUENCE_STEPS_FIELD_NUMBER

public static final int SEQUENCE_STEPS_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AudienceSequenceFilter getDefaultInstance()
Returns
TypeDescription
AudienceSequenceFilter

getDescriptor()

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

newBuilder()

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

newBuilder(AudienceSequenceFilter prototype)

public static AudienceSequenceFilter.Builder newBuilder(AudienceSequenceFilter prototype)
Parameter
NameDescription
prototypeAudienceSequenceFilter
Returns
TypeDescription
AudienceSequenceFilter.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AudienceSequenceFilter getDefaultInstanceForType()
Returns
TypeDescription
AudienceSequenceFilter

getParserForType()

public Parser<AudienceSequenceFilter> getParserForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends com.google.analytics.admin.v1alpha.AudienceSequenceFilter.AudienceSequenceStepOrBuilder>

getSerializedSize()

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

Whether the sequenceMaximumDuration 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 AudienceSequenceFilter.Builder newBuilderForType()
Returns
TypeDescription
AudienceSequenceFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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