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>)
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)
Overrides
toBuilder()
public GuestPolicies.SoftwareRecipe.Step.Builder toBuilder()
writeTo(CodedOutputStream output)
public void writeTo(CodedOutputStream output)
Overrides