Enum StringFilter.MatchType
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<StringFilter.MatchType>
- Enclosing class:
- StringFilter
public static enum StringFilter.MatchType
extends Enum<StringFilter.MatchType>
implements com.google.protobuf.ProtocolMessageEnum
The match type of a string filterProtobuf enum
google.analytics.data.v1alpha.StringFilter.MatchType-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionBegins with the string value.Contains the string value.Ends with the string value.Exact match of the string value.Full match for the regular expression with the string value.UnspecifiedPartial match for the regular expression with the string value. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intBegins with the string value.static final intContains the string value.static final intEnds with the string value.static final intExact match of the string value.static final intFull match for the regular expression with the string value.static final intUnspecifiedstatic final intPartial match for the regular expression with the string value. -
Method Summary
Modifier and TypeMethodDescriptionstatic StringFilter.MatchTypeforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<StringFilter.MatchType>static StringFilter.MatchTypevalueOf(int value) Deprecated.static StringFilter.MatchTypevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static StringFilter.MatchTypeReturns the enum constant of this type with the specified name.static StringFilter.MatchType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
MATCH_TYPE_UNSPECIFIED
Unspecified
MATCH_TYPE_UNSPECIFIED = 0; -
EXACT
Exact match of the string value.
EXACT = 1; -
BEGINS_WITH
Begins with the string value.
BEGINS_WITH = 2; -
ENDS_WITH
Ends with the string value.
ENDS_WITH = 3; -
CONTAINS
Contains the string value.
CONTAINS = 4; -
FULL_REGEXP
Full match for the regular expression with the string value.
FULL_REGEXP = 5; -
PARTIAL_REGEXP
Partial match for the regular expression with the string value.
PARTIAL_REGEXP = 6; -
UNRECOGNIZED
-
-
Field Details
-
MATCH_TYPE_UNSPECIFIED_VALUE
public static final int MATCH_TYPE_UNSPECIFIED_VALUEUnspecified
MATCH_TYPE_UNSPECIFIED = 0;- See Also:
-
EXACT_VALUE
public static final int EXACT_VALUEExact match of the string value.
EXACT = 1;- See Also:
-
BEGINS_WITH_VALUE
public static final int BEGINS_WITH_VALUEBegins with the string value.
BEGINS_WITH = 2;- See Also:
-
ENDS_WITH_VALUE
public static final int ENDS_WITH_VALUEEnds with the string value.
ENDS_WITH = 3;- See Also:
-
CONTAINS_VALUE
public static final int CONTAINS_VALUEContains the string value.
CONTAINS = 4;- See Also:
-
FULL_REGEXP_VALUE
public static final int FULL_REGEXP_VALUEFull match for the regular expression with the string value.
FULL_REGEXP = 5;- See Also:
-
PARTIAL_REGEXP_VALUE
public static final int PARTIAL_REGEXP_VALUEPartial match for the regular expression with the string value.
PARTIAL_REGEXP = 6;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
getNumber
public final int getNumber()- Specified by:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
Deprecated.Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
value- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
forNumber
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<StringFilter.MatchType> internalGetValueMap() -
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
public static StringFilter.MatchType valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
desc- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-