Package com.google.cloud.chronicle.v1
Enum DashboardAccess
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<DashboardAccess>
@Generated
public enum DashboardAccess
extends Enum<DashboardAccess>
implements com.google.protobuf.ProtocolMessageEnum
AccessType of the dashboard.Protobuf enum
google.cloud.chronicle.v1.DashboardAccess-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionDefault unspecified.Private dashboards created by users/customers.Public dashboards created by users/customers. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intDefault unspecified.static final intPrivate dashboards created by users/customers.static final intPublic dashboards created by users/customers. -
Method Summary
Modifier and TypeMethodDescriptionstatic DashboardAccessforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<DashboardAccess>static DashboardAccessvalueOf(int value) Deprecated.static DashboardAccessvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static DashboardAccessReturns the enum constant of this type with the specified name.static DashboardAccess[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
DASHBOARD_ACCESS_UNSPECIFIED
Default unspecified.
DASHBOARD_ACCESS_UNSPECIFIED = 0; -
DASHBOARD_PRIVATE
Private dashboards created by users/customers.
DASHBOARD_PRIVATE = 1; -
DASHBOARD_PUBLIC
Public dashboards created by users/customers.
DASHBOARD_PUBLIC = 2; -
UNRECOGNIZED
-
-
Field Details
-
DASHBOARD_ACCESS_UNSPECIFIED_VALUE
public static final int DASHBOARD_ACCESS_UNSPECIFIED_VALUEDefault unspecified.
DASHBOARD_ACCESS_UNSPECIFIED = 0;- See Also:
-
DASHBOARD_PRIVATE_VALUE
public static final int DASHBOARD_PRIVATE_VALUEPrivate dashboards created by users/customers.
DASHBOARD_PRIVATE = 1;- See Also:
-
DASHBOARD_PUBLIC_VALUE
public static final int DASHBOARD_PUBLIC_VALUEPublic dashboards created by users/customers.
DASHBOARD_PUBLIC = 2;- See Also:
-
-
Method Details
-
values
Returns an array containing the constants of this enum type, in the order they are declared.- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
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:
getNumberin interfacecom.google.protobuf.Internal.EnumLite- Specified by:
getNumberin interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
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
- Parameters:
value- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()- Specified by:
getValueDescriptorin interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()- Specified by:
getDescriptorForTypein interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static com.google.protobuf.Descriptors.EnumDescriptor getDescriptor() -
valueOf
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
-