Class GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder (2.85.0)

public static final class GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder extends GeneratedMessage.Builder<GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder> 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

Static Methods

getDescriptor()

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

Methods

build()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive build()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive

buildPartial()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive buildPartial()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive

clear()

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

clearArtifactId()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder clearArtifactId()

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

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

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.

clearDestination()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder clearDestination()

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

string destination = 2;

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.

clearType()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder clearType()

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.Builder

This builder for chaining.

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

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

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GuestPolicies.SoftwareRecipe.Step.ExtractArchive other)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder mergeFrom(GuestPolicies.SoftwareRecipe.Step.ExtractArchive other)
Parameter
Name Description
other GuestPolicies.SoftwareRecipe.Step.ExtractArchive
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

setArtifactId(String value)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setArtifactId(String value)

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

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

Parameter
Name Description
value String

The artifactId to set.

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.

setArtifactIdBytes(ByteString value)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setArtifactIdBytes(ByteString value)

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

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

Parameter
Name Description
value ByteString

The bytes for artifactId to set.

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.

setDestination(String value)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setDestination(String value)

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

string destination = 2;

Parameter
Name Description
value String

The destination to set.

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.

setDestinationBytes(ByteString value)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setDestinationBytes(ByteString value)

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

string destination = 2;

Parameter
Name Description
value ByteString

The bytes for destination to set.

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.

setType(GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType value)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setType(GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType value)

Required. The type of the archive to extract.

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

Parameter
Name Description
value GuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType

The type to set.

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.

setTypeValue(int value)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setTypeValue(int value)

Required. The type of the archive to extract.

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

Parameter
Name Description
value int

The enum numeric value on the wire for type to set.

Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.