Class GuestPolicies.SoftwareRecipe.Step.ExtractArchive (2.49.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
Type Description
int

DESTINATION_FIELD_NUMBER

public static final int DESTINATION_FIELD_NUMBER
Field Value
Type Description
int

TYPE_FIELD_NUMBER

public static final int TYPE_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive getDefaultInstance()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder newBuilder()
Returns
Type Description
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
Name Description
prototype GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

parseDelimitedFrom(InputStream input)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static GuestPolicies.SoftwareRecipe.Step.ExtractArchive parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Exceptions
Type Description
InvalidProtocolBufferException

parser()

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

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
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
Type Description
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
Type Description
ByteString

The bytes for artifactId.

getDefaultInstanceForType()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive getDefaultInstanceForType()
Returns
Type Description
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
Type Description
String

The destination.

getDestinationBytes()

public ByteString getDestinationBytes()

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

string destination = 2;

Returns
Type Description
ByteString

The bytes for destination.

getParserForType()

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

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
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
Type Description
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
Type Description
int

The enum numeric value on the wire for type.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder newBuilderForType()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder toBuilder()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException