public final class SegmentFilter extends GeneratedMessageV3 implements SegmentFilterOrBuilder
An expression to filter dimension or metric values.
Protobuf type google.analytics.data.v1alpha.SegmentFilter
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
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 | |
FILTER_SCOPING_FIELD_NUMBER
public static final int FILTER_SCOPING_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 SegmentFilter getDefaultInstance()
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
newBuilder()
public static SegmentFilter.Builder newBuilder()
newBuilder(SegmentFilter prototype)
public static SegmentFilter.Builder newBuilder(SegmentFilter prototype)
public static SegmentFilter parseDelimitedFrom(InputStream input)
public static SegmentFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(byte[] data)
public static SegmentFilter parseFrom(byte[] data)
Parameter |
---|
Name | Description |
data | byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteString data)
public static SegmentFilter parseFrom(ByteString data)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilter parseFrom(CodedInputStream input)
public static SegmentFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static SegmentFilter parseFrom(InputStream input)
public static SegmentFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
parseFrom(ByteBuffer data)
public static SegmentFilter parseFrom(ByteBuffer data)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static SegmentFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
parser()
public static Parser<SegmentFilter> parser()
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter |
---|
Name | Description |
obj | Object
|
Overrides
getBetweenFilter()
public BetweenFilter getBetweenFilter()
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
getBetweenFilterOrBuilder()
public BetweenFilterOrBuilder getBetweenFilterOrBuilder()
A filter for between two values.
.google.analytics.data.v1alpha.BetweenFilter between_filter = 7;
getDefaultInstanceForType()
public SegmentFilter getDefaultInstanceForType()
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 |
---|
Type | Description |
ByteString | The bytes for fieldName.
|
getFilterScoping()
public SegmentFilterScoping getFilterScoping()
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
getFilterScopingOrBuilder()
public SegmentFilterScopingOrBuilder getFilterScopingOrBuilder()
Specifies the scope for the filter.
.google.analytics.data.v1alpha.SegmentFilterScoping filter_scoping = 8;
getInListFilter()
public InListFilter getInListFilter()
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
getInListFilterOrBuilder()
public InListFilterOrBuilder getInListFilterOrBuilder()
A filter for in list values.
.google.analytics.data.v1alpha.InListFilter in_list_filter = 5;
getNumericFilter()
public NumericFilter getNumericFilter()
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
getNumericFilterOrBuilder()
public NumericFilterOrBuilder getNumericFilterOrBuilder()
A filter for numeric or date values.
.google.analytics.data.v1alpha.NumericFilter numeric_filter = 6;
getOneFilterCase()
public SegmentFilter.OneFilterCase getOneFilterCase()
getParserForType()
public Parser<SegmentFilter> getParserForType()
Overrides
getSerializedSize()
public int getSerializedSize()
Returns |
---|
Type | Description |
int | |
Overrides
getStringFilter()
public StringFilter getStringFilter()
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
getStringFilterOrBuilder()
public StringFilterOrBuilder getStringFilterOrBuilder()
Strings related filter.
.google.analytics.data.v1alpha.StringFilter string_filter = 4;
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 |
---|
Type | Description |
int | |
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
isInitialized()
public final boolean isInitialized()
Overrides
newBuilderForType()
public SegmentFilter.Builder newBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected SegmentFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Overrides
toBuilder()
public SegmentFilter.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides