public final class Filter extends com.google.protobuf.GeneratedMessageV3 implements FilterOrBuilder
An expression to filter dimension or metric values.Protobuf type
google.analytics.data.v1beta.Filter| Modifier and Type | Class and Description |
|---|---|
static class |
Filter.BetweenFilter
To express that the result needs to be between two numbers (inclusive).
|
static interface |
Filter.BetweenFilterOrBuilder |
static class |
Filter.Builder
An expression to filter dimension or metric values.
|
static class |
Filter.InListFilter
The result needs to be in a list of string values.
|
static interface |
Filter.InListFilterOrBuilder |
static class |
Filter.NumericFilter
Filters for numeric or date values.
|
static interface |
Filter.NumericFilterOrBuilder |
static class |
Filter.OneFilterCase |
static class |
Filter.StringFilter
The filter for string
|
static interface |
Filter.StringFilterOrBuilder |
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage,BuilderType extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
BETWEEN_FILTER_FIELD_NUMBER |
static int |
FIELD_NAME_FIELD_NUMBER |
static int |
IN_LIST_FILTER_FIELD_NUMBER |
static int |
NUMERIC_FILTER_FIELD_NUMBER |
static int |
STRING_FILTER_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
Filter.BetweenFilter |
getBetweenFilter()
A filter for two values.
|
Filter.BetweenFilterOrBuilder |
getBetweenFilterOrBuilder()
A filter for two values.
|
static Filter |
getDefaultInstance() |
Filter |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
String |
getFieldName()
The dimension name or metric name.
|
com.google.protobuf.ByteString |
getFieldNameBytes()
The dimension name or metric name.
|
Filter.InListFilter |
getInListFilter()
A filter for in list values.
|
Filter.InListFilterOrBuilder |
getInListFilterOrBuilder()
A filter for in list values.
|
Filter.NumericFilter |
getNumericFilter()
A filter for numeric or date values.
|
Filter.NumericFilterOrBuilder |
getNumericFilterOrBuilder()
A filter for numeric or date values.
|
Filter.OneFilterCase |
getOneFilterCase() |
com.google.protobuf.Parser<Filter> |
getParserForType() |
int |
getSerializedSize() |
Filter.StringFilter |
getStringFilter()
Strings related filter.
|
Filter.StringFilterOrBuilder |
getStringFilterOrBuilder()
Strings related filter.
|
com.google.protobuf.UnknownFieldSet |
getUnknownFields() |
boolean |
hasBetweenFilter()
A filter for two values.
|
int |
hashCode() |
boolean |
hasInListFilter()
A filter for in list values.
|
boolean |
hasNumericFilter()
A filter for numeric or date values.
|
boolean |
hasStringFilter()
Strings related filter.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static Filter.Builder |
newBuilder() |
static Filter.Builder |
newBuilder(Filter prototype) |
Filter.Builder |
newBuilderForType() |
protected Filter.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static Filter |
parseDelimitedFrom(InputStream input) |
static Filter |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Filter |
parseFrom(byte[] data) |
static Filter |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Filter |
parseFrom(ByteBuffer data) |
static Filter |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Filter |
parseFrom(com.google.protobuf.ByteString data) |
static Filter |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Filter |
parseFrom(com.google.protobuf.CodedInputStream input) |
static Filter |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static Filter |
parseFrom(InputStream input) |
static Filter |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<Filter> |
parser() |
Filter.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int FIELD_NAME_FIELD_NUMBER
public static final int STRING_FILTER_FIELD_NUMBER
public static final int IN_LIST_FILTER_FIELD_NUMBER
public static final int NUMERIC_FILTER_FIELD_NUMBER
public static final int BETWEEN_FILTER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public final com.google.protobuf.UnknownFieldSet getUnknownFields()
getUnknownFields in interface com.google.protobuf.MessageOrBuildergetUnknownFields in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public Filter.OneFilterCase getOneFilterCase()
getOneFilterCase in interface FilterOrBuilderpublic String getFieldName()
The dimension name or metric name. In most methods, dimensions & metrics can be used for the first time in this field. However in a RunPivotReportRequest, this field must be additionally specified by name in the RunPivotReportRequest's dimensions or metrics.
string field_name = 1;getFieldName in interface FilterOrBuilderpublic com.google.protobuf.ByteString getFieldNameBytes()
The dimension name or metric name. In most methods, dimensions & metrics can be used for the first time in this field. However in a RunPivotReportRequest, this field must be additionally specified by name in the RunPivotReportRequest's dimensions or metrics.
string field_name = 1;getFieldNameBytes in interface FilterOrBuilderpublic boolean hasStringFilter()
Strings related filter.
.google.analytics.data.v1beta.Filter.StringFilter string_filter = 3;hasStringFilter in interface FilterOrBuilderpublic Filter.StringFilter getStringFilter()
Strings related filter.
.google.analytics.data.v1beta.Filter.StringFilter string_filter = 3;getStringFilter in interface FilterOrBuilderpublic Filter.StringFilterOrBuilder getStringFilterOrBuilder()
Strings related filter.
.google.analytics.data.v1beta.Filter.StringFilter string_filter = 3;getStringFilterOrBuilder in interface FilterOrBuilderpublic boolean hasInListFilter()
A filter for in list values.
.google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4;hasInListFilter in interface FilterOrBuilderpublic Filter.InListFilter getInListFilter()
A filter for in list values.
.google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4;getInListFilter in interface FilterOrBuilderpublic Filter.InListFilterOrBuilder getInListFilterOrBuilder()
A filter for in list values.
.google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4;getInListFilterOrBuilder in interface FilterOrBuilderpublic boolean hasNumericFilter()
A filter for numeric or date values.
.google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5;hasNumericFilter in interface FilterOrBuilderpublic Filter.NumericFilter getNumericFilter()
A filter for numeric or date values.
.google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5;getNumericFilter in interface FilterOrBuilderpublic Filter.NumericFilterOrBuilder getNumericFilterOrBuilder()
A filter for numeric or date values.
.google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5;getNumericFilterOrBuilder in interface FilterOrBuilderpublic boolean hasBetweenFilter()
A filter for two values.
.google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6;hasBetweenFilter in interface FilterOrBuilderpublic Filter.BetweenFilter getBetweenFilter()
A filter for two values.
.google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6;getBetweenFilter in interface FilterOrBuilderpublic Filter.BetweenFilterOrBuilder getBetweenFilterOrBuilder()
A filter for two values.
.google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6;getBetweenFilterOrBuilder in interface FilterOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static Filter parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Filter parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Filter parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Filter parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Filter parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Filter parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static Filter parseFrom(InputStream input) throws IOException
IOExceptionpublic static Filter parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Filter parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static Filter parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static Filter parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static Filter parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic Filter.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static Filter.Builder newBuilder()
public static Filter.Builder newBuilder(Filter prototype)
public Filter.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected Filter.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static Filter getDefaultInstance()
public static com.google.protobuf.Parser<Filter> parser()
public com.google.protobuf.Parser<Filter> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public Filter getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2022 Google LLC. All rights reserved.