Class GuestPolicies.SoftwareRecipe.Step.ExtractArchive (2.18.0)

public static final class GuestPolicies.SoftwareRecipe.Step.ExtractArchive extends GeneratedMessageV3 implements GuestPolicies.SoftwareRecipe.Step.ExtractArchiveOrBuilder

Extracts an archive of the type specified in the specified directory.

Protobuf type google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive

Inheritance

Object > AbstractMessageLite<MessageType,BuilderType> > AbstractMessage > GeneratedMessageV3 > GuestPolicies.SoftwareRecipe.Step.ExtractArchive

Static Fields

ARTIFACT_ID_FIELD_NUMBER

public static final int ARTIFACT_ID_FIELD_NUMBER
Field Value
TypeDescription
int

DESTINATION_FIELD_NUMBER

public static final int DESTINATION_FIELD_NUMBER
Field Value
TypeDescription
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive getDefaultInstance()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder newBuilder()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

newBuilder(GuestPolicies.SoftwareRecipe.Step.ExtractArchive prototype)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder newBuilder(GuestPolicies.SoftwareRecipe.Step.ExtractArchive prototype)
Parameter
NameDescription
prototypeGuestPolicies.SoftwareRecipe.Step.ExtractArchive
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

parseDelimitedFrom(InputStream input)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(ByteString data)
Parameter
NameDescription
dataByteString
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteString
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(CodedInputStream input)
Parameter
NameDescription
inputCodedInputStream
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
IOException

parseFrom(InputStream input)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
IOException

parseFrom(ByteBuffer data)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(ByteBuffer data)
Parameter
NameDescription
dataByteBuffer
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
dataByteBuffer
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
TypeDescription
InvalidProtocolBufferException

parser()

public static Parser<GuestPolicies.SoftwareRecipe.Step.ExtractArchive> parser()
Returns
TypeDescription
Parser<ExtractArchive>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
NameDescription
objObject
Returns
TypeDescription
boolean
Overrides

getArtifactId()

public String getArtifactId()

Required. The id of the relevant artifact in the recipe.

string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
String

The artifactId.

getArtifactIdBytes()

public ByteString getArtifactIdBytes()

Required. The id of the relevant artifact in the recipe.

string artifact_id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
ByteString

The bytes for artifactId.

getDefaultInstanceForType()

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

getDestination()

public String getDestination()

Directory to extract archive to. Defaults to / on Linux or C:\ on Windows.

string destination = 2;

Returns
TypeDescription
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

Directory to extract archive to. Defaults to / on Linux or C:\ on Windows.

string destination = 2;

Returns
TypeDescription
ByteString

The bytes for destination.

getParserForType()

public Parser<GuestPolicies.SoftwareRecipe.Step.ExtractArchive> getParserForType()
Returns
TypeDescription
Parser<ExtractArchive>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
TypeDescription
int
Overrides

getType()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType getType()

Required. The type of the archive to extract.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType

The type.

getTypeValue()

public int getTypeValue()

Required. The type of the archive to extract.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Step.ExtractArchive.ArchiveType type = 3 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for type.

getUnknownFields()

public final UnknownFieldSet getUnknownFields()
Returns
TypeDescription
UnknownFieldSet
Overrides

hashCode()

public int hashCode()
Returns
TypeDescription
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

newBuilderForType()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder newBuilderForType()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
NameDescription
parentBuilderParent
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
NameDescription
unusedUnusedPrivateParameter
Returns
TypeDescription
Object
Overrides

toBuilder()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder toBuilder()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
NameDescription
outputCodedOutputStream
Overrides
Exceptions
TypeDescription
IOException