public static final class EventSegmentExclusion.Builder extends GeneratedMessageV3.Builder<EventSegmentExclusion.Builder> implements EventSegmentExclusionOrBuilder
Specifies which events are excluded in this segment.
Protobuf type google.analytics.data.v1alpha.EventSegmentExclusion
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)
Static Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventSegmentExclusion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EventSegmentExclusion build()
Returns
buildPartial()
public EventSegmentExclusion buildPartial()
Returns
clear()
public EventSegmentExclusion.Builder clear()
Returns
Overrides
clearEventExclusionCriteria()
public EventSegmentExclusion.Builder clearEventExclusionCriteria()
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
clearEventExclusionDuration()
public EventSegmentExclusion.Builder clearEventExclusionDuration()
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
clearField(Descriptors.FieldDescriptor field)
public EventSegmentExclusion.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EventSegmentExclusion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public EventSegmentExclusion.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public EventSegmentExclusion getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
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
getEventExclusionCriteriaBuilder()
public EventSegmentCriteria.Builder getEventExclusionCriteriaBuilder()
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
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
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
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.
|
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.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeEventExclusionCriteria(EventSegmentCriteria value)
public EventSegmentExclusion.Builder mergeEventExclusionCriteria(EventSegmentCriteria value)
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;
Parameter
Returns
mergeFrom(EventSegmentExclusion other)
public EventSegmentExclusion.Builder mergeFrom(EventSegmentExclusion other)
Parameter
Returns
public EventSegmentExclusion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EventSegmentExclusion.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventSegmentExclusion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEventExclusionCriteria(EventSegmentCriteria value)
public EventSegmentExclusion.Builder setEventExclusionCriteria(EventSegmentCriteria value)
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;
Parameter
Returns
setEventExclusionCriteria(EventSegmentCriteria.Builder builderForValue)
public EventSegmentExclusion.Builder setEventExclusionCriteria(EventSegmentCriteria.Builder builderForValue)
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;
Parameter
Returns
setEventExclusionDuration(EventExclusionDuration value)
public EventSegmentExclusion.Builder setEventExclusionDuration(EventExclusionDuration value)
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;
Parameter
Returns
setEventExclusionDurationValue(int value)
public EventSegmentExclusion.Builder setEventExclusionDurationValue(int value)
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;
Parameter
Name | Description |
value | int
The enum numeric value on the wire for eventExclusionDuration to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EventSegmentExclusion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventSegmentExclusion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EventSegmentExclusion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides