public static enum DeploymentOccurrence.Platform extends Enum<DeploymentOccurrence.Platform> implements ProtocolMessageEnum
Types of platforms.Protobuf enum
grafeas.v1.DeploymentOccurrence.Platform
Enum Constant and Description |
---|
CUSTOM
Custom user-defined platform.
|
FLEX
Google App Engine: Flexible Environment.
|
GKE
Google Container Engine.
|
PLATFORM_UNSPECIFIED
Unknown.
|
UNRECOGNIZED |
Modifier and Type | Field and Description |
---|---|
static int |
CUSTOM_VALUE
Custom user-defined platform.
|
static int |
FLEX_VALUE
Google App Engine: Flexible Environment.
|
static int |
GKE_VALUE
Google Container Engine.
|
static int |
PLATFORM_UNSPECIFIED_VALUE
Unknown.
|
Modifier and Type | Method and Description |
---|---|
static DeploymentOccurrence.Platform |
forNumber(int value) |
static Descriptors.EnumDescriptor |
getDescriptor() |
Descriptors.EnumDescriptor |
getDescriptorForType() |
int |
getNumber() |
Descriptors.EnumValueDescriptor |
getValueDescriptor() |
static Internal.EnumLiteMap<DeploymentOccurrence.Platform> |
internalGetValueMap() |
static DeploymentOccurrence.Platform |
valueOf(Descriptors.EnumValueDescriptor desc) |
static DeploymentOccurrence.Platform |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static DeploymentOccurrence.Platform |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static DeploymentOccurrence.Platform[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final DeploymentOccurrence.Platform PLATFORM_UNSPECIFIED
Unknown.
PLATFORM_UNSPECIFIED = 0;
public static final DeploymentOccurrence.Platform GKE
Google Container Engine.
GKE = 1;
public static final DeploymentOccurrence.Platform FLEX
Google App Engine: Flexible Environment.
FLEX = 2;
public static final DeploymentOccurrence.Platform CUSTOM
Custom user-defined platform.
CUSTOM = 3;
public static final DeploymentOccurrence.Platform UNRECOGNIZED
public static final int PLATFORM_UNSPECIFIED_VALUE
Unknown.
PLATFORM_UNSPECIFIED = 0;
public static final int GKE_VALUE
Google Container Engine.
GKE = 1;
public static final int FLEX_VALUE
Google App Engine: Flexible Environment.
FLEX = 2;
public static final int CUSTOM_VALUE
Custom user-defined platform.
CUSTOM = 3;
public static DeploymentOccurrence.Platform[] values()
for (DeploymentOccurrence.Platform c : DeploymentOccurrence.Platform.values()) System.out.println(c);
public static DeploymentOccurrence.Platform 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 DeploymentOccurrence.Platform valueOf(int value)
forNumber(int)
instead.public static DeploymentOccurrence.Platform forNumber(int value)
public static Internal.EnumLiteMap<DeploymentOccurrence.Platform> 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 DeploymentOccurrence.Platform valueOf(Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.