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()
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public SegmentEventFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Overrides
build()
public SegmentEventFilter build()
buildPartial()
public SegmentEventFilter buildPartial()
clear()
public SegmentEventFilter.Builder clear()
Overrides
clearEventName()
public SegmentEventFilter.Builder clearEventName()
This filter matches events of this single event name. Event name is
required.
optional string event_name = 1;
clearField(Descriptors.FieldDescriptor field)
public SegmentEventFilter.Builder clearField(Descriptors.FieldDescriptor field)
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public SegmentEventFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
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;
clone()
public SegmentEventFilter.Builder clone()
Overrides
getDefaultInstanceForType()
public SegmentEventFilter getDefaultInstanceForType()
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
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 |
---|
Type | Description |
ByteString | The bytes for eventName.
|
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;
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;
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;
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()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
mergeFrom(SegmentEventFilter other)
public SegmentEventFilter.Builder mergeFrom(SegmentEventFilter other)
public SegmentEventFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Overrides
mergeFrom(Message other)
public SegmentEventFilter.Builder mergeFrom(Message other)
Parameter |
---|
Name | Description |
other | Message
|
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;
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SegmentEventFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
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.
|
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.
|
setField(Descriptors.FieldDescriptor field, Object value)
public SegmentEventFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SegmentEventFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
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;
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;
setUnknownFields(UnknownFieldSet unknownFields)
public final SegmentEventFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Overrides