Interface TemplateRolesOrBuilder (0.3.0)

public interface TemplateRolesOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getLevel()

public abstract String getLevel()

Required. Level of the role.

string level = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The level.

getLevelBytes()

public abstract ByteString getLevelBytes()

Required. Level of the role.

string level = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for level.

getRoles(int index)

public abstract String getRoles(int index)

Required. List of roles.

repeated string roles = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the element to return.

Returns
Type Description
String

The roles at the given index.

getRolesBytes(int index)

public abstract ByteString getRolesBytes(int index)

Required. List of roles.

repeated string roles = 2 [(.google.api.field_behavior) = REQUIRED];

Parameter
Name Description
index int

The index of the value to return.

Returns
Type Description
ByteString

The bytes of the roles at the given index.

getRolesCount()

public abstract int getRolesCount()

Required. List of roles.

repeated string roles = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
int

The count of roles.

getRolesList()

public abstract List<String> getRolesList()

Required. List of roles.

repeated string roles = 2 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
List<String>

A list containing the roles.