Class BetweenFilter.Builder (0.15.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public BetweenFilter build()
Returns
TypeDescription
BetweenFilter

buildPartial()

public BetweenFilter buildPartial()
Returns
TypeDescription
BetweenFilter

clear()

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

clearField(Descriptors.FieldDescriptor field)

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

clearFromValue()

public BetweenFilter.Builder clearFromValue()

Begins with this number.

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

Returns
TypeDescription
BetweenFilter.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

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

clearToValue()

public BetweenFilter.Builder clearToValue()

Ends with this number.

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

Returns
TypeDescription
BetweenFilter.Builder

clone()

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

getDefaultInstanceForType()

public BetweenFilter getDefaultInstanceForType()
Returns
TypeDescription
BetweenFilter

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getFromValue()

public NumericValue getFromValue()

Begins with this number.

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

Returns
TypeDescription
NumericValue

The fromValue.

getFromValueBuilder()

public NumericValue.Builder getFromValueBuilder()

Begins with this number.

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

Returns
TypeDescription
NumericValue.Builder

getFromValueOrBuilder()

public NumericValueOrBuilder getFromValueOrBuilder()

Begins with this number.

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

Returns
TypeDescription
NumericValueOrBuilder

getToValue()

public NumericValue getToValue()

Ends with this number.

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

Returns
TypeDescription
NumericValue

The toValue.

getToValueBuilder()

public NumericValue.Builder getToValueBuilder()

Ends with this number.

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

Returns
TypeDescription
NumericValue.Builder

getToValueOrBuilder()

public NumericValueOrBuilder getToValueOrBuilder()

Ends with this number.

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

Returns
TypeDescription
NumericValueOrBuilder

hasFromValue()

public boolean hasFromValue()

Begins with this number.

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

Returns
TypeDescription
boolean

Whether the fromValue field is set.

hasToValue()

public boolean hasToValue()

Ends with this number.

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

Returns
TypeDescription
boolean

Whether the toValue field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(BetweenFilter other)

public BetweenFilter.Builder mergeFrom(BetweenFilter other)
Parameter
NameDescription
otherBetweenFilter
Returns
TypeDescription
BetweenFilter.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public BetweenFilter.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueNumericValue
Returns
TypeDescription
BetweenFilter.Builder

mergeToValue(NumericValue value)

public BetweenFilter.Builder mergeToValue(NumericValue value)

Ends with this number.

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

Parameter
NameDescription
valueNumericValue
Returns
TypeDescription
BetweenFilter.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final BetweenFilter.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BetweenFilter.Builder
Overrides

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public BetweenFilter.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueNumericValue
Returns
TypeDescription
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
NameDescription
builderForValueNumericValue.Builder
Returns
TypeDescription
BetweenFilter.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final BetweenFilter.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
BetweenFilter.Builder
Overrides