Class EventSegmentConditionGroup.Builder (0.31.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public EventSegmentConditionGroup.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventSegmentConditionGroup.Builder
Overrides

build()

public EventSegmentConditionGroup build()
Returns
TypeDescription
EventSegmentConditionGroup

buildPartial()

public EventSegmentConditionGroup buildPartial()
Returns
TypeDescription
EventSegmentConditionGroup

clear()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public EventSegmentConditionGroup.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
EventSegmentConditionGroup.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public EventSegmentConditionGroup.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
EventSegmentConditionGroup.Builder

clone()

public EventSegmentConditionGroup.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
int

The enum numeric value on the wire for conditionScoping.

getDefaultInstanceForType()

public EventSegmentConditionGroup getDefaultInstanceForType()
Returns
TypeDescription
EventSegmentConditionGroup

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the segmentFilterExpression field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(EventSegmentConditionGroup other)

public EventSegmentConditionGroup.Builder mergeFrom(EventSegmentConditionGroup other)
Parameter
NameDescription
otherEventSegmentConditionGroup
Returns
TypeDescription
EventSegmentConditionGroup.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public EventSegmentConditionGroup.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
EventSegmentConditionGroup.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public EventSegmentConditionGroup.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSegmentFilterExpression
Returns
TypeDescription
EventSegmentConditionGroup.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final EventSegmentConditionGroup.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueEventCriteriaScoping

The conditionScoping to set.

Returns
TypeDescription
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
NameDescription
valueint

The enum numeric value on the wire for conditionScoping to set.

Returns
TypeDescription
EventSegmentConditionGroup.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public EventSegmentConditionGroup.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
EventSegmentConditionGroup.Builder
Overrides

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

public EventSegmentConditionGroup.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSegmentFilterExpression
Returns
TypeDescription
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
NameDescription
builderForValueSegmentFilterExpression.Builder
Returns
TypeDescription
EventSegmentConditionGroup.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final EventSegmentConditionGroup.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
EventSegmentConditionGroup.Builder
Overrides