Class SubpropertyEventFilterClause.Builder (0.56.0)

public static final class SubpropertyEventFilterClause.Builder extends GeneratedMessageV3.Builder<SubpropertyEventFilterClause.Builder> implements SubpropertyEventFilterClauseOrBuilder

A clause for defining a filter. A filter may be inclusive (events satisfying the filter clause are included in the subproperty's data) or exclusive (events satisfying the filter clause are excluded from the subproperty's data).

Protobuf type google.analytics.admin.v1alpha.SubpropertyEventFilterClause

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubpropertyEventFilterClause build()
Returns
Type Description
SubpropertyEventFilterClause

buildPartial()

public SubpropertyEventFilterClause buildPartial()
Returns
Type Description
SubpropertyEventFilterClause

clear()

public SubpropertyEventFilterClause.Builder clear()
Returns
Type Description
SubpropertyEventFilterClause.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearFilterClauseType()

public SubpropertyEventFilterClause.Builder clearFilterClauseType()

Required. The type for the filter clause.

.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterClause.Builder

This builder for chaining.

clearFilterExpression()

public SubpropertyEventFilterClause.Builder clearFilterExpression()

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterClause.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SubpropertyEventFilterClause.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
SubpropertyEventFilterClause.Builder
Overrides

clone()

public SubpropertyEventFilterClause.Builder clone()
Returns
Type Description
SubpropertyEventFilterClause.Builder
Overrides

getDefaultInstanceForType()

public SubpropertyEventFilterClause getDefaultInstanceForType()
Returns
Type Description
SubpropertyEventFilterClause

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getFilterClauseType()

public SubpropertyEventFilterClause.FilterClauseType getFilterClauseType()

Required. The type for the filter clause.

.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterClause.FilterClauseType

The filterClauseType.

getFilterClauseTypeValue()

public int getFilterClauseTypeValue()

Required. The type for the filter clause.

.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for filterClauseType.

getFilterExpression()

public SubpropertyEventFilterExpression getFilterExpression()

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterExpression

The filterExpression.

getFilterExpressionBuilder()

public SubpropertyEventFilterExpression.Builder getFilterExpressionBuilder()

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterExpression.Builder

getFilterExpressionOrBuilder()

public SubpropertyEventFilterExpressionOrBuilder getFilterExpressionOrBuilder()

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterExpressionOrBuilder

hasFilterExpression()

public boolean hasFilterExpression()

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the filterExpression field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFilterExpression(SubpropertyEventFilterExpression value)

public SubpropertyEventFilterClause.Builder mergeFilterExpression(SubpropertyEventFilterExpression value)

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SubpropertyEventFilterExpression
Returns
Type Description
SubpropertyEventFilterClause.Builder

mergeFrom(SubpropertyEventFilterClause other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SubpropertyEventFilterClause.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
SubpropertyEventFilterClause.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubpropertyEventFilterClause.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubpropertyEventFilterClause.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilterClauseType(SubpropertyEventFilterClause.FilterClauseType value)

public SubpropertyEventFilterClause.Builder setFilterClauseType(SubpropertyEventFilterClause.FilterClauseType value)

Required. The type for the filter clause.

.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SubpropertyEventFilterClause.FilterClauseType

The filterClauseType to set.

Returns
Type Description
SubpropertyEventFilterClause.Builder

This builder for chaining.

setFilterClauseTypeValue(int value)

public SubpropertyEventFilterClause.Builder setFilterClauseTypeValue(int value)

Required. The type for the filter clause.

.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value int

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

Returns
Type Description
SubpropertyEventFilterClause.Builder

This builder for chaining.

setFilterExpression(SubpropertyEventFilterExpression value)

public SubpropertyEventFilterClause.Builder setFilterExpression(SubpropertyEventFilterExpression value)

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value SubpropertyEventFilterExpression
Returns
Type Description
SubpropertyEventFilterClause.Builder

setFilterExpression(SubpropertyEventFilterExpression.Builder builderForValue)

public SubpropertyEventFilterClause.Builder setFilterExpression(SubpropertyEventFilterExpression.Builder builderForValue)

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
builderForValue SubpropertyEventFilterExpression.Builder
Returns
Type Description
SubpropertyEventFilterClause.Builder

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

public SubpropertyEventFilterClause.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
SubpropertyEventFilterClause.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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