Interface UpdateAccountLabelsRequestOrBuilder (0.21.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
Name Description
index int

The index of the element to return.

Returns
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
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
Type Description
boolean

Whether the parent field is set.