Class SubpropertyEventFilterCondition.StringFilter.Builder (0.56.0)

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubpropertyEventFilterCondition.StringFilter build()
Returns
Type Description
SubpropertyEventFilterCondition.StringFilter

buildPartial()

public SubpropertyEventFilterCondition.StringFilter buildPartial()
Returns
Type Description
SubpropertyEventFilterCondition.StringFilter

clear()

public SubpropertyEventFilterCondition.StringFilter.Builder clear()
Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder
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];

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public SubpropertyEventFilterCondition.StringFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder
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];

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearValue()

public SubpropertyEventFilterCondition.StringFilter.Builder clearValue()

Required. The string value used for the matching.

string value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
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];

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.MatchType

The matchType.

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

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SubpropertyEventFilterCondition.StringFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

Parameter
Name Description
value SubpropertyEventFilterCondition.StringFilter.MatchType

The matchType to set.

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder

This builder for chaining.

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.

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder

This builder for chaining.

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.

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder

This builder for chaining.