Class Filter.NumericFilter.Builder (0.66.0)

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

Filters for numeric or date values.

Protobuf type google.analytics.data.v1beta.Filter.NumericFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Filter.NumericFilter build()
Returns
Type Description
Filter.NumericFilter

buildPartial()

public Filter.NumericFilter buildPartial()
Returns
Type Description
Filter.NumericFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearOperation()

public Filter.NumericFilter.Builder clearOperation()

The operation type for this filter.

.google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1;

Returns
Type Description
Filter.NumericFilter.Builder

This builder for chaining.

clearValue()

public Filter.NumericFilter.Builder clearValue()

A numeric value or a date value.

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

Returns
Type Description
Filter.NumericFilter.Builder

clone()

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

getDefaultInstanceForType()

public Filter.NumericFilter getDefaultInstanceForType()
Returns
Type Description
Filter.NumericFilter

getDescriptorForType()

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

getOperation()

public Filter.NumericFilter.Operation getOperation()

The operation type for this filter.

.google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1;

Returns
Type Description
Filter.NumericFilter.Operation

The operation.

getOperationValue()

public int getOperationValue()

The operation type for this filter.

.google.analytics.data.v1beta.Filter.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.v1beta.NumericValue value = 2;

Returns
Type Description
NumericValue

The value.

getValueBuilder()

public NumericValue.Builder getValueBuilder()

A numeric value or a date value.

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

Returns
Type Description
NumericValue.Builder

getValueOrBuilder()

public NumericValueOrBuilder getValueOrBuilder()

A numeric value or a date value.

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

Returns
Type Description
NumericValueOrBuilder

hasValue()

public boolean hasValue()

A numeric value or a date value.

.google.analytics.data.v1beta.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(Filter.NumericFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

mergeValue(NumericValue value)

public Filter.NumericFilter.Builder mergeValue(NumericValue value)

A numeric value or a date value.

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

Parameter
Name Description
value NumericValue
Returns
Type Description
Filter.NumericFilter.Builder

setField(Descriptors.FieldDescriptor field, Object value)

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

setOperation(Filter.NumericFilter.Operation value)

public Filter.NumericFilter.Builder setOperation(Filter.NumericFilter.Operation value)

The operation type for this filter.

.google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1;

Parameter
Name Description
value Filter.NumericFilter.Operation

The operation to set.

Returns
Type Description
Filter.NumericFilter.Builder

This builder for chaining.

setOperationValue(int value)

public Filter.NumericFilter.Builder setOperationValue(int value)

The operation type for this filter.

.google.analytics.data.v1beta.Filter.NumericFilter.Operation operation = 1;

Parameter
Name Description
value int

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

Returns
Type Description
Filter.NumericFilter.Builder

This builder for chaining.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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

setValue(NumericValue value)

public Filter.NumericFilter.Builder setValue(NumericValue value)

A numeric value or a date value.

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

Parameter
Name Description
value NumericValue
Returns
Type Description
Filter.NumericFilter.Builder

setValue(NumericValue.Builder builderForValue)

public Filter.NumericFilter.Builder setValue(NumericValue.Builder builderForValue)

A numeric value or a date value.

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

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