public static final class SegmentEventFilter.Builder extends GeneratedMessageV3.Builder<SegmentEventFilter.Builder> implements SegmentEventFilterOrBuilder
Creates a filter that matches events of a single event name. If a parameter
filter expression 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.data.v1alpha.SegmentEventFilter
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()
Returns
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SegmentEventFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public SegmentEventFilter build()
Returns
buildPartial()
public SegmentEventFilter buildPartial()
Returns
clear()
public SegmentEventFilter.Builder clear()
Returns
Overrides
clearEventName()
public SegmentEventFilter.Builder clearEventName()
This filter matches events of this single event name. Event name is
required.
optional string event_name = 1;
Returns
clearField(Descriptors.FieldDescriptor field)
public SegmentEventFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SegmentEventFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clearSegmentParameterFilterExpression()
public SegmentEventFilter.Builder clearSegmentParameterFilterExpression()
If specified, this filter matches events that match both the single event
name and the parameter filter expressions.
Inside the parameter filter expression, only parameter filters are
available.
optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2;
Returns
clone()
public SegmentEventFilter.Builder clone()
Returns
Overrides
getDefaultInstanceForType()
public SegmentEventFilter getDefaultInstanceForType()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
getEventName()
public String getEventName()
This filter matches events of this single event name. Event name is
required.
optional string event_name = 1;
Returns
Type | Description |
String | The eventName.
|
getEventNameBytes()
public ByteString getEventNameBytes()
This filter matches events of this single event name. Event name is
required.
optional string event_name = 1;
Returns
getSegmentParameterFilterExpression()
public SegmentParameterFilterExpression getSegmentParameterFilterExpression()
If specified, this filter matches events that match both the single event
name and the parameter filter expressions.
Inside the parameter filter expression, only parameter filters are
available.
optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2;
Returns
getSegmentParameterFilterExpressionBuilder()
public SegmentParameterFilterExpression.Builder getSegmentParameterFilterExpressionBuilder()
If specified, this filter matches events that match both the single event
name and the parameter filter expressions.
Inside the parameter filter expression, only parameter filters are
available.
optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2;
Returns
getSegmentParameterFilterExpressionOrBuilder()
public SegmentParameterFilterExpressionOrBuilder getSegmentParameterFilterExpressionOrBuilder()
If specified, this filter matches events that match both the single event
name and the parameter filter expressions.
Inside the parameter filter expression, only parameter filters are
available.
optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2;
Returns
hasEventName()
public boolean hasEventName()
This filter matches events of this single event name. Event name is
required.
optional string event_name = 1;
Returns
Type | Description |
boolean | Whether the eventName field is set.
|
hasSegmentParameterFilterExpression()
public boolean hasSegmentParameterFilterExpression()
If specified, this filter matches events that match both the single event
name and the parameter filter expressions.
Inside the parameter filter expression, only parameter filters are
available.
optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2;
Returns
Type | Description |
boolean | Whether the segmentParameterFilterExpression field is set.
|
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(SegmentEventFilter other)
public SegmentEventFilter.Builder mergeFrom(SegmentEventFilter other)
Parameter
Returns
public SegmentEventFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public SegmentEventFilter.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeSegmentParameterFilterExpression(SegmentParameterFilterExpression value)
public SegmentEventFilter.Builder mergeSegmentParameterFilterExpression(SegmentParameterFilterExpression value)
If specified, this filter matches events that match both the single event
name and the parameter filter expressions.
Inside the parameter filter expression, only parameter filters are
available.
optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2;
Parameter
Returns
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SegmentEventFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides
setEventName(String value)
public SegmentEventFilter.Builder setEventName(String value)
This filter matches events of this single event name. Event name is
required.
optional string event_name = 1;
Parameter
Name | Description |
value | String
The eventName to set.
|
Returns
setEventNameBytes(ByteString value)
public SegmentEventFilter.Builder setEventNameBytes(ByteString value)
This filter matches events of this single event name. Event name is
required.
optional string event_name = 1;
Parameter
Name | Description |
value | ByteString
The bytes for eventName to set.
|
Returns
setField(Descriptors.FieldDescriptor field, Object value)
public SegmentEventFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SegmentEventFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setSegmentParameterFilterExpression(SegmentParameterFilterExpression value)
public SegmentEventFilter.Builder setSegmentParameterFilterExpression(SegmentParameterFilterExpression value)
If specified, this filter matches events that match both the single event
name and the parameter filter expressions.
Inside the parameter filter expression, only parameter filters are
available.
optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2;
Parameter
Returns
setSegmentParameterFilterExpression(SegmentParameterFilterExpression.Builder builderForValue)
public SegmentEventFilter.Builder setSegmentParameterFilterExpression(SegmentParameterFilterExpression.Builder builderForValue)
If specified, this filter matches events that match both the single event
name and the parameter filter expressions.
Inside the parameter filter expression, only parameter filters are
available.
optional .google.analytics.data.v1alpha.SegmentParameterFilterExpression segment_parameter_filter_expression = 2;
Parameter
Returns
setUnknownFields(UnknownFieldSet unknownFields)
public final SegmentEventFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides