Class SubpropertyEventFilterCondition.Builder (0.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubpropertyEventFilterCondition build()
Returns
TypeDescription
SubpropertyEventFilterCondition

buildPartial()

public SubpropertyEventFilterCondition buildPartial()
Returns
TypeDescription
SubpropertyEventFilterCondition

clear()

public SubpropertyEventFilterCondition.Builder clear()
Returns
TypeDescription
SubpropertyEventFilterCondition.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public SubpropertyEventFilterCondition.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
SubpropertyEventFilterCondition.Builder

This builder for chaining.

clearNullFilter()

public SubpropertyEventFilterCondition.Builder clearNullFilter()

A filter for null values.

bool null_filter = 2;

Returns
TypeDescription
SubpropertyEventFilterCondition.Builder

This builder for chaining.

clearOneFilter()

public SubpropertyEventFilterCondition.Builder clearOneFilter()
Returns
TypeDescription
SubpropertyEventFilterCondition.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public SubpropertyEventFilterCondition.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
SubpropertyEventFilterCondition.Builder

clone()

public SubpropertyEventFilterCondition.Builder clone()
Returns
TypeDescription
SubpropertyEventFilterCondition.Builder
Overrides

getDefaultInstanceForType()

public SubpropertyEventFilterCondition getDefaultInstanceForType()
Returns
TypeDescription
SubpropertyEventFilterCondition

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFieldName()

public String getFieldName()

Required. The field that is being filtered.

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

Returns
TypeDescription
String

The fieldName.

getFieldNameBytes()

public ByteString getFieldNameBytes()

Required. The field that is being filtered.

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

Returns
TypeDescription
ByteString

The bytes for fieldName.

getNullFilter()

public boolean getNullFilter()

A filter for null values.

bool null_filter = 2;

Returns
TypeDescription
boolean

The nullFilter.

getOneFilterCase()

public SubpropertyEventFilterCondition.OneFilterCase getOneFilterCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SubpropertyEventFilterCondition.StringFilterOrBuilder

hasNullFilter()

public boolean hasNullFilter()

A filter for null values.

bool null_filter = 2;

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

Whether the stringFilter field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SubpropertyEventFilterCondition other)

public SubpropertyEventFilterCondition.Builder mergeFrom(SubpropertyEventFilterCondition other)
Parameter
NameDescription
otherSubpropertyEventFilterCondition
Returns
TypeDescription
SubpropertyEventFilterCondition.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SubpropertyEventFilterCondition.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueSubpropertyEventFilterCondition.StringFilter
Returns
TypeDescription
SubpropertyEventFilterCondition.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

public SubpropertyEventFilterCondition.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueString

The fieldName to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for fieldName to set.

Returns
TypeDescription
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
NameDescription
valueboolean

The nullFilter to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueSubpropertyEventFilterCondition.StringFilter
Returns
TypeDescription
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
NameDescription
builderForValueSubpropertyEventFilterCondition.StringFilter.Builder
Returns
TypeDescription
SubpropertyEventFilterCondition.Builder

setUnknownFields(UnknownFieldSet unknownFields)

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