Class ReportValue.DoubleList.Builder (0.39.0)

public static final class ReportValue.DoubleList.Builder extends GeneratedMessageV3.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.

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

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

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public ReportValue.DoubleList.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
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.

clone()

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

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 GeneratedMessageV3.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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

public final ReportValue.DoubleList.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.