Interface RoleOrBuilder (0.13.0)

public interface RoleOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBuiltIn()

public abstract boolean getBuiltIn()

Output only. Whether the Role is a built-in or custom user role.

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

Returns
Type Description
boolean

The builtIn.

getDescription()

public abstract String getDescription()

Optional. The description of the Role.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
String

The description.

getDescriptionBytes()

public abstract ByteString getDescriptionBytes()

Optional. The description of the Role.

string description = 4 [(.google.api.field_behavior) = OPTIONAL];

Returns
Type Description
ByteString

The bytes for description.

getDisplayName()

public abstract String getDisplayName()

Required. The display name of the Role.

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

Returns
Type Description
String

The displayName.

getDisplayNameBytes()

public abstract ByteString getDisplayNameBytes()

Required. The display name of the Role.

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

Returns
Type Description
ByteString

The bytes for displayName.

getName()

public abstract String getName()

Identifier. The resource name of the Role. Format: networks/{network_code}/roles/{role_id}

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 Role. Format: networks/{network_code}/roles/{role_id}

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

Returns
Type Description
ByteString

The bytes for name.

getRoleId()

public abstract long getRoleId()

Output only. Role ID.

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

Returns
Type Description
long

The roleId.

getStatus()

public abstract RoleStatusEnum.RoleStatus getStatus()

Output only. The status of the Role.

.google.ads.admanager.v1.RoleStatusEnum.RoleStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
RoleStatusEnum.RoleStatus

The status.

getStatusValue()

public abstract int getStatusValue()

Output only. The status of the Role.

.google.ads.admanager.v1.RoleStatusEnum.RoleStatus status = 6 [(.google.api.field_behavior) = OUTPUT_ONLY];

Returns
Type Description
int

The enum numeric value on the wire for status.