public final class

DataProto.SubTypeDataValue.Builder

extends <any>

implements DataProto.SubTypeDataValueOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public DataProto.SubTypeDataValue.BuilderclearEndTimeMillis()

optional int64 end_time_millis = 3;

public DataProto.SubTypeDataValue.BuilderclearStartTimeMillis()

optional int64 start_time_millis = 2;

public DataProto.SubTypeDataValue.BuilderclearValues()

public booleancontainsValues(java.lang.String key)

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

public longgetEndTimeMillis()

optional int64 end_time_millis = 3;

public longgetStartTimeMillis()

optional int64 start_time_millis = 2;

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

Use DataProto.SubTypeDataValue.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 booleanhasEndTimeMillis()

optional int64 end_time_millis = 3;

public booleanhasStartTimeMillis()

optional int64 start_time_millis = 2;

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

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

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

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

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

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

public DataProto.SubTypeDataValue.BuildersetEndTimeMillis(long value)

optional int64 end_time_millis = 3;

public DataProto.SubTypeDataValue.BuildersetStartTimeMillis(long value)

optional int64 start_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.SubTypeDataValue.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.SubTypeDataValue.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.SubTypeDataValue.Builder putValues(java.lang.String key, DataProto.Value value)

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

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

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

public boolean hasStartTimeMillis()

optional int64 start_time_millis = 2;

Returns:

Whether the startTimeMillis field is set.

public long getStartTimeMillis()

optional int64 start_time_millis = 2;

Returns:

The startTimeMillis.

public DataProto.SubTypeDataValue.Builder setStartTimeMillis(long value)

optional int64 start_time_millis = 2;

Parameters:

value: The startTimeMillis to set.

Returns:

This builder for chaining.

public DataProto.SubTypeDataValue.Builder clearStartTimeMillis()

optional int64 start_time_millis = 2;

Returns:

This builder for chaining.

public boolean hasEndTimeMillis()

optional int64 end_time_millis = 3;

Returns:

Whether the endTimeMillis field is set.

public long getEndTimeMillis()

optional int64 end_time_millis = 3;

Returns:

The endTimeMillis.

public DataProto.SubTypeDataValue.Builder setEndTimeMillis(long value)

optional int64 end_time_millis = 3;

Parameters:

value: The endTimeMillis to set.

Returns:

This builder for chaining.

public DataProto.SubTypeDataValue.Builder clearEndTimeMillis()

optional int64 end_time_millis = 3;

Returns:

This builder for chaining.