public final class

ChangeProto.ChangesEvent.Builder

extends <any>

implements ChangeProto.ChangesEventOrBuilder

 java.lang.Object

↳<any>

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

Overview

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

Summary

Methods
public ChangeProto.ChangesEvent.BuilderaddAllChanges(java.lang.Iterable<ChangeProto.DataChange> values)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.BuilderaddChanges(ChangeProto.DataChange.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.BuilderaddChanges(ChangeProto.DataChange value)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.BuilderaddChanges(int index, ChangeProto.DataChange.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.BuilderaddChanges(int index, ChangeProto.DataChange value)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.BuilderclearChanges()

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.BuilderclearNextChangesToken()

optional string next_changes_token = 1;

public ChangeProto.DataChangegetChanges(int index)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public intgetChangesCount()

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public java.util.List<ChangeProto.DataChange>getChangesList()

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public java.lang.StringgetNextChangesToken()

optional string next_changes_token = 1;

public com.google.protobuf.ByteStringgetNextChangesTokenBytes()

optional string next_changes_token = 1;

public booleanhasNextChangesToken()

optional string next_changes_token = 1;

public ChangeProto.ChangesEvent.BuilderremoveChanges(int index)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.BuildersetChanges(int index, ChangeProto.DataChange.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.BuildersetChanges(int index, ChangeProto.DataChange value)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.BuildersetNextChangesToken(java.lang.String value)

optional string next_changes_token = 1;

public ChangeProto.ChangesEvent.BuildersetNextChangesTokenBytes(com.google.protobuf.ByteString value)

optional string next_changes_token = 1;

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

Methods

public boolean hasNextChangesToken()

optional string next_changes_token = 1;

Returns:

Whether the nextChangesToken field is set.

public java.lang.String getNextChangesToken()

optional string next_changes_token = 1;

Returns:

The nextChangesToken.

public com.google.protobuf.ByteString getNextChangesTokenBytes()

optional string next_changes_token = 1;

Returns:

The bytes for nextChangesToken.

public ChangeProto.ChangesEvent.Builder setNextChangesToken(java.lang.String value)

optional string next_changes_token = 1;

Parameters:

value: The nextChangesToken to set.

Returns:

This builder for chaining.

public ChangeProto.ChangesEvent.Builder clearNextChangesToken()

optional string next_changes_token = 1;

Returns:

This builder for chaining.

public ChangeProto.ChangesEvent.Builder setNextChangesTokenBytes(com.google.protobuf.ByteString value)

optional string next_changes_token = 1;

Parameters:

value: The bytes for nextChangesToken to set.

Returns:

This builder for chaining.

public java.util.List<ChangeProto.DataChange> getChangesList()

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public int getChangesCount()

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.DataChange getChanges(int index)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.Builder setChanges(int index, ChangeProto.DataChange value)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.Builder setChanges(int index, ChangeProto.DataChange.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.Builder addChanges(int index, ChangeProto.DataChange value)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.Builder addChanges(int index, ChangeProto.DataChange.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.Builder addAllChanges(java.lang.Iterable<ChangeProto.DataChange> values)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.Builder clearChanges()

repeated .androidx.health.platform.client.proto.DataChange changes = 2;

public ChangeProto.ChangesEvent.Builder removeChanges(int index)

repeated .androidx.health.platform.client.proto.DataChange changes = 2;