Send feedback
Class StringFilter.Builder (0.38.0)
Stay organized with collections
Save and categorize content based on your preferences.
Version 0.38.0 keyboard_arrow_down
public static final class StringFilter . Builder extends GeneratedMessageV3 . Builder<StringFilter . Builder > implements StringFilterOrBuilder
The filter for string
Protobuf type google.analytics.data.v1alpha.StringFilter
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 StringFilter . Builder addRepeatedField ( Descriptors . FieldDescriptor field , Object value )
Overrides
build()
public StringFilter build ()
buildPartial()
public StringFilter buildPartial ()
clear()
public StringFilter . Builder clear ()
Overrides
clearCaseSensitive()
public StringFilter . Builder clearCaseSensitive ()
If true, the string value is case sensitive.
bool case_sensitive = 3;
clearField(Descriptors.FieldDescriptor field)
public StringFilter . Builder clearField ( Descriptors . FieldDescriptor field )
Overrides
clearMatchType()
public StringFilter . Builder clearMatchType ()
The match type for this filter.
.google.analytics.data.v1alpha.StringFilter.MatchType match_type = 1;
clearOneof(Descriptors.OneofDescriptor oneof)
public StringFilter . Builder clearOneof ( Descriptors . OneofDescriptor oneof )
Overrides
clearValue()
public StringFilter . Builder clearValue ()
The string value used for the matching.
string value = 2;
clone()
public StringFilter . Builder clone ()
Overrides
getCaseSensitive()
public boolean getCaseSensitive ()
If true, the string value is case sensitive.
bool case_sensitive = 3;
Returns Type Description boolean
The caseSensitive.
getDefaultInstanceForType()
public StringFilter getDefaultInstanceForType ()
getDescriptorForType()
public Descriptors . Descriptor getDescriptorForType ()
Overrides
getMatchType()
public StringFilter . MatchType getMatchType ()
The match type for this filter.
.google.analytics.data.v1alpha.StringFilter.MatchType match_type = 1;
getMatchTypeValue()
public int getMatchTypeValue ()
The match type for this filter.
.google.analytics.data.v1alpha.StringFilter.MatchType match_type = 1;
Returns Type Description int
The enum numeric value on the wire for matchType.
getValue()
The string value used for the matching.
string value = 2;
Returns Type Description String
The value.
getValueBytes()
public ByteString getValueBytes ()
The string value used for the matching.
string value = 2;
Returns Type Description ByteString
The bytes for value.
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
mergeFrom(StringFilter other)
public StringFilter . Builder mergeFrom ( StringFilter other )
public StringFilter . Builder mergeFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
Overrides
mergeFrom(Message other)
public StringFilter . Builder mergeFrom ( Message other )
Parameter Name Description other
Message
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final StringFilter . Builder mergeUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setCaseSensitive(boolean value)
public StringFilter . Builder setCaseSensitive ( boolean value )
If true, the string value is case sensitive.
bool case_sensitive = 3;
Parameter Name Description value
boolean
The caseSensitive to set.
setField(Descriptors.FieldDescriptor field, Object value)
public StringFilter . Builder setField ( Descriptors . FieldDescriptor field , Object value )
Overrides
setMatchType(StringFilter.MatchType value)
public StringFilter . Builder setMatchType ( StringFilter . MatchType value )
The match type for this filter.
.google.analytics.data.v1alpha.StringFilter.MatchType match_type = 1;
setMatchTypeValue(int value)
public StringFilter . Builder setMatchTypeValue ( int value )
The match type for this filter.
.google.analytics.data.v1alpha.StringFilter.MatchType match_type = 1;
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 StringFilter . Builder setRepeatedField ( Descriptors . FieldDescriptor field , int index , Object value )
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final StringFilter . Builder setUnknownFields ( UnknownFieldSet unknownFields )
Overrides
setValue(String value)
public StringFilter . Builder setValue ( String value )
The string value used for the matching.
string value = 2;
Parameter Name Description value
String
The value to set.
setValueBytes(ByteString value)
public StringFilter . Builder setValueBytes ( ByteString value )
The string value used for the matching.
string value = 2;
Parameter Name Description value
ByteString
The bytes for value to set.
Send feedback
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-01-28 UTC.
Need to tell us more?
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Hard to understand","hardToUnderstand","thumb-down"],["Incorrect information or sample code","incorrectInformationOrSampleCode","thumb-down"],["Missing the information/samples I need","missingTheInformationSamplesINeed","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-01-28 UTC."],[],[]]