Interface AccountLabelOrBuilder (0.4.0)

public interface AccountLabelOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAccountId()

public abstract long getAccountId()

Output only. The ID of account this label belongs to.

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

Returns
TypeDescription
long

The accountId.

getDescription()

public abstract String getDescription()

The description of this label.

optional string description = 5;

Returns
TypeDescription
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

The description of this label.

optional string description = 5;

Returns
TypeDescription
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

The display name of this label.

optional string display_name = 4;

Returns
TypeDescription
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

The display name of this label.

optional string display_name = 4;

Returns
TypeDescription
ByteString

The bytes for displayName.

getLabelId()

public abstract long getLabelId()

Output only. The ID of the label.

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

Returns
TypeDescription
long

The labelId.

getLabelType()

public abstract AccountLabel.LabelType getLabelType()

Output only. The type of this label.

.google.shopping.css.v1.AccountLabel.LabelType label_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
AccountLabel.LabelType

The labelType.

getLabelTypeValue()

public abstract int getLabelTypeValue()

Output only. The type of this label.

.google.shopping.css.v1.AccountLabel.LabelType label_type = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
TypeDescription
int

The enum numeric value on the wire for labelType.

getName()

public abstract String getName()

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

string name = 1;

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

string name = 1;

Returns
TypeDescription
ByteString

The bytes for name.

hasDescription()

public abstract boolean hasDescription()

The description of this label.

optional string description = 5;

Returns
TypeDescription
boolean

Whether the description field is set.

hasDisplayName()

public abstract boolean hasDisplayName()

The display name of this label.

optional string display_name = 4;

Returns
TypeDescription
boolean

Whether the displayName field is set.