Class AudienceDimensionOrMetricFilter
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter
- All Implemented Interfaces:
AudienceDimensionOrMetricFilterOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
@Generated
public final class AudienceDimensionOrMetricFilter
extends com.google.protobuf.GeneratedMessage
implements AudienceDimensionOrMetricFilterOrBuilder
A specific filter for a single dimension or metric.Protobuf type
google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classA filter for numeric or date values between certain values on a dimension or metric.static interfacestatic final classA specific filter for a single dimension or metric.static final classA filter for a string dimension that matches a particular list of options.static interfacestatic final classA filter for numeric or date values on a dimension or metric.static interfacestatic final classTo represent a number.static interfacestatic enumstatic final classA filter for a string-type dimension that matches a particular pattern.static interfaceNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanbooleanOptional.A filter for numeric or date values between certain values on a dimension or metric.A filter for numeric or date values between certain values on a dimension or metric.static final com.google.protobuf.Descriptors.DescriptorRequired.com.google.protobuf.ByteStringRequired.intOptional.A filter for a string dimension that matches a particular list of options.A filter for a string dimension that matches a particular list of options.A filter for numeric or date values on a dimension or metric.A filter for numeric or date values on a dimension or metric.com.google.protobuf.Parser<AudienceDimensionOrMetricFilter>intA filter for a string-type dimension that matches a particular pattern.A filter for a string-type dimension that matches a particular pattern.booleanA filter for numeric or date values between certain values on a dimension or metric.inthashCode()booleanA filter for a string dimension that matches a particular list of options.booleanA filter for numeric or date values on a dimension or metric.booleanA filter for a string-type dimension that matches a particular pattern.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(AudienceDimensionOrMetricFilter prototype) protected AudienceDimensionOrMetricFilter.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<AudienceDimensionOrMetricFilter>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
STRING_FILTER_FIELD_NUMBER
public static final int STRING_FILTER_FIELD_NUMBER- See Also:
-
IN_LIST_FILTER_FIELD_NUMBER
public static final int IN_LIST_FILTER_FIELD_NUMBER- See Also:
-
NUMERIC_FILTER_FIELD_NUMBER
public static final int NUMERIC_FILTER_FIELD_NUMBER- See Also:
-
BETWEEN_FILTER_FIELD_NUMBER
public static final int BETWEEN_FILTER_FIELD_NUMBER- See Also:
-
FIELD_NAME_FIELD_NUMBER
public static final int FIELD_NAME_FIELD_NUMBER- See Also:
-
AT_ANY_POINT_IN_TIME_FIELD_NUMBER
public static final int AT_ANY_POINT_IN_TIME_FIELD_NUMBER- See Also:
-
IN_ANY_N_DAY_PERIOD_FIELD_NUMBER
public static final int IN_ANY_N_DAY_PERIOD_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getOneFilterCase
- Specified by:
getOneFilterCasein interfaceAudienceDimensionOrMetricFilterOrBuilder
-
hasStringFilter
public boolean hasStringFilter()A filter for a string-type dimension that matches a particular pattern.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2;- Specified by:
hasStringFilterin interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- Whether the stringFilter field is set.
-
getStringFilter
A filter for a string-type dimension that matches a particular pattern.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2;- Specified by:
getStringFilterin interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- The stringFilter.
-
getStringFilterOrBuilder
A filter for a string-type dimension that matches a particular pattern.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.StringFilter string_filter = 2;- Specified by:
getStringFilterOrBuilderin interfaceAudienceDimensionOrMetricFilterOrBuilder
-
hasInListFilter
public boolean hasInListFilter()A filter for a string dimension that matches a particular list of options.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3;- Specified by:
hasInListFilterin interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- Whether the inListFilter field is set.
-
getInListFilter
A filter for a string dimension that matches a particular list of options.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3;- Specified by:
getInListFilterin interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- The inListFilter.
-
getInListFilterOrBuilder
A filter for a string dimension that matches a particular list of options.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.InListFilter in_list_filter = 3;- Specified by:
getInListFilterOrBuilderin interfaceAudienceDimensionOrMetricFilterOrBuilder
-
hasNumericFilter
public boolean hasNumericFilter()A filter for numeric or date values on a dimension or metric.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4;- Specified by:
hasNumericFilterin interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- Whether the numericFilter field is set.
-
getNumericFilter
A filter for numeric or date values on a dimension or metric.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4;- Specified by:
getNumericFilterin interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- The numericFilter.
-
getNumericFilterOrBuilder
A filter for numeric or date values on a dimension or metric.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter numeric_filter = 4;- Specified by:
getNumericFilterOrBuilderin interfaceAudienceDimensionOrMetricFilterOrBuilder
-
hasBetweenFilter
public boolean hasBetweenFilter()A filter for numeric or date values between certain values on a dimension or metric.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5;- Specified by:
hasBetweenFilterin interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- Whether the betweenFilter field is set.
-
getBetweenFilter
A filter for numeric or date values between certain values on a dimension or metric.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5;- Specified by:
getBetweenFilterin interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- The betweenFilter.
-
getBetweenFilterOrBuilder
A filter for numeric or date values between certain values on a dimension or metric.
.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.BetweenFilter between_filter = 5;- Specified by:
getBetweenFilterOrBuilderin interfaceAudienceDimensionOrMetricFilterOrBuilder
-
getFieldName
Required. Immutable. The dimension name or metric name to filter. If the field name refers to a custom dimension or metric, a scope prefix will be added to the front of the custom dimensions or metric name. For more on scope prefixes or custom dimensions/metrics, reference the [Google Analytics Data API documentation] (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getFieldNamein interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- The fieldName.
-
getFieldNameBytes
public com.google.protobuf.ByteString getFieldNameBytes()Required. Immutable. The dimension name or metric name to filter. If the field name refers to a custom dimension or metric, a scope prefix will be added to the front of the custom dimensions or metric name. For more on scope prefixes or custom dimensions/metrics, reference the [Google Analytics Data API documentation] (https://developers.google.com/analytics/devguides/reporting/data/v1/api-schema#custom_dimensions).
string field_name = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.field_behavior) = IMMUTABLE];- Specified by:
getFieldNameBytesin interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- The bytes for fieldName.
-
getAtAnyPointInTime
public boolean getAtAnyPointInTime()Optional. Indicates whether this filter needs dynamic evaluation or not. If set to true, users join the Audience if they ever met the condition (static evaluation). If unset or set to false, user evaluation for an Audience is dynamic; users are added to an Audience when they meet the conditions and then removed when they no longer meet them. This can only be set when Audience scope is ACROSS_ALL_SESSIONS.
bool at_any_point_in_time = 6 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getAtAnyPointInTimein interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- The atAnyPointInTime.
-
getInAnyNDayPeriod
public int getInAnyNDayPeriod()Optional. If set, specifies the time window for which to evaluate data in number of days. If not set, then audience data is evaluated against lifetime data (For example, infinite time window). For example, if set to 1 day, only the current day's data is evaluated. The reference point is the current day when at_any_point_in_time is unset or false. It can only be set when Audience scope is ACROSS_ALL_SESSIONS and cannot be greater than 60 days.
int32 in_any_n_day_period = 7 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getInAnyNDayPeriodin interfaceAudienceDimensionOrMetricFilterOrBuilder- Returns:
- The inAnyNDayPeriod.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static AudienceDimensionOrMetricFilter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceDimensionOrMetricFilter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceDimensionOrMetricFilter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceDimensionOrMetricFilter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceDimensionOrMetricFilter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static AudienceDimensionOrMetricFilter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static AudienceDimensionOrMetricFilter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static AudienceDimensionOrMetricFilter parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static AudienceDimensionOrMetricFilter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static AudienceDimensionOrMetricFilter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static AudienceDimensionOrMetricFilter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static AudienceDimensionOrMetricFilter.Builder newBuilder(AudienceDimensionOrMetricFilter prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected AudienceDimensionOrMetricFilter.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-