Class GuestPolicies.SoftwareRecipe.Step.Builder (2.11.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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.SoftwareRecipe.Step.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides

build()

public GuestPolicies.SoftwareRecipe.Step build()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step

buildPartial()

public GuestPolicies.SoftwareRecipe.Step buildPartial()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step

clear()

public GuestPolicies.SoftwareRecipe.Step.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder

clearField(Descriptors.FieldDescriptor field)

public GuestPolicies.SoftwareRecipe.Step.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestPolicies.SoftwareRecipe.Step.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder

clearStep()

public GuestPolicies.SoftwareRecipe.Step.Builder clearStep()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder

clone()

public GuestPolicies.SoftwareRecipe.Step.Builder clone()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder

getDefaultInstanceForType()

public GuestPolicies.SoftwareRecipe.Step getDefaultInstanceForType()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder

getStepCase()

public GuestPolicies.SoftwareRecipe.Step.StepCase getStepCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
boolean

Whether the scriptRun field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.ExtractArchive
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.InstallDpkg
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.CopyFile
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.ExecFile
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder

mergeFrom(GuestPolicies.SoftwareRecipe.Step other)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeFrom(GuestPolicies.SoftwareRecipe.Step other)
Parameter
NameDescription
otherGuestPolicies.SoftwareRecipe.Step
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public GuestPolicies.SoftwareRecipe.Step.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.InstallMsi
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.InstallRpm
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.RunScript
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.SoftwareRecipe.Step.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.ExtractArchive
Returns
TypeDescription
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
NameDescription
builderForValueGuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.InstallDpkg
Returns
TypeDescription
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
NameDescription
builderForValueGuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder

setField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.SoftwareRecipe.Step.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.CopyFile
Returns
TypeDescription
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
NameDescription
builderForValueGuestPolicies.SoftwareRecipe.Step.CopyFile.Builder
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.ExecFile
Returns
TypeDescription
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
NameDescription
builderForValueGuestPolicies.SoftwareRecipe.Step.ExecFile.Builder
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.InstallMsi
Returns
TypeDescription
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
NameDescription
builderForValueGuestPolicies.SoftwareRecipe.Step.InstallMsi.Builder
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.InstallRpm
Returns
TypeDescription
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
NameDescription
builderForValueGuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.RunScript
Returns
TypeDescription
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
NameDescription
builderForValueGuestPolicies.SoftwareRecipe.Step.RunScript.Builder
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.SoftwareRecipe.Step.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.Builder
Overrides