Class StringFilter.Builder (0.57.0)

public static final class StringFilter.Builder extends GeneratedMessageV3.Builder<StringFilter.Builder> implements StringFilterOrBuilder

The filter for string

Protobuf type google.analytics.data.v1alpha.StringFilter

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public StringFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StringFilter.Builder
Overrides

build()

public StringFilter build()
Returns
Type Description
StringFilter

buildPartial()

public StringFilter buildPartial()
Returns
Type Description
StringFilter

clear()

public StringFilter.Builder clear()
Returns
Type Description
StringFilter.Builder
Overrides

clearCaseSensitive()

public StringFilter.Builder clearCaseSensitive()

If true, the string value is case sensitive.

bool case_sensitive = 3;

Returns
Type Description
StringFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public StringFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
StringFilter.Builder
Overrides

clearMatchType()

public StringFilter.Builder clearMatchType()

The match type for this filter.

.google.analytics.data.v1alpha.StringFilter.MatchType match_type = 1;

Returns
Type Description
StringFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public StringFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
StringFilter.Builder
Overrides

clearValue()

public StringFilter.Builder clearValue()

The string value used for the matching.

string value = 2;

Returns
Type Description
StringFilter.Builder

This builder for chaining.

clone()

public StringFilter.Builder clone()
Returns
Type Description
StringFilter.Builder
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()
Returns
Type Description
StringFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getMatchType()

public StringFilter.MatchType getMatchType()

The match type for this filter.

.google.analytics.data.v1alpha.StringFilter.MatchType match_type = 1;

Returns
Type Description
StringFilter.MatchType

The matchType.

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()

public String 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()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(StringFilter other)

public StringFilter.Builder mergeFrom(StringFilter other)
Parameter
Name Description
other StringFilter
Returns
Type Description
StringFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public StringFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
StringFilter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public StringFilter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
StringFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final StringFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StringFilter.Builder
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.

Returns
Type Description
StringFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public StringFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
StringFilter.Builder
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;

Parameter
Name Description
value StringFilter.MatchType

The matchType to set.

Returns
Type Description
StringFilter.Builder

This builder for chaining.

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.

Returns
Type Description
StringFilter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public StringFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
StringFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final StringFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
StringFilter.Builder
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.

Returns
Type Description
StringFilter.Builder

This builder for chaining.

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.

Returns
Type Description
StringFilter.Builder

This builder for chaining.