Class EventSegmentExclusion (0.58.0)

public final class EventSegmentExclusion extends GeneratedMessageV3 implements EventSegmentExclusionOrBuilder

Specifies which events are excluded in this segment.

Protobuf type google.analytics.data.v1alpha.EventSegmentExclusion

Static Fields

EVENT_EXCLUSION_CRITERIA_FIELD_NUMBER

public static final int EVENT_EXCLUSION_CRITERIA_FIELD_NUMBER
Field Value
Type Description
int

EVENT_EXCLUSION_DURATION_FIELD_NUMBER

public static final int EVENT_EXCLUSION_DURATION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static EventSegmentExclusion getDefaultInstance()
Returns
Type Description
EventSegmentExclusion

getDescriptor()

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

newBuilder()

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

newBuilder(EventSegmentExclusion prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EventSegmentExclusion getDefaultInstanceForType()
Returns
Type Description
EventSegmentExclusion

getEventExclusionCriteria()

public EventSegmentCriteria getEventExclusionCriteria()

If an event meets this condition, the event is excluded from membership in the segment for the eventExclusionDuration.

.google.analytics.data.v1alpha.EventSegmentCriteria event_exclusion_criteria = 2;

Returns
Type Description
EventSegmentCriteria

The eventExclusionCriteria.

getEventExclusionCriteriaOrBuilder()

public EventSegmentCriteriaOrBuilder getEventExclusionCriteriaOrBuilder()

If an event meets this condition, the event is excluded from membership in the segment for the eventExclusionDuration.

.google.analytics.data.v1alpha.EventSegmentCriteria event_exclusion_criteria = 2;

Returns
Type Description
EventSegmentCriteriaOrBuilder

getEventExclusionDuration()

public EventExclusionDuration getEventExclusionDuration()

eventExclusionDuration should always be PERMANENTLY_EXCLUDE.

Optional. If unspecified, an eventExclusionDuration of EVENT_EXCLUSION_PERMANENT is used.

.google.analytics.data.v1alpha.EventExclusionDuration event_exclusion_duration = 1;

Returns
Type Description
EventExclusionDuration

The eventExclusionDuration.

getEventExclusionDurationValue()

public int getEventExclusionDurationValue()

eventExclusionDuration should always be PERMANENTLY_EXCLUDE.

Optional. If unspecified, an eventExclusionDuration of EVENT_EXCLUSION_PERMANENT is used.

.google.analytics.data.v1alpha.EventExclusionDuration event_exclusion_duration = 1;

Returns
Type Description
int

The enum numeric value on the wire for eventExclusionDuration.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasEventExclusionCriteria()

public boolean hasEventExclusionCriteria()

If an event meets this condition, the event is excluded from membership in the segment for the eventExclusionDuration.

.google.analytics.data.v1alpha.EventSegmentCriteria event_exclusion_criteria = 2;

Returns
Type Description
boolean

Whether the eventExclusionCriteria 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 EventSegmentExclusion.Builder newBuilderForType()
Returns
Type Description
EventSegmentExclusion.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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