Class GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder (2.60.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

com.google.protobuf.GeneratedMessageV3.Builder.getUnknownFieldSetBuilder()
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMapFieldReflection(int)
com.google.protobuf.GeneratedMessageV3.Builder.internalGetMutableMapFieldReflection(int)
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
Type Description
Descriptor

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

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

build()

public GuestPolicies.SoftwareRecipe.Step.InstallRpm build()

buildPartial()

public GuestPolicies.SoftwareRecipe.Step.InstallRpm buildPartial()

clear()

public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder clear()
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
Type Description
GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

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

clearOneof(Descriptors.OneofDescriptor oneof)

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

clone()

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

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
Type Description
Descriptor
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

mergeFrom(GuestPolicies.SoftwareRecipe.Step.InstallRpm other)

public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder mergeFrom(GuestPolicies.SoftwareRecipe.Step.InstallRpm other)
Parameter
Name Description
other GuestPolicies.SoftwareRecipe.Step.InstallRpm

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Overrides
Exceptions
Type Description
IOException

mergeFrom(Message other)

public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder mergeFrom(Message other)
Parameter
Name Description
other Message
Overrides

mergeUnknownFields(UnknownFieldSet unknownFields)

public final GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Name Description
unknownFields UnknownFieldSet
Overrides

setArtifactId(String value)

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

This builder for chaining.

setArtifactIdBytes(ByteString value)

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

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

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

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

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

setUnknownFields(UnknownFieldSet unknownFields)

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