Package com.google.cloud.bigquery
Enum Acl.Entity.Type
- java.lang.Object
-
- java.lang.Enum<Acl.Entity.Type>
-
- com.google.cloud.bigquery.Acl.Entity.Type
-
- All Implemented Interfaces:
Serializable
,Comparable<Acl.Entity.Type>
- Enclosing class:
- Acl.Entity
public static enum Acl.Entity.Type extends Enum<Acl.Entity.Type>
Types of BigQuery entities.
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Acl.Entity.Type
valueOf(String name)
Returns the enum constant of this type with the specified name.static Acl.Entity.Type[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DOMAIN
public static final Acl.Entity.Type DOMAIN
-
GROUP
public static final Acl.Entity.Type GROUP
-
USER
public static final Acl.Entity.Type USER
-
VIEW
public static final Acl.Entity.Type VIEW
-
IAM_MEMBER
public static final Acl.Entity.Type IAM_MEMBER
-
ROUTINE
public static final Acl.Entity.Type ROUTINE
-
DATASET
public static final Acl.Entity.Type DATASET
-
-
Method Detail
-
values
public static Acl.Entity.Type[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Acl.Entity.Type c : Acl.Entity.Type.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Acl.Entity.Type valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
-