Class SubpropertyEventFilterClause.Builder (0.50.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubpropertyEventFilterClause build()
Returns
TypeDescription
SubpropertyEventFilterClause

buildPartial()

public SubpropertyEventFilterClause buildPartial()
Returns
TypeDescription
SubpropertyEventFilterClause

clear()

public SubpropertyEventFilterClause.Builder clear()
Returns
TypeDescription
SubpropertyEventFilterClause.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SubpropertyEventFilterClause.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
SubpropertyEventFilterClause.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SubpropertyEventFilterClause.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SubpropertyEventFilterClause.Builder
Overrides

clone()

public SubpropertyEventFilterClause.Builder clone()
Returns
TypeDescription
SubpropertyEventFilterClause.Builder
Overrides

getDefaultInstanceForType()

public SubpropertyEventFilterClause getDefaultInstanceForType()
Returns
TypeDescription
SubpropertyEventFilterClause

getDescriptorForType()

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

Whether the filterExpression field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueSubpropertyEventFilterExpression
Returns
TypeDescription
SubpropertyEventFilterClause.Builder

mergeFrom(SubpropertyEventFilterClause other)

public SubpropertyEventFilterClause.Builder mergeFrom(SubpropertyEventFilterClause other)
Parameter
NameDescription
otherSubpropertyEventFilterClause
Returns
TypeDescription
SubpropertyEventFilterClause.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SubpropertyEventFilterClause.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SubpropertyEventFilterClause.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubpropertyEventFilterClause.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
SubpropertyEventFilterClause.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

public SubpropertyEventFilterClause.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueSubpropertyEventFilterClause.FilterClauseType

The filterClauseType to set.

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

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

Returns
TypeDescription
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
NameDescription
valueSubpropertyEventFilterExpression
Returns
TypeDescription
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
NameDescription
builderForValueSubpropertyEventFilterExpression.Builder
Returns
TypeDescription
SubpropertyEventFilterClause.Builder

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

public SubpropertyEventFilterClause.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SubpropertyEventFilterClause.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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