Class SubpropertyEventFilterCondition.Builder (0.41.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.Builder)

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
Overrides

build()

public SubpropertyEventFilterCondition build()
Returns
TypeDescription
SubpropertyEventFilterCondition

buildPartial()

public SubpropertyEventFilterCondition buildPartial()
Returns
TypeDescription
SubpropertyEventFilterCondition

clear()

public SubpropertyEventFilterCondition.Builder clear()
Overrides

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

public SubpropertyEventFilterCondition.Builder clone()
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()

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;

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;

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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