Enum AccessControlMode
- java.lang.Object
-
- java.lang.Enum<AccessControlMode>
-
- com.google.cloud.contentwarehouse.v1.AccessControlMode
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<AccessControlMode>
public enum AccessControlMode extends Enum<AccessControlMode> implements com.google.protobuf.ProtocolMessageEnum
Access Control Mode.
Protobuf enumgoogle.cloud.contentwarehouse.v1.AccessControlMode
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID
Document level access control with customer own Identity Service.ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI
Document level access control using Google Cloud Identity.ACL_MODE_UNIVERSAL_ACCESS
Universal Access: No document level access control.ACL_MODE_UNKNOWN
This value is required by protobuf best practicesUNRECOGNIZED
-
Field Summary
Fields Modifier and Type Field Description static int
ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID_VALUE
Document level access control with customer own Identity Service.static int
ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI_VALUE
Document level access control using Google Cloud Identity.static int
ACL_MODE_UNIVERSAL_ACCESS_VALUE
Universal Access: No document level access control.static int
ACL_MODE_UNKNOWN_VALUE
This value is required by protobuf best practices
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static AccessControlMode
forNumber(int value)
static com.google.protobuf.Descriptors.EnumDescriptor
getDescriptor()
com.google.protobuf.Descriptors.EnumDescriptor
getDescriptorForType()
int
getNumber()
com.google.protobuf.Descriptors.EnumValueDescriptor
getValueDescriptor()
static com.google.protobuf.Internal.EnumLiteMap<AccessControlMode>
internalGetValueMap()
static AccessControlMode
valueOf(int value)
Deprecated.static AccessControlMode
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static AccessControlMode
valueOf(String name)
Returns the enum constant of this type with the specified name.static AccessControlMode[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ACL_MODE_UNKNOWN
public static final AccessControlMode ACL_MODE_UNKNOWN
This value is required by protobuf best practices
ACL_MODE_UNKNOWN = 0;
-
ACL_MODE_UNIVERSAL_ACCESS
public static final AccessControlMode ACL_MODE_UNIVERSAL_ACCESS
Universal Access: No document level access control.
ACL_MODE_UNIVERSAL_ACCESS = 1;
-
ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID
public static final AccessControlMode ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID
Document level access control with customer own Identity Service.
ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID = 2;
-
ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI
public static final AccessControlMode ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI
Document level access control using Google Cloud Identity.
ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI = 3;
-
UNRECOGNIZED
public static final AccessControlMode UNRECOGNIZED
-
-
Field Detail
-
ACL_MODE_UNKNOWN_VALUE
public static final int ACL_MODE_UNKNOWN_VALUE
This value is required by protobuf best practices
ACL_MODE_UNKNOWN = 0;
- See Also:
- Constant Field Values
-
ACL_MODE_UNIVERSAL_ACCESS_VALUE
public static final int ACL_MODE_UNIVERSAL_ACCESS_VALUE
Universal Access: No document level access control.
ACL_MODE_UNIVERSAL_ACCESS = 1;
- See Also:
- Constant Field Values
-
ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID_VALUE
public static final int ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID_VALUE
Document level access control with customer own Identity Service.
ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_BYOID = 2;
- See Also:
- Constant Field Values
-
ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI_VALUE
public static final int ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI_VALUE
Document level access control using Google Cloud Identity.
ACL_MODE_DOCUMENT_LEVEL_ACCESS_CONTROL_GCI = 3;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static AccessControlMode[] 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 (AccessControlMode c : AccessControlMode.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static AccessControlMode 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
-
getNumber
public final int getNumber()
- Specified by:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static AccessControlMode 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:
IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is null
-
forNumber
public static AccessControlMode forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<AccessControlMode> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static AccessControlMode valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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:
desc
- 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
-
-