Class BetweenFilter.Builder (0.57.0)

public static final class BetweenFilter.Builder extends GeneratedMessageV3.Builder<BetweenFilter.Builder> implements BetweenFilterOrBuilder

To express that the result needs to be between two numbers (inclusive).

Protobuf type google.analytics.data.v1alpha.BetweenFilter

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BetweenFilter build()
Returns
Type Description
BetweenFilter

buildPartial()

public BetweenFilter buildPartial()
Returns
Type Description
BetweenFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFromValue()

public BetweenFilter.Builder clearFromValue()

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

Returns
Type Description
BetweenFilter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearToValue()

public BetweenFilter.Builder clearToValue()

Ends with this number.

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

Returns
Type Description
BetweenFilter.Builder

clone()

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

getDefaultInstanceForType()

public BetweenFilter getDefaultInstanceForType()
Returns
Type Description
BetweenFilter

getDescriptorForType()

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

getFromValue()

public NumericValue getFromValue()

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

Returns
Type Description
NumericValue

The fromValue.

getFromValueBuilder()

public NumericValue.Builder getFromValueBuilder()

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

Returns
Type Description
NumericValue.Builder

getFromValueOrBuilder()

public NumericValueOrBuilder getFromValueOrBuilder()

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

Returns
Type Description
NumericValueOrBuilder

getToValue()

public NumericValue getToValue()

Ends with this number.

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

Returns
Type Description
NumericValue

The toValue.

getToValueBuilder()

public NumericValue.Builder getToValueBuilder()

Ends with this number.

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

Returns
Type Description
NumericValue.Builder

getToValueOrBuilder()

public NumericValueOrBuilder getToValueOrBuilder()

Ends with this number.

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

Returns
Type Description
NumericValueOrBuilder

hasFromValue()

public boolean hasFromValue()

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

Returns
Type Description
boolean

Whether the fromValue field is set.

hasToValue()

public boolean hasToValue()

Ends with this number.

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

Returns
Type Description
boolean

Whether the toValue field is set.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(BetweenFilter other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeFromValue(NumericValue value)

public BetweenFilter.Builder mergeFromValue(NumericValue value)

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

Parameter
Name Description
value NumericValue
Returns
Type Description
BetweenFilter.Builder

mergeToValue(NumericValue value)

public BetweenFilter.Builder mergeToValue(NumericValue value)

Ends with this number.

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

Parameter
Name Description
value NumericValue
Returns
Type Description
BetweenFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

setFromValue(NumericValue value)

public BetweenFilter.Builder setFromValue(NumericValue value)

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

Parameter
Name Description
value NumericValue
Returns
Type Description
BetweenFilter.Builder

setFromValue(NumericValue.Builder builderForValue)

public BetweenFilter.Builder setFromValue(NumericValue.Builder builderForValue)

Begins with this number.

.google.analytics.data.v1alpha.NumericValue from_value = 1;

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

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

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

setToValue(NumericValue value)

public BetweenFilter.Builder setToValue(NumericValue value)

Ends with this number.

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

Parameter
Name Description
value NumericValue
Returns
Type Description
BetweenFilter.Builder

setToValue(NumericValue.Builder builderForValue)

public BetweenFilter.Builder setToValue(NumericValue.Builder builderForValue)

Ends with this number.

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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