Class NumericFilter.Builder (0.40.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public NumericFilter.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
NumericFilter.Builder
Overrides

build()

public NumericFilter build()
Returns
TypeDescription
NumericFilter

buildPartial()

public NumericFilter buildPartial()
Returns
TypeDescription
NumericFilter

clear()

public NumericFilter.Builder clear()
Returns
TypeDescription
NumericFilter.Builder
Overrides

clearField(Descriptors.FieldDescriptor field)

public NumericFilter.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
NumericFilter.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public NumericFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
NumericFilter.Builder
Overrides

clearOperation()

public NumericFilter.Builder clearOperation()

The operation type for this filter.

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

Returns
TypeDescription
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
TypeDescription
NumericFilter.Builder

clone()

public NumericFilter.Builder clone()
Returns
TypeDescription
NumericFilter.Builder
Overrides

getDefaultInstanceForType()

public NumericFilter getDefaultInstanceForType()
Returns
TypeDescription
NumericFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperation()

public NumericFilter.Operation getOperation()

The operation type for this filter.

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

Returns
TypeDescription
NumericFilter.Operation

The operation.

getOperationValue()

public int getOperationValue()

The operation type for this filter.

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

Returns
TypeDescription
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
TypeDescription
NumericValue

The value.

getValueBuilder()

public NumericValue.Builder getValueBuilder()

A numeric value or a date value.

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

Returns
TypeDescription
NumericValue.Builder

getValueOrBuilder()

public NumericValueOrBuilder getValueOrBuilder()

A numeric value or a date value.

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

Returns
TypeDescription
NumericValueOrBuilder

hasValue()

public boolean hasValue()

A numeric value or a date value.

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

Returns
TypeDescription
boolean

Whether the value field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(NumericFilter other)

public NumericFilter.Builder mergeFrom(NumericFilter other)
Parameter
NameDescription
otherNumericFilter
Returns
TypeDescription
NumericFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public NumericFilter.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
NumericFilter.Builder
Overrides
Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public NumericFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
NumericFilter.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final NumericFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueNumericValue
Returns
TypeDescription
NumericFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public NumericFilter.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueNumericFilter.Operation

The operation to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
NumericFilter.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

public final NumericFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueNumericValue
Returns
TypeDescription
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
NameDescription
builderForValueNumericValue.Builder
Returns
TypeDescription
NumericFilter.Builder