Interface UpdateAccountLabelsRequestOrBuilder (0.3.0)

public interface UpdateAccountLabelsRequestOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLabelIds(int index)

public abstract long getLabelIds(int index)

The list of label IDs to overwrite the existing account label IDs. If the list is empty, all currently assigned label IDs will be deleted.

repeated int64 label_ids = 2;

Parameter
NameDescription
indexint

The index of the element to return.

Returns
TypeDescription
long

The labelIds at the given index.

getLabelIdsCount()

public abstract int getLabelIdsCount()

The list of label IDs to overwrite the existing account label IDs. If the list is empty, all currently assigned label IDs will be deleted.

repeated int64 label_ids = 2;

Returns
TypeDescription
int

The count of labelIds.

getLabelIdsList()

public abstract List<Long> getLabelIdsList()

The list of label IDs to overwrite the existing account label IDs. If the list is empty, all currently assigned label IDs will be deleted.

repeated int64 label_ids = 2;

Returns
TypeDescription
List<Long>

A list containing the labelIds.

getName()

public abstract String getName()

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

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

Returns
TypeDescription
String

The name.

getNameBytes()

public abstract ByteString getNameBytes()

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

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

Returns
TypeDescription
ByteString

The bytes for name.

getParent()

public abstract String getParent()

Optional. Only required when updating MC account labels. The CSS domain that is the parent resource of the MC account. Format: accounts/{account}

optional string parent = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
String

The parent.

getParentBytes()

public abstract ByteString getParentBytes()

Optional. Only required when updating MC account labels. The CSS domain that is the parent resource of the MC account. Format: accounts/{account}

optional string parent = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
ByteString

The bytes for parent.

hasParent()

public abstract boolean hasParent()

Optional. Only required when updating MC account labels. The CSS domain that is the parent resource of the MC account. Format: accounts/{account}

optional string parent = 3 [(.google.api.field_behavior) = OPTIONAL, (.google.api.resource_reference) = { ... }

Returns
TypeDescription
boolean

Whether the parent field is set.