Class Filter.StringFilter.Builder (0.32.0)

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

The filter for string

Protobuf type google.analytics.data.v1beta.Filter.StringFilter

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public Filter.StringFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides

build()

public Filter.StringFilter build()
Returns
TypeDescription
Filter.StringFilter

buildPartial()

public Filter.StringFilter buildPartial()
Returns
TypeDescription
Filter.StringFilter

clear()

public Filter.StringFilter.Builder clear()
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides

clearCaseSensitive()

public Filter.StringFilter.Builder clearCaseSensitive()

If true, the string value is case sensitive.

bool case_sensitive = 3;

Returns
TypeDescription
Filter.StringFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public Filter.StringFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides

clearMatchType()

public Filter.StringFilter.Builder clearMatchType()

The match type for this filter.

.google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1;

Returns
TypeDescription
Filter.StringFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public Filter.StringFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides

clearValue()

public Filter.StringFilter.Builder clearValue()

The string value used for the matching.

string value = 2;

Returns
TypeDescription
Filter.StringFilter.Builder

This builder for chaining.

clone()

public Filter.StringFilter.Builder clone()
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides

getCaseSensitive()

public boolean getCaseSensitive()

If true, the string value is case sensitive.

bool case_sensitive = 3;

Returns
TypeDescription
boolean

The caseSensitive.

getDefaultInstanceForType()

public Filter.StringFilter getDefaultInstanceForType()
Returns
TypeDescription
Filter.StringFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getMatchType()

public Filter.StringFilter.MatchType getMatchType()

The match type for this filter.

.google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1;

Returns
TypeDescription
Filter.StringFilter.MatchType

The matchType.

getMatchTypeValue()

public int getMatchTypeValue()

The match type for this filter.

.google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1;

Returns
TypeDescription
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
TypeDescription
String

The value.

getValueBytes()

public ByteString getValueBytes()

The string value used for the matching.

string value = 2;

Returns
TypeDescription
ByteString

The bytes for value.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(Filter.StringFilter other)

public Filter.StringFilter.Builder mergeFrom(Filter.StringFilter other)
Parameter
NameDescription
otherFilter.StringFilter
Returns
TypeDescription
Filter.StringFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public Filter.StringFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public Filter.StringFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final Filter.StringFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides

setCaseSensitive(boolean value)

public Filter.StringFilter.Builder setCaseSensitive(boolean value)

If true, the string value is case sensitive.

bool case_sensitive = 3;

Parameter
NameDescription
valueboolean

The caseSensitive to set.

Returns
TypeDescription
Filter.StringFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public Filter.StringFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides

setMatchType(Filter.StringFilter.MatchType value)

public Filter.StringFilter.Builder setMatchType(Filter.StringFilter.MatchType value)

The match type for this filter.

.google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1;

Parameter
NameDescription
valueFilter.StringFilter.MatchType

The matchType to set.

Returns
TypeDescription
Filter.StringFilter.Builder

This builder for chaining.

setMatchTypeValue(int value)

public Filter.StringFilter.Builder setMatchTypeValue(int value)

The match type for this filter.

.google.analytics.data.v1beta.Filter.StringFilter.MatchType match_type = 1;

Parameter
NameDescription
valueint

The enum numeric value on the wire for matchType to set.

Returns
TypeDescription
Filter.StringFilter.Builder

This builder for chaining.

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

public Filter.StringFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final Filter.StringFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
Filter.StringFilter.Builder
Overrides

setValue(String value)

public Filter.StringFilter.Builder setValue(String value)

The string value used for the matching.

string value = 2;

Parameter
NameDescription
valueString

The value to set.

Returns
TypeDescription
Filter.StringFilter.Builder

This builder for chaining.

setValueBytes(ByteString value)

public Filter.StringFilter.Builder setValueBytes(ByteString value)

The string value used for the matching.

string value = 2;

Parameter
NameDescription
valueByteString

The bytes for value to set.

Returns
TypeDescription
Filter.StringFilter.Builder

This builder for chaining.