Package io.grafeas.v1beta1.image
Enum Layer.Directive
- java.lang.Object
-
- java.lang.Enum<Layer.Directive>
-
- io.grafeas.v1beta1.image.Layer.Directive
-
- All Implemented Interfaces:
com.google.protobuf.Internal.EnumLite
,com.google.protobuf.ProtocolMessageEnum
,Serializable
,Comparable<Layer.Directive>
- Enclosing class:
- Layer
public static enum Layer.Directive extends Enum<Layer.Directive> implements com.google.protobuf.ProtocolMessageEnum
Instructions from Dockerfile.
Protobuf enumgrafeas.v1beta1.image.Layer.Directive
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ADD
https://docs.docker.com/engine/reference/builder/ARG
https://docs.docker.com/engine/reference/builder/CMD
https://docs.docker.com/engine/reference/builder/COPY
https://docs.docker.com/engine/reference/builder/DIRECTIVE_UNSPECIFIED
Default value for unsupported/missing directive.ENTRYPOINT
https://docs.docker.com/engine/reference/builder/ENV
https://docs.docker.com/engine/reference/builder/EXPOSE
https://docs.docker.com/engine/reference/builder/HEALTHCHECK
https://docs.docker.com/engine/reference/builder/LABEL
https://docs.docker.com/engine/reference/builder/MAINTAINER
https://docs.docker.com/engine/reference/builder/ONBUILD
https://docs.docker.com/engine/reference/builder/RUN
https://docs.docker.com/engine/reference/builder/SHELL
https://docs.docker.com/engine/reference/builder/STOPSIGNAL
https://docs.docker.com/engine/reference/builder/UNRECOGNIZED
USER
https://docs.docker.com/engine/reference/builder/VOLUME
https://docs.docker.com/engine/reference/builder/WORKDIR
https://docs.docker.com/engine/reference/builder/
-
Field Summary
Fields Modifier and Type Field Description static int
ADD_VALUE
https://docs.docker.com/engine/reference/builder/static int
ARG_VALUE
https://docs.docker.com/engine/reference/builder/static int
CMD_VALUE
https://docs.docker.com/engine/reference/builder/static int
COPY_VALUE
https://docs.docker.com/engine/reference/builder/static int
DIRECTIVE_UNSPECIFIED_VALUE
Default value for unsupported/missing directive.static int
ENTRYPOINT_VALUE
https://docs.docker.com/engine/reference/builder/static int
ENV_VALUE
https://docs.docker.com/engine/reference/builder/static int
EXPOSE_VALUE
https://docs.docker.com/engine/reference/builder/static int
HEALTHCHECK_VALUE
https://docs.docker.com/engine/reference/builder/static int
LABEL_VALUE
https://docs.docker.com/engine/reference/builder/static int
MAINTAINER_VALUE
https://docs.docker.com/engine/reference/builder/static int
ONBUILD_VALUE
https://docs.docker.com/engine/reference/builder/static int
RUN_VALUE
https://docs.docker.com/engine/reference/builder/static int
SHELL_VALUE
https://docs.docker.com/engine/reference/builder/static int
STOPSIGNAL_VALUE
https://docs.docker.com/engine/reference/builder/static int
USER_VALUE
https://docs.docker.com/engine/reference/builder/static int
VOLUME_VALUE
https://docs.docker.com/engine/reference/builder/static int
WORKDIR_VALUE
https://docs.docker.com/engine/reference/builder/
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Deprecated Methods Modifier and Type Method Description static Layer.Directive
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<Layer.Directive>
internalGetValueMap()
static Layer.Directive
valueOf(int value)
Deprecated.static Layer.Directive
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Returns the enum constant of this type with the specified name.static Layer.Directive
valueOf(String name)
Returns the enum constant of this type with the specified name.static Layer.Directive[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
DIRECTIVE_UNSPECIFIED
public static final Layer.Directive DIRECTIVE_UNSPECIFIED
Default value for unsupported/missing directive.
DIRECTIVE_UNSPECIFIED = 0;
-
MAINTAINER
public static final Layer.Directive MAINTAINER
https://docs.docker.com/engine/reference/builder/
MAINTAINER = 1;
-
RUN
public static final Layer.Directive RUN
https://docs.docker.com/engine/reference/builder/
RUN = 2;
-
CMD
public static final Layer.Directive CMD
https://docs.docker.com/engine/reference/builder/
CMD = 3;
-
LABEL
public static final Layer.Directive LABEL
https://docs.docker.com/engine/reference/builder/
LABEL = 4;
-
EXPOSE
public static final Layer.Directive EXPOSE
https://docs.docker.com/engine/reference/builder/
EXPOSE = 5;
-
ENV
public static final Layer.Directive ENV
https://docs.docker.com/engine/reference/builder/
ENV = 6;
-
ADD
public static final Layer.Directive ADD
https://docs.docker.com/engine/reference/builder/
ADD = 7;
-
COPY
public static final Layer.Directive COPY
https://docs.docker.com/engine/reference/builder/
COPY = 8;
-
ENTRYPOINT
public static final Layer.Directive ENTRYPOINT
https://docs.docker.com/engine/reference/builder/
ENTRYPOINT = 9;
-
VOLUME
public static final Layer.Directive VOLUME
https://docs.docker.com/engine/reference/builder/
VOLUME = 10;
-
USER
public static final Layer.Directive USER
https://docs.docker.com/engine/reference/builder/
USER = 11;
-
WORKDIR
public static final Layer.Directive WORKDIR
https://docs.docker.com/engine/reference/builder/
WORKDIR = 12;
-
ARG
public static final Layer.Directive ARG
https://docs.docker.com/engine/reference/builder/
ARG = 13;
-
ONBUILD
public static final Layer.Directive ONBUILD
https://docs.docker.com/engine/reference/builder/
ONBUILD = 14;
-
STOPSIGNAL
public static final Layer.Directive STOPSIGNAL
https://docs.docker.com/engine/reference/builder/
STOPSIGNAL = 15;
-
HEALTHCHECK
public static final Layer.Directive HEALTHCHECK
https://docs.docker.com/engine/reference/builder/
HEALTHCHECK = 16;
-
SHELL
public static final Layer.Directive SHELL
https://docs.docker.com/engine/reference/builder/
SHELL = 17;
-
UNRECOGNIZED
public static final Layer.Directive UNRECOGNIZED
-
-
Field Detail
-
DIRECTIVE_UNSPECIFIED_VALUE
public static final int DIRECTIVE_UNSPECIFIED_VALUE
Default value for unsupported/missing directive.
DIRECTIVE_UNSPECIFIED = 0;
- See Also:
- Constant Field Values
-
MAINTAINER_VALUE
public static final int MAINTAINER_VALUE
https://docs.docker.com/engine/reference/builder/
MAINTAINER = 1;
- See Also:
- Constant Field Values
-
RUN_VALUE
public static final int RUN_VALUE
https://docs.docker.com/engine/reference/builder/
RUN = 2;
- See Also:
- Constant Field Values
-
CMD_VALUE
public static final int CMD_VALUE
https://docs.docker.com/engine/reference/builder/
CMD = 3;
- See Also:
- Constant Field Values
-
LABEL_VALUE
public static final int LABEL_VALUE
https://docs.docker.com/engine/reference/builder/
LABEL = 4;
- See Also:
- Constant Field Values
-
EXPOSE_VALUE
public static final int EXPOSE_VALUE
https://docs.docker.com/engine/reference/builder/
EXPOSE = 5;
- See Also:
- Constant Field Values
-
ENV_VALUE
public static final int ENV_VALUE
https://docs.docker.com/engine/reference/builder/
ENV = 6;
- See Also:
- Constant Field Values
-
ADD_VALUE
public static final int ADD_VALUE
https://docs.docker.com/engine/reference/builder/
ADD = 7;
- See Also:
- Constant Field Values
-
COPY_VALUE
public static final int COPY_VALUE
https://docs.docker.com/engine/reference/builder/
COPY = 8;
- See Also:
- Constant Field Values
-
ENTRYPOINT_VALUE
public static final int ENTRYPOINT_VALUE
https://docs.docker.com/engine/reference/builder/
ENTRYPOINT = 9;
- See Also:
- Constant Field Values
-
VOLUME_VALUE
public static final int VOLUME_VALUE
https://docs.docker.com/engine/reference/builder/
VOLUME = 10;
- See Also:
- Constant Field Values
-
USER_VALUE
public static final int USER_VALUE
https://docs.docker.com/engine/reference/builder/
USER = 11;
- See Also:
- Constant Field Values
-
WORKDIR_VALUE
public static final int WORKDIR_VALUE
https://docs.docker.com/engine/reference/builder/
WORKDIR = 12;
- See Also:
- Constant Field Values
-
ARG_VALUE
public static final int ARG_VALUE
https://docs.docker.com/engine/reference/builder/
ARG = 13;
- See Also:
- Constant Field Values
-
ONBUILD_VALUE
public static final int ONBUILD_VALUE
https://docs.docker.com/engine/reference/builder/
ONBUILD = 14;
- See Also:
- Constant Field Values
-
STOPSIGNAL_VALUE
public static final int STOPSIGNAL_VALUE
https://docs.docker.com/engine/reference/builder/
STOPSIGNAL = 15;
- See Also:
- Constant Field Values
-
HEALTHCHECK_VALUE
public static final int HEALTHCHECK_VALUE
https://docs.docker.com/engine/reference/builder/
HEALTHCHECK = 16;
- See Also:
- Constant Field Values
-
SHELL_VALUE
public static final int SHELL_VALUE
https://docs.docker.com/engine/reference/builder/
SHELL = 17;
- See Also:
- Constant Field Values
-
-
Method Detail
-
values
public static Layer.Directive[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Layer.Directive c : Layer.Directive.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Layer.Directive valueOf(String name)
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:
getNumber
in interfacecom.google.protobuf.Internal.EnumLite
- Specified by:
getNumber
in interfacecom.google.protobuf.ProtocolMessageEnum
-
valueOf
@Deprecated public static Layer.Directive valueOf(int value)
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
public static Layer.Directive forNumber(int value)
- Parameters:
value
- The numeric wire value of the corresponding enum entry.- Returns:
- The enum associated with the given numeric wire value.
-
internalGetValueMap
public static com.google.protobuf.Internal.EnumLiteMap<Layer.Directive> internalGetValueMap()
-
getValueDescriptor
public final com.google.protobuf.Descriptors.EnumValueDescriptor getValueDescriptor()
- Specified by:
getValueDescriptor
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptorForType
public final com.google.protobuf.Descriptors.EnumDescriptor getDescriptorForType()
- Specified by:
getDescriptorForType
in interfacecom.google.protobuf.ProtocolMessageEnum
-
getDescriptor
public static final com.google.protobuf.Descriptors.EnumDescriptor getDescriptor()
-
valueOf
public static Layer.Directive valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
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
-
-