Interface EmailPreferencesOrBuilder (0.1.0)

public interface EmailPreferencesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getName()

public abstract String getName()

Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The name of the EmailPreferences. The endpoint is only supported for the authenticated user.

string name = 1 [(.google.api.field_behavior) = IDENTIFIER];

Returns
Type Description
ByteString

The bytes for name.

getNewsAndTips()

public abstract EmailPreferences.OptInState getNewsAndTips()

Optional. Updates on new features, tips and best practices.

.google.shopping.merchant.accounts.v1beta.EmailPreferences.OptInState news_and_tips = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
EmailPreferences.OptInState

The newsAndTips.

getNewsAndTipsValue()

public abstract int getNewsAndTipsValue()

Optional. Updates on new features, tips and best practices.

.google.shopping.merchant.accounts.v1beta.EmailPreferences.OptInState news_and_tips = 2 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
int

The enum numeric value on the wire for newsAndTips.