public final class Filter extends GeneratedMessageV3 implements FilterOrBuilder
An expression to filter dimension or metric values.
Protobuf type google.analytics.data.v1beta.Filter
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
Static Fields
BETWEEN_FILTER_FIELD_NUMBER
public static final int BETWEEN_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
FIELD_NAME_FIELD_NUMBER
public static final int FIELD_NAME_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
IN_LIST_FILTER_FIELD_NUMBER
public static final int IN_LIST_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
NUMERIC_FILTER_FIELD_NUMBER
public static final int NUMERIC_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
STRING_FILTER_FIELD_NUMBER
public static final int STRING_FILTER_FIELD_NUMBER
Field Value |
---|
Type | Description |
int | |
Static Methods
getDefaultInstance()
public static Filter getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static Filter.Builder newBuilder()
newBuilder(Filter prototype)
public static Filter.Builder newBuilder(Filter prototype)
Parameter |
---|
Name | Description |
prototype | Filter
|
public static Filter parseDelimitedFrom(InputStream input)
public static Filter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static Filter parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static Filter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(CodedInputStream input)
public static Filter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(InputStream input)
public static Filter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static Filter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Filter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<Filter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBetweenFilter()
public Filter.BetweenFilter getBetweenFilter()
A filter for two values.
.google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6;
getBetweenFilterOrBuilder()
public Filter.BetweenFilterOrBuilder getBetweenFilterOrBuilder()
A filter for two values.
.google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6;
getDefaultInstanceForType()
public Filter getDefaultInstanceForType()
getFieldName()
public 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;
Returns |
---|
Type | Description |
String | The fieldName.
|
getFieldNameBytes()
public 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;
Returns |
---|
Type | Description |
ByteString | The bytes for fieldName.
|
getInListFilter()
public Filter.InListFilter getInListFilter()
A filter for in list values.
.google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4;
getInListFilterOrBuilder()
public Filter.InListFilterOrBuilder getInListFilterOrBuilder()
A filter for in list values.
.google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4;
getNumericFilter()
public Filter.NumericFilter getNumericFilter()
A filter for numeric or date values.
.google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5;
getNumericFilterOrBuilder()
public Filter.NumericFilterOrBuilder getNumericFilterOrBuilder()
A filter for numeric or date values.
.google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5;
getOneFilterCase()
public Filter.OneFilterCase getOneFilterCase()
getParserForType()
public Parser<Filter> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getStringFilter()
public Filter.StringFilter getStringFilter()
Strings related filter.
.google.analytics.data.v1beta.Filter.StringFilter string_filter = 3;
getStringFilterOrBuilder()
public Filter.StringFilterOrBuilder getStringFilterOrBuilder()
Strings related filter.
.google.analytics.data.v1beta.Filter.StringFilter string_filter = 3;
hasBetweenFilter()
public boolean hasBetweenFilter()
A filter for two values.
.google.analytics.data.v1beta.Filter.BetweenFilter between_filter = 6;
Returns |
---|
Type | Description |
boolean | Whether the betweenFilter field is set.
|
hasInListFilter()
public boolean hasInListFilter()
A filter for in list values.
.google.analytics.data.v1beta.Filter.InListFilter in_list_filter = 4;
Returns |
---|
Type | Description |
boolean | Whether the inListFilter field is set.
|
hasNumericFilter()
public boolean hasNumericFilter()
A filter for numeric or date values.
.google.analytics.data.v1beta.Filter.NumericFilter numeric_filter = 5;
Returns |
---|
Type | Description |
boolean | Whether the numericFilter field is set.
|
hasStringFilter()
public boolean hasStringFilter()
Strings related filter.
.google.analytics.data.v1beta.Filter.StringFilter string_filter = 3;
Returns |
---|
Type | Description |
boolean | Whether the stringFilter field is set.
|
hashCode()
Returns |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public Filter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected Filter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public Filter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides