Package io.grafeas.v1beta1.deployment
Enum Deployment.Platform
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite,com.google.protobuf.ProtocolMessageEnum,Serializable,Comparable<Deployment.Platform>
- Enclosing class:
- Deployment
public static enum Deployment.Platform
extends Enum<Deployment.Platform>
implements com.google.protobuf.ProtocolMessageEnum
Types of platforms.Protobuf enum
grafeas.v1beta1.deployment.Deployment.Platform-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionCustom user-defined platform.Google App Engine: Flexible Environment.Google Container Engine.Unknown. -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intCustom user-defined platform.static final intGoogle App Engine: Flexible Environment.static final intGoogle Container Engine.static final intUnknown. -
Method Summary
Modifier and TypeMethodDescriptionstatic Deployment.PlatformforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Deployment.Platform>static Deployment.PlatformvalueOf(int value) Deprecated.static Deployment.PlatformvalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Deployment.PlatformReturns the enum constant of this type with the specified name.static Deployment.Platform[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
Enum Constant Details
-
PLATFORM_UNSPECIFIED
Unknown.
PLATFORM_UNSPECIFIED = 0; -
GKE
Google Container Engine.
GKE = 1; -
FLEX
Google App Engine: Flexible Environment.
FLEX = 2; -
CUSTOM
Custom user-defined platform.
CUSTOM = 3; -
UNRECOGNIZED
-
-
Field Details
-
PLATFORM_UNSPECIFIED_VALUE
public static final int PLATFORM_UNSPECIFIED_VALUEUnknown.
PLATFORM_UNSPECIFIED = 0;- See Also:
-
GKE_VALUE
public static final int GKE_VALUEGoogle Container Engine.
GKE = 1;- See Also:
-
FLEX_VALUE
public static final int FLEX_VALUEGoogle App Engine: Flexible Environment.
FLEX = 2;- See Also:
-
CUSTOM_VALUE
public static final int CUSTOM_VALUECustom user-defined platform.
CUSTOM = 3;- 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
-