public enum ComponentEnablementState extends Enum<ComponentEnablementState> implements com.google.protobuf.ProtocolMessageEnum
Valid states for a componentProtobuf enum
google.cloud.securitycenter.settings.v1beta1.ComponentEnablementState| Enum Constant and Description |
|---|
COMPONENT_ENABLEMENT_STATE_UNSPECIFIED
No state specified, equivalent of INHERIT
|
DISABLE
Disable the component
|
ENABLE
Enable the component
|
INHERIT
Inherit the state from resources parent folder or organization.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
COMPONENT_ENABLEMENT_STATE_UNSPECIFIED_VALUE
No state specified, equivalent of INHERIT
|
static int |
DISABLE_VALUE
Disable the component
|
static int |
ENABLE_VALUE
Enable the component
|
static int |
INHERIT_VALUE
Inherit the state from resources parent folder or organization.
|
| Modifier and Type | Method and Description |
|---|---|
static ComponentEnablementState |
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<ComponentEnablementState> |
internalGetValueMap() |
static ComponentEnablementState |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static ComponentEnablementState |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static ComponentEnablementState |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static ComponentEnablementState[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final ComponentEnablementState COMPONENT_ENABLEMENT_STATE_UNSPECIFIED
No state specified, equivalent of INHERIT
COMPONENT_ENABLEMENT_STATE_UNSPECIFIED = 0;public static final ComponentEnablementState DISABLE
Disable the component
DISABLE = 1;public static final ComponentEnablementState ENABLE
Enable the component
ENABLE = 2;public static final ComponentEnablementState INHERIT
Inherit the state from resources parent folder or organization.
INHERIT = 3;public static final ComponentEnablementState UNRECOGNIZED
public static final int COMPONENT_ENABLEMENT_STATE_UNSPECIFIED_VALUE
No state specified, equivalent of INHERIT
COMPONENT_ENABLEMENT_STATE_UNSPECIFIED = 0;public static final int DISABLE_VALUE
Disable the component
DISABLE = 1;public static final int ENABLE_VALUE
Enable the component
ENABLE = 2;public static final int INHERIT_VALUE
Inherit the state from resources parent folder or organization.
INHERIT = 3;public static ComponentEnablementState[] values()
for (ComponentEnablementState c : ComponentEnablementState.values()) System.out.println(c);
public static ComponentEnablementState valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic final int getNumber()
getNumber in interface com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.ProtocolMessageEnum@Deprecated public static ComponentEnablementState valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static ComponentEnablementState forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<ComponentEnablementState> internalGetValueMap()
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor in interface com.google.protobuf.ProtocolMessageEnumpublic final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType in interface com.google.protobuf.ProtocolMessageEnumpublic static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
public static ComponentEnablementState valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.