Class SubpropertyEventFilterClause (0.55.0)

public final class SubpropertyEventFilterClause extends GeneratedMessageV3 implements SubpropertyEventFilterClauseOrBuilder

A clause for defining a filter. A filter may be inclusive (events satisfying the filter clause are included in the subproperty's data) or exclusive (events satisfying the filter clause are excluded from the subproperty's data).

Protobuf type google.analytics.admin.v1alpha.SubpropertyEventFilterClause

Static Fields

FILTER_CLAUSE_TYPE_FIELD_NUMBER

public static final int FILTER_CLAUSE_TYPE_FIELD_NUMBER
Field Value
Type Description
int

FILTER_EXPRESSION_FIELD_NUMBER

public static final int FILTER_EXPRESSION_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static SubpropertyEventFilterClause getDefaultInstance()
Returns
Type Description
SubpropertyEventFilterClause

getDescriptor()

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

newBuilder()

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

newBuilder(SubpropertyEventFilterClause prototype)

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

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getDefaultInstanceForType()

public SubpropertyEventFilterClause getDefaultInstanceForType()
Returns
Type Description
SubpropertyEventFilterClause

getFilterClauseType()

public SubpropertyEventFilterClause.FilterClauseType getFilterClauseType()

Required. The type for the filter clause.

.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterClause.FilterClauseType

The filterClauseType.

getFilterClauseTypeValue()

public int getFilterClauseTypeValue()

Required. The type for the filter clause.

.google.analytics.admin.v1alpha.SubpropertyEventFilterClause.FilterClauseType filter_clause_type = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for filterClauseType.

getFilterExpression()

public SubpropertyEventFilterExpression getFilterExpression()

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterExpression

The filterExpression.

getFilterExpressionOrBuilder()

public SubpropertyEventFilterExpressionOrBuilder getFilterExpressionOrBuilder()

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubpropertyEventFilterExpressionOrBuilder

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

hasFilterExpression()

public boolean hasFilterExpression()

Required. The logical expression for what events are sent to the subproperty.

.google.analytics.admin.v1alpha.SubpropertyEventFilterExpression filter_expression = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the filterExpression 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 SubpropertyEventFilterClause.Builder newBuilderForType()
Returns
Type Description
SubpropertyEventFilterClause.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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