Interface AccountOrBuilder (0.10.0)

public interface AccountOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccountId()

public abstract long getAccountId()

Output only. The ID of the account.

int64 account_id = 2 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
long

The accountId.

getAccountName()

public abstract String getAccountName()

Required. A human-readable name of the account. See store name and business name for more information.

string account_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The accountName.

getAccountNameBytes()

public abstract ByteString getAccountNameBytes()

Required. A human-readable name of the account. See store name and business name for more information.

string account_name = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for accountName.

getAdultContent()

public abstract boolean getAdultContent()

Whether this account contains adult content.

bool adult_content = 4;

Returns
Type Description
boolean

The adultContent.

getLanguageCode()

public abstract String getLanguageCode()

Required. The account's BCP-47 language code, such as en-US or sr-Latn.

string language_code = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The languageCode.

getLanguageCodeBytes()

public abstract ByteString getLanguageCodeBytes()

Required. The account's BCP-47 language code, such as en-US or sr-Latn.

string language_code = 7 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for languageCode.

getName()

public abstract String getName()

Identifier. The resource name of the account. Format: accounts/{account}

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

Returns
Type Description
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

Identifier. The resource name of the account. Format: accounts/{account}

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

Returns
Type Description
ByteString

The bytes for name.

getTestAccount()

public abstract boolean getTestAccount()

Output only. Whether this is a test account.

bool test_account = 5 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
boolean

The testAccount.

getTimeZone()

public abstract TimeZone getTimeZone()

Required. The time zone of the account.

On writes, time_zone sets both the reporting_time_zone and the display_time_zone.

For reads, time_zone always returns the display_time_zone. If display_time_zone doesn't exist for your account, time_zone is empty.

.google.type.TimeZone time_zone = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeZone

The timeZone.

getTimeZoneOrBuilder()

public abstract TimeZoneOrBuilder getTimeZoneOrBuilder()

Required. The time zone of the account.

On writes, time_zone sets both the reporting_time_zone and the display_time_zone.

For reads, time_zone always returns the display_time_zone. If display_time_zone doesn't exist for your account, time_zone is empty.

.google.type.TimeZone time_zone = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
com.google.type.TimeZoneOrBuilder

hasTimeZone()

public abstract boolean hasTimeZone()

Required. The time zone of the account.

On writes, time_zone sets both the reporting_time_zone and the display_time_zone.

For reads, time_zone always returns the display_time_zone. If display_time_zone doesn't exist for your account, time_zone is empty.

.google.type.TimeZone time_zone = 6 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
boolean

Whether the timeZone field is set.