Class SubpropertyEventFilter.Builder (0.51.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
TypeDescription
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
NameDescription
valuesIterable<? extends com.google.analytics.admin.v1alpha.SubpropertyEventFilterClause>
Returns
TypeDescription
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
NameDescription
valueSubpropertyEventFilterClause
Returns
TypeDescription
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
NameDescription
builderForValueSubpropertyEventFilterClause.Builder
Returns
TypeDescription
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
NameDescription
indexint
valueSubpropertyEventFilterClause
Returns
TypeDescription
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
NameDescription
indexint
builderForValueSubpropertyEventFilterClause.Builder
Returns
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
SubpropertyEventFilterClause.Builder

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public SubpropertyEventFilter build()
Returns
TypeDescription
SubpropertyEventFilter

buildPartial()

public SubpropertyEventFilter buildPartial()
Returns
TypeDescription
SubpropertyEventFilter

clear()

public SubpropertyEventFilter.Builder clear()
Returns
TypeDescription
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
TypeDescription
SubpropertyEventFilter.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

This builder for chaining.

clearOneof(Descriptors.OneofDescriptor oneof)

public SubpropertyEventFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
SubpropertyEventFilter.Builder
Overrides

clone()

public SubpropertyEventFilter.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
ByteString

The bytes for applyToProperty.

getDefaultInstanceForType()

public SubpropertyEventFilter getDefaultInstanceForType()
Returns
TypeDescription
SubpropertyEventFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the applyToProperty field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(SubpropertyEventFilter other)

public SubpropertyEventFilter.Builder mergeFrom(SubpropertyEventFilter other)
Parameter
NameDescription
otherSubpropertyEventFilter
Returns
TypeDescription
SubpropertyEventFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public SubpropertyEventFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
SubpropertyEventFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final SubpropertyEventFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
NameDescription
valueString

The applyToProperty to set.

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

The bytes for applyToProperty to set.

Returns
TypeDescription
SubpropertyEventFilter.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

The name to set.

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

The bytes for name to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
SubpropertyEventFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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