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
Static Fields
public static final int ARCHIVE_EXTRACTION_FIELD_NUMBER
Field Value
DPKG_INSTALLATION_FIELD_NUMBER
public static final int DPKG_INSTALLATION_FIELD_NUMBER
Field Value
FILE_COPY_FIELD_NUMBER
public static final int FILE_COPY_FIELD_NUMBER
Field Value
FILE_EXEC_FIELD_NUMBER
public static final int FILE_EXEC_FIELD_NUMBER
Field Value
MSI_INSTALLATION_FIELD_NUMBER
public static final int MSI_INSTALLATION_FIELD_NUMBER
Field Value
RPM_INSTALLATION_FIELD_NUMBER
public static final int RPM_INSTALLATION_FIELD_NUMBER
Field Value
SCRIPT_RUN_FIELD_NUMBER
public static final int SCRIPT_RUN_FIELD_NUMBER
Field Value
Static Methods
getDefaultInstance()
public static GuestPolicies.SoftwareRecipe.Step getDefaultInstance()
Returns
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()
Returns
newBuilder()
public static GuestPolicies.SoftwareRecipe.Step.Builder newBuilder()
Returns
newBuilder(GuestPolicies.SoftwareRecipe.Step prototype)
public static GuestPolicies.SoftwareRecipe.Step.Builder newBuilder(GuestPolicies.SoftwareRecipe.Step prototype)
Parameter
Returns
public static GuestPolicies.SoftwareRecipe.Step parseDelimitedFrom(InputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.SoftwareRecipe.Step parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(byte[] data)
public static GuestPolicies.SoftwareRecipe.Step parseFrom(byte[] data)
Parameter
Name | Description |
data | byte[]
|
Returns
Exceptions
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Step parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteString data)
public static GuestPolicies.SoftwareRecipe.Step parseFrom(ByteString data)
Parameter
Returns
Exceptions
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Step parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GuestPolicies.SoftwareRecipe.Step parseFrom(CodedInputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.SoftwareRecipe.Step parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
public static GuestPolicies.SoftwareRecipe.Step parseFrom(InputStream input)
Parameter
Returns
Exceptions
public static GuestPolicies.SoftwareRecipe.Step parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parseFrom(ByteBuffer data)
public static GuestPolicies.SoftwareRecipe.Step parseFrom(ByteBuffer data)
Parameter
Returns
Exceptions
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static GuestPolicies.SoftwareRecipe.Step parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Exceptions
parser()
public static Parser<GuestPolicies.SoftwareRecipe.Step> parser()
Returns
Methods
equals(Object obj)
public boolean equals(Object obj)
Parameter
Returns
Overrides
public GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction()
Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;
Returns
public GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder getArchiveExtractionOrBuilder()
Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;
Returns
getDefaultInstanceForType()
public GuestPolicies.SoftwareRecipe.Step getDefaultInstanceForType()
Returns
getDpkgInstallation()
public GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation()
Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;
Returns
getDpkgInstallationOrBuilder()
public GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder getDpkgInstallationOrBuilder()
Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;
Returns
getFileCopy()
public GuestPolicies.SoftwareRecipe.Step.CopyFile getFileCopy()
Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;
Returns
getFileCopyOrBuilder()
public GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder getFileCopyOrBuilder()
Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;
Returns
getFileExec()
public GuestPolicies.SoftwareRecipe.Step.ExecFile getFileExec()
Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;
Returns
getFileExecOrBuilder()
public GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder getFileExecOrBuilder()
Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;
Returns
getMsiInstallation()
public GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation()
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;
Returns
getMsiInstallationOrBuilder()
public GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder getMsiInstallationOrBuilder()
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;
Returns
getParserForType()
public Parser<GuestPolicies.SoftwareRecipe.Step> getParserForType()
Returns
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;
Returns
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
getScriptRun()
public GuestPolicies.SoftwareRecipe.Step.RunScript getScriptRun()
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;
Returns
getScriptRunOrBuilder()
public GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder getScriptRunOrBuilder()
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;
Returns
getSerializedSize()
public int getSerializedSize()
Returns
Overrides
getStepCase()
public GuestPolicies.SoftwareRecipe.Step.StepCase getStepCase()
Returns
getUnknownFields()
public final UnknownFieldSet getUnknownFields()
Returns
Overrides
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
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
newBuilderForType()
public GuestPolicies.SoftwareRecipe.Step.Builder newBuilderForType()
Returns
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protected GuestPolicies.SoftwareRecipe.Step.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Returns
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Returns
Overrides
toBuilder()
public GuestPolicies.SoftwareRecipe.Step.Builder toBuilder()
Returns
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Parameter
Overrides
Exceptions