Class EventSegmentConditionGroup.Builder (0.53.0)

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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EventSegmentConditionGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EventSegmentConditionGroup.Builder
Overrides

build()

public EventSegmentConditionGroup build()
Returns
Type Description
EventSegmentConditionGroup

buildPartial()

public EventSegmentConditionGroup buildPartial()
Returns
Type Description
EventSegmentConditionGroup

clear()

public EventSegmentConditionGroup.Builder clear()
Returns
Type Description
EventSegmentConditionGroup.Builder
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;

Returns
Type Description
EventSegmentConditionGroup.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EventSegmentConditionGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
EventSegmentConditionGroup.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EventSegmentConditionGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
EventSegmentConditionGroup.Builder
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;

Returns
Type Description
EventSegmentConditionGroup.Builder

clone()

public EventSegmentConditionGroup.Builder clone()
Returns
Type Description
EventSegmentConditionGroup.Builder
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;

Returns
Type Description
EventCriteriaScoping

The conditionScoping.

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()
Returns
Type Description
EventSegmentConditionGroup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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;

Returns
Type Description
SegmentFilterExpression

The segmentFilterExpression.

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;

Returns
Type Description
SegmentFilterExpression.Builder

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;

Returns
Type Description
SegmentFilterExpressionOrBuilder

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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(EventSegmentConditionGroup other)

public EventSegmentConditionGroup.Builder mergeFrom(EventSegmentConditionGroup other)
Parameter
Name Description
other EventSegmentConditionGroup
Returns
Type Description
EventSegmentConditionGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EventSegmentConditionGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
EventSegmentConditionGroup.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public EventSegmentConditionGroup.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
EventSegmentConditionGroup.Builder
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;

Parameter
Name Description
value SegmentFilterExpression
Returns
Type Description
EventSegmentConditionGroup.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventSegmentConditionGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EventSegmentConditionGroup.Builder
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;

Parameter
Name Description
value EventCriteriaScoping

The conditionScoping to set.

Returns
Type Description
EventSegmentConditionGroup.Builder

This builder for chaining.

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.

Returns
Type Description
EventSegmentConditionGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EventSegmentConditionGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
EventSegmentConditionGroup.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public EventSegmentConditionGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
EventSegmentConditionGroup.Builder
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;

Parameter
Name Description
value SegmentFilterExpression
Returns
Type Description
EventSegmentConditionGroup.Builder

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;

Parameter
Name Description
builderForValue SegmentFilterExpression.Builder
Returns
Type Description
EventSegmentConditionGroup.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EventSegmentConditionGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
EventSegmentConditionGroup.Builder
Overrides