Class GuestPolicies.SoftwareRecipe.Step.ExtractArchive.Builder (2.25.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
com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownLengthDelimitedField(int,com.google.protobuf.ByteString)
com.google.protobuf.GeneratedMessageV3.Builder.mergeUnknownVarintField(int,int)
com.google.protobuf.GeneratedMessageV3.Builder.parseUnknownField(com.google.protobuf.CodedInputStream,com.google.protobuf.ExtensionRegistryLite,int)
com.google.protobuf.GeneratedMessageV3.Builder.setUnknownFieldSetBuilder(com.google.protobuf.UnknownFieldSet.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
Overrides

build()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive build()

buildPartial()

public GuestPolicies.SoftwareRecipe.Step.ExtractArchive buildPartial()

clear()

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

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];

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)

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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