public final class

DataProto.DataType.Builder

extends <any>

implements DataProto.DataTypeOrBuilder

 java.lang.Object

↳<any>

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

Overview

 Unknown data type names will be ignored.
 
Protobuf type androidx.health.platform.client.proto.DataType

Summary

Methods
public DataProto.DataType.BuilderclearName()

optional string name = 1;

public java.lang.StringgetName()

optional string name = 1;

public com.google.protobuf.ByteStringgetNameBytes()

optional string name = 1;

public booleanhasName()

optional string name = 1;

public DataProto.DataType.BuildersetName(java.lang.String value)

optional string name = 1;

public DataProto.DataType.BuildersetNameBytes(com.google.protobuf.ByteString value)

optional string name = 1;

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

Methods

public boolean hasName()

optional string name = 1;

Returns:

Whether the name field is set.

public java.lang.String getName()

optional string name = 1;

Returns:

The name.

public com.google.protobuf.ByteString getNameBytes()

optional string name = 1;

Returns:

The bytes for name.

public DataProto.DataType.Builder setName(java.lang.String value)

optional string name = 1;

Parameters:

value: The name to set.

Returns:

This builder for chaining.

public DataProto.DataType.Builder clearName()

optional string name = 1;

Returns:

This builder for chaining.

public DataProto.DataType.Builder setNameBytes(com.google.protobuf.ByteString value)

optional string name = 1;

Parameters:

value: The bytes for name to set.

Returns:

This builder for chaining.