Class GuestPolicies.SoftwareRecipe.Step (2.82.0)
2.93.0 (latest)
2.90.0
2.89.0
2.87.0
2.85.0
2.84.0
2.82.0
2.80.0
2.78.0
2.77.0
2.76.0
2.75.0
2.74.0
2.72.0
2.70.0
2.69.0
2.66.0
2.65.0
2.64.0
2.62.0
2.61.0
2.60.0
2.59.0
2.58.0
2.57.0
2.56.0
2.55.0
2.54.0
2.53.0
2.51.0
2.50.0
2.49.0
2.48.0
2.47.0
2.46.0
2.45.0
2.44.0
2.43.0
2.42.0
2.41.0
2.39.0
2.38.0
2.37.0
2.36.0
2.35.0
2.34.0
2.33.0
2.32.0
2.31.0
2.30.0
2.29.0
2.26.0
2.25.0
2.24.0
2.23.0
2.22.0
2.21.0
2.20.0
2.19.0
2.18.0
2.17.0
2.16.0
2.15.0
2.14.0
2.13.0
2.11.0
2.10.0
2.9.0
2.8.0
2.7.0
2.6.0
2.5.6
2.4.3
2.3.2
public static final class GuestPolicies . SoftwareRecipe . Step extends GeneratedMessageV3 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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ARCHIVE_EXTRACTION_FIELD_NUMBER
Field Value
Type
Description
int
DPKG_INSTALLATION_FIELD_NUMBER
public static final int DPKG_INSTALLATION_FIELD_NUMBER
Field Value
Type
Description
int
FILE_COPY_FIELD_NUMBER
public static final int FILE_COPY_FIELD_NUMBER
Field Value
Type
Description
int
FILE_EXEC_FIELD_NUMBER
public static final int FILE_EXEC_FIELD_NUMBER
Field Value
Type
Description
int
MSI_INSTALLATION_FIELD_NUMBER
public static final int MSI_INSTALLATION_FIELD_NUMBER
Field Value
Type
Description
int
RPM_INSTALLATION_FIELD_NUMBER
public static final int RPM_INSTALLATION_FIELD_NUMBER
Field Value
Type
Description
int
SCRIPT_RUN_FIELD_NUMBER
public static final int SCRIPT_RUN_FIELD_NUMBER
Field Value
Type
Description
int
Static Methods
getDefaultInstance()
public static GuestPolicies . SoftwareRecipe . Step getDefaultInstance ()
getDescriptor()
public static final Descriptors . Descriptor getDescriptor ()
newBuilder()
public static GuestPolicies . SoftwareRecipe . Step . Builder newBuilder ()
newBuilder(GuestPolicies.SoftwareRecipe.Step prototype)
public static GuestPolicies . SoftwareRecipe . Step . Builder newBuilder ( GuestPolicies . SoftwareRecipe . Step prototype )
public static GuestPolicies . SoftwareRecipe . Step parseDelimitedFrom ( InputStream input )
public static GuestPolicies . SoftwareRecipe . Step parseDelimitedFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(byte[] data)
public static GuestPolicies . SoftwareRecipe . Step parseFrom ( byte [] data )
Parameter
Name
Description
data
byte []
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies . SoftwareRecipe . Step parseFrom ( byte [] data , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteString data)
public static GuestPolicies . SoftwareRecipe . Step parseFrom ( ByteString data )
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies . SoftwareRecipe . Step parseFrom ( ByteString data , ExtensionRegistryLite extensionRegistry )
public static GuestPolicies . SoftwareRecipe . Step parseFrom ( CodedInputStream input )
public static GuestPolicies . SoftwareRecipe . Step parseFrom ( CodedInputStream input , ExtensionRegistryLite extensionRegistry )
public static GuestPolicies . SoftwareRecipe . Step parseFrom ( InputStream input )
public static GuestPolicies . SoftwareRecipe . Step parseFrom ( InputStream input , ExtensionRegistryLite extensionRegistry )
parseFrom(ByteBuffer data)
public static GuestPolicies . SoftwareRecipe . Step parseFrom ( ByteBuffer data )
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies . SoftwareRecipe . Step parseFrom ( ByteBuffer data , ExtensionRegistryLite extensionRegistry )
parser()
public static Parser<GuestPolicies . SoftwareRecipe . Step > parser ()
Methods
equals(Object obj)
public boolean equals ( Object obj )
Parameter
Name
Description
obj
Object
Overrides
public GuestPolicies . SoftwareRecipe . Step . ExtractArchive getArchiveExtraction ()
Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;
public GuestPolicies . SoftwareRecipe . Step . ExtractArchiveOrBuilder getArchiveExtractionOrBuilder ()
Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;
getDefaultInstanceForType()
public GuestPolicies . SoftwareRecipe . Step getDefaultInstanceForType ()
getDpkgInstallation()
public GuestPolicies . SoftwareRecipe . Step . InstallDpkg getDpkgInstallation ()
Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;
getDpkgInstallationOrBuilder()
public GuestPolicies . SoftwareRecipe . Step . InstallDpkgOrBuilder getDpkgInstallationOrBuilder ()
Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;
getFileCopy()
public GuestPolicies . SoftwareRecipe . Step . CopyFile getFileCopy ()
Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;
getFileCopyOrBuilder()
public GuestPolicies . SoftwareRecipe . Step . CopyFileOrBuilder getFileCopyOrBuilder ()
Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;
getFileExec()
public GuestPolicies . SoftwareRecipe . Step . ExecFile getFileExec ()
Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;
getFileExecOrBuilder()
public GuestPolicies . SoftwareRecipe . Step . ExecFileOrBuilder getFileExecOrBuilder ()
Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;
getMsiInstallation()
public GuestPolicies . SoftwareRecipe . Step . InstallMsi getMsiInstallation ()
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;
getMsiInstallationOrBuilder()
public GuestPolicies . SoftwareRecipe . Step . InstallMsiOrBuilder getMsiInstallationOrBuilder ()
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;
getParserForType()
public Parser<GuestPolicies . SoftwareRecipe . Step > getParserForType ()
Overrides
getRpmInstallation()
public GuestPolicies . SoftwareRecipe . Step . InstallRpm getRpmInstallation ()
Installs an rpm file via the rpm utility.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;
getRpmInstallationOrBuilder()
public GuestPolicies . SoftwareRecipe . Step . InstallRpmOrBuilder getRpmInstallationOrBuilder ()
Installs an rpm file via the rpm utility.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;
getScriptRun()
public GuestPolicies . SoftwareRecipe . Step . RunScript getScriptRun ()
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;
getScriptRunOrBuilder()
public GuestPolicies . SoftwareRecipe . Step . RunScriptOrBuilder getScriptRunOrBuilder ()
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;
getSerializedSize()
public int getSerializedSize ()
Returns
Type
Description
int
Overrides
getStepCase()
public GuestPolicies . SoftwareRecipe . Step . StepCase getStepCase ()
public boolean hasArchiveExtraction ()
Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;
Returns
Type
Description
boolean
Whether the archiveExtraction field is set.
hasDpkgInstallation()
public boolean hasDpkgInstallation ()
Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;
Returns
Type
Description
boolean
Whether the dpkgInstallation field is set.
hasFileCopy()
public boolean hasFileCopy ()
Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;
Returns
Type
Description
boolean
Whether the fileCopy field is set.
hasFileExec()
public boolean hasFileExec ()
Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;
Returns
Type
Description
boolean
Whether the fileExec field is set.
hasMsiInstallation()
public boolean hasMsiInstallation ()
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;
Returns
Type
Description
boolean
Whether the msiInstallation field is set.
hasRpmInstallation()
public boolean hasRpmInstallation ()
Installs an rpm file via the rpm utility.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;
Returns
Type
Description
boolean
Whether the rpmInstallation field is set.
hasScriptRun()
public boolean hasScriptRun ()
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;
Returns
Type
Description
boolean
Whether the scriptRun field is set.
hashCode()
Returns
Type
Description
int
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3 . FieldAccessorTable internalGetFieldAccessorTable ()
Overrides
isInitialized()
public final boolean isInitialized ()
Overrides
newBuilderForType()
public GuestPolicies . SoftwareRecipe . Step . Builder newBuilderForType ()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GuestPolicies . SoftwareRecipe . Step . Builder newBuilderForType ( GeneratedMessageV3 . BuilderParent parent )
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance ( GeneratedMessageV3 . UnusedPrivateParameter unused )
Returns
Type
Description
Object
Overrides
toBuilder()
public GuestPolicies . SoftwareRecipe . Step . Builder toBuilder ()
writeTo(CodedOutputStream output)
public void writeTo ( CodedOutputStream output )
Overrides
Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License , and code samples are licensed under the Apache 2.0 License . For details, see the Google Developers Site Policies . Java is a registered trademark of Oracle and/or its affiliates.
Last updated 2026-04-26 UTC.
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2026-04-26 UTC."],[],[]]