public static enum PatchJobs.ExecStepConfig.Interpreter extends Enum<PatchJobs.ExecStepConfig.Interpreter> implements com.google.protobuf.ProtocolMessageEnum
The interpreter used to execute the a file.Protobuf enum
google.cloud.osconfig.v1.ExecStepConfig.Interpreter| Enum Constant and Description |
|---|
INTERPRETER_UNSPECIFIED
Invalid for a Windows ExecStepConfig.
|
POWERSHELL
Indicates that the file is run with PowerShell flags
`-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
|
SHELL
Indicates that the script is run with `/bin/sh` on Linux and `cmd`
on Windows.
|
UNRECOGNIZED |
| Modifier and Type | Field and Description |
|---|---|
static int |
INTERPRETER_UNSPECIFIED_VALUE
Invalid for a Windows ExecStepConfig.
|
static int |
POWERSHELL_VALUE
Indicates that the file is run with PowerShell flags
`-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
|
static int |
SHELL_VALUE
Indicates that the script is run with `/bin/sh` on Linux and `cmd`
on Windows.
|
| Modifier and Type | Method and Description |
|---|---|
static PatchJobs.ExecStepConfig.Interpreter |
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<PatchJobs.ExecStepConfig.Interpreter> |
internalGetValueMap() |
static PatchJobs.ExecStepConfig.Interpreter |
valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc) |
static PatchJobs.ExecStepConfig.Interpreter |
valueOf(int value)
Deprecated.
Use
forNumber(int) instead. |
static PatchJobs.ExecStepConfig.Interpreter |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static PatchJobs.ExecStepConfig.Interpreter[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final PatchJobs.ExecStepConfig.Interpreter INTERPRETER_UNSPECIFIED
Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the interpreter will be parsed from the shebang line of the script if unspecified.
INTERPRETER_UNSPECIFIED = 0;public static final PatchJobs.ExecStepConfig.Interpreter SHELL
Indicates that the script is run with `/bin/sh` on Linux and `cmd` on Windows.
SHELL = 1;public static final PatchJobs.ExecStepConfig.Interpreter POWERSHELL
Indicates that the file is run with PowerShell flags `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
POWERSHELL = 2;public static final PatchJobs.ExecStepConfig.Interpreter UNRECOGNIZED
public static final int INTERPRETER_UNSPECIFIED_VALUE
Invalid for a Windows ExecStepConfig. For a Linux ExecStepConfig, the interpreter will be parsed from the shebang line of the script if unspecified.
INTERPRETER_UNSPECIFIED = 0;public static final int SHELL_VALUE
Indicates that the script is run with `/bin/sh` on Linux and `cmd` on Windows.
SHELL = 1;public static final int POWERSHELL_VALUE
Indicates that the file is run with PowerShell flags `-NonInteractive`, `-NoProfile`, and `-ExecutionPolicy Bypass`.
POWERSHELL = 2;public static PatchJobs.ExecStepConfig.Interpreter[] values()
for (PatchJobs.ExecStepConfig.Interpreter c : PatchJobs.ExecStepConfig.Interpreter.values()) System.out.println(c);
public static PatchJobs.ExecStepConfig.Interpreter 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 PatchJobs.ExecStepConfig.Interpreter valueOf(int value)
forNumber(int) instead.value - The numeric wire value of the corresponding enum entry.public static PatchJobs.ExecStepConfig.Interpreter forNumber(int value)
value - The numeric wire value of the corresponding enum entry.public static com.google.protobuf.Internal.EnumLiteMap<PatchJobs.ExecStepConfig.Interpreter> 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 PatchJobs.ExecStepConfig.Interpreter valueOf(com.google.protobuf.Descriptors.EnumValueDescriptor desc)
Copyright © 2024 Google LLC. All rights reserved.