Class SegmentParameterFilter
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.data.v1alpha.SegmentParameterFilter
- All Implemented Interfaces:
SegmentParameterFilterOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class SegmentParameterFilter
extends com.google.protobuf.GeneratedMessage
implements SegmentParameterFilterOrBuilder
An expression to filter parameter values in a segment.Protobuf type
google.analytics.data.v1alpha.SegmentParameterFilter- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn expression to filter parameter values in a segment.static enumstatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanA filter for between two values.A filter for between two values.static SegmentParameterFilterstatic final com.google.protobuf.Descriptors.DescriptorThis filter will be evaluated on the specified event parameter.com.google.protobuf.ByteStringThis filter will be evaluated on the specified event parameter.Specifies the scope for the filter.Specifies the scope for the filter.A filter for in list values.A filter for in list values.This filter will be evaluated on the specified item parameter.com.google.protobuf.ByteStringThis filter will be evaluated on the specified item parameter.A filter for numeric or date values.A filter for numeric or date values.com.google.protobuf.Parser<SegmentParameterFilter>intStrings related filter.Strings related filter.booleanA filter for between two values.booleanThis filter will be evaluated on the specified event parameter.booleanSpecifies the scope for the filter.inthashCode()booleanA filter for in list values.booleanThis filter will be evaluated on the specified item parameter.booleanA filter for numeric or date values.booleanStrings related filter.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(SegmentParameterFilter prototype) protected SegmentParameterFilter.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static SegmentParameterFilterparseDelimitedFrom(InputStream input) static SegmentParameterFilterparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SegmentParameterFilterparseFrom(byte[] data) static SegmentParameterFilterparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SegmentParameterFilterparseFrom(com.google.protobuf.ByteString data) static SegmentParameterFilterparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SegmentParameterFilterparseFrom(com.google.protobuf.CodedInputStream input) static SegmentParameterFilterparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SegmentParameterFilterparseFrom(InputStream input) static SegmentParameterFilterparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static SegmentParameterFilterparseFrom(ByteBuffer data) static SegmentParameterFilterparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<SegmentParameterFilter>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
EVENT_PARAMETER_NAME_FIELD_NUMBER
public static final int EVENT_PARAMETER_NAME_FIELD_NUMBER- See Also:
-
ITEM_PARAMETER_NAME_FIELD_NUMBER
public static final int ITEM_PARAMETER_NAME_FIELD_NUMBER- See Also:
-
STRING_FILTER_FIELD_NUMBER
public static final int STRING_FILTER_FIELD_NUMBER- See Also:
-
IN_LIST_FILTER_FIELD_NUMBER
public static final int IN_LIST_FILTER_FIELD_NUMBER- See Also:
-
NUMERIC_FILTER_FIELD_NUMBER
public static final int NUMERIC_FILTER_FIELD_NUMBER- See Also:
-
BETWEEN_FILTER_FIELD_NUMBER
public static final int BETWEEN_FILTER_FIELD_NUMBER- See Also:
-
FILTER_SCOPING_FIELD_NUMBER
public static final int FILTER_SCOPING_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getOneParameterCase
- Specified by:
getOneParameterCasein interfaceSegmentParameterFilterOrBuilder
-
getOneFilterCase
- Specified by:
getOneFilterCasein interfaceSegmentParameterFilterOrBuilder
-
hasEventParameterName
public boolean hasEventParameterName()This filter will be evaluated on the specified event parameter. Event parameters are logged as parameters of the event. Event parameters include fields like "firebase_screen" & "currency". Event parameters can only be used in segments & funnels and can only be used in a descendent filter from an EventFilter. In a descendent filter from an EventFilter either event or item parameters should be used.
string event_parameter_name = 1;- Specified by:
hasEventParameterNamein interfaceSegmentParameterFilterOrBuilder- Returns:
- Whether the eventParameterName field is set.
-
getEventParameterName
This filter will be evaluated on the specified event parameter. Event parameters are logged as parameters of the event. Event parameters include fields like "firebase_screen" & "currency". Event parameters can only be used in segments & funnels and can only be used in a descendent filter from an EventFilter. In a descendent filter from an EventFilter either event or item parameters should be used.
string event_parameter_name = 1;- Specified by:
getEventParameterNamein interfaceSegmentParameterFilterOrBuilder- Returns:
- The eventParameterName.
-
getEventParameterNameBytes
public com.google.protobuf.ByteString getEventParameterNameBytes()This filter will be evaluated on the specified event parameter. Event parameters are logged as parameters of the event. Event parameters include fields like "firebase_screen" & "currency". Event parameters can only be used in segments & funnels and can only be used in a descendent filter from an EventFilter. In a descendent filter from an EventFilter either event or item parameters should be used.
string event_parameter_name = 1;- Specified by:
getEventParameterNameBytesin interfaceSegmentParameterFilterOrBuilder- Returns:
- The bytes for eventParameterName.
-
hasItemParameterName
public boolean hasItemParameterName()This filter will be evaluated on the specified item parameter. Item parameters are logged as parameters in the item array. Item parameters include fields like "item_name" & "item_category". Item parameters can only be used in segments & funnels and can only be used in a descendent filter from an EventFilter. In a descendent filter from an EventFilter either event or item parameters should be used. Item parameters are only available in ecommerce events. To learn more about ecommerce events, see the [Measure ecommerce] (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce) guide.
string item_parameter_name = 2;- Specified by:
hasItemParameterNamein interfaceSegmentParameterFilterOrBuilder- Returns:
- Whether the itemParameterName field is set.
-
getItemParameterName
This filter will be evaluated on the specified item parameter. Item parameters are logged as parameters in the item array. Item parameters include fields like "item_name" & "item_category". Item parameters can only be used in segments & funnels and can only be used in a descendent filter from an EventFilter. In a descendent filter from an EventFilter either event or item parameters should be used. Item parameters are only available in ecommerce events. To learn more about ecommerce events, see the [Measure ecommerce] (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce) guide.
string item_parameter_name = 2;- Specified by:
getItemParameterNamein interfaceSegmentParameterFilterOrBuilder- Returns:
- The itemParameterName.
-
getItemParameterNameBytes
public com.google.protobuf.ByteString getItemParameterNameBytes()This filter will be evaluated on the specified item parameter. Item parameters are logged as parameters in the item array. Item parameters include fields like "item_name" & "item_category". Item parameters can only be used in segments & funnels and can only be used in a descendent filter from an EventFilter. In a descendent filter from an EventFilter either event or item parameters should be used. Item parameters are only available in ecommerce events. To learn more about ecommerce events, see the [Measure ecommerce] (https://developers.google.com/analytics/devguides/collection/ga4/ecommerce) guide.
string item_parameter_name = 2;- Specified by:
getItemParameterNameBytesin interfaceSegmentParameterFilterOrBuilder- Returns:
- The bytes for itemParameterName.
-
hasStringFilter
public boolean hasStringFilter()Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;- Specified by:
hasStringFilterin interfaceSegmentParameterFilterOrBuilder- Returns:
- Whether the stringFilter field is set.
-
getStringFilter
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;- Specified by:
getStringFilterin interfaceSegmentParameterFilterOrBuilder- Returns:
- The stringFilter.
-
getStringFilterOrBuilder
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;- Specified by:
getStringFilterOrBuilderin interfaceSegmentParameterFilterOrBuilder
-
hasInListFilter
public boolean hasInListFilter()A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;- Specified by:
hasInListFilterin interfaceSegmentParameterFilterOrBuilder- Returns:
- Whether the inListFilter field is set.
-
getInListFilter
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;- Specified by:
getInListFilterin interfaceSegmentParameterFilterOrBuilder- Returns:
- The inListFilter.
-
getInListFilterOrBuilder
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;- Specified by:
getInListFilterOrBuilderin interfaceSegmentParameterFilterOrBuilder
-
hasNumericFilter
public boolean hasNumericFilter()A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;- Specified by:
hasNumericFilterin interfaceSegmentParameterFilterOrBuilder- Returns:
- Whether the numericFilter field is set.
-
getNumericFilter
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;- Specified by:
getNumericFilterin interfaceSegmentParameterFilterOrBuilder- Returns:
- The numericFilter.
-
getNumericFilterOrBuilder
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;- Specified by:
getNumericFilterOrBuilderin interfaceSegmentParameterFilterOrBuilder
-
hasBetweenFilter
public boolean hasBetweenFilter()A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;- Specified by:
hasBetweenFilterin interfaceSegmentParameterFilterOrBuilder- Returns:
- Whether the betweenFilter field is set.
-
getBetweenFilter
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;- Specified by:
getBetweenFilterin interfaceSegmentParameterFilterOrBuilder- Returns:
- The betweenFilter.
-
getBetweenFilterOrBuilder
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;- Specified by:
getBetweenFilterOrBuilderin interfaceSegmentParameterFilterOrBuilder
-
hasFilterScoping
public boolean hasFilterScoping()Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentParameterFilterScoping filter_scoping = 8;- Specified by:
hasFilterScopingin interfaceSegmentParameterFilterOrBuilder- Returns:
- Whether the filterScoping field is set.
-
getFilterScoping
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentParameterFilterScoping filter_scoping = 8;- Specified by:
getFilterScopingin interfaceSegmentParameterFilterOrBuilder- Returns:
- The filterScoping.
-
getFilterScopingOrBuilder
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentParameterFilterScoping filter_scoping = 8;- Specified by:
getFilterScopingOrBuilderin interfaceSegmentParameterFilterOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static SegmentParameterFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SegmentParameterFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SegmentParameterFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SegmentParameterFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SegmentParameterFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static SegmentParameterFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static SegmentParameterFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- Throws:
IOException
-
parseDelimitedFrom
public static SegmentParameterFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static SegmentParameterFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static SegmentParameterFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected SegmentParameterFilter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-