Class SubpropertyEventFilterCondition.StringFilter.Builder (0.69.0)
Note: Some or all of the information on this page might not apply
to Trusted Cloud. For a list of services that are available in
Trusted Cloud, see Services available for
Trusted Cloud .
Version 0.69.0keyboard_arrow_down
public static final class SubpropertyEventFilterCondition . StringFilter . Builder extends GeneratedMessageV3 . Builder<SubpropertyEventFilterCondition . StringFilter . Builder > implements SubpropertyEventFilterCondition . StringFilterOrBuilder
A filter for a string-type dimension that matches a particular pattern.
Protobuf type
google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter
Inherited Members
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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 SubpropertyEventFilterCondition . StringFilter . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public SubpropertyEventFilterCondition . StringFilter build ()
buildPartial()
public SubpropertyEventFilterCondition . StringFilter buildPartial ()
clear()
public SubpropertyEventFilterCondition . StringFilter . Builder clear ()
Overrides
clearCaseSensitive()
public SubpropertyEventFilterCondition . StringFilter . Builder clearCaseSensitive ()
Optional. If true, the string value is case sensitive. If false, the
match is case-insensitive.
bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL];
clearField(Descriptors.FieldDescriptor field)
public SubpropertyEventFilterCondition . StringFilter . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearMatchType()
public SubpropertyEventFilterCondition . StringFilter . Builder clearMatchType ()
Required. The match type for the string filter.
.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
clearOneof(Descriptors.OneofDescriptor oneof)
public SubpropertyEventFilterCondition . StringFilter . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearValue()
public SubpropertyEventFilterCondition . StringFilter . Builder clearValue ()
Required. The string value used for the matching.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
clone()
public SubpropertyEventFilterCondition . StringFilter . Builder clone ()
Overrides
getCaseSensitive()
public boolean getCaseSensitive ()
Optional. If true, the string value is case sensitive. If false, the
match is case-insensitive.
bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL];
Returns
Type
Description
boolean
The caseSensitive.
getDefaultInstanceForType()
public SubpropertyEventFilterCondition . StringFilter getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getMatchType()
public SubpropertyEventFilterCondition . StringFilter . MatchType getMatchType ()
Required. The match type for the string filter.
.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
getMatchTypeValue()
public int getMatchTypeValue ()
Required. The match type for the string filter.
.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
int
The enum numeric value on the wire for matchType.
getValue()
Required. The string value used for the matching.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
String
The value.
getValueBytes()
public ByteString getValueBytes ()
Required. The string value used for the matching.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Returns
Type
Description
ByteString
The bytes for value.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(SubpropertyEventFilterCondition.StringFilter other)
public SubpropertyEventFilterCondition . StringFilter . Builder mergeFrom ( SubpropertyEventFilterCondition . StringFilter other )
public SubpropertyEventFilterCondition . StringFilter . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public SubpropertyEventFilterCondition . StringFilter . Builder mergeFrom ( Message other )
Parameter
Name
Description
other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final SubpropertyEventFilterCondition . StringFilter . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCaseSensitive(boolean value)
public SubpropertyEventFilterCondition . StringFilter . Builder setCaseSensitive ( boolean value )
Optional. If true, the string value is case sensitive. If false, the
match is case-insensitive.
bool case_sensitive = 3 [(.google.api.field_behavior) = OPTIONAL];
Parameter
Name
Description
value
boolean
The caseSensitive to set.
setField(Descriptors.FieldDescriptor field, Object value)
public SubpropertyEventFilterCondition . StringFilter . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setMatchType(SubpropertyEventFilterCondition.StringFilter.MatchType value)
public SubpropertyEventFilterCondition . StringFilter . Builder setMatchType ( SubpropertyEventFilterCondition . StringFilter . MatchType value )
Required. The match type for the string filter.
.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
setMatchTypeValue(int value)
public SubpropertyEventFilterCondition . StringFilter . Builder setMatchTypeValue ( int value )
Required. The match type for the string filter.
.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter.MatchType match_type = 1 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
int
The enum numeric value on the wire for matchType to set.
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public SubpropertyEventFilterCondition . StringFilter . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final SubpropertyEventFilterCondition . StringFilter . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setValue(String value)
public SubpropertyEventFilterCondition . StringFilter . Builder setValue ( String value )
Required. The string value used for the matching.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
String
The value to set.
setValueBytes(ByteString value)
public SubpropertyEventFilterCondition . StringFilter . Builder setValueBytes ( ByteString value )
Required. The string value used for the matching.
string value = 2 [(.google.api.field_behavior) = REQUIRED];
Parameter
Name
Description
value
ByteString
The bytes for value to set.
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2025-08-18 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-18 UTC."],[[["\u003cp\u003eThis webpage provides documentation for the \u003ccode\u003eSubpropertyEventFilterCondition.StringFilter.Builder\u003c/code\u003e class in the Google Analytics Admin API for Java, covering versions from 0.14.0 to the latest 0.70.0.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eSubpropertyEventFilterCondition.StringFilter.Builder\u003c/code\u003e class is a builder for creating a filter for string-type dimensions, enabling matching based on specific patterns.\u003c/p\u003e\n"],["\u003cp\u003eThis class inherits from \u003ccode\u003eGeneratedMessageV3.Builder\u003c/code\u003e and implements \u003ccode\u003eSubpropertyEventFilterCondition.StringFilterOrBuilder\u003c/code\u003e, adding methods to build and manipulate string filters.\u003c/p\u003e\n"],["\u003cp\u003eKey methods include setting the match type, string value, and case sensitivity, along with methods for managing repeated fields and merging data from other messages.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003egetDescriptor()\u003c/code\u003e static method is used to get the descriptor for the class, and there are a collection of inherited members from parent classes such as AbstractMessage.Builder and AbstractMessageLite.Builder.\u003c/p\u003e\n"]]],[],null,[]]