Package io.grafeas.v1beta1.image
Enum 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 enum
grafeas.v1beta1.image.Layer.Directive-
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionhttps://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/Default value for unsupported/missing directive.https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/https://docs.docker.com/engine/reference/builder/ -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final intDefault value for unsupported/missing directive.static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/static final inthttps://docs.docker.com/engine/reference/builder/ -
Method Summary
Modifier and TypeMethodDescriptionstatic Layer.DirectiveforNumber(int value) static com.google.protobuf.Descriptors.EnumDescriptorfinal com.google.protobuf.Descriptors.EnumDescriptorfinal intfinal com.google.protobuf.Descriptors.EnumValueDescriptorstatic com.google.protobuf.Internal.EnumLiteMap<Layer.Directive>static Layer.DirectivevalueOf(int value) Deprecated.static Layer.DirectivevalueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) Returns the enum constant of this type with the specified name.static Layer.DirectiveReturns 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 Details
-
DIRECTIVE_UNSPECIFIED
Default value for unsupported/missing directive.
DIRECTIVE_UNSPECIFIED = 0; -
MAINTAINER
https://docs.docker.com/engine/reference/builder/
MAINTAINER = 1; -
RUN
https://docs.docker.com/engine/reference/builder/
RUN = 2; -
CMD
https://docs.docker.com/engine/reference/builder/
CMD = 3; -
LABEL
https://docs.docker.com/engine/reference/builder/
LABEL = 4; -
EXPOSE
https://docs.docker.com/engine/reference/builder/
EXPOSE = 5; -
ENV
https://docs.docker.com/engine/reference/builder/
ENV = 6; -
ADD
https://docs.docker.com/engine/reference/builder/
ADD = 7; -
COPY
https://docs.docker.com/engine/reference/builder/
COPY = 8; -
ENTRYPOINT
https://docs.docker.com/engine/reference/builder/
ENTRYPOINT = 9; -
VOLUME
https://docs.docker.com/engine/reference/builder/
VOLUME = 10; -
USER
https://docs.docker.com/engine/reference/builder/
USER = 11; -
WORKDIR
https://docs.docker.com/engine/reference/builder/
WORKDIR = 12; -
ARG
https://docs.docker.com/engine/reference/builder/
ARG = 13; -
ONBUILD
https://docs.docker.com/engine/reference/builder/
ONBUILD = 14; -
STOPSIGNAL
https://docs.docker.com/engine/reference/builder/
STOPSIGNAL = 15; -
HEALTHCHECK
https://docs.docker.com/engine/reference/builder/
HEALTHCHECK = 16; -
SHELL
https://docs.docker.com/engine/reference/builder/
SHELL = 17; -
UNRECOGNIZED
-
-
Field Details
-
DIRECTIVE_UNSPECIFIED_VALUE
public static final int DIRECTIVE_UNSPECIFIED_VALUEDefault value for unsupported/missing directive.
DIRECTIVE_UNSPECIFIED = 0;- See Also:
-
MAINTAINER_VALUE
public static final int MAINTAINER_VALUEhttps://docs.docker.com/engine/reference/builder/
MAINTAINER = 1;- See Also:
-
RUN_VALUE
public static final int RUN_VALUEhttps://docs.docker.com/engine/reference/builder/
RUN = 2;- See Also:
-
CMD_VALUE
public static final int CMD_VALUEhttps://docs.docker.com/engine/reference/builder/
CMD = 3;- See Also:
-
LABEL_VALUE
public static final int LABEL_VALUEhttps://docs.docker.com/engine/reference/builder/
LABEL = 4;- See Also:
-
EXPOSE_VALUE
public static final int EXPOSE_VALUEhttps://docs.docker.com/engine/reference/builder/
EXPOSE = 5;- See Also:
-
ENV_VALUE
public static final int ENV_VALUEhttps://docs.docker.com/engine/reference/builder/
ENV = 6;- See Also:
-
ADD_VALUE
public static final int ADD_VALUEhttps://docs.docker.com/engine/reference/builder/
ADD = 7;- See Also:
-
COPY_VALUE
public static final int COPY_VALUEhttps://docs.docker.com/engine/reference/builder/
COPY = 8;- See Also:
-
ENTRYPOINT_VALUE
public static final int ENTRYPOINT_VALUEhttps://docs.docker.com/engine/reference/builder/
ENTRYPOINT = 9;- See Also:
-
VOLUME_VALUE
public static final int VOLUME_VALUEhttps://docs.docker.com/engine/reference/builder/
VOLUME = 10;- See Also:
-
USER_VALUE
public static final int USER_VALUEhttps://docs.docker.com/engine/reference/builder/
USER = 11;- See Also:
-
WORKDIR_VALUE
public static final int WORKDIR_VALUEhttps://docs.docker.com/engine/reference/builder/
WORKDIR = 12;- See Also:
-
ARG_VALUE
public static final int ARG_VALUEhttps://docs.docker.com/engine/reference/builder/
ARG = 13;- See Also:
-
ONBUILD_VALUE
public static final int ONBUILD_VALUEhttps://docs.docker.com/engine/reference/builder/
ONBUILD = 14;- See Also:
-
STOPSIGNAL_VALUE
public static final int STOPSIGNAL_VALUEhttps://docs.docker.com/engine/reference/builder/
STOPSIGNAL = 15;- See Also:
-
HEALTHCHECK_VALUE
public static final int HEALTHCHECK_VALUEhttps://docs.docker.com/engine/reference/builder/
HEALTHCHECK = 16;- See Also:
-
SHELL_VALUE
public static final int SHELL_VALUEhttps://docs.docker.com/engine/reference/builder/
SHELL = 17;- 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
-