Class NumericFilter.Builder (0.55.0)

public static final class NumericFilter.Builder extends GeneratedMessageV3.Builder<NumericFilter.Builder> implements NumericFilterOrBuilder

Filters for numeric or date values.

Protobuf type google.analytics.data.v1alpha.NumericFilter

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NumericFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NumericFilter.Builder
Overrides

build()

public NumericFilter build()
Returns
Type Description
NumericFilter

buildPartial()

public NumericFilter buildPartial()
Returns
Type Description
NumericFilter

clear()

public NumericFilter.Builder clear()
Returns
Type Description
NumericFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NumericFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
NumericFilter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NumericFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
NumericFilter.Builder
Overrides

clearOperation()

public NumericFilter.Builder clearOperation()

The operation type for this filter.

.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;

Returns
Type Description
NumericFilter.Builder

This builder for chaining.

clearValue()

public NumericFilter.Builder clearValue()

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Returns
Type Description
NumericFilter.Builder

clone()

public NumericFilter.Builder clone()
Returns
Type Description
NumericFilter.Builder
Overrides

getDefaultInstanceForType()

public NumericFilter getDefaultInstanceForType()
Returns
Type Description
NumericFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getOperation()

public NumericFilter.Operation getOperation()

The operation type for this filter.

.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;

Returns
Type Description
NumericFilter.Operation

The operation.

getOperationValue()

public int getOperationValue()

The operation type for this filter.

.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;

Returns
Type Description
int

The enum numeric value on the wire for operation.

getValue()

public NumericValue getValue()

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Returns
Type Description
NumericValue

The value.

getValueBuilder()

public NumericValue.Builder getValueBuilder()

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Returns
Type Description
NumericValue.Builder

getValueOrBuilder()

public NumericValueOrBuilder getValueOrBuilder()

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Returns
Type Description
NumericValueOrBuilder

hasValue()

public boolean hasValue()

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Returns
Type Description
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(NumericFilter other)

public NumericFilter.Builder mergeFrom(NumericFilter other)
Parameter
Name Description
other NumericFilter
Returns
Type Description
NumericFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NumericFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
NumericFilter.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public NumericFilter.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
NumericFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NumericFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NumericFilter.Builder
Overrides

mergeValue(NumericValue value)

public NumericFilter.Builder mergeValue(NumericValue value)

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Parameter
Name Description
value NumericValue
Returns
Type Description
NumericFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NumericFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
NumericFilter.Builder
Overrides

setOperation(NumericFilter.Operation value)

public NumericFilter.Builder setOperation(NumericFilter.Operation value)

The operation type for this filter.

.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;

Parameter
Name Description
value NumericFilter.Operation

The operation to set.

Returns
Type Description
NumericFilter.Builder

This builder for chaining.

setOperationValue(int value)

public NumericFilter.Builder setOperationValue(int value)

The operation type for this filter.

.google.analytics.data.v1alpha.NumericFilter.Operation operation = 1;

Parameter
Name Description
value int

The enum numeric value on the wire for operation to set.

Returns
Type Description
NumericFilter.Builder

This builder for chaining.

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public NumericFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
NumericFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NumericFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
NumericFilter.Builder
Overrides

setValue(NumericValue value)

public NumericFilter.Builder setValue(NumericValue value)

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Parameter
Name Description
value NumericValue
Returns
Type Description
NumericFilter.Builder

setValue(NumericValue.Builder builderForValue)

public NumericFilter.Builder setValue(NumericValue.Builder builderForValue)

A numeric value or a date value.

.google.analytics.data.v1alpha.NumericValue value = 2;

Parameter
Name Description
builderForValue NumericValue.Builder
Returns
Type Description
NumericFilter.Builder