Interface SubscriberConfigOrBuilder (0.2.0)

public interface SubscriberConfigOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getDataTypes(int index)

public abstract String getDataTypes(int index)

Required. See Google Health API data types for the list of supported data types. Values should be in kebab-case.

repeated string data_types = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The dataTypes at the given index.

getDataTypesBytes(int index)

public abstract ByteString getDataTypesBytes(int index)

Required. See Google Health API data types for the list of supported data types. Values should be in kebab-case.

repeated string data_types = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the dataTypes at the given index.

getDataTypesCount()

public abstract int getDataTypesCount()

Required. See Google Health API data types for the list of supported data types. Values should be in kebab-case.

repeated string data_types = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
int

The count of dataTypes.

getDataTypesList()

public abstract List<String> getDataTypesList()

Required. See Google Health API data types for the list of supported data types. Values should be in kebab-case.

repeated string data_types = 1 [(.google.api.field_behavior) = REQUIRED, (.google.api.resource_reference) = { ... }

Returns
Type Description
List<String>

A list containing the dataTypes.

getSubscriptionCreatePolicy()

public abstract SubscriberConfig.SubscriptionCreatePolicy getSubscriptionCreatePolicy()

Required. Policy for subscription creation.

.google.devicesandservices.health.v4.SubscriberConfig.SubscriptionCreatePolicy subscription_create_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
SubscriberConfig.SubscriptionCreatePolicy

The subscriptionCreatePolicy.

getSubscriptionCreatePolicyValue()

public abstract int getSubscriptionCreatePolicyValue()

Required. Policy for subscription creation.

.google.devicesandservices.health.v4.SubscriberConfig.SubscriptionCreatePolicy subscription_create_policy = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The enum numeric value on the wire for subscriptionCreatePolicy.