Class ReportValue.DoubleList.Builder (0.44.0)

public static final class ReportValue.DoubleList.Builder extends GeneratedMessage.Builder<ReportValue.DoubleList.Builder> implements ReportValue.DoubleListOrBuilder

A list of double values.

Protobuf type google.ads.admanager.v1.ReportValue.DoubleList

Static Methods

getDescriptor()

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

Methods

addAllValues(Iterable<? extends Double> values)

public ReportValue.DoubleList.Builder addAllValues(Iterable<? extends Double> values)

The values

repeated double values = 1;

Parameter
Name Description
values Iterable<? extends java.lang.Double>

The values to add.

Returns
Type Description
ReportValue.DoubleList.Builder

This builder for chaining.

addValues(double value)

public ReportValue.DoubleList.Builder addValues(double value)

The values

repeated double values = 1;

Parameter
Name Description
value double

The values to add.

Returns
Type Description
ReportValue.DoubleList.Builder

This builder for chaining.

build()

public ReportValue.DoubleList build()
Returns
Type Description
ReportValue.DoubleList

buildPartial()

public ReportValue.DoubleList buildPartial()
Returns
Type Description
ReportValue.DoubleList

clear()

public ReportValue.DoubleList.Builder clear()
Returns
Type Description
ReportValue.DoubleList.Builder
Overrides

clearValues()

public ReportValue.DoubleList.Builder clearValues()

The values

repeated double values = 1;

Returns
Type Description
ReportValue.DoubleList.Builder

This builder for chaining.

getDefaultInstanceForType()

public ReportValue.DoubleList getDefaultInstanceForType()
Returns
Type Description
ReportValue.DoubleList

getDescriptorForType()

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

getValues(int index)

public double getValues(int index)

The values

repeated double values = 1;

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
double

The values at the given index.

getValuesCount()

public int getValuesCount()

The values

repeated double values = 1;

Returns
Type Description
int

The count of values.

getValuesList()

public List<Double> getValuesList()

The values

repeated double values = 1;

Returns
Type Description
List<Double>

A list containing the values.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(ReportValue.DoubleList other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

setValues(int index, double value)

public ReportValue.DoubleList.Builder setValues(int index, double value)

The values

repeated double values = 1;

Parameters
Name Description
index int

The index to set the value at.

value double

The values to set.

Returns
Type Description
ReportValue.DoubleList.Builder

This builder for chaining.