public static enum Kubernetes.Role.Kind extends Enum<Kubernetes.Role.Kind> implements ProtocolMessageEnum
Types of Kubernetes roles.Protobuf enum
google.cloud.securitycenter.v1.Kubernetes.Role.Kind
Enum Constant and Description |
---|
CLUSTER_ROLE
Kubernetes ClusterRole.
|
KIND_UNSPECIFIED
Role type is not specified.
|
ROLE
Kubernetes Role.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CLUSTER_ROLE_VALUE
Kubernetes ClusterRole.
|
static int |
KIND_UNSPECIFIED_VALUE
Role type is not specified.
|
static int |
ROLE_VALUE
Kubernetes Role.
|
Modifier and Type | Method and Description |
---|---|
static Kubernetes.Role.Kind |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<Kubernetes.Role.Kind> |
internalGetValueMap() |
static Kubernetes.Role.Kind |
valueOf(Descriptors.EnumValueDescriptor desc) |
static Kubernetes.Role.Kind |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static Kubernetes.Role.Kind |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Kubernetes.Role.Kind[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final Kubernetes.Role.Kind KIND_UNSPECIFIED
Role type is not specified.
KIND_UNSPECIFIED = 0;
public static final Kubernetes.Role.Kind ROLE
Kubernetes Role.
ROLE = 1;
public static final Kubernetes.Role.Kind CLUSTER_ROLE
Kubernetes ClusterRole.
CLUSTER_ROLE = 2;
public static final Kubernetes.Role.Kind UNRECOGNIZED
public static final int KIND_UNSPECIFIED_VALUE
Role type is not specified.
KIND_UNSPECIFIED = 0;
public static final int ROLE_VALUE
Kubernetes Role.
ROLE = 1;
public static final int CLUSTER_ROLE_VALUE
Kubernetes ClusterRole.
CLUSTER_ROLE = 2;
public static Kubernetes.Role.Kind[] values()
for (Kubernetes.Role.Kind c : Kubernetes.Role.Kind.values()) System.out.println(c);
public static Kubernetes.Role.Kind 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 Internal.EnumLite
getNumber
in interface ProtocolMessageEnum
@Deprecated public static Kubernetes.Role.Kind valueOf(int value)
forNumber(int)
instead.value
- The numeric wire value of the corresponding enum entry.public static Kubernetes.Role.Kind forNumber(int value)
value
- The numeric wire value of the corresponding enum entry.public static Internal.EnumLiteMap<Kubernetes.Role.Kind> internalGetValueMap()
public final Descriptors.EnumValueDescriptor getValueDescriptor()
getValueDescriptor
in interface ProtocolMessageEnum
public final Descriptors.EnumDescriptor getDescriptorForType()
getDescriptorForType
in interface ProtocolMessageEnum
public static final Descriptors.EnumDescriptor getDescriptor()
public static Kubernetes.Role.Kind valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2022 Google LLC. All rights reserved.