Class SubpropertyEventFilterCondition.Builder (0.56.0)

public static final class SubpropertyEventFilterCondition.Builder extends GeneratedMessageV3.Builder<SubpropertyEventFilterCondition.Builder> implements SubpropertyEventFilterConditionOrBuilder

A specific filter expression

Protobuf type google.analytics.admin.v1alpha.SubpropertyEventFilterCondition

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubpropertyEventFilterCondition build()
Returns
Type Description
SubpropertyEventFilterCondition

buildPartial()

public SubpropertyEventFilterCondition buildPartial()
Returns
Type Description
SubpropertyEventFilterCondition

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFieldName()

public SubpropertyEventFilterCondition.Builder clearFieldName()

Required. The field that is being filtered.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterCondition.Builder

This builder for chaining.

clearNullFilter()

public SubpropertyEventFilterCondition.Builder clearNullFilter()

A filter for null values.

bool null_filter = 2;

Returns
Type Description
SubpropertyEventFilterCondition.Builder

This builder for chaining.

clearOneFilter()

public SubpropertyEventFilterCondition.Builder clearOneFilter()
Returns
Type Description
SubpropertyEventFilterCondition.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearStringFilter()

public SubpropertyEventFilterCondition.Builder clearStringFilter()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3;

Returns
Type Description
SubpropertyEventFilterCondition.Builder

clone()

public SubpropertyEventFilterCondition.Builder clone()
Returns
Type Description
SubpropertyEventFilterCondition.Builder
Overrides

getDefaultInstanceForType()

public SubpropertyEventFilterCondition getDefaultInstanceForType()
Returns
Type Description
SubpropertyEventFilterCondition

getDescriptorForType()

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

getFieldName()

public String getFieldName()

Required. The field that is being filtered.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

Required. The field that is being filtered.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for fieldName.

getNullFilter()

public boolean getNullFilter()

A filter for null values.

bool null_filter = 2;

Returns
Type Description
boolean

The nullFilter.

getOneFilterCase()

public SubpropertyEventFilterCondition.OneFilterCase getOneFilterCase()
Returns
Type Description
SubpropertyEventFilterCondition.OneFilterCase

getStringFilter()

public SubpropertyEventFilterCondition.StringFilter getStringFilter()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3;

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter

The stringFilter.

getStringFilterBuilder()

public SubpropertyEventFilterCondition.StringFilter.Builder getStringFilterBuilder()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3;

Returns
Type Description
SubpropertyEventFilterCondition.StringFilter.Builder

getStringFilterOrBuilder()

public SubpropertyEventFilterCondition.StringFilterOrBuilder getStringFilterOrBuilder()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3;

Returns
Type Description
SubpropertyEventFilterCondition.StringFilterOrBuilder

hasNullFilter()

public boolean hasNullFilter()

A filter for null values.

bool null_filter = 2;

Returns
Type Description
boolean

Whether the nullFilter field is set.

hasStringFilter()

public boolean hasStringFilter()

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3;

Returns
Type Description
boolean

Whether the stringFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SubpropertyEventFilterCondition other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeStringFilter(SubpropertyEventFilterCondition.StringFilter value)

public SubpropertyEventFilterCondition.Builder mergeStringFilter(SubpropertyEventFilterCondition.StringFilter value)

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3;

Parameter
Name Description
value SubpropertyEventFilterCondition.StringFilter
Returns
Type Description
SubpropertyEventFilterCondition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubpropertyEventFilterCondition.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubpropertyEventFilterCondition.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

setFieldName(String value)

public SubpropertyEventFilterCondition.Builder setFieldName(String value)

Required. The field that is being filtered.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value String

The fieldName to set.

Returns
Type Description
SubpropertyEventFilterCondition.Builder

This builder for chaining.

setFieldNameBytes(ByteString value)

public SubpropertyEventFilterCondition.Builder setFieldNameBytes(ByteString value)

Required. The field that is being filtered.

string field_name = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
value ByteString

The bytes for fieldName to set.

Returns
Type Description
SubpropertyEventFilterCondition.Builder

This builder for chaining.

setNullFilter(boolean value)

public SubpropertyEventFilterCondition.Builder setNullFilter(boolean value)

A filter for null values.

bool null_filter = 2;

Parameter
Name Description
value boolean

The nullFilter to set.

Returns
Type Description
SubpropertyEventFilterCondition.Builder

This builder for chaining.

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

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

setStringFilter(SubpropertyEventFilterCondition.StringFilter value)

public SubpropertyEventFilterCondition.Builder setStringFilter(SubpropertyEventFilterCondition.StringFilter value)

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3;

Parameter
Name Description
value SubpropertyEventFilterCondition.StringFilter
Returns
Type Description
SubpropertyEventFilterCondition.Builder

setStringFilter(SubpropertyEventFilterCondition.StringFilter.Builder builderForValue)

public SubpropertyEventFilterCondition.Builder setStringFilter(SubpropertyEventFilterCondition.StringFilter.Builder builderForValue)

A filter for a string-type dimension that matches a particular pattern.

.google.analytics.admin.v1alpha.SubpropertyEventFilterCondition.StringFilter string_filter = 3;

Parameter
Name Description
builderForValue SubpropertyEventFilterCondition.StringFilter.Builder
Returns
Type Description
SubpropertyEventFilterCondition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final SubpropertyEventFilterCondition.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
SubpropertyEventFilterCondition.Builder
Overrides