Class GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder (2.29.0)

public static final class GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder extends GeneratedMessageV3.Builder<GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder> implements GuestPolicies.SoftwareRecipe.Step.InstallDpkgOrBuilder

Installs a deb via dpkg.

Protobuf type google.cloud.osconfig.v1beta.SoftwareRecipe.Step.InstallDpkg

Static Methods

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

public GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder clear()
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder
Overrides

clearArtifactId()

public GuestPolicies.SoftwareRecipe.Step.InstallDpkg.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.InstallDpkg.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

public GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder
Overrides

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeFrom(GuestPolicies.SoftwareRecipe.Step.InstallDpkg other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

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

mergeFrom(Message other)

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

mergeUnknownFields(UnknownFieldSet unknownFields)

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

setArtifactId(String value)

public GuestPolicies.SoftwareRecipe.Step.InstallDpkg.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.InstallDpkg.Builder

This builder for chaining.

setArtifactIdBytes(ByteString value)

public GuestPolicies.SoftwareRecipe.Step.InstallDpkg.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.InstallDpkg.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

public GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
GuestPolicies.SoftwareRecipe.Step.InstallDpkg.Builder
Overrides

setUnknownFields(UnknownFieldSet unknownFields)

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