Interface DoubleArrayOrBuilder (1.6.0)

publicinterface DoubleArrayOrBuilderextendsMessageOrBuilder

Implements

MessageOrBuilder

Methods

getValues(int index)

publicabstractdoublegetValues(intindex)

A list of double 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()

publicabstractintgetValuesCount()

A list of double values.

repeated double values = 1;

Returns
Type Description
int

The count of values.

getValuesList()

publicabstractList<Double>getValuesList()

A list of double values.

repeated double values = 1;

Returns
Type Description
List<Double>

A list containing the values.

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.