Class SubpropertyEventFilter.Builder (0.62.0)

public static final class SubpropertyEventFilter.Builder extends GeneratedMessageV3.Builder<SubpropertyEventFilter.Builder> implements SubpropertyEventFilterOrBuilder

A resource message representing a GA4 Subproperty event filter.

Protobuf type google.analytics.admin.v1alpha.SubpropertyEventFilter

Static Methods

getDescriptor()

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

Methods

addAllFilterClauses(Iterable<? extends SubpropertyEventFilterClause> values)

public SubpropertyEventFilter.Builder addAllFilterClauses(Iterable<? extends SubpropertyEventFilterClause> values)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
values Iterable<? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause>
Returns
Type Description
SubpropertyEventFilter.Builder

addFilterClauses(SubpropertyEventFilterClause value)

public SubpropertyEventFilter.Builder addFilterClauses(SubpropertyEventFilterClause value)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
value SubpropertyEventFilterClause
Returns
Type Description
SubpropertyEventFilter.Builder

addFilterClauses(SubpropertyEventFilterClause.Builder builderForValue)

public SubpropertyEventFilter.Builder addFilterClauses(SubpropertyEventFilterClause.Builder builderForValue)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
builderForValue SubpropertyEventFilterClause.Builder
Returns
Type Description
SubpropertyEventFilter.Builder

addFilterClauses(int index, SubpropertyEventFilterClause value)

public SubpropertyEventFilter.Builder addFilterClauses(int index, SubpropertyEventFilterClause value)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int
value SubpropertyEventFilterClause
Returns
Type Description
SubpropertyEventFilter.Builder

addFilterClauses(int index, SubpropertyEventFilterClause.Builder builderForValue)

public SubpropertyEventFilter.Builder addFilterClauses(int index, SubpropertyEventFilterClause.Builder builderForValue)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int
builderForValue SubpropertyEventFilterClause.Builder
Returns
Type Description
SubpropertyEventFilter.Builder

addFilterClausesBuilder()

public SubpropertyEventFilterClause.Builder addFilterClausesBuilder()

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
SubpropertyEventFilterClause.Builder

addFilterClausesBuilder(int index)

public SubpropertyEventFilterClause.Builder addFilterClausesBuilder(int index)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int
Returns
Type Description
SubpropertyEventFilterClause.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubpropertyEventFilter build()
Returns
Type Description
SubpropertyEventFilter

buildPartial()

public SubpropertyEventFilter buildPartial()
Returns
Type Description
SubpropertyEventFilter

clear()

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

clearApplyToProperty()

public SubpropertyEventFilter.Builder clearApplyToProperty()

Immutable. Resource name of the Subproperty that uses this filter.

optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
SubpropertyEventFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearFilterClauses()

public SubpropertyEventFilter.Builder clearFilterClauses()

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
SubpropertyEventFilter.Builder

clearName()

public SubpropertyEventFilter.Builder clearName()

Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
SubpropertyEventFilter.Builder

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getApplyToProperty()

public String getApplyToProperty()

Immutable. Resource name of the Subproperty that uses this filter.

optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
String

The applyToProperty.

getApplyToPropertyBytes()

public ByteString getApplyToPropertyBytes()

Immutable. Resource name of the Subproperty that uses this filter.

optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
ByteString

The bytes for applyToProperty.

getDefaultInstanceForType()

public SubpropertyEventFilter getDefaultInstanceForType()
Returns
Type Description
SubpropertyEventFilter

getDescriptorForType()

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

getFilterClauses(int index)

public SubpropertyEventFilterClause getFilterClauses(int index)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int
Returns
Type Description
SubpropertyEventFilterClause

getFilterClausesBuilder(int index)

public SubpropertyEventFilterClause.Builder getFilterClausesBuilder(int index)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int
Returns
Type Description
SubpropertyEventFilterClause.Builder

getFilterClausesBuilderList()

public List<SubpropertyEventFilterClause.Builder> getFilterClausesBuilderList()

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
List<Builder>

getFilterClausesCount()

public int getFilterClausesCount()

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
int

getFilterClausesList()

public List<SubpropertyEventFilterClause> getFilterClausesList()

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
List<SubpropertyEventFilterClause>

getFilterClausesOrBuilder(int index)

public SubpropertyEventFilterClauseOrBuilder getFilterClausesOrBuilder(int index)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int
Returns
Type Description
SubpropertyEventFilterClauseOrBuilder

getFilterClausesOrBuilderList()

public List<? extends SubpropertyEventFilterClauseOrBuilder> getFilterClausesOrBuilderList()

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Returns
Type Description
List<? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterClauseOrBuilder>

getName()

public String getName()

Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
String

The name.

getNameBytes()

public ByteString getNameBytes()

Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
ByteString

The bytes for name.

hasApplyToProperty()

public boolean hasApplyToProperty()

Immutable. Resource name of the Subproperty that uses this filter.

optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Returns
Type Description
boolean

Whether the applyToProperty field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(SubpropertyEventFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

removeFilterClauses(int index)

public SubpropertyEventFilter.Builder removeFilterClauses(int index)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameter
Name Description
index int
Returns
Type Description
SubpropertyEventFilter.Builder

setApplyToProperty(String value)

public SubpropertyEventFilter.Builder setApplyToProperty(String value)

Immutable. Resource name of the Subproperty that uses this filter.

optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value String

The applyToProperty to set.

Returns
Type Description
SubpropertyEventFilter.Builder

This builder for chaining.

setApplyToPropertyBytes(ByteString value)

public SubpropertyEventFilter.Builder setApplyToPropertyBytes(ByteString value)

Immutable. Resource name of the Subproperty that uses this filter.

optional string apply_to_property = 2 [(.google.api.field_behavior) = IMMUTABLE];

Parameter
Name Description
value ByteString

The bytes for applyToProperty to set.

Returns
Type Description
SubpropertyEventFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

setFilterClauses(int index, SubpropertyEventFilterClause value)

public SubpropertyEventFilter.Builder setFilterClauses(int index, SubpropertyEventFilterClause value)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int
value SubpropertyEventFilterClause
Returns
Type Description
SubpropertyEventFilter.Builder

setFilterClauses(int index, SubpropertyEventFilterClause.Builder builderForValue)

public SubpropertyEventFilter.Builder setFilterClauses(int index, SubpropertyEventFilterClause.Builder builderForValue)

Required. Unordered list. Filter clauses that define the SubpropertyEventFilter. All clauses are AND'ed together to determine what data is sent to the subproperty.

repeated .google.analytics.admin.v1alpha.SubpropertyEventFilterClause filter_clauses = 3 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = UNORDERED_LIST];

Parameters
Name Description
index int
builderForValue SubpropertyEventFilterClause.Builder
Returns
Type Description
SubpropertyEventFilter.Builder

setName(String value)

public SubpropertyEventFilter.Builder setName(String value)

Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value String

The name to set.

Returns
Type Description
SubpropertyEventFilter.Builder

This builder for chaining.

setNameBytes(ByteString value)

public SubpropertyEventFilter.Builder setNameBytes(ByteString value)

Output only. Format: properties/{ordinary_property_id}/subpropertyEventFilters/{sub_property_event_filter} Example: properties/1234/subpropertyEventFilters/5678

string name = 1 [(.google.api.field_behavior) = OUTPUT_ONLY];

Parameter
Name Description
value ByteString

The bytes for name to set.

Returns
Type Description
SubpropertyEventFilter.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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