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 int
ARCHIVE_EXTRACTION_FIELD_NUMBER
static int
DPKG_INSTALLATION_FIELD_NUMBER
static int
FILE_COPY_FIELD_NUMBER
static int
FILE_EXEC_FIELD_NUMBER
static int
MSI_INSTALLATION_FIELD_NUMBER
static int
RPM_INSTALLATION_FIELD_NUMBER
static int
SCRIPT_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:
newInstance
in classcom.google.protobuf.GeneratedMessageV3
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
-
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
- Specified by:
internalGetFieldAccessorTable
in classcom.google.protobuf.GeneratedMessageV3
-
getStepCase
public GuestPolicies.SoftwareRecipe.Step.StepCase getStepCase()
- Specified by:
getStepCase
in 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:
hasFileCopy
in 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:
getFileCopy
in 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:
getFileCopyOrBuilder
in 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:
hasArchiveExtraction
in 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:
getArchiveExtraction
in 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:
getArchiveExtractionOrBuilder
in interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasMsiInstallation
public boolean hasMsiInstallation()
Installs an MSI file.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallMsi msi_installation = 3;
- Specified by:
hasMsiInstallation
in 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:
getMsiInstallation
in 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:
getMsiInstallationOrBuilder
in 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:
hasDpkgInstallation
in 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:
getDpkgInstallation
in 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:
getDpkgInstallationOrBuilder
in 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:
hasRpmInstallation
in 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:
getRpmInstallation
in 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:
getRpmInstallationOrBuilder
in 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:
hasFileExec
in 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:
getFileExec
in 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:
getFileExecOrBuilder
in interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
hasScriptRun
public boolean hasScriptRun()
Runs commands in a shell.
.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.RunScript script_run = 7;
- Specified by:
hasScriptRun
in 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:
getScriptRun
in 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:
getScriptRunOrBuilder
in interfaceGuestPolicies.SoftwareRecipe.StepOrBuilder
-
isInitialized
public final boolean isInitialized()
- Specified by:
isInitialized
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Overrides:
isInitialized
in classcom.google.protobuf.GeneratedMessageV3
-
writeTo
public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
- Specified by:
writeTo
in interfacecom.google.protobuf.MessageLite
- Overrides:
writeTo
in classcom.google.protobuf.GeneratedMessageV3
- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()
- Specified by:
getSerializedSize
in interfacecom.google.protobuf.MessageLite
- Overrides:
getSerializedSize
in classcom.google.protobuf.GeneratedMessageV3
-
equals
public boolean equals(Object obj)
- Specified by:
equals
in interfacecom.google.protobuf.Message
- Overrides:
equals
in classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()
- Specified by:
hashCode
in interfacecom.google.protobuf.Message
- Overrides:
hashCode
in 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:
newBuilderForType
in interfacecom.google.protobuf.Message
- Specified by:
newBuilderForType
in 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:
toBuilder
in interfacecom.google.protobuf.Message
- Specified by:
toBuilder
in interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected GuestPolicies.SoftwareRecipe.Step.Builder newBuilderForType(com.google.protobuf.GeneratedMessageV3.BuilderParent parent)
- Specified by:
newBuilderForType
in 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:
getParserForType
in interfacecom.google.protobuf.Message
- Specified by:
getParserForType
in interfacecom.google.protobuf.MessageLite
- Overrides:
getParserForType
in classcom.google.protobuf.GeneratedMessageV3
-
getDefaultInstanceForType
public GuestPolicies.SoftwareRecipe.Step getDefaultInstanceForType()
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageLiteOrBuilder
- Specified by:
getDefaultInstanceForType
in interfacecom.google.protobuf.MessageOrBuilder
-
-