Package com.google.cloud.audit
Enum ServiceAccountDelegationInfo.AuthorityCase
- java.lang.Object
-
- java.lang.Enum<ServiceAccountDelegationInfo.AuthorityCase>
-
- com.google.cloud.audit.ServiceAccountDelegationInfo.AuthorityCase
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,java.io.Serializable
,java.lang.Comparable<ServiceAccountDelegationInfo.AuthorityCase>
- Enclosing class:
- ServiceAccountDelegationInfo
public static enum ServiceAccountDelegationInfo.AuthorityCase extends java.lang.Enum<ServiceAccountDelegationInfo.AuthorityCase> implements com.google.protobuf.Internal.EnumLite
-
-
Enum Constant Summary
Enum Constants Enum Constant Description AUTHORITY_NOT_SET
FIRST_PARTY_PRINCIPAL
THIRD_PARTY_PRINCIPAL
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static ServiceAccountDelegationInfo.AuthorityCase
forNumber(int value)
int
getNumber()
static ServiceAccountDelegationInfo.AuthorityCase
valueOf(int value)
Deprecated.static ServiceAccountDelegationInfo.AuthorityCase
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static ServiceAccountDelegationInfo.AuthorityCase[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
FIRST_PARTY_PRINCIPAL
public static final ServiceAccountDelegationInfo.AuthorityCase FIRST_PARTY_PRINCIPAL
-
THIRD_PARTY_PRINCIPAL
public static final ServiceAccountDelegationInfo.AuthorityCase THIRD_PARTY_PRINCIPAL
-
AUTHORITY_NOT_SET
public static final ServiceAccountDelegationInfo.AuthorityCase AUTHORITY_NOT_SET
-
-
Method Detail
-
values
public static ServiceAccountDelegationInfo.AuthorityCase[] 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 (ServiceAccountDelegationInfo.AuthorityCase c : ServiceAccountDelegationInfo.AuthorityCase.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static ServiceAccountDelegationInfo.AuthorityCase valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
valueOf
@Deprecated public static ServiceAccountDelegationInfo.AuthorityCase valueOf(int value)
Deprecated.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:
value
- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
forNumber
public static ServiceAccountDelegationInfo.AuthorityCase forNumber(int value)
-
getNumber
public int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
-
-