public final class

DataProto.DataOrigin.Builder

extends <any>

implements DataProto.DataOriginOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public DataProto.DataOrigin.BuilderclearApplicationId()

optional string application_id = 1;

public java.lang.StringgetApplicationId()

optional string application_id = 1;

public com.google.protobuf.ByteStringgetApplicationIdBytes()

optional string application_id = 1;

public booleanhasApplicationId()

optional string application_id = 1;

public DataProto.DataOrigin.BuildersetApplicationId(java.lang.String value)

optional string application_id = 1;

public DataProto.DataOrigin.BuildersetApplicationIdBytes(com.google.protobuf.ByteString value)

optional string application_id = 1;

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

Methods

public boolean hasApplicationId()

optional string application_id = 1;

Returns:

Whether the applicationId field is set.

public java.lang.String getApplicationId()

optional string application_id = 1;

Returns:

The applicationId.

public com.google.protobuf.ByteString getApplicationIdBytes()

optional string application_id = 1;

Returns:

The bytes for applicationId.

public DataProto.DataOrigin.Builder setApplicationId(java.lang.String value)

optional string application_id = 1;

Parameters:

value: The applicationId to set.

Returns:

This builder for chaining.

public DataProto.DataOrigin.Builder clearApplicationId()

optional string application_id = 1;

Returns:

This builder for chaining.

public DataProto.DataOrigin.Builder setApplicationIdBytes(com.google.protobuf.ByteString value)

optional string application_id = 1;

Parameters:

value: The bytes for applicationId to set.

Returns:

This builder for chaining.