public static final class PatchJobs.ExecStepConfig extends com.google.protobuf.GeneratedMessageV3 implements PatchJobs.ExecStepConfigOrBuilder
Common configurations for an ExecStep.Protobuf type
google.cloud.osconfig.v1.ExecStepConfig| Modifier and Type | Class and Description |
|---|---|
static class |
PatchJobs.ExecStepConfig.Builder
Common configurations for an ExecStep.
|
static class |
PatchJobs.ExecStepConfig.ExecutableCase |
static class |
PatchJobs.ExecStepConfig.Interpreter
The interpreter used to execute the a file.
|
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter| Modifier and Type | Field and Description |
|---|---|
static int |
ALLOWED_SUCCESS_CODES_FIELD_NUMBER |
static int |
GCS_OBJECT_FIELD_NUMBER |
static int |
INTERPRETER_FIELD_NUMBER |
static int |
LOCAL_PATH_FIELD_NUMBER |
| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
int |
getAllowedSuccessCodes(int index)
Defaults to [0].
|
int |
getAllowedSuccessCodesCount()
Defaults to [0].
|
List<Integer> |
getAllowedSuccessCodesList()
Defaults to [0].
|
static PatchJobs.ExecStepConfig |
getDefaultInstance() |
PatchJobs.ExecStepConfig |
getDefaultInstanceForType() |
static com.google.protobuf.Descriptors.Descriptor |
getDescriptor() |
PatchJobs.ExecStepConfig.ExecutableCase |
getExecutableCase() |
PatchJobs.GcsObject |
getGcsObject()
A Cloud Storage object containing the executable.
|
PatchJobs.GcsObjectOrBuilder |
getGcsObjectOrBuilder()
A Cloud Storage object containing the executable.
|
PatchJobs.ExecStepConfig.Interpreter |
getInterpreter()
The script interpreter to use to run the script.
|
int |
getInterpreterValue()
The script interpreter to use to run the script.
|
String |
getLocalPath()
An absolute path to the executable on the VM.
|
com.google.protobuf.ByteString |
getLocalPathBytes()
An absolute path to the executable on the VM.
|
com.google.protobuf.Parser<PatchJobs.ExecStepConfig> |
getParserForType() |
int |
getSerializedSize() |
boolean |
hasGcsObject()
A Cloud Storage object containing the executable.
|
int |
hashCode() |
boolean |
hasLocalPath()
An absolute path to the executable on the VM.
|
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static PatchJobs.ExecStepConfig.Builder |
newBuilder() |
static PatchJobs.ExecStepConfig.Builder |
newBuilder(PatchJobs.ExecStepConfig prototype) |
PatchJobs.ExecStepConfig.Builder |
newBuilderForType() |
protected PatchJobs.ExecStepConfig.Builder |
newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent) |
protected Object |
newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused) |
static PatchJobs.ExecStepConfig |
parseDelimitedFrom(InputStream input) |
static PatchJobs.ExecStepConfig |
parseDelimitedFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.ExecStepConfig |
parseFrom(byte[] data) |
static PatchJobs.ExecStepConfig |
parseFrom(byte[] data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.ExecStepConfig |
parseFrom(ByteBuffer data) |
static PatchJobs.ExecStepConfig |
parseFrom(ByteBuffer data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.ExecStepConfig |
parseFrom(com.google.protobuf.ByteString data) |
static PatchJobs.ExecStepConfig |
parseFrom(com.google.protobuf.ByteString data,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.ExecStepConfig |
parseFrom(com.google.protobuf.CodedInputStream input) |
static PatchJobs.ExecStepConfig |
parseFrom(com.google.protobuf.CodedInputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static PatchJobs.ExecStepConfig |
parseFrom(InputStream input) |
static PatchJobs.ExecStepConfig |
parseFrom(InputStream input,
com.google.protobuf.ExtensionRegistryLite extensionRegistry) |
static com.google.protobuf.Parser<PatchJobs.ExecStepConfig> |
parser() |
PatchJobs.ExecStepConfig.Builder |
toBuilder() |
void |
writeTo(com.google.protobuf.CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitpublic static final int LOCAL_PATH_FIELD_NUMBER
public static final int GCS_OBJECT_FIELD_NUMBER
public static final int ALLOWED_SUCCESS_CODES_FIELD_NUMBER
public static final int INTERPRETER_FIELD_NUMBER
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
newInstance in class com.google.protobuf.GeneratedMessageV3public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessageV3public PatchJobs.ExecStepConfig.ExecutableCase getExecutableCase()
getExecutableCase in interface PatchJobs.ExecStepConfigOrBuilderpublic boolean hasLocalPath()
An absolute path to the executable on the VM.
string local_path = 1;hasLocalPath in interface PatchJobs.ExecStepConfigOrBuilderpublic String getLocalPath()
An absolute path to the executable on the VM.
string local_path = 1;getLocalPath in interface PatchJobs.ExecStepConfigOrBuilderpublic com.google.protobuf.ByteString getLocalPathBytes()
An absolute path to the executable on the VM.
string local_path = 1;getLocalPathBytes in interface PatchJobs.ExecStepConfigOrBuilderpublic boolean hasGcsObject()
A Cloud Storage object containing the executable.
.google.cloud.osconfig.v1.GcsObject gcs_object = 2;hasGcsObject in interface PatchJobs.ExecStepConfigOrBuilderpublic PatchJobs.GcsObject getGcsObject()
A Cloud Storage object containing the executable.
.google.cloud.osconfig.v1.GcsObject gcs_object = 2;getGcsObject in interface PatchJobs.ExecStepConfigOrBuilderpublic PatchJobs.GcsObjectOrBuilder getGcsObjectOrBuilder()
A Cloud Storage object containing the executable.
.google.cloud.osconfig.v1.GcsObject gcs_object = 2;getGcsObjectOrBuilder in interface PatchJobs.ExecStepConfigOrBuilderpublic List<Integer> getAllowedSuccessCodesList()
Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
repeated int32 allowed_success_codes = 3;getAllowedSuccessCodesList in interface PatchJobs.ExecStepConfigOrBuilderpublic int getAllowedSuccessCodesCount()
Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
repeated int32 allowed_success_codes = 3;getAllowedSuccessCodesCount in interface PatchJobs.ExecStepConfigOrBuilderpublic int getAllowedSuccessCodes(int index)
Defaults to [0]. A list of possible return values that the execution can return to indicate a success.
repeated int32 allowed_success_codes = 3;getAllowedSuccessCodes in interface PatchJobs.ExecStepConfigOrBuilderindex - The index of the element to return.public int getInterpreterValue()
The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts with [shebang lines] (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
.google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4;getInterpreterValue in interface PatchJobs.ExecStepConfigOrBuilderpublic PatchJobs.ExecStepConfig.Interpreter getInterpreter()
The script interpreter to use to run the script. If no interpreter is specified the script will be executed directly, which will likely only succeed for scripts with [shebang lines] (https://en.wikipedia.org/wiki/Shebang_\(Unix\)).
.google.cloud.osconfig.v1.ExecStepConfig.Interpreter interpreter = 4;getInterpreter in interface PatchJobs.ExecStepConfigOrBuilderpublic final boolean isInitialized()
isInitialized in interface com.google.protobuf.MessageLiteOrBuilderisInitialized in class com.google.protobuf.GeneratedMessageV3public void writeTo(com.google.protobuf.CodedOutputStream output)
throws IOException
writeTo in interface com.google.protobuf.MessageLitewriteTo in class com.google.protobuf.GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface com.google.protobuf.MessageLitegetSerializedSize in class com.google.protobuf.GeneratedMessageV3public boolean equals(Object obj)
equals in interface com.google.protobuf.Messageequals in class com.google.protobuf.AbstractMessagepublic int hashCode()
hashCode in interface com.google.protobuf.MessagehashCode in class com.google.protobuf.AbstractMessagepublic static PatchJobs.ExecStepConfig parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.ExecStepConfig parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.ExecStepConfig parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.ExecStepConfig parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.ExecStepConfig parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.ExecStepConfig parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
com.google.protobuf.InvalidProtocolBufferExceptionpublic static PatchJobs.ExecStepConfig parseFrom(InputStream input) throws IOException
IOExceptionpublic static PatchJobs.ExecStepConfig parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PatchJobs.ExecStepConfig parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static PatchJobs.ExecStepConfig parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static PatchJobs.ExecStepConfig parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
IOExceptionpublic static PatchJobs.ExecStepConfig parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic PatchJobs.ExecStepConfig.Builder newBuilderForType()
newBuilderForType in interface com.google.protobuf.MessagenewBuilderForType in interface com.google.protobuf.MessageLitepublic static PatchJobs.ExecStepConfig.Builder newBuilder()
public static PatchJobs.ExecStepConfig.Builder newBuilder(PatchJobs.ExecStepConfig prototype)
public PatchJobs.ExecStepConfig.Builder toBuilder()
toBuilder in interface com.google.protobuf.MessagetoBuilder in interface com.google.protobuf.MessageLiteprotected PatchJobs.ExecStepConfig.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class com.google.protobuf.GeneratedMessageV3public static PatchJobs.ExecStepConfig getDefaultInstance()
public static com.google.protobuf.Parser<PatchJobs.ExecStepConfig> parser()
public com.google.protobuf.Parser<PatchJobs.ExecStepConfig> getParserForType()
getParserForType in interface com.google.protobuf.MessagegetParserForType in interface com.google.protobuf.MessageLitegetParserForType in class com.google.protobuf.GeneratedMessageV3public PatchJobs.ExecStepConfig getDefaultInstanceForType()
getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuildergetDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilderCopyright © 2024 Google LLC. All rights reserved.