public final class

ChangeProto.DataChange.Builder

extends <any>

implements ChangeProto.DataChangeOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.ChangeProto.DataChange.Builder

Overview

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

Summary

Methods
public ChangeProto.DataChange.BuilderclearChange()

public ChangeProto.DataChange.BuilderclearDeleteUid()

string delete_uid = 2;

public ChangeProto.DataChange.BuilderclearUpsertDataPoint()

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public ChangeProto.DataChange.ChangeCasegetChangeCase()

public java.lang.StringgetDeleteUid()

string delete_uid = 2;

public com.google.protobuf.ByteStringgetDeleteUidBytes()

string delete_uid = 2;

public DataProto.DataPointgetUpsertDataPoint()

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public booleanhasDeleteUid()

string delete_uid = 2;

public booleanhasUpsertDataPoint()

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public ChangeProto.DataChange.BuildermergeUpsertDataPoint(DataProto.DataPoint value)

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public ChangeProto.DataChange.BuildersetDeleteUid(java.lang.String value)

string delete_uid = 2;

public ChangeProto.DataChange.BuildersetDeleteUidBytes(com.google.protobuf.ByteString value)

string delete_uid = 2;

public ChangeProto.DataChange.BuildersetUpsertDataPoint(DataProto.DataPoint.Builder builderForValue)

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public ChangeProto.DataChange.BuildersetUpsertDataPoint(DataProto.DataPoint value)

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

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

Methods

public ChangeProto.DataChange.ChangeCase getChangeCase()

public ChangeProto.DataChange.Builder clearChange()

public boolean hasUpsertDataPoint()

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public DataProto.DataPoint getUpsertDataPoint()

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public ChangeProto.DataChange.Builder setUpsertDataPoint(DataProto.DataPoint value)

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public ChangeProto.DataChange.Builder setUpsertDataPoint(DataProto.DataPoint.Builder builderForValue)

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public ChangeProto.DataChange.Builder mergeUpsertDataPoint(DataProto.DataPoint value)

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public ChangeProto.DataChange.Builder clearUpsertDataPoint()

.androidx.health.platform.client.proto.DataPoint upsert_data_point = 1;

public boolean hasDeleteUid()

string delete_uid = 2;

Returns:

Whether the deleteUid field is set.

public java.lang.String getDeleteUid()

string delete_uid = 2;

Returns:

The deleteUid.

public com.google.protobuf.ByteString getDeleteUidBytes()

string delete_uid = 2;

Returns:

The bytes for deleteUid.

public ChangeProto.DataChange.Builder setDeleteUid(java.lang.String value)

string delete_uid = 2;

Parameters:

value: The deleteUid to set.

Returns:

This builder for chaining.

public ChangeProto.DataChange.Builder clearDeleteUid()

string delete_uid = 2;

Returns:

This builder for chaining.

public ChangeProto.DataChange.Builder setDeleteUidBytes(com.google.protobuf.ByteString value)

string delete_uid = 2;

Parameters:

value: The bytes for deleteUid to set.

Returns:

This builder for chaining.