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

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

Inheritance

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

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.

clearField(Descriptors.FieldDescriptor field)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Name Description
field FieldDescriptor
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Name Description
oneof OneofDescriptor
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

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.

clone()

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

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

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
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.

setField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Name Description
field FieldDescriptor
value Object
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Name Description
field FieldDescriptor
index int
value Object
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

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.

setUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Returns
Type Description
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides