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

Stay organized with collections Save and categorize content based on your preferences.
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
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

build()

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

buildPartial()

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

clear()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder clear()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
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
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

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.

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.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GuestPolicies.SoftwareRecipe.Step.ExtractArchive other)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder mergeFrom(GuestPolicies.SoftwareRecipe.Step.ExtractArchive other)
Parameter
NameDescription
otherGuestPolicies.SoftwareRecipe.Step.ExtractArchive
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
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
NameDescription
valueString

The artifactId to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for artifactId to set.

Returns
TypeDescription
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
NameDescription
valueString

The destination to set.

Returns
TypeDescription
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
NameDescription
valueByteString

The bytes for destination to set.

Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
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
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
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
NameDescription
valueGuestPolicies.SoftwareRecipe.Step.ExtractArchive.ArchiveType

The type to set.

Returns
TypeDescription
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
NameDescription
valueint

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

Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder

This builder for chaining.

setUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder
Overrides