Class SubpropertyEventFilter (0.47.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
TypeDescription
int

FILTER_CLAUSES_FIELD_NUMBER

public static final int FILTER_CLAUSES_FIELD_NUMBER
Field Value
TypeDescription
int

NAME_FIELD_NUMBER

public static final int NAME_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SubpropertyEventFilter getDefaultInstance()
Returns
TypeDescription
SubpropertyEventFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static SubpropertyEventFilter.Builder newBuilder()
Returns
TypeDescription
SubpropertyEventFilter.Builder

newBuilder(SubpropertyEventFilter prototype)

public static SubpropertyEventFilter.Builder newBuilder(SubpropertyEventFilter prototype)
Parameter
NameDescription
prototypeSubpropertyEventFilter
Returns
TypeDescription
SubpropertyEventFilter.Builder

parseDelimitedFrom(InputStream input)

public static SubpropertyEventFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static SubpropertyEventFilter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static SubpropertyEventFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static SubpropertyEventFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static SubpropertyEventFilter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static SubpropertyEventFilter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static SubpropertyEventFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
SubpropertyEventFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<SubpropertyEventFilter> parser()
Returns
TypeDescription
Parser<SubpropertyEventFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
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
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

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

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.

getParserForType()

public Parser<SubpropertyEventFilter> getParserForType()
Returns
TypeDescription
Parser<SubpropertyEventFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
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
TypeDescription
boolean

Whether the applyToProperty field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public SubpropertyEventFilter.Builder newBuilderForType()
Returns
TypeDescription
SubpropertyEventFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected SubpropertyEventFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
SubpropertyEventFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public SubpropertyEventFilter.Builder toBuilder()
Returns
TypeDescription
SubpropertyEventFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException