public final class SegmentFilter extends GeneratedMessageV3 implements SegmentFilterOrBuilder
An expression to filter dimension or metric values.
Protobuf type google.analytics.data.v1alpha.SegmentFilter
Static Fields
BETWEEN_FILTER_FIELD_NUMBER
public static final int BETWEEN_FILTER_FIELD_NUMBER
Field Value
FIELD_NAME_FIELD_NUMBER
public static final int FIELD_NAME_FIELD_NUMBER
Field Value
FILTER_SCOPING_FIELD_NUMBER
public static final int FILTER_SCOPING_FIELD_NUMBER
Field Value
IN_LIST_FILTER_FIELD_NUMBER
public static final int IN_LIST_FILTER_FIELD_NUMBER
Field Value
NUMERIC_FILTER_FIELD_NUMBER
public static final int NUMERIC_FILTER_FIELD_NUMBER
Field Value
STRING_FILTER_FIELD_NUMBER
public static final int STRING_FILTER_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static SegmentFilter getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static SegmentFilter.Builder newBuilder()
Returns
newBuilder(SegmentFilter prototype)
public static SegmentFilter.Builder newBuilder(SegmentFilter prototype)
Parameter
Returns
public static SegmentFilter parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static SegmentFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static SegmentFilter parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static SegmentFilter parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SegmentFilter parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static SegmentFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static SegmentFilter parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static SegmentFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static SegmentFilter parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<SegmentFilter> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
getBetweenFilter()
public BetweenFilter getBetweenFilter()
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Returns
getBetweenFilterOrBuilder()
public BetweenFilterOrBuilder getBetweenFilterOrBuilder()
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Returns
getDefaultInstanceForType()
public SegmentFilter getDefaultInstanceForType()
Returns
getFieldName()
public String getFieldName()
The dimension name or metric name.
string field_name = 1;
Returns
Type | Description |
String | The fieldName.
|
getFieldNameBytes()
public ByteString getFieldNameBytes()
The dimension name or metric name.
string field_name = 1;
Returns
getFilterScoping()
public SegmentFilterScoping getFilterScoping()
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Returns
getFilterScopingOrBuilder()
public SegmentFilterScopingOrBuilder getFilterScopingOrBuilder()
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Returns
getInListFilter()
public InListFilter getInListFilter()
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Returns
getInListFilterOrBuilder()
public InListFilterOrBuilder getInListFilterOrBuilder()
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Returns
getNumericFilter()
public NumericFilter getNumericFilter()
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Returns
getNumericFilterOrBuilder()
public NumericFilterOrBuilder getNumericFilterOrBuilder()
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Returns
getOneFilterCase()
public SegmentFilter.OneFilterCase getOneFilterCase()
Returns
getParserForType()
public Parser<SegmentFilter> getParserForType()
Returns
Overrides
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStringFilter()
public StringFilter getStringFilter()
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Returns
getStringFilterOrBuilder()
public StringFilterOrBuilder getStringFilterOrBuilder()
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
hasBetweenFilter()
public boolean hasBetweenFilter()
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
Returns
Type | Description |
boolean | Whether the betweenFilter field is set.
|
hasFilterScoping()
public boolean hasFilterScoping()
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
Returns
Type | Description |
boolean | Whether the filterScoping field is set.
|
hasInListFilter()
public boolean hasInListFilter()
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
Returns
Type | Description |
boolean | Whether the inListFilter field is set.
|
hasNumericFilter()
public boolean hasNumericFilter()
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
Returns
Type | Description |
boolean | Whether the numericFilter field is set.
|
hasStringFilter()
public boolean hasStringFilter()
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
Returns
Type | Description |
boolean | Whether the stringFilter field is set.
|
hashCode()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public SegmentFilter.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SegmentFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public SegmentFilter.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions