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.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventSegmentExclusion.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EventSegmentExclusion build()
buildPartial()
public EventSegmentExclusion buildPartial()
clear()
public EventSegmentExclusion.Builder clear()
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;
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;
clearField(Descriptors.FieldDescriptor field)
public EventSegmentExclusion.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EventSegmentExclusion.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EventSegmentExclusion.Builder clone()
Overrides
getDefaultInstanceForType()
public EventSegmentExclusion getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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;
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
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;
mergeFrom(EventSegmentExclusion other)
public EventSegmentExclusion.Builder mergeFrom(EventSegmentExclusion other)
public EventSegmentExclusion.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EventSegmentExclusion.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventSegmentExclusion.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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;
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;
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;
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public EventSegmentExclusion.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventSegmentExclusion.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EventSegmentExclusion.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides