Class GuestPolicies.SoftwareRecipe.Step.Builder (2.44.0)

public static final class GuestPolicies.SoftwareRecipe.Step.Builder extends GeneratedMessageV3.Builder<GuestPolicies.SoftwareRecipe.Step.Builder> 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

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.SoftwareRecipe.Step.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides

build()

public GuestPolicies.SoftwareRecipe.Step build()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step

buildPartial()

public GuestPolicies.SoftwareRecipe.Step buildPartial()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step

clear()

public GuestPolicies.SoftwareRecipe.Step.Builder clear()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides

clearArchiveExtraction()

public GuestPolicies.SoftwareRecipe.Step.Builder clearArchiveExtraction()

Extracts an archive into the specified directory.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

clearDpkgInstallation()

public GuestPolicies.SoftwareRecipe.Step.Builder clearDpkgInstallation()

Installs a deb file via dpkg.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

clearField(Descriptors.FieldDescriptor field)

public GuestPolicies.SoftwareRecipe.Step.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides

clearFileCopy()

public GuestPolicies.SoftwareRecipe.Step.Builder clearFileCopy()

Copies a file onto the instance.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

clearFileExec()

public GuestPolicies.SoftwareRecipe.Step.Builder clearFileExec()

Executes an artifact or local file.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

clearMsiInstallation()

public GuestPolicies.SoftwareRecipe.Step.Builder clearMsiInstallation()

Installs an MSI file.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestPolicies.SoftwareRecipe.Step.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides

clearRpmInstallation()

public GuestPolicies.SoftwareRecipe.Step.Builder clearRpmInstallation()

Installs an rpm file via the rpm utility.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

clearScriptRun()

public GuestPolicies.SoftwareRecipe.Step.Builder clearScriptRun()

Runs commands in a shell.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

clearStep()

public GuestPolicies.SoftwareRecipe.Step.Builder clearStep()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

clone()

public GuestPolicies.SoftwareRecipe.Step.Builder clone()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides

getArchiveExtraction()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction()

Extracts an archive into the specified directory.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive

The archiveExtraction.

getArchiveExtractionBuilder()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder getArchiveExtractionBuilder()

Extracts an archive into the specified directory.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

getArchiveExtractionOrBuilder()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder getArchiveExtractionOrBuilder()

Extracts an archive into the specified directory.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder

getDefaultInstanceForType()

public GuestPolicies.SoftwareRecipe.Step getDefaultInstanceForType()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

getDpkgInstallation()

public GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation()

Installs a deb file via dpkg.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.InstallDpkg

The dpkgInstallation.

getDpkgInstallationBuilder()

public GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder getDpkgInstallationBuilder()

Installs a deb file via dpkg.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder

getDpkgInstallationOrBuilder()

public GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder getDpkgInstallationOrBuilder()

Installs a deb file via dpkg.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder

getFileCopy()

public GuestPolicies.SoftwareRecipe.Step.CopyFile getFileCopy()

Copies a file onto the instance.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.CopyFile

The fileCopy.

getFileCopyBuilder()

public GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder getFileCopyBuilder()

Copies a file onto the instance.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder

getFileCopyOrBuilder()

public GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder getFileCopyOrBuilder()

Copies a file onto the instance.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder

getFileExec()

public GuestPolicies.SoftwareRecipe.Step.ExecFile getFileExec()

Executes an artifact or local file.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExecFile

The fileExec.

getFileExecBuilder()

public GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder getFileExecBuilder()

Executes an artifact or local file.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder

getFileExecOrBuilder()

public GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder getFileExecOrBuilder()

Executes an artifact or local file.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder

getMsiInstallation()

public GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation()

Installs an MSI file.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.InstallMsi

The msiInstallation.

getMsiInstallationBuilder()

public GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder getMsiInstallationBuilder()

Installs an MSI file.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder

getMsiInstallationOrBuilder()

public GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder getMsiInstallationOrBuilder()

Installs an MSI file.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder

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;

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.InstallRpm

The rpmInstallation.

getRpmInstallationBuilder()

public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder getRpmInstallationBuilder()

Installs an rpm file via the rpm utility.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder

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;

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder

getScriptRun()

public GuestPolicies.SoftwareRecipe.Step.RunScript getScriptRun()

Runs commands in a shell.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.RunScript

The scriptRun.

getScriptRunBuilder()

public GuestPolicies.SoftwareRecipe.Step.RunScript.Builder getScriptRunBuilder()

Runs commands in a shell.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.RunScript.Builder

getScriptRunOrBuilder()

public GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder getScriptRunOrBuilder()

Runs commands in a shell.

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder

getStepCase()

public GuestPolicies.SoftwareRecipe.Step.StepCase getStepCase()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.StepCase

hasArchiveExtraction()

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeArchiveExtraction(GuestPolicies.SoftwareRecipe.Step.ExtractArchive value)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeArchiveExtraction(GuestPolicies.SoftwareRecipe.Step.ExtractArchive value)

Extracts an archive into the specified directory.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

mergeDpkgInstallation(GuestPolicies.SoftwareRecipe.Step.InstallDpkg value)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeDpkgInstallation(GuestPolicies.SoftwareRecipe.Step.InstallDpkg value)

Installs a deb file via dpkg.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.InstallDpkg
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

mergeFileCopy(GuestPolicies.SoftwareRecipe.Step.CopyFile value)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeFileCopy(GuestPolicies.SoftwareRecipe.Step.CopyFile value)

Copies a file onto the instance.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.CopyFile
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

mergeFileExec(GuestPolicies.SoftwareRecipe.Step.ExecFile value)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeFileExec(GuestPolicies.SoftwareRecipe.Step.ExecFile value)

Executes an artifact or local file.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.ExecFile
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

mergeFrom(GuestPolicies.SoftwareRecipe.Step other)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeFrom(GuestPolicies.SoftwareRecipe.Step other)
Parameter
Name Description
other GuestPolicies.SoftwareRecipe.Step
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides

mergeMsiInstallation(GuestPolicies.SoftwareRecipe.Step.InstallMsi value)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeMsiInstallation(GuestPolicies.SoftwareRecipe.Step.InstallMsi value)

Installs an MSI file.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.InstallMsi
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

mergeRpmInstallation(GuestPolicies.SoftwareRecipe.Step.InstallRpm value)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeRpmInstallation(GuestPolicies.SoftwareRecipe.Step.InstallRpm value)

Installs an rpm file via the rpm utility.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.InstallRpm
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

mergeScriptRun(GuestPolicies.SoftwareRecipe.Step.RunScript value)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeScriptRun(GuestPolicies.SoftwareRecipe.Step.RunScript value)

Runs commands in a shell.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.RunScript
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.SoftwareRecipe.Step.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides

setArchiveExtraction(GuestPolicies.SoftwareRecipe.Step.ExtractArchive value)

public GuestPolicies.SoftwareRecipe.Step.Builder setArchiveExtraction(GuestPolicies.SoftwareRecipe.Step.ExtractArchive value)

Extracts an archive into the specified directory.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setArchiveExtraction(GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder builderForValue)

public GuestPolicies.SoftwareRecipe.Step.Builder setArchiveExtraction(GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder builderForValue)

Extracts an archive into the specified directory.

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

Parameter
Name Description
builderForValue GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setDpkgInstallation(GuestPolicies.SoftwareRecipe.Step.InstallDpkg value)

public GuestPolicies.SoftwareRecipe.Step.Builder setDpkgInstallation(GuestPolicies.SoftwareRecipe.Step.InstallDpkg value)

Installs a deb file via dpkg.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.InstallDpkg
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setDpkgInstallation(GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder builderForValue)

public GuestPolicies.SoftwareRecipe.Step.Builder setDpkgInstallation(GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder builderForValue)

Installs a deb file via dpkg.

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

Parameter
Name Description
builderForValue GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.SoftwareRecipe.Step.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides

setFileCopy(GuestPolicies.SoftwareRecipe.Step.CopyFile value)

public GuestPolicies.SoftwareRecipe.Step.Builder setFileCopy(GuestPolicies.SoftwareRecipe.Step.CopyFile value)

Copies a file onto the instance.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.CopyFile
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setFileCopy(GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder builderForValue)

public GuestPolicies.SoftwareRecipe.Step.Builder setFileCopy(GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder builderForValue)

Copies a file onto the instance.

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

Parameter
Name Description
builderForValue GuestPolicies.SoftwareRecipe.Step.CopyFile.Builder
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setFileExec(GuestPolicies.SoftwareRecipe.Step.ExecFile value)

public GuestPolicies.SoftwareRecipe.Step.Builder setFileExec(GuestPolicies.SoftwareRecipe.Step.ExecFile value)

Executes an artifact or local file.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.ExecFile
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setFileExec(GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder builderForValue)

public GuestPolicies.SoftwareRecipe.Step.Builder setFileExec(GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder builderForValue)

Executes an artifact or local file.

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

Parameter
Name Description
builderForValue GuestPolicies.SoftwareRecipe.Step.ExecFile.Builder
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setMsiInstallation(GuestPolicies.SoftwareRecipe.Step.InstallMsi value)

public GuestPolicies.SoftwareRecipe.Step.Builder setMsiInstallation(GuestPolicies.SoftwareRecipe.Step.InstallMsi value)

Installs an MSI file.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.InstallMsi
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setMsiInstallation(GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder builderForValue)

public GuestPolicies.SoftwareRecipe.Step.Builder setMsiInstallation(GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder builderForValue)

Installs an MSI file.

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

Parameter
Name Description
builderForValue GuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GuestPolicies.SoftwareRecipe.Step.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides

setRpmInstallation(GuestPolicies.SoftwareRecipe.Step.InstallRpm value)

public GuestPolicies.SoftwareRecipe.Step.Builder setRpmInstallation(GuestPolicies.SoftwareRecipe.Step.InstallRpm value)

Installs an rpm file via the rpm utility.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.InstallRpm
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setRpmInstallation(GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder builderForValue)

public GuestPolicies.SoftwareRecipe.Step.Builder setRpmInstallation(GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder builderForValue)

Installs an rpm file via the rpm utility.

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

Parameter
Name Description
builderForValue GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setScriptRun(GuestPolicies.SoftwareRecipe.Step.RunScript value)

public GuestPolicies.SoftwareRecipe.Step.Builder setScriptRun(GuestPolicies.SoftwareRecipe.Step.RunScript value)

Runs commands in a shell.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.RunScript
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setScriptRun(GuestPolicies.SoftwareRecipe.Step.RunScript.Builder builderForValue)

public GuestPolicies.SoftwareRecipe.Step.Builder setScriptRun(GuestPolicies.SoftwareRecipe.Step.RunScript.Builder builderForValue)

Runs commands in a shell.

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

Parameter
Name Description
builderForValue GuestPolicies.SoftwareRecipe.Step.RunScript.Builder
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.SoftwareRecipe.Step.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides