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
Methods
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
build()
public GuestPolicies.SoftwareRecipe.Step.InstallRpm build()
Returns
buildPartial()
public GuestPolicies.SoftwareRecipe.Step.InstallRpm buildPartial()
Returns
clear()
public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder clear()
Returns
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
clearField(Descriptors.FieldDescriptor field)
public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
Returns
Overrides
clearOneof(Descriptors.OneofDescriptor oneof)
public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
Returns
Overrides
clone()
public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder clone()
Returns
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()
Returns
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()
Returns
Overrides
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Overrides
isInitialized()
public final boolean isInitialized()
Returns
Overrides
mergeFrom(GuestPolicies.SoftwareRecipe.Step.InstallRpm other)
public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder mergeFrom(GuestPolicies.SoftwareRecipe.Step.InstallRpm other)
Parameter
Returns
public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Returns
Overrides
Exceptions
mergeFrom(Message other)
public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder mergeFrom(Message other)
Parameter
Returns
Overrides
mergeUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
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
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
setField(Descriptors.FieldDescriptor field, Object value)
public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
Returns
Overrides
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
Returns
Overrides
setUnknownFields(UnknownFieldSet unknownFields)
public final GuestPolicies.SoftwareRecipe.Step.InstallRpm.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
Returns
Overrides