public static final class AudienceEventFilter.Builder extends GeneratedMessageV3.Builder<AudienceEventFilter.Builder> implements AudienceEventFilterOrBuilder
A filter that matches events of a single event name. If an event parameter is specified, only the subset of events that match both the single event name and the parameter filter expressions match this event filter.
Protobuf type google.analytics.admin.v1alpha.AudienceEventFilter
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()
ReturnsMethods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public AudienceEventFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
ParametersReturnsOverridesbuild()
public AudienceEventFilter build()
ReturnsbuildPartial()
public AudienceEventFilter buildPartial()
Returnsclear()
public AudienceEventFilter.Builder clear()
ReturnsOverridesclearEventName()
public AudienceEventFilter.Builder clearEventName()
Required. Immutable. The name of the event to match against.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
ReturnsclearEventParameterFilterExpression()
public AudienceEventFilter.Builder clearEventParameterFilterExpression()
Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (i.e., nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.
.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
ReturnsclearField(Descriptors.FieldDescriptor field)
public AudienceEventFilter.Builder clearField(Descriptors.FieldDescriptor field)
ParameterReturnsOverridesclearOneof(Descriptors.OneofDescriptor oneof)
public AudienceEventFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
ParameterReturnsOverridesclone()
public AudienceEventFilter.Builder clone()
ReturnsOverridesgetDefaultInstanceForType()
public AudienceEventFilter getDefaultInstanceForType()
ReturnsgetDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
ReturnsOverridesgetEventName()
public String getEventName()
Required. Immutable. The name of the event to match against.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
ReturnsType | Description |
String | The eventName. |
getEventNameBytes()
public ByteString getEventNameBytes()
Required. Immutable. The name of the event to match against.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
ReturnsgetEventParameterFilterExpression()
public AudienceFilterExpression getEventParameterFilterExpression()
Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (i.e., nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.
.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
ReturnsgetEventParameterFilterExpressionBuilder()
public AudienceFilterExpression.Builder getEventParameterFilterExpressionBuilder()
Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (i.e., nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.
.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
ReturnsgetEventParameterFilterExpressionOrBuilder()
public AudienceFilterExpressionOrBuilder getEventParameterFilterExpressionOrBuilder()
Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (i.e., nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.
.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
ReturnshasEventParameterFilterExpression()
public boolean hasEventParameterFilterExpression()
Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (i.e., nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.
.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
ReturnsType | Description |
boolean | Whether the eventParameterFilterExpression field is set. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
ReturnsOverridesisInitialized()
public final boolean isInitialized()
ReturnsOverridesmergeEventParameterFilterExpression(AudienceFilterExpression value)
public AudienceEventFilter.Builder mergeEventParameterFilterExpression(AudienceFilterExpression value)
Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (i.e., nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.
.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
ParameterReturnsmergeFrom(AudienceEventFilter other)
public AudienceEventFilter.Builder mergeFrom(AudienceEventFilter other)
ParameterReturnspublic AudienceEventFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
ParametersReturnsOverridesExceptionsmergeFrom(Message other)
public AudienceEventFilter.Builder mergeFrom(Message other)
ParameterReturnsOverridesmergeUnknownFields(UnknownFieldSet unknownFields)
public final AudienceEventFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
ParameterReturnsOverridessetEventName(String value)
public AudienceEventFilter.Builder setEventName(String value)
Required. Immutable. The name of the event to match against.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
ParameterName | Description |
value | String
The eventName to set. |
ReturnssetEventNameBytes(ByteString value)
public AudienceEventFilter.Builder setEventNameBytes(ByteString value)
Required. Immutable. The name of the event to match against.
string event_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];
ParameterName | Description |
value | ByteString
The bytes for eventName to set. |
ReturnssetEventParameterFilterExpression(AudienceFilterExpression value)
public AudienceEventFilter.Builder setEventParameterFilterExpression(AudienceFilterExpression value)
Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (i.e., nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.
.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
ParameterReturnssetEventParameterFilterExpression(AudienceFilterExpression.Builder builderForValue)
public AudienceEventFilter.Builder setEventParameterFilterExpression(AudienceFilterExpression.Builder builderForValue)
Optional. If specified, this filter matches events that match both the single event name and the parameter filter expressions. AudienceEventFilter inside the parameter filter expression cannot be set (i.e., nested event filters are not supported). This should be a single and_group of dimension_or_metric_filter or not_expression; ANDs of ORs are not supported. Also, if it includes a filter for "eventCount", only that one will be considered; all the other filters will be ignored.
.google.analytics.admin.v1alpha.AudienceFilterExpression event_parameter_filter_expression = 2 [(.google.api.field_behavior) = OPTIONAL];
ParameterReturnssetField(Descriptors.FieldDescriptor field, Object value)
public AudienceEventFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
ParametersReturnsOverridessetRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public AudienceEventFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
ParametersReturnsOverridessetUnknownFields(UnknownFieldSet unknownFields)
public final AudienceEventFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
ParameterReturnsOverrides