Package com.google.cloud.osconfig.v1beta
Class GuestPolicies.SoftwareRecipe.Step
java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step
- All Implemented Interfaces:
GuestPolicies.SoftwareRecipe.StepOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- GuestPolicies.SoftwareRecipe
public static final class GuestPolicies.SoftwareRecipe.Step
extends com.google.protobuf.GeneratedMessage
implements GuestPolicies.SoftwareRecipe.StepOrBuilder
An action that can be taken as part of installing or updating a recipe.Protobuf type
google.cloud.osconfig.v1beta.SoftwareRecipe.Step- See Also:
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic final classAn action that can be taken as part of installing or updating a recipe.static final classCopies the artifact to the specified path on the instance.static interfacestatic final classExecutes an artifact or local file.static interfacestatic final classExtracts an archive of the type specified in the specified directory.static interfacestatic final classInstalls a deb via dpkg.static interfacestatic final classInstalls an MSI file.static interfacestatic final classInstalls an rpm file via the rpm utility.static interfacestatic final classRuns a script through an interpreter.static interfacestatic enumNested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage
com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT, BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message, T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage
com.google.protobuf.AbstractMessage.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanExtracts an archive into the specified directory.Extracts an archive into the specified directory.static final com.google.protobuf.Descriptors.DescriptorInstalls a deb file via dpkg.Installs a deb file via dpkg.Copies a file onto the instance.Copies a file onto the instance.Executes an artifact or local file.Executes an artifact or local file.Installs an MSI file.Installs an MSI file.com.google.protobuf.Parser<GuestPolicies.SoftwareRecipe.Step>Installs an rpm file via the rpm utility.Installs an rpm file via the rpm utility.Runs commands in a shell.Runs commands in a shell.intbooleanExtracts an archive into the specified directory.booleanInstalls a deb file via dpkg.booleanCopies a file onto the instance.booleanExecutes an artifact or local file.inthashCode()booleanInstalls an MSI file.booleanInstalls an rpm file via the rpm utility.booleanRuns commands in a shell.protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleannewBuilder(GuestPolicies.SoftwareRecipe.Step prototype) newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) parseDelimitedFrom(InputStream input) parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(byte[] data) parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.ByteString data) parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(com.google.protobuf.CodedInputStream input) parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(InputStream input) parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) parseFrom(ByteBuffer data) parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<GuestPolicies.SoftwareRecipe.Step>parser()voidwriteTo(com.google.protobuf.CodedOutputStream output) Methods inherited from class com.google.protobuf.GeneratedMessage
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, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
FILE_COPY_FIELD_NUMBER
public static final int FILE_COPY_FIELD_NUMBER- See Also:
-
ARCHIVE_EXTRACTION_FIELD_NUMBER
public static final int ARCHIVE_EXTRACTION_FIELD_NUMBER- See Also:
-
MSI_INSTALLATION_FIELD_NUMBER
public static final int MSI_INSTALLATION_FIELD_NUMBER- See Also:
-
DPKG_INSTALLATION_FIELD_NUMBER
public static final int DPKG_INSTALLATION_FIELD_NUMBER- See Also:
-
RPM_INSTALLATION_FIELD_NUMBER
public static final int RPM_INSTALLATION_FIELD_NUMBER- See Also:
-
FILE_EXEC_FIELD_NUMBER
public static final int FILE_EXEC_FIELD_NUMBER- See Also:
-
SCRIPT_RUN_FIELD_NUMBER
public static final int SCRIPT_RUN_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
getStepCase
- Specified by:
getStepCasein interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasFileCopy
public boolean hasFileCopy()Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;- Specified by:
hasFileCopyin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the fileCopy field is set.
-
getFileCopy
Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;- Specified by:
getFileCopyin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The fileCopy.
-
getFileCopyOrBuilder
Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;- Specified by:
getFileCopyOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasArchiveExtraction
public boolean hasArchiveExtraction()Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;- Specified by:
hasArchiveExtractionin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the archiveExtraction field is set.
-
getArchiveExtraction
Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;- Specified by:
getArchiveExtractionin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The archiveExtraction.
-
getArchiveExtractionOrBuilder
Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;- Specified by:
getArchiveExtractionOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasMsiInstallation
public boolean hasMsiInstallation()Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;- Specified by:
hasMsiInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the msiInstallation field is set.
-
getMsiInstallation
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;- Specified by:
getMsiInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The msiInstallation.
-
getMsiInstallationOrBuilder
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;- Specified by:
getMsiInstallationOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasDpkgInstallation
public boolean hasDpkgInstallation()Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;- Specified by:
hasDpkgInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the dpkgInstallation field is set.
-
getDpkgInstallation
Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;- Specified by:
getDpkgInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The dpkgInstallation.
-
getDpkgInstallationOrBuilder
Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;- Specified by:
getDpkgInstallationOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasRpmInstallation
public boolean hasRpmInstallation()Installs an rpm file via the rpm utility.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;- Specified by:
hasRpmInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the rpmInstallation field is set.
-
getRpmInstallation
Installs an rpm file via the rpm utility.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;- Specified by:
getRpmInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The rpmInstallation.
-
getRpmInstallationOrBuilder
Installs an rpm file via the rpm utility.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;- Specified by:
getRpmInstallationOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasFileExec
public boolean hasFileExec()Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;- Specified by:
hasFileExecin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the fileExec field is set.
-
getFileExec
Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;- Specified by:
getFileExecin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The fileExec.
-
getFileExecOrBuilder
Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;- Specified by:
getFileExecOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasScriptRun
public boolean hasScriptRun()Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;- Specified by:
hasScriptRunin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the scriptRun field is set.
-
getScriptRun
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;- Specified by:
getScriptRunin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The scriptRun.
-
getScriptRunOrBuilder
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;- Specified by:
getScriptRunOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException - Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
- Throws:
IOException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static GuestPolicies.SoftwareRecipe.Step parseDelimitedFrom(InputStream input) throws IOException - Throws:
IOException
-
parseDelimitedFrom
public static GuestPolicies.SoftwareRecipe.Step parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(com.google.protobuf.CodedInputStream input) throws IOException - Throws:
IOException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
newBuilderForType
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
public static GuestPolicies.SoftwareRecipe.Step.Builder newBuilder(GuestPolicies.SoftwareRecipe.Step prototype) -
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GuestPolicies.SoftwareRecipe.Step.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-