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 and Description |
|---|
ADD
https://docs.docker.com/reference/builder/#add
|
ARG
https://docs.docker.com/reference/builder/#arg
|
CMD
https://docs.docker.com/reference/builder/#cmd
|
COPY
https://docs.docker.com/reference/builder/#copy
|
DIRECTIVE_UNSPECIFIED
Default value for unsupported/missing directive.
|
ENTRYPOINT
https://docs.docker.com/reference/builder/#entrypoint
|
ENV
https://docs.docker.com/reference/builder/#env
|
EXPOSE
https://docs.docker.com/reference/builder/#expose
|
HEALTHCHECK
https://docs.docker.com/reference/builder/#healthcheck
|
LABEL
https://docs.docker.com/reference/builder/#label
|
MAINTAINER
https://docs.docker.com/reference/builder/#maintainer
|
ONBUILD
https://docs.docker.com/reference/builder/#onbuild
|
RUN
https://docs.docker.com/reference/builder/#run
|
SHELL
https://docs.docker.com/reference/builder/#shell
|
STOPSIGNAL
https://docs.docker.com/reference/builder/#stopsignal
|
UNRECOGNIZED |
USER
https://docs.docker.com/reference/builder/#user
|
VOLUME
https://docs.docker.com/reference/builder/#volume
|
WORKDIR
https://docs.docker.com/reference/builder/#workdir
|
| Modifier and Type | Field and Description |
|---|---|
static int |
ADD_VALUE
https://docs.docker.com/reference/builder/#add
|
static int |
ARG_VALUE
https://docs.docker.com/reference/builder/#arg
|
static int |
CMD_VALUE
https://docs.docker.com/reference/builder/#cmd
|
static int |
COPY_VALUE
https://docs.docker.com/reference/builder/#copy
|
static int |
DIRECTIVE_UNSPECIFIED_VALUE
Default value for unsupported/missing directive.
|
static int |
ENTRYPOINT_VALUE
https://docs.docker.com/reference/builder/#entrypoint
|
static int |
ENV_VALUE
https://docs.docker.com/reference/builder/#env
|
static int |
EXPOSE_VALUE
https://docs.docker.com/reference/builder/#expose
|
static int |
HEALTHCHECK_VALUE
https://docs.docker.com/reference/builder/#healthcheck
|
static int |
LABEL_VALUE
https://docs.docker.com/reference/builder/#label
|
static int |
MAINTAINER_VALUE
https://docs.docker.com/reference/builder/#maintainer
|
static int |
ONBUILD_VALUE
https://docs.docker.com/reference/builder/#onbuild
|
static int |
RUN_VALUE
https://docs.docker.com/reference/builder/#run
|
static int |
SHELL_VALUE
https://docs.docker.com/reference/builder/#shell
|
static int |
STOPSIGNAL_VALUE
https://docs.docker.com/reference/builder/#stopsignal
|
static int |
USER_VALUE
https://docs.docker.com/reference/builder/#user
|
static int |
VOLUME_VALUE
https://docs.docker.com/reference/builder/#volume
|
static int |
WORKDIR_VALUE
https://docs.docker.com/reference/builder/#workdir
|
| Modifier and Type | Method and 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(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static Layer.Directive |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
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.
|
public static final Layer.Directive DIRECTIVE_UNSPECIFIED
Default value for unsupported/missing directive.
DIRECTIVE_UNSPECIFIED = 0;public static final Layer.Directive MAINTAINER
https://docs.docker.com/reference/builder/#maintainer
MAINTAINER = 1;public static final Layer.Directive RUN
https://docs.docker.com/reference/builder/#run
RUN = 2;public static final Layer.Directive CMD
https://docs.docker.com/reference/builder/#cmd
CMD = 3;public static final Layer.Directive LABEL
https://docs.docker.com/reference/builder/#label
LABEL = 4;public static final Layer.Directive EXPOSE
https://docs.docker.com/reference/builder/#expose
EXPOSE = 5;public static final Layer.Directive ENV
https://docs.docker.com/reference/builder/#env
ENV = 6;public static final Layer.Directive ADD
https://docs.docker.com/reference/builder/#add
ADD = 7;public static final Layer.Directive COPY
https://docs.docker.com/reference/builder/#copy
COPY = 8;public static final Layer.Directive ENTRYPOINT
https://docs.docker.com/reference/builder/#entrypoint
ENTRYPOINT = 9;public static final Layer.Directive VOLUME
https://docs.docker.com/reference/builder/#volume
VOLUME = 10;public static final Layer.Directive USER
https://docs.docker.com/reference/builder/#user
USER = 11;public static final Layer.Directive WORKDIR
https://docs.docker.com/reference/builder/#workdir
WORKDIR = 12;public static final Layer.Directive ARG
https://docs.docker.com/reference/builder/#arg
ARG = 13;public static final Layer.Directive ONBUILD
https://docs.docker.com/reference/builder/#onbuild
ONBUILD = 14;public static final Layer.Directive STOPSIGNAL
https://docs.docker.com/reference/builder/#stopsignal
STOPSIGNAL = 15;public static final Layer.Directive HEALTHCHECK
https://docs.docker.com/reference/builder/#healthcheck
HEALTHCHECK = 16;public static final Layer.Directive SHELL
https://docs.docker.com/reference/builder/#shell
SHELL = 17;public static final Layer.Directive UNRECOGNIZED
public static final int DIRECTIVE_UNSPECIFIED_VALUE
Default value for unsupported/missing directive.
DIRECTIVE_UNSPECIFIED = 0;public static final int MAINTAINER_VALUE
https://docs.docker.com/reference/builder/#maintainer
MAINTAINER = 1;public static final int RUN_VALUE
https://docs.docker.com/reference/builder/#run
RUN = 2;public static final int CMD_VALUE
https://docs.docker.com/reference/builder/#cmd
CMD = 3;public static final int LABEL_VALUE
https://docs.docker.com/reference/builder/#label
LABEL = 4;public static final int EXPOSE_VALUE
https://docs.docker.com/reference/builder/#expose
EXPOSE = 5;public static final int ENV_VALUE
https://docs.docker.com/reference/builder/#env
ENV = 6;public static final int ADD_VALUE
https://docs.docker.com/reference/builder/#add
ADD = 7;public static final int COPY_VALUE
https://docs.docker.com/reference/builder/#copy
COPY = 8;public static final int ENTRYPOINT_VALUE
https://docs.docker.com/reference/builder/#entrypoint
ENTRYPOINT = 9;public static final int VOLUME_VALUE
https://docs.docker.com/reference/builder/#volume
VOLUME = 10;public static final int USER_VALUE
https://docs.docker.com/reference/builder/#user
USER = 11;public static final int WORKDIR_VALUE
https://docs.docker.com/reference/builder/#workdir
WORKDIR = 12;public static final int ARG_VALUE
https://docs.docker.com/reference/builder/#arg
ARG = 13;public static final int ONBUILD_VALUE
https://docs.docker.com/reference/builder/#onbuild
ONBUILD = 14;public static final int STOPSIGNAL_VALUE
https://docs.docker.com/reference/builder/#stopsignal
STOPSIGNAL = 15;public static final int HEALTHCHECK_VALUE
https://docs.docker.com/reference/builder/#healthcheck
HEALTHCHECK = 16;public static final int SHELL_VALUE
https://docs.docker.com/reference/builder/#shell
SHELL = 17;public static Layer.Directive[] values()
for (Layer.Directive c : Layer.Directive.values()) System.out.println(c);
public static Layer.Directive 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 Layer.Directive valueOf(int value)
forNumber(int) instead.public static Layer.Directive forNumber(int value)
public static com.google.protobuf.Internal.EnumLiteMap<Layer.Directive> 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 Layer.Directive valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2019 Google LLC. All rights reserved.