Interface AccountOrBuilder (0.9.0)

public interface AccountOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccountType()

public abstract Account.AccountType getAccountType()

Output only. The type of this account.

.google.shopping.css.v1.Account.AccountType account_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
Account.AccountType

The accountType.

getAccountTypeValue()

public abstract int getAccountTypeValue()

Output only. The type of this account.

.google.shopping.css.v1.Account.AccountType account_type = 8 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for accountType.

getAutomaticLabelIds(int index)

public abstract long getAutomaticLabelIds(int index)

Automatically created label IDs assigned to the MC account by CSS Center.

repeated int64 automatic_label_ids = 7;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
long

The automaticLabelIds at the given index.

getAutomaticLabelIdsCount()

public abstract int getAutomaticLabelIdsCount()

Automatically created label IDs assigned to the MC account by CSS Center.

repeated int64 automatic_label_ids = 7;

Returns
TypeDescription
int

The count of automaticLabelIds.

getAutomaticLabelIdsList()

public abstract List<Long> getAutomaticLabelIdsList()

Automatically created label IDs assigned to the MC account by CSS Center.

repeated int64 automatic_label_ids = 7;

Returns
TypeDescription
List<Long>

A list containing the automaticLabelIds.

getDisplayName()

public abstract String getDisplayName()

The CSS/MC account's short display name.

optional string display_name = 3;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The CSS/MC account's short display name.

optional string display_name = 3;

Returns
TypeDescription
ByteString

The bytes for displayName.

getFullName()

public abstract String getFullName()

Output only. Immutable. The CSS/MC account's full name.

string full_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The fullName.

getFullNameBytes()

public abstract ByteString getFullNameBytes()

Output only. Immutable. The CSS/MC account's full name.

string full_name = 2 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for fullName.

getHomepageUri()

public abstract String getHomepageUri()

Output only. Immutable. The CSS/MC account's homepage.

optional string homepage_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
String

The homepageUri.

getHomepageUriBytes()

public abstract ByteString getHomepageUriBytes()

Output only. Immutable. The CSS/MC account's homepage.

optional string homepage_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
ByteString

The bytes for homepageUri.

getLabelIds(int index)

public abstract long getLabelIds(int index)

Manually created label IDs assigned to the CSS/MC account by a CSS parent account.

repeated int64 label_ids = 6;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
long

The labelIds at the given index.

getLabelIdsCount()

public abstract int getLabelIdsCount()

Manually created label IDs assigned to the CSS/MC account by a CSS parent account.

repeated int64 label_ids = 6;

Returns
TypeDescription
int

The count of labelIds.

getLabelIdsList()

public abstract List<Long> getLabelIdsList()

Manually created label IDs assigned to the CSS/MC account by a CSS parent account.

repeated int64 label_ids = 6;

Returns
TypeDescription
List<Long>

A list containing the labelIds.

getName()

public abstract String getName()

The label resource name. Format: accounts/{account}

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

The label resource name. Format: accounts/{account}

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

getParent()

public abstract String getParent()

The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account.

optional string parent = 5;

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account.

optional string parent = 5;

Returns
TypeDescription
ByteString

The bytes for parent.

hasDisplayName()

public abstract boolean hasDisplayName()

The CSS/MC account's short display name.

optional string display_name = 3;

Returns
TypeDescription
boolean

Whether the displayName field is set.

hasHomepageUri()

public abstract boolean hasHomepageUri()

Output only. Immutable. The CSS/MC account's homepage.

optional string homepage_uri = 4 [(.google.api.field_behavior) = OUTPUT_ONLY, (.google.api.field_behavior) = IMMUTABLE];

Returns
TypeDescription
boolean

Whether the homepageUri field is set.

hasParent()

public abstract boolean hasParent()

The CSS/MC account's parent resource. CSS group for CSS domains; CSS domain for MC accounts. Returned only if the user has access to the parent account.

optional string parent = 5;

Returns
TypeDescription
boolean

Whether the parent field is set.