public static enum Kubernetes.Role.Kind extends Enum<Kubernetes.Role.Kind> implements com.google.protobuf.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 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<Kubernetes.Role.Kind> |
internalGetValueMap() |
static Kubernetes.Role.Kind |
valueOf(com.google.protobuf.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 com.google.protobuf.Internal.EnumLitegetNumber in interface com.google.protobuf.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 com.google.protobuf.Internal.EnumLiteMap<Kubernetes.Role.Kind> 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 Kubernetes.Role.Kind valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2023 Google LLC. All rights reserved.