public final class

ResponseProto.GetChangesResponse.Builder

extends <any>

implements ResponseProto.GetChangesResponseOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.ResponseProto.GetChangesResponse.Builder

Overview

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

Summary

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

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

public ResponseProto.GetChangesResponse.BuilderaddChanges(ChangeProto.DataChange.Builder builderForValue)

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

public ResponseProto.GetChangesResponse.BuilderaddChanges(ChangeProto.DataChange value)

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

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

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

public ResponseProto.GetChangesResponse.BuilderaddChanges(int index, ChangeProto.DataChange value)

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

public ResponseProto.GetChangesResponse.BuilderclearChanges()

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

public ResponseProto.GetChangesResponse.BuilderclearChangesTokenExpired()

optional bool changes_token_expired = 4;

public ResponseProto.GetChangesResponse.BuilderclearHasMore()

optional bool has_more = 2;

public ResponseProto.GetChangesResponse.BuilderclearNextChangesToken()

optional string next_changes_token = 3;

public ChangeProto.DataChangegetChanges(int index)

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

public intgetChangesCount()

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

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

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

public booleangetChangesTokenExpired()

optional bool changes_token_expired = 4;

public booleangetHasMore()

optional bool has_more = 2;

public java.lang.StringgetNextChangesToken()

optional string next_changes_token = 3;

public com.google.protobuf.ByteStringgetNextChangesTokenBytes()

optional string next_changes_token = 3;

public booleanhasChangesTokenExpired()

optional bool changes_token_expired = 4;

public booleanhasHasMore()

optional bool has_more = 2;

public booleanhasNextChangesToken()

optional string next_changes_token = 3;

public ResponseProto.GetChangesResponse.BuilderremoveChanges(int index)

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

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

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

public ResponseProto.GetChangesResponse.BuildersetChanges(int index, ChangeProto.DataChange value)

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

public ResponseProto.GetChangesResponse.BuildersetChangesTokenExpired(boolean value)

optional bool changes_token_expired = 4;

public ResponseProto.GetChangesResponse.BuildersetHasMore(boolean value)

optional bool has_more = 2;

public ResponseProto.GetChangesResponse.BuildersetNextChangesToken(java.lang.String value)

optional string next_changes_token = 3;

public ResponseProto.GetChangesResponse.BuildersetNextChangesTokenBytes(com.google.protobuf.ByteString value)

optional string next_changes_token = 3;

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

Methods

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

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

public int getChangesCount()

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

public ChangeProto.DataChange getChanges(int index)

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

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

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

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

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

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

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

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

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

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

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

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

public ResponseProto.GetChangesResponse.Builder removeChanges(int index)

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

public boolean hasHasMore()

optional bool has_more = 2;

Returns:

Whether the hasMore field is set.

public boolean getHasMore()

optional bool has_more = 2;

Returns:

The hasMore.

public ResponseProto.GetChangesResponse.Builder setHasMore(boolean value)

optional bool has_more = 2;

Parameters:

value: The hasMore to set.

Returns:

This builder for chaining.

optional bool has_more = 2;

Returns:

This builder for chaining.

public boolean hasNextChangesToken()

optional string next_changes_token = 3;

Returns:

Whether the nextChangesToken field is set.

public java.lang.String getNextChangesToken()

optional string next_changes_token = 3;

Returns:

The nextChangesToken.

public com.google.protobuf.ByteString getNextChangesTokenBytes()

optional string next_changes_token = 3;

Returns:

The bytes for nextChangesToken.

public ResponseProto.GetChangesResponse.Builder setNextChangesToken(java.lang.String value)

optional string next_changes_token = 3;

Parameters:

value: The nextChangesToken to set.

Returns:

This builder for chaining.

public ResponseProto.GetChangesResponse.Builder clearNextChangesToken()

optional string next_changes_token = 3;

Returns:

This builder for chaining.

public ResponseProto.GetChangesResponse.Builder setNextChangesTokenBytes(com.google.protobuf.ByteString value)

optional string next_changes_token = 3;

Parameters:

value: The bytes for nextChangesToken to set.

Returns:

This builder for chaining.

public boolean hasChangesTokenExpired()

optional bool changes_token_expired = 4;

Returns:

Whether the changesTokenExpired field is set.

public boolean getChangesTokenExpired()

optional bool changes_token_expired = 4;

Returns:

The changesTokenExpired.

public ResponseProto.GetChangesResponse.Builder setChangesTokenExpired(boolean value)

optional bool changes_token_expired = 4;

Parameters:

value: The changesTokenExpired to set.

Returns:

This builder for chaining.

public ResponseProto.GetChangesResponse.Builder clearChangesTokenExpired()

optional bool changes_token_expired = 4;

Returns:

This builder for chaining.