public final class

DataProto.SeriesValue.Builder

extends <any>

implements DataProto.SeriesValueOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.DataProto.SeriesValue.Builder

Overview

Protobuf type androidx.health.platform.client.proto.SeriesValue

Summary

Methods
public DataProto.SeriesValue.BuilderclearInstantTimeMillis()

optional int64 instant_time_millis = 2;

public DataProto.SeriesValue.BuilderclearValues()

public booleancontainsValues(java.lang.String key)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public longgetInstantTimeMillis()

optional int64 instant_time_millis = 2;

public java.util.Map<java.lang.String, DataProto.Value>getValues()

Use DataProto.SeriesValue.Builder.getValuesMap() instead.

public intgetValuesCount()

public java.util.Map<java.lang.String, DataProto.Value>getValuesMap()

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public DataProto.ValuegetValuesOrDefault(java.lang.String key, DataProto.Value defaultValue)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public DataProto.ValuegetValuesOrThrow(java.lang.String key)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public booleanhasInstantTimeMillis()

optional int64 instant_time_millis = 2;

public DataProto.SeriesValue.BuilderputAllValues(java.util.Map<java.lang.String, DataProto.Value> values)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public DataProto.SeriesValue.BuilderputValues(java.lang.String key, DataProto.Value value)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public DataProto.SeriesValue.BuilderremoveValues(java.lang.String key)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public DataProto.SeriesValue.BuildersetInstantTimeMillis(long value)

optional int64 instant_time_millis = 2;

from java.lang.Objectclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait

Methods

public int getValuesCount()

public boolean containsValues(java.lang.String key)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public DataProto.SeriesValue.Builder clearValues()

public DataProto.SeriesValue.Builder removeValues(java.lang.String key)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public java.util.Map<java.lang.String, DataProto.Value> getValues()

Use DataProto.SeriesValue.Builder.getValuesMap() instead.

public java.util.Map<java.lang.String, DataProto.Value> getValuesMap()

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public DataProto.Value getValuesOrDefault(java.lang.String key, DataProto.Value defaultValue)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public DataProto.Value getValuesOrThrow(java.lang.String key)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public DataProto.SeriesValue.Builder putValues(java.lang.String key, DataProto.Value value)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public DataProto.SeriesValue.Builder putAllValues(java.util.Map<java.lang.String, DataProto.Value> values)

map<string, .androidx.health.platform.client.proto.Value> values = 1;

public boolean hasInstantTimeMillis()

optional int64 instant_time_millis = 2;

Returns:

Whether the instantTimeMillis field is set.

public long getInstantTimeMillis()

optional int64 instant_time_millis = 2;

Returns:

The instantTimeMillis.

public DataProto.SeriesValue.Builder setInstantTimeMillis(long value)

optional int64 instant_time_millis = 2;

Parameters:

value: The instantTimeMillis to set.

Returns:

This builder for chaining.

public DataProto.SeriesValue.Builder clearInstantTimeMillis()

optional int64 instant_time_millis = 2;

Returns:

This builder for chaining.