public final class

RequestProto.RegisterForDataNotificationsRequest.Builder

extends <any>

implements RequestProto.RegisterForDataNotificationsRequestOrBuilder

 java.lang.Object

↳<any>

↳androidx.health.platform.client.proto.RequestProto.RegisterForDataNotificationsRequest.Builder

Overview

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

Summary

Methods
public RequestProto.RegisterForDataNotificationsRequest.BuilderaddAllDataTypes(java.lang.Iterable<DataProto.DataType> values)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public RequestProto.RegisterForDataNotificationsRequest.BuilderaddDataTypes(DataProto.DataType.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public RequestProto.RegisterForDataNotificationsRequest.BuilderaddDataTypes(DataProto.DataType value)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public RequestProto.RegisterForDataNotificationsRequest.BuilderaddDataTypes(int index, DataProto.DataType.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public RequestProto.RegisterForDataNotificationsRequest.BuilderaddDataTypes(int index, DataProto.DataType value)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public RequestProto.RegisterForDataNotificationsRequest.BuilderclearDataTypes()

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public RequestProto.RegisterForDataNotificationsRequest.BuilderclearNotificationIntentAction()

optional string notificationIntentAction = 1;

public DataProto.DataTypegetDataTypes(int index)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public intgetDataTypesCount()

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public java.util.List<DataProto.DataType>getDataTypesList()

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public java.lang.StringgetNotificationIntentAction()

optional string notificationIntentAction = 1;

public com.google.protobuf.ByteStringgetNotificationIntentActionBytes()

optional string notificationIntentAction = 1;

public booleanhasNotificationIntentAction()

optional string notificationIntentAction = 1;

public RequestProto.RegisterForDataNotificationsRequest.BuilderremoveDataTypes(int index)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public RequestProto.RegisterForDataNotificationsRequest.BuildersetDataTypes(int index, DataProto.DataType.Builder builderForValue)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public RequestProto.RegisterForDataNotificationsRequest.BuildersetDataTypes(int index, DataProto.DataType value)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public RequestProto.RegisterForDataNotificationsRequest.BuildersetNotificationIntentAction(java.lang.String value)

optional string notificationIntentAction = 1;

public RequestProto.RegisterForDataNotificationsRequest.BuildersetNotificationIntentActionBytes(com.google.protobuf.ByteString value)

optional string notificationIntentAction = 1;

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

Methods

public boolean hasNotificationIntentAction()

optional string notificationIntentAction = 1;

Returns:

Whether the notificationIntentAction field is set.

public java.lang.String getNotificationIntentAction()

optional string notificationIntentAction = 1;

Returns:

The notificationIntentAction.

public com.google.protobuf.ByteString getNotificationIntentActionBytes()

optional string notificationIntentAction = 1;

Returns:

The bytes for notificationIntentAction.

public RequestProto.RegisterForDataNotificationsRequest.Builder setNotificationIntentAction(java.lang.String value)

optional string notificationIntentAction = 1;

Parameters:

value: The notificationIntentAction to set.

Returns:

This builder for chaining.

public RequestProto.RegisterForDataNotificationsRequest.Builder clearNotificationIntentAction()

optional string notificationIntentAction = 1;

Returns:

This builder for chaining.

public RequestProto.RegisterForDataNotificationsRequest.Builder setNotificationIntentActionBytes(com.google.protobuf.ByteString value)

optional string notificationIntentAction = 1;

Parameters:

value: The bytes for notificationIntentAction to set.

Returns:

This builder for chaining.

public java.util.List<DataProto.DataType> getDataTypesList()

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public int getDataTypesCount()

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public DataProto.DataType getDataTypes(int index)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

public RequestProto.RegisterForDataNotificationsRequest.Builder addAllDataTypes(java.lang.Iterable<DataProto.DataType> values)

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

repeated .androidx.health.platform.client.proto.DataType data_types = 2;

repeated .androidx.health.platform.client.proto.DataType data_types = 2;