public static final class EventSegment.Builder extends GeneratedMessageV3.Builder<EventSegment.Builder> implements EventSegmentOrBuilder
Event segments are subsets of events that were triggered on your site or app.
for example, all purchase events made in a particular location; app_exception
events that occurred on a specific operating system.
Protobuf type google.analytics.data.v1alpha.EventSegment
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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EventSegment build()
buildPartial()
public EventSegment buildPartial()
clear()
public EventSegment.Builder clear()
Overrides
clearEventInclusionCriteria()
public EventSegment.Builder clearEventInclusionCriteria()
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
clearExclusion()
public EventSegment.Builder clearExclusion()
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
clearField(Descriptors.FieldDescriptor field)
public EventSegment.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EventSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clone()
public EventSegment.Builder clone()
Overrides
getDefaultInstanceForType()
public EventSegment getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getEventInclusionCriteria()
public EventSegmentCriteria getEventInclusionCriteria()
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
getEventInclusionCriteriaBuilder()
public EventSegmentCriteria.Builder getEventInclusionCriteriaBuilder()
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
getEventInclusionCriteriaOrBuilder()
public EventSegmentCriteriaOrBuilder getEventInclusionCriteriaOrBuilder()
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
getExclusion()
public EventSegmentExclusion getExclusion()
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
getExclusionBuilder()
public EventSegmentExclusion.Builder getExclusionBuilder()
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
getExclusionOrBuilder()
public EventSegmentExclusionOrBuilder getExclusionOrBuilder()
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
hasEventInclusionCriteria()
public boolean hasEventInclusionCriteria()
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
Returns |
---|
Type | Description |
boolean | Whether the eventInclusionCriteria field is set.
|
hasExclusion()
public boolean hasExclusion()
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
Returns |
---|
Type | Description |
boolean | Whether the exclusion field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeEventInclusionCriteria(EventSegmentCriteria value)
public EventSegment.Builder mergeEventInclusionCriteria(EventSegmentCriteria value)
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
mergeExclusion(EventSegmentExclusion value)
public EventSegment.Builder mergeExclusion(EventSegmentExclusion value)
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
mergeFrom(EventSegment other)
public EventSegment.Builder mergeFrom(EventSegment other)
public EventSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EventSegment.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setEventInclusionCriteria(EventSegmentCriteria value)
public EventSegment.Builder setEventInclusionCriteria(EventSegmentCriteria value)
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
setEventInclusionCriteria(EventSegmentCriteria.Builder builderForValue)
public EventSegment.Builder setEventInclusionCriteria(EventSegmentCriteria.Builder builderForValue)
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
setExclusion(EventSegmentExclusion value)
public EventSegment.Builder setExclusion(EventSegmentExclusion value)
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
setExclusion(EventSegmentExclusion.Builder builderForValue)
public EventSegment.Builder setExclusion(EventSegmentExclusion.Builder builderForValue)
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
setField(Descriptors.FieldDescriptor field, Object value)
public EventSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EventSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides