Class EventSegmentExclusion (0.41.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
TypeDescription
int

EVENT_EXCLUSION_DURATION_FIELD_NUMBER

public static final int EVENT_EXCLUSION_DURATION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static EventSegmentExclusion getDefaultInstance()
Returns
TypeDescription
EventSegmentExclusion

getDescriptor()

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

newBuilder()

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

newBuilder(EventSegmentExclusion prototype)

public static EventSegmentExclusion.Builder newBuilder(EventSegmentExclusion prototype)
Parameter
NameDescription
prototypeEventSegmentExclusion
Returns
TypeDescription
EventSegmentExclusion.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

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

getDefaultInstanceForType()

public EventSegmentExclusion getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for eventExclusionDuration.

getParserForType()

public Parser<EventSegmentExclusion> getParserForType()
Returns
TypeDescription
Parser<EventSegmentExclusion>
Overrides

getSerializedSize()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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