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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public EventSegment.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public EventSegment build()
Returns
buildPartial()
public EventSegment buildPartial()
Returns
clear()
public EventSegment.Builder clear()
Returns
Overrides
clearEventInclusionCriteria()
public EventSegment.Builder clearEventInclusionCriteria()
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
Returns
clearExclusion()
public EventSegment.Builder clearExclusion()
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
Returns
clearField(Descriptors.FieldDescriptor field)
public EventSegment.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EventSegment.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public EventSegment.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public EventSegment getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEventInclusionCriteria()
public EventSegmentCriteria getEventInclusionCriteria()
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
Returns
getEventInclusionCriteriaBuilder()
public EventSegmentCriteria.Builder getEventInclusionCriteriaBuilder()
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
Returns
getEventInclusionCriteriaOrBuilder()
public EventSegmentCriteriaOrBuilder getEventInclusionCriteriaOrBuilder()
Defines which events are included in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentCriteria event_inclusion_criteria = 1;
Returns
getExclusion()
public EventSegmentExclusion getExclusion()
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
Returns
getExclusionBuilder()
public EventSegmentExclusion.Builder getExclusionBuilder()
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
Returns
getExclusionOrBuilder()
public EventSegmentExclusionOrBuilder getExclusionOrBuilder()
Defines which events are excluded in this segment. Optional.
.google.analytics.data.v1alpha.EventSegmentExclusion exclusion = 2;
Returns
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()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
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;
Parameter
Returns
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;
Parameter
Returns
mergeFrom(EventSegment other)
public EventSegment.Builder mergeFrom(EventSegment other)
Parameter
Returns
public EventSegment.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public EventSegment.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventSegment.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
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;
Parameter
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public EventSegment.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventSegment.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final EventSegment.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides