Package com.google.cloud.osconfig.v1beta
Class GuestPolicies.SoftwareRecipe.Step
- java.lang.Object
-
- com.google.protobuf.AbstractMessageLite
-
- com.google.protobuf.AbstractMessage
-
- com.google.protobuf.GeneratedMessageV3
-
- com.google.cloud.osconfig.v1beta.GuestPolicies.SoftwareRecipe.Step
-
- All Implemented Interfaces:
GuestPolicies.SoftwareRecipe.StepOrBuilder,com.google.protobuf.Message,com.google.protobuf.MessageLite,com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder,Serializable
- Enclosing class:
- GuestPolicies.SoftwareRecipe
public static final class GuestPolicies.SoftwareRecipe.Step extends com.google.protobuf.GeneratedMessageV3 implements GuestPolicies.SoftwareRecipe.StepOrBuilder
An action that can be taken as part of installing or updating a recipe.
Protobuf typegoogle.cloud.osconfig.v1beta.SoftwareRecipe.Step- See Also:
- Serialized Form
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessageV3
com.google.protobuf.GeneratedMessageV3.BuilderParent, com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessageV3.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessageV3.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessageV3.FieldAccessorTable, com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter
-
-
Field Summary
Fields Modifier and Type Field Description static intARCHIVE_EXTRACTION_FIELD_NUMBERstatic intDPKG_INSTALLATION_FIELD_NUMBERstatic intFILE_COPY_FIELD_NUMBERstatic intFILE_EXEC_FIELD_NUMBERstatic intMSI_INSTALLATION_FIELD_NUMBERstatic intRPM_INSTALLATION_FIELD_NUMBERstatic intSCRIPT_RUN_FIELD_NUMBER
-
Method Summary
-
Methods inherited from class com.google.protobuf.GeneratedMessageV3
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag
-
Methods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
-
Methods inherited from class com.google.protobuf.AbstractMessageLite
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
-
Methods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
-
-
-
-
Field Detail
-
FILE_COPY_FIELD_NUMBER
public static final int FILE_COPY_FIELD_NUMBER
- See Also:
- Constant Field Values
-
ARCHIVE_EXTRACTION_FIELD_NUMBER
public static final int ARCHIVE_EXTRACTION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
MSI_INSTALLATION_FIELD_NUMBER
public static final int MSI_INSTALLATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
DPKG_INSTALLATION_FIELD_NUMBER
public static final int DPKG_INSTALLATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
RPM_INSTALLATION_FIELD_NUMBER
public static final int RPM_INSTALLATION_FIELD_NUMBER
- See Also:
- Constant Field Values
-
FILE_EXEC_FIELD_NUMBER
public static final int FILE_EXEC_FIELD_NUMBER
- See Also:
- Constant Field Values
-
SCRIPT_RUN_FIELD_NUMBER
public static final int SCRIPT_RUN_FIELD_NUMBER
- See Also:
- Constant Field Values
-
-
Method Detail
-
newInstance
protected Object newInstance(com.google.protobuf.GeneratedMessageV3.UnusedPrivateParameter unused)
- Overrides:
newInstancein classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessageV3
-
getStepCase
public GuestPolicies.SoftwareRecipe.Step.StepCase getStepCase()
- Specified by:
getStepCasein interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasFileCopy
public boolean hasFileCopy()
Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;- Specified by:
hasFileCopyin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the fileCopy field is set.
-
getFileCopy
public GuestPolicies.SoftwareRecipe.Step.CopyFile getFileCopy()
Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;- Specified by:
getFileCopyin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The fileCopy.
-
getFileCopyOrBuilder
public GuestPolicies.SoftwareRecipe.Step.CopyFileOrBuilder getFileCopyOrBuilder()
Copies a file onto the instance.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.CopyFile file_copy = 1;- Specified by:
getFileCopyOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasArchiveExtraction
public boolean hasArchiveExtraction()
Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;- Specified by:
hasArchiveExtractionin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the archiveExtraction field is set.
-
getArchiveExtraction
public GuestPolicies.SoftwareRecipe.Step.ExtractArchive getArchiveExtraction()
Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;- Specified by:
getArchiveExtractionin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The archiveExtraction.
-
getArchiveExtractionOrBuilder
public GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder getArchiveExtractionOrBuilder()
Extracts an archive into the specified directory.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive archive_extraction = 2;- Specified by:
getArchiveExtractionOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasMsiInstallation
public boolean hasMsiInstallation()
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;- Specified by:
hasMsiInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the msiInstallation field is set.
-
getMsiInstallation
public GuestPolicies.SoftwareRecipe.Step.InstallMsi getMsiInstallation()
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;- Specified by:
getMsiInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The msiInstallation.
-
getMsiInstallationOrBuilder
public GuestPolicies.SoftwareRecipe.Step.InstallMsiOrBuilder getMsiInstallationOrBuilder()
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;- Specified by:
getMsiInstallationOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasDpkgInstallation
public boolean hasDpkgInstallation()
Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;- Specified by:
hasDpkgInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the dpkgInstallation field is set.
-
getDpkgInstallation
public GuestPolicies.SoftwareRecipe.Step.InstallDpkg getDpkgInstallation()
Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;- Specified by:
getDpkgInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The dpkgInstallation.
-
getDpkgInstallationOrBuilder
public GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder getDpkgInstallationOrBuilder()
Installs a deb file via dpkg.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg dpkg_installation = 4;- Specified by:
getDpkgInstallationOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasRpmInstallation
public boolean hasRpmInstallation()
Installs an rpm file via the rpm utility.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallRpm rpm_installation = 5;- Specified by:
hasRpmInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the rpmInstallation field is set.
-
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;- Specified by:
getRpmInstallationin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The rpmInstallation.
-
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;- Specified by:
getRpmInstallationOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasFileExec
public boolean hasFileExec()
Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;- Specified by:
hasFileExecin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the fileExec field is set.
-
getFileExec
public GuestPolicies.SoftwareRecipe.Step.ExecFile getFileExec()
Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;- Specified by:
getFileExecin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The fileExec.
-
getFileExecOrBuilder
public GuestPolicies.SoftwareRecipe.Step.ExecFileOrBuilder getFileExecOrBuilder()
Executes an artifact or local file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExecFile file_exec = 6;- Specified by:
getFileExecOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasScriptRun
public boolean hasScriptRun()
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;- Specified by:
hasScriptRunin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- Whether the scriptRun field is set.
-
getScriptRun
public GuestPolicies.SoftwareRecipe.Step.RunScript getScriptRun()
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;- Specified by:
getScriptRunin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder- Returns:
- The scriptRun.
-
getScriptRunOrBuilder
public GuestPolicies.SoftwareRecipe.Step.RunScriptOrBuilder getScriptRunOrBuilder()
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;- Specified by:
getScriptRunOrBuilderin interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessageV3- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.google.protobuf.AbstractMessage
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
- Throws:
com.google.protobuf.InvalidProtocolBufferException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GuestPolicies.SoftwareRecipe.Step parseDelimitedFrom(InputStream input) throws IOException
- Throws:
IOException
-
parseDelimitedFrom
public static GuestPolicies.SoftwareRecipe.Step parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
- Throws:
IOException
-
parseFrom
public static GuestPolicies.SoftwareRecipe.Step parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
- Throws:
IOException
-
newBuilderForType
public GuestPolicies.SoftwareRecipe.Step.Builder newBuilderForType()
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
public static GuestPolicies.SoftwareRecipe.Step.Builder newBuilder()
-
newBuilder
public static GuestPolicies.SoftwareRecipe.Step.Builder newBuilder(GuestPolicies.SoftwareRecipe.Step prototype)
-
toBuilder
public GuestPolicies.SoftwareRecipe.Step.Builder toBuilder()
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GuestPolicies.SoftwareRecipe.Step.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstance
public static GuestPolicies.SoftwareRecipe.Step getDefaultInstance()
-
parser
public static com.google.protobuf.Parser<GuestPolicies.SoftwareRecipe.Step> parser()
-
getParserForType
public com.google.protobuf.Parser<GuestPolicies.SoftwareRecipe.Step> getParserForType()
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GuestPolicies.SoftwareRecipe.Step getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-
-