public static final class EventSegmentConditionGroup.Builder extends GeneratedMessageV3.Builder<EventSegmentConditionGroup.Builder> implements EventSegmentConditionGroupOrBuilder
Conditions tell Analytics what data to include in or exclude from the
segment.
Protobuf type google.analytics.data.v1alpha.EventSegmentConditionGroup
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 EventSegmentConditionGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public EventSegmentConditionGroup build()
buildPartial()
public EventSegmentConditionGroup buildPartial()
clear()
public EventSegmentConditionGroup.Builder clear()
Overrides
clearConditionScoping()
public EventSegmentConditionGroup.Builder clearConditionScoping()
conditionScoping
should always be EVENT_CRITERIA_WITHIN_SAME_EVENT
.
Optional. If unspecified, a conditionScoping
of
EVENT_CRITERIA_WITHIN_SAME_EVENT
is used.
.google.analytics.data.v1alpha.EventCriteriaScoping condition_scoping = 1;
clearField(Descriptors.FieldDescriptor field)
public EventSegmentConditionGroup.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public EventSegmentConditionGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Overrides
clearSegmentFilterExpression()
public EventSegmentConditionGroup.Builder clearSegmentFilterExpression()
Data is included or excluded from the segment based on if it matches
this expression. Expressions express criteria on dimension, metrics,
and/or parameters.
.google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
clone()
public EventSegmentConditionGroup.Builder clone()
Overrides
getConditionScoping()
public EventCriteriaScoping getConditionScoping()
conditionScoping
should always be EVENT_CRITERIA_WITHIN_SAME_EVENT
.
Optional. If unspecified, a conditionScoping
of
EVENT_CRITERIA_WITHIN_SAME_EVENT
is used.
.google.analytics.data.v1alpha.EventCriteriaScoping condition_scoping = 1;
getConditionScopingValue()
public int getConditionScopingValue()
conditionScoping
should always be EVENT_CRITERIA_WITHIN_SAME_EVENT
.
Optional. If unspecified, a conditionScoping
of
EVENT_CRITERIA_WITHIN_SAME_EVENT
is used.
.google.analytics.data.v1alpha.EventCriteriaScoping condition_scoping = 1;
Returns |
---|
Type | Description |
int | The enum numeric value on the wire for conditionScoping.
|
getDefaultInstanceForType()
public EventSegmentConditionGroup getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Overrides
getSegmentFilterExpression()
public SegmentFilterExpression getSegmentFilterExpression()
Data is included or excluded from the segment based on if it matches
this expression. Expressions express criteria on dimension, metrics,
and/or parameters.
.google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
getSegmentFilterExpressionBuilder()
public SegmentFilterExpression.Builder getSegmentFilterExpressionBuilder()
Data is included or excluded from the segment based on if it matches
this expression. Expressions express criteria on dimension, metrics,
and/or parameters.
.google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
getSegmentFilterExpressionOrBuilder()
public SegmentFilterExpressionOrBuilder getSegmentFilterExpressionOrBuilder()
Data is included or excluded from the segment based on if it matches
this expression. Expressions express criteria on dimension, metrics,
and/or parameters.
.google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
hasSegmentFilterExpression()
public boolean hasSegmentFilterExpression()
Data is included or excluded from the segment based on if it matches
this expression. Expressions express criteria on dimension, metrics,
and/or parameters.
.google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
Returns |
---|
Type | Description |
boolean | Whether the segmentFilterExpression field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(EventSegmentConditionGroup other)
public EventSegmentConditionGroup.Builder mergeFrom(EventSegmentConditionGroup other)
public EventSegmentConditionGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public EventSegmentConditionGroup.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
Overrides
mergeSegmentFilterExpression(SegmentFilterExpression value)
public EventSegmentConditionGroup.Builder mergeSegmentFilterExpression(SegmentFilterExpression value)
Data is included or excluded from the segment based on if it matches
this expression. Expressions express criteria on dimension, metrics,
and/or parameters.
.google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final EventSegmentConditionGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Overrides
setConditionScoping(EventCriteriaScoping value)
public EventSegmentConditionGroup.Builder setConditionScoping(EventCriteriaScoping value)
conditionScoping
should always be EVENT_CRITERIA_WITHIN_SAME_EVENT
.
Optional. If unspecified, a conditionScoping
of
EVENT_CRITERIA_WITHIN_SAME_EVENT
is used.
.google.analytics.data.v1alpha.EventCriteriaScoping condition_scoping = 1;
setConditionScopingValue(int value)
public EventSegmentConditionGroup.Builder setConditionScopingValue(int value)
conditionScoping
should always be EVENT_CRITERIA_WITHIN_SAME_EVENT
.
Optional. If unspecified, a conditionScoping
of
EVENT_CRITERIA_WITHIN_SAME_EVENT
is used.
.google.analytics.data.v1alpha.EventCriteriaScoping condition_scoping = 1;
Parameter |
---|
Name | Description |
value | int
The enum numeric value on the wire for conditionScoping to set.
|
setField(Descriptors.FieldDescriptor field, Object value)
public EventSegmentConditionGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public EventSegmentConditionGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Overrides
setSegmentFilterExpression(SegmentFilterExpression value)
public EventSegmentConditionGroup.Builder setSegmentFilterExpression(SegmentFilterExpression value)
Data is included or excluded from the segment based on if it matches
this expression. Expressions express criteria on dimension, metrics,
and/or parameters.
.google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
setSegmentFilterExpression(SegmentFilterExpression.Builder builderForValue)
public EventSegmentConditionGroup.Builder setSegmentFilterExpression(SegmentFilterExpression.Builder builderForValue)
Data is included or excluded from the segment based on if it matches
this expression. Expressions express criteria on dimension, metrics,
and/or parameters.
.google.analytics.data.v1alpha.SegmentFilterExpression segment_filter_expression = 2;
setUnknownFields(UnknownFieldSet unknownFields)
public final EventSegmentConditionGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides