Class SubpropertyEventFilter (0.62.0)

public final class SubpropertyEventFilter extends GeneratedMessageV3 implements SubpropertyEventFilterOrBuilder

A resource message representing a GA4 Subproperty event filter.

Protobuf type google.analytics.admin.v1alpha.SubpropertyEventFilter

Static Fields

APPLY_TO_PROPERTY_FIELD_NUMBER

public static final int APPLY_TO_PROPERTY_FIELD_NUMBER
Field Value
Type Description
int

FILTER_CLAUSES_FIELD_NUMBER

public static final int FILTER_CLAUSES_FIELD_NUMBER
Field Value
Type Description
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SubpropertyEventFilter getDefaultInstance()
Returns
Type Description
SubpropertyEventFilter

getDescriptor()

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

newBuilder()

public static SubpropertyEventFilter.Builder newBuilder()
Returns
Type Description
SubpropertyEventFilter.Builder

newBuilder(SubpropertyEventFilter prototype)

public static SubpropertyEventFilter.Builder newBuilder(SubpropertyEventFilter prototype)
Parameter
Name Description
prototype SubpropertyEventFilter
Returns
Type Description
SubpropertyEventFilter.Builder

parseDelimitedFrom(InputStream input)

public static SubpropertyEventFilter parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static SubpropertyEventFilter parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SubpropertyEventFilter parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SubpropertyEventFilter parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static SubpropertyEventFilter parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static SubpropertyEventFilter parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
SubpropertyEventFilter
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<SubpropertyEventFilter> parser()
Returns
Type Description
Parser<SubpropertyEventFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
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

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

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.

getParserForType()

public Parser<SubpropertyEventFilter> getParserForType()
Returns
Type Description
Parser<SubpropertyEventFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public SubpropertyEventFilter.Builder newBuilderForType()
Returns
Type Description
SubpropertyEventFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SubpropertyEventFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
SubpropertyEventFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public SubpropertyEventFilter.Builder toBuilder()
Returns
Type Description
SubpropertyEventFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException