public interface

DataProto.ValueOrBuilder

 androidx.health.platform.client.proto.DataProto.ValueOrBuilder

Subclasses:

DataProto.Value, DataProto.Value.Builder

Summary

Methods
public booleangetBooleanVal()

bool boolean_val = 5;

public doublegetDoubleVal()

double double_val = 2;

public java.lang.StringgetEnumVal()

string enum_val = 4;

public com.google.protobuf.ByteStringgetEnumValBytes()

string enum_val = 4;

public longgetLongVal()

int64 long_val = 1;

public java.lang.StringgetStringVal()

string string_val = 3;

public com.google.protobuf.ByteStringgetStringValBytes()

string string_val = 3;

public DataProto.Value.ValueCasegetValueCase()

public booleanhasBooleanVal()

bool boolean_val = 5;

public booleanhasDoubleVal()

double double_val = 2;

public booleanhasEnumVal()

string enum_val = 4;

public booleanhasLongVal()

int64 long_val = 1;

public booleanhasStringVal()

string string_val = 3;

Methods

public boolean hasLongVal()

int64 long_val = 1;

Returns:

Whether the longVal field is set.

public long getLongVal()

int64 long_val = 1;

Returns:

The longVal.

public boolean hasDoubleVal()

double double_val = 2;

Returns:

Whether the doubleVal field is set.

public double getDoubleVal()

double double_val = 2;

Returns:

The doubleVal.

public boolean hasStringVal()

string string_val = 3;

Returns:

Whether the stringVal field is set.

public java.lang.String getStringVal()

string string_val = 3;

Returns:

The stringVal.

public com.google.protobuf.ByteString getStringValBytes()

string string_val = 3;

Returns:

The bytes for stringVal.

public boolean hasEnumVal()

string enum_val = 4;

Returns:

Whether the enumVal field is set.

public java.lang.String getEnumVal()

string enum_val = 4;

Returns:

The enumVal.

public com.google.protobuf.ByteString getEnumValBytes()

string enum_val = 4;

Returns:

The bytes for enumVal.

public boolean hasBooleanVal()

bool boolean_val = 5;

Returns:

Whether the booleanVal field is set.

public boolean getBooleanVal()

bool boolean_val = 5;

Returns:

The booleanVal.

public DataProto.Value.ValueCase getValueCase()