Class AudienceDimensionOrMetricFilter.NumericFilter (0.20.0)

public static final class AudienceDimensionOrMetricFilter.NumericFilter extends GeneratedMessageV3 implements AudienceDimensionOrMetricFilter.NumericFilterOrBuilder

A filter for numeric or date values on a dimension or metric.

Protobuf type google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > AudienceDimensionOrMetricFilter.NumericFilter

Static Fields

OPERATION_FIELD_NUMBER

public static final int OPERATION_FIELD_NUMBER
Field Value
TypeDescription
int

VALUE_FIELD_NUMBER

public static final int VALUE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static AudienceDimensionOrMetricFilter.NumericFilter getDefaultInstance()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static AudienceDimensionOrMetricFilter.NumericFilter.Builder newBuilder()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

newBuilder(AudienceDimensionOrMetricFilter.NumericFilter prototype)

public static AudienceDimensionOrMetricFilter.NumericFilter.Builder newBuilder(AudienceDimensionOrMetricFilter.NumericFilter prototype)
Parameter
NameDescription
prototypeAudienceDimensionOrMetricFilter.NumericFilter
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

parseDelimitedFrom(InputStream input)

public static AudienceDimensionOrMetricFilter.NumericFilter parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceDimensionOrMetricFilter.NumericFilter parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static AudienceDimensionOrMetricFilter.NumericFilter parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static AudienceDimensionOrMetricFilter.NumericFilter parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static AudienceDimensionOrMetricFilter.NumericFilter parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static AudienceDimensionOrMetricFilter.NumericFilter parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static AudienceDimensionOrMetricFilter.NumericFilter parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceDimensionOrMetricFilter.NumericFilter parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static AudienceDimensionOrMetricFilter.NumericFilter parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static AudienceDimensionOrMetricFilter.NumericFilter parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static AudienceDimensionOrMetricFilter.NumericFilter parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static AudienceDimensionOrMetricFilter.NumericFilter parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<AudienceDimensionOrMetricFilter.NumericFilter> parser()
Returns
TypeDescription
Parser<NumericFilter>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getDefaultInstanceForType()

public AudienceDimensionOrMetricFilter.NumericFilter getDefaultInstanceForType()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter

getOperation()

public AudienceDimensionOrMetricFilter.NumericFilter.Operation getOperation()

Required. The operation applied to a numeric filter.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Operation

The operation.

getOperationValue()

public int getOperationValue()

Required. The operation applied to a numeric filter.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericFilter.Operation operation = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for operation.

getParserForType()

public Parser<AudienceDimensionOrMetricFilter.NumericFilter> getParserForType()
Returns
TypeDescription
Parser<NumericFilter>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

getValue()

public AudienceDimensionOrMetricFilter.NumericValue getValue()

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericValue

The value.

getValueOrBuilder()

public AudienceDimensionOrMetricFilter.NumericValueOrBuilder getValueOrBuilder()

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericValueOrBuilder

hasValue()

public boolean hasValue()

Required. The numeric or date value to match against.

.google.analytics.admin.v1alpha.AudienceDimensionOrMetricFilter.NumericValue value = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
boolean

Whether the value field is set.

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public AudienceDimensionOrMetricFilter.NumericFilter.Builder newBuilderForType()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected AudienceDimensionOrMetricFilter.NumericFilter.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public AudienceDimensionOrMetricFilter.NumericFilter.Builder toBuilder()
Returns
TypeDescription
AudienceDimensionOrMetricFilter.NumericFilter.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides Exceptions
TypeDescription
IOException