public final class

DataProto.Value

extends <any>

implements DataProto.ValueOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.DataProto.Value

Overview

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

Summary

Fields
public static final intBOOLEAN_VAL_FIELD_NUMBER

public static final intDOUBLE_VAL_FIELD_NUMBER

public static final intENUM_VAL_FIELD_NUMBER

public static final intLONG_VAL_FIELD_NUMBER

public static final intSTRING_VAL_FIELD_NUMBER

Methods
protected final java.lang.ObjectdynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public booleangetBooleanVal()

bool boolean_val = 5;

public static DataProto.ValuegetDefaultInstance()

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;

public static DataProto.Value.BuildernewBuilder()

public static DataProto.Value.BuildernewBuilder(DataProto.Value prototype)

public static DataProto.ValueparseDelimitedFrom(java.io.InputStream input)

public static DataProto.ValueparseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.ValueparseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.ValueparseFrom(java.nio.ByteBuffer data)

public static DataProto.ValueparseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.ValueparseFrom(com.google.protobuf.ByteString data)

public static DataProto.ValueparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.ValueparseFrom(com.google.protobuf.CodedInputStream input)

public static DataProto.ValueparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.ValueparseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static <any>parser()

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

Fields

public static final int LONG_VAL_FIELD_NUMBER

public static final int DOUBLE_VAL_FIELD_NUMBER

public static final int STRING_VAL_FIELD_NUMBER

public static final int ENUM_VAL_FIELD_NUMBER

public static final int BOOLEAN_VAL_FIELD_NUMBER

Methods

public DataProto.Value.ValueCase getValueCase()

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 static DataProto.Value parseFrom(java.nio.ByteBuffer data)

public static DataProto.Value parseFrom(java.nio.ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Value parseFrom(com.google.protobuf.ByteString data)

public static DataProto.Value parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Value parseFrom(byte[] data[], com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Value parseFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Value parseDelimitedFrom(java.io.InputStream input)

public static DataProto.Value parseDelimitedFrom(java.io.InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Value parseFrom(com.google.protobuf.CodedInputStream input)

public static DataProto.Value parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)

public static DataProto.Value.Builder newBuilder()

public static DataProto.Value.Builder newBuilder(DataProto.Value prototype)

protected final java.lang.Object dynamicMethod(com.google.protobuf.GeneratedMessageLite.MethodToInvoke method, java.lang.Object arg0, java.lang.Object arg1)

public static DataProto.Value getDefaultInstance()

public static <any> parser()