public interface FeatureSpecOrBuilder extends MessageOrBuilderImplements
MessageOrBuilderMethods
getAllowedCustomRoles(int index)
public abstract String getAllowedCustomRoles(int index)The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
repeated string allowed_custom_roles = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The allowedCustomRoles at the given index. |
getAllowedCustomRolesBytes(int index)
public abstract ByteString getAllowedCustomRolesBytes(int index)The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
repeated string allowed_custom_roles = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the allowedCustomRoles at the given index. |
getAllowedCustomRolesCount()
public abstract int getAllowedCustomRolesCount()The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
repeated string allowed_custom_roles = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of allowedCustomRoles. |
getAllowedCustomRolesList()
public abstract List<String> getAllowedCustomRolesList()The list of allowed custom roles (ClusterRoles). If a ClusterRole is not part of this list, it cannot be used in a Scope RBACRoleBinding. If a ClusterRole in this list is in use, it cannot be removed from the list.
repeated string allowed_custom_roles = 2;
| Returns | |
|---|---|
| Type | Description |
List<String> |
A list containing the allowedCustomRoles. |