Class GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder (2.16.0)

public static final class GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder extends GeneratedMessageV3.Builder<GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder> implements GuestPolicies.SoftwareRecipe.Step.InstallRpmOrBuilder

Installs an rpm file via the rpm utility.

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

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

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

buildPartial()

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

clear()

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

clearArtifactId()

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

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

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.InstallRpm other)

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

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite