Interface GuestPolicies.SoftwareRecipe.StepOrBuilder (2.23.0)

public static interface GuestPolicies.SoftwareRecipe.StepOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getArchiveExtraction()

public abstract GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction()

Extracts an archive into the specified directory.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive

The archiveExtraction.

getArchiveExtractionOrBuilder()

public abstract GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder getArchiveExtractionOrBuilder()

Extracts an archive into the specified directory.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder

getDpkgInstallation()

public abstract GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation()

Installs a deb file via dpkg.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.InstallDpkg

The dpkgInstallation.

getDpkgInstallationOrBuilder()

public abstract GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder getDpkgInstallationOrBuilder()

Installs a deb file via dpkg.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder

getFileCopy()

public abstract GuestPolicies.SoftwareRecipe.Step.CopyFile getFileCopy()

Copies a file onto the instance.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.CopyFile

The fileCopy.

getFileCopyOrBuilder()

public abstract GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder getFileCopyOrBuilder()

Copies a file onto the instance.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder

getFileExec()

public abstract GuestPolicies.SoftwareRecipe.Step.ExecFile getFileExec()

Executes an artifact or local file.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExecFile

The fileExec.

getFileExecOrBuilder()

public abstract GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder getFileExecOrBuilder()

Executes an artifact or local file.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder

getMsiInstallation()

public abstract GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation()

Installs an MSI file.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.InstallMsi

The msiInstallation.

getMsiInstallationOrBuilder()

public abstract GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder getMsiInstallationOrBuilder()

Installs an MSI file.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder

getRpmInstallation()

public abstract GuestPolicies.SoftwareRecipe.Step.InstallRpm getRpmInstallation()

Installs an rpm file via the rpm utility.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.InstallRpm

The rpmInstallation.

getRpmInstallationOrBuilder()

public abstract GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder getRpmInstallationOrBuilder()

Installs an rpm file via the rpm utility.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder

getScriptRun()

public abstract GuestPolicies.SoftwareRecipe.Step.RunScript getScriptRun()

Runs commands in a shell.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.RunScript

The scriptRun.

getScriptRunOrBuilder()

public abstract GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder getScriptRunOrBuilder()

Runs commands in a shell.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder

getStepCase()

public abstract GuestPolicies.SoftwareRecipe.Step.StepCase getStepCase()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.StepCase

hasArchiveExtraction()

public abstract boolean hasArchiveExtraction()

Extracts an archive into the specified directory.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;

Returns
TypeDescription
boolean

Whether the archiveExtraction field is set.

hasDpkgInstallation()

public abstract boolean hasDpkgInstallation()

Installs a deb file via dpkg.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;

Returns
TypeDescription
boolean

Whether the dpkgInstallation field is set.

hasFileCopy()

public abstract boolean hasFileCopy()

Copies a file onto the instance.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;

Returns
TypeDescription
boolean

Whether the fileCopy field is set.

hasFileExec()

public abstract boolean hasFileExec()

Executes an artifact or local file.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;

Returns
TypeDescription
boolean

Whether the fileExec field is set.

hasMsiInstallation()

public abstract boolean hasMsiInstallation()

Installs an MSI file.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;

Returns
TypeDescription
boolean

Whether the msiInstallation field is set.

hasRpmInstallation()

public abstract boolean hasRpmInstallation()

Installs an rpm file via the rpm utility.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;

Returns
TypeDescription
boolean

Whether the rpmInstallation field is set.

hasScriptRun()

public abstract boolean hasScriptRun()

Runs commands in a shell.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;

Returns
TypeDescription
boolean

Whether the scriptRun field is set.