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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public Filter.NumericFilter build()
Returns
TypeDescription
Filter.NumericFilter

buildPartial()

public Filter.NumericFilter buildPartial()
Returns
TypeDescription
Filter.NumericFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public Filter.NumericFilter.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
Filter.NumericFilter.Builder

clone()

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

getDefaultInstanceForType()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getOperation()

public Filter.NumericFilter.Operation getOperation()

The operation type for this filter.

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

Returns
TypeDescription
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
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.v1beta.NumericValue value = 2;

Returns
TypeDescription
NumericValue

The value.

getValueBuilder()

public NumericValue.Builder getValueBuilder()

A numeric value or a date value.

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

Returns
TypeDescription
NumericValue.Builder

getValueOrBuilder()

public NumericValueOrBuilder getValueOrBuilder()

A numeric value or a date value.

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

Returns
TypeDescription
NumericValueOrBuilder

hasValue()

public boolean hasValue()

A numeric value or a date value.

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

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

The operation to set.

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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