Class SubpropertyEventFilterClause (0.45.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
TypeDescription
int

FILTER_EXPRESSION_FIELD_NUMBER

public static final int FILTER_EXPRESSION_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static SubpropertyEventFilterClause getDefaultInstance()
Returns
TypeDescription
SubpropertyEventFilterClause

getDescriptor()

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

newBuilder()

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

newBuilder(SubpropertyEventFilterClause prototype)

public static SubpropertyEventFilterClause.Builder newBuilder(SubpropertyEventFilterClause prototype)
Parameter
NameDescription
prototypeSubpropertyEventFilterClause
Returns
TypeDescription
SubpropertyEventFilterClause.Builder

parseDelimitedFrom(InputStream input)

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

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(byte[] data)

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

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteString data)

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

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

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

parseFrom(CodedInputStream input)

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

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(InputStream input)

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

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

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

parseFrom(ByteBuffer data)

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

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

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

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public SubpropertyEventFilterClause getDefaultInstanceForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
SubpropertyEventFilterExpressionOrBuilder

getParserForType()

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

getSerializedSize()

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

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

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

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

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

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

toBuilder()

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

writeTo(CodedOutputStream output)

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