Class OSPolicy.Resource.PackageResource.Builder (2.5.6)

public static final class OSPolicy.Resource.PackageResource.Builder extends GeneratedMessageV3.Builder<OSPolicy.Resource.PackageResource.Builder> implements OSPolicy.Resource.PackageResourceOrBuilder

A resource that manages a system package.

Protobuf type google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource

Static Methods

getDescriptor()

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

Methods

addRepeatedField(Descriptors.FieldDescriptor field, Object value)

public OSPolicy.Resource.PackageResource.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides

build()

public OSPolicy.Resource.PackageResource build()
Returns
TypeDescription
OSPolicy.Resource.PackageResource

buildPartial()

public OSPolicy.Resource.PackageResource buildPartial()
Returns
TypeDescription
OSPolicy.Resource.PackageResource

clear()

public OSPolicy.Resource.PackageResource.Builder clear()
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides

clearApt()

public OSPolicy.Resource.PackageResource.Builder clearApt()

A package managed by Apt.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

clearDeb()

public OSPolicy.Resource.PackageResource.Builder clearDeb()

A deb package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

clearDesiredState()

public OSPolicy.Resource.PackageResource.Builder clearDesiredState()

Required. The desired state the agent should maintain for this package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

This builder for chaining.

clearField(Descriptors.FieldDescriptor field)

public OSPolicy.Resource.PackageResource.Builder clearField(Descriptors.FieldDescriptor field)
Parameter
NameDescription
fieldFieldDescriptor
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides

clearGooget()

public OSPolicy.Resource.PackageResource.Builder clearGooget()

A package managed by GooGet.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

clearMsi()

public OSPolicy.Resource.PackageResource.Builder clearMsi()

An MSI package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

clearOneof(Descriptors.OneofDescriptor oneof)

public OSPolicy.Resource.PackageResource.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter
NameDescription
oneofOneofDescriptor
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides

clearRpm()

public OSPolicy.Resource.PackageResource.Builder clearRpm()

An rpm package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

clearSystemPackage()

public OSPolicy.Resource.PackageResource.Builder clearSystemPackage()
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

clearYum()

public OSPolicy.Resource.PackageResource.Builder clearYum()

A package managed by YUM.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

clearZypper()

public OSPolicy.Resource.PackageResource.Builder clearZypper()

A package managed by Zypper.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

clone()

public OSPolicy.Resource.PackageResource.Builder clone()
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides

getApt()

public OSPolicy.Resource.PackageResource.APT getApt()

A package managed by Apt.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.APT

The apt.

getAptBuilder()

public OSPolicy.Resource.PackageResource.APT.Builder getAptBuilder()

A package managed by Apt.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.APT.Builder

getAptOrBuilder()

public OSPolicy.Resource.PackageResource.APTOrBuilder getAptOrBuilder()

A package managed by Apt.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.APTOrBuilder

getDeb()

public OSPolicy.Resource.PackageResource.Deb getDeb()

A deb package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Deb

The deb.

getDebBuilder()

public OSPolicy.Resource.PackageResource.Deb.Builder getDebBuilder()

A deb package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Deb.Builder

getDebOrBuilder()

public OSPolicy.Resource.PackageResource.DebOrBuilder getDebOrBuilder()

A deb package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.DebOrBuilder

getDefaultInstanceForType()

public OSPolicy.Resource.PackageResource getDefaultInstanceForType()
Returns
TypeDescription
OSPolicy.Resource.PackageResource

getDescriptorForType()

public Descriptors.Descriptor getDescriptorForType()
Returns
TypeDescription
Descriptor
Overrides

getDesiredState()

public OSPolicy.Resource.PackageResource.DesiredState getDesiredState()

Required. The desired state the agent should maintain for this package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
OSPolicy.Resource.PackageResource.DesiredState

The desiredState.

getDesiredStateValue()

public int getDesiredStateValue()

Required. The desired state the agent should maintain for this package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
TypeDescription
int

The enum numeric value on the wire for desiredState.

getGooget()

public OSPolicy.Resource.PackageResource.GooGet getGooget()

A package managed by GooGet.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.GooGet

The googet.

getGoogetBuilder()

public OSPolicy.Resource.PackageResource.GooGet.Builder getGoogetBuilder()

A package managed by GooGet.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.GooGet.Builder

getGoogetOrBuilder()

public OSPolicy.Resource.PackageResource.GooGetOrBuilder getGoogetOrBuilder()

A package managed by GooGet.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.GooGetOrBuilder

getMsi()

public OSPolicy.Resource.PackageResource.MSI getMsi()

An MSI package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.MSI

The msi.

getMsiBuilder()

public OSPolicy.Resource.PackageResource.MSI.Builder getMsiBuilder()

An MSI package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.MSI.Builder

getMsiOrBuilder()

public OSPolicy.Resource.PackageResource.MSIOrBuilder getMsiOrBuilder()

An MSI package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.MSIOrBuilder

getRpm()

public OSPolicy.Resource.PackageResource.RPM getRpm()

An rpm package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.RPM

The rpm.

getRpmBuilder()

public OSPolicy.Resource.PackageResource.RPM.Builder getRpmBuilder()

An rpm package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.RPM.Builder

getRpmOrBuilder()

public OSPolicy.Resource.PackageResource.RPMOrBuilder getRpmOrBuilder()

An rpm package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.RPMOrBuilder

getSystemPackageCase()

public OSPolicy.Resource.PackageResource.SystemPackageCase getSystemPackageCase()
Returns
TypeDescription
OSPolicy.Resource.PackageResource.SystemPackageCase

getYum()

public OSPolicy.Resource.PackageResource.YUM getYum()

A package managed by YUM.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.YUM

The yum.

getYumBuilder()

public OSPolicy.Resource.PackageResource.YUM.Builder getYumBuilder()

A package managed by YUM.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.YUM.Builder

getYumOrBuilder()

public OSPolicy.Resource.PackageResource.YUMOrBuilder getYumOrBuilder()

A package managed by YUM.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.YUMOrBuilder

getZypper()

public OSPolicy.Resource.PackageResource.Zypper getZypper()

A package managed by Zypper.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Zypper

The zypper.

getZypperBuilder()

public OSPolicy.Resource.PackageResource.Zypper.Builder getZypperBuilder()

A package managed by Zypper.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Zypper.Builder

getZypperOrBuilder()

public OSPolicy.Resource.PackageResource.ZypperOrBuilder getZypperOrBuilder()

A package managed by Zypper.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5;

Returns
TypeDescription
OSPolicy.Resource.PackageResource.ZypperOrBuilder

hasApt()

public boolean hasApt()

A package managed by Apt.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2;

Returns
TypeDescription
boolean

Whether the apt field is set.

hasDeb()

public boolean hasDeb()

A deb package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3;

Returns
TypeDescription
boolean

Whether the deb field is set.

hasGooget()

public boolean hasGooget()

A package managed by GooGet.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7;

Returns
TypeDescription
boolean

Whether the googet field is set.

hasMsi()

public boolean hasMsi()

An MSI package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8;

Returns
TypeDescription
boolean

Whether the msi field is set.

hasRpm()

public boolean hasRpm()

An rpm package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6;

Returns
TypeDescription
boolean

Whether the rpm field is set.

hasYum()

public boolean hasYum()

A package managed by YUM.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4;

Returns
TypeDescription
boolean

Whether the yum field is set.

hasZypper()

public boolean hasZypper()

A package managed by Zypper.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5;

Returns
TypeDescription
boolean

Whether the zypper field is set.

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
TypeDescription
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
TypeDescription
boolean
Overrides

mergeApt(OSPolicy.Resource.PackageResource.APT value)

public OSPolicy.Resource.PackageResource.Builder mergeApt(OSPolicy.Resource.PackageResource.APT value)

A package managed by Apt.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.APT
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

mergeDeb(OSPolicy.Resource.PackageResource.Deb value)

public OSPolicy.Resource.PackageResource.Builder mergeDeb(OSPolicy.Resource.PackageResource.Deb value)

A deb package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.Deb
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

mergeFrom(OSPolicy.Resource.PackageResource other)

public OSPolicy.Resource.PackageResource.Builder mergeFrom(OSPolicy.Resource.PackageResource other)
Parameter
NameDescription
otherOSPolicy.Resource.PackageResource
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public OSPolicy.Resource.PackageResource.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputCodedInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides Exceptions
TypeDescription
IOException

mergeFrom(Message other)

public OSPolicy.Resource.PackageResource.Builder mergeFrom(Message other)
Parameter
NameDescription
otherMessage
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides

mergeGooget(OSPolicy.Resource.PackageResource.GooGet value)

public OSPolicy.Resource.PackageResource.Builder mergeGooget(OSPolicy.Resource.PackageResource.GooGet value)

A package managed by GooGet.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.GooGet
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

mergeMsi(OSPolicy.Resource.PackageResource.MSI value)

public OSPolicy.Resource.PackageResource.Builder mergeMsi(OSPolicy.Resource.PackageResource.MSI value)

An MSI package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.MSI
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

mergeRpm(OSPolicy.Resource.PackageResource.RPM value)

public OSPolicy.Resource.PackageResource.Builder mergeRpm(OSPolicy.Resource.PackageResource.RPM value)

An rpm package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.RPM
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

mergeUnknownFields(UnknownFieldSet unknownFields)

public final OSPolicy.Resource.PackageResource.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides

mergeYum(OSPolicy.Resource.PackageResource.YUM value)

public OSPolicy.Resource.PackageResource.Builder mergeYum(OSPolicy.Resource.PackageResource.YUM value)

A package managed by YUM.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.YUM
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

mergeZypper(OSPolicy.Resource.PackageResource.Zypper value)

public OSPolicy.Resource.PackageResource.Builder mergeZypper(OSPolicy.Resource.PackageResource.Zypper value)

A package managed by Zypper.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.Zypper
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setApt(OSPolicy.Resource.PackageResource.APT value)

public OSPolicy.Resource.PackageResource.Builder setApt(OSPolicy.Resource.PackageResource.APT value)

A package managed by Apt.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.APT
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setApt(OSPolicy.Resource.PackageResource.APT.Builder builderForValue)

public OSPolicy.Resource.PackageResource.Builder setApt(OSPolicy.Resource.PackageResource.APT.Builder builderForValue)

A package managed by Apt.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.APT apt = 2;

Parameter
NameDescription
builderForValueOSPolicy.Resource.PackageResource.APT.Builder
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setDeb(OSPolicy.Resource.PackageResource.Deb value)

public OSPolicy.Resource.PackageResource.Builder setDeb(OSPolicy.Resource.PackageResource.Deb value)

A deb package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.Deb
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setDeb(OSPolicy.Resource.PackageResource.Deb.Builder builderForValue)

public OSPolicy.Resource.PackageResource.Builder setDeb(OSPolicy.Resource.PackageResource.Deb.Builder builderForValue)

A deb package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Deb deb = 3;

Parameter
NameDescription
builderForValueOSPolicy.Resource.PackageResource.Deb.Builder
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setDesiredState(OSPolicy.Resource.PackageResource.DesiredState value)

public OSPolicy.Resource.PackageResource.Builder setDesiredState(OSPolicy.Resource.PackageResource.DesiredState value)

Required. The desired state the agent should maintain for this package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.DesiredState

The desiredState to set.

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

This builder for chaining.

setDesiredStateValue(int value)

public OSPolicy.Resource.PackageResource.Builder setDesiredStateValue(int value)

Required. The desired state the agent should maintain for this package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.DesiredState desired_state = 1 [(.google.api.field_behavior) = REQUIRED];

Parameter
NameDescription
valueint

The enum numeric value on the wire for desiredState to set.

Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

This builder for chaining.

setField(Descriptors.FieldDescriptor field, Object value)

public OSPolicy.Resource.PackageResource.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters
NameDescription
fieldFieldDescriptor
valueObject
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides

setGooget(OSPolicy.Resource.PackageResource.GooGet value)

public OSPolicy.Resource.PackageResource.Builder setGooget(OSPolicy.Resource.PackageResource.GooGet value)

A package managed by GooGet.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.GooGet
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setGooget(OSPolicy.Resource.PackageResource.GooGet.Builder builderForValue)

public OSPolicy.Resource.PackageResource.Builder setGooget(OSPolicy.Resource.PackageResource.GooGet.Builder builderForValue)

A package managed by GooGet.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.GooGet googet = 7;

Parameter
NameDescription
builderForValueOSPolicy.Resource.PackageResource.GooGet.Builder
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setMsi(OSPolicy.Resource.PackageResource.MSI value)

public OSPolicy.Resource.PackageResource.Builder setMsi(OSPolicy.Resource.PackageResource.MSI value)

An MSI package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.MSI
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setMsi(OSPolicy.Resource.PackageResource.MSI.Builder builderForValue)

public OSPolicy.Resource.PackageResource.Builder setMsi(OSPolicy.Resource.PackageResource.MSI.Builder builderForValue)

An MSI package.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.MSI msi = 8;

Parameter
NameDescription
builderForValueOSPolicy.Resource.PackageResource.MSI.Builder
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

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

public OSPolicy.Resource.PackageResource.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters
NameDescription
fieldFieldDescriptor
indexint
valueObject
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides

setRpm(OSPolicy.Resource.PackageResource.RPM value)

public OSPolicy.Resource.PackageResource.Builder setRpm(OSPolicy.Resource.PackageResource.RPM value)

An rpm package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.RPM
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setRpm(OSPolicy.Resource.PackageResource.RPM.Builder builderForValue)

public OSPolicy.Resource.PackageResource.Builder setRpm(OSPolicy.Resource.PackageResource.RPM.Builder builderForValue)

An rpm package file.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.RPM rpm = 6;

Parameter
NameDescription
builderForValueOSPolicy.Resource.PackageResource.RPM.Builder
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setUnknownFields(UnknownFieldSet unknownFields)

public final OSPolicy.Resource.PackageResource.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter
NameDescription
unknownFieldsUnknownFieldSet
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder
Overrides

setYum(OSPolicy.Resource.PackageResource.YUM value)

public OSPolicy.Resource.PackageResource.Builder setYum(OSPolicy.Resource.PackageResource.YUM value)

A package managed by YUM.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.YUM
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setYum(OSPolicy.Resource.PackageResource.YUM.Builder builderForValue)

public OSPolicy.Resource.PackageResource.Builder setYum(OSPolicy.Resource.PackageResource.YUM.Builder builderForValue)

A package managed by YUM.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.YUM yum = 4;

Parameter
NameDescription
builderForValueOSPolicy.Resource.PackageResource.YUM.Builder
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setZypper(OSPolicy.Resource.PackageResource.Zypper value)

public OSPolicy.Resource.PackageResource.Builder setZypper(OSPolicy.Resource.PackageResource.Zypper value)

A package managed by Zypper.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5;

Parameter
NameDescription
valueOSPolicy.Resource.PackageResource.Zypper
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder

setZypper(OSPolicy.Resource.PackageResource.Zypper.Builder builderForValue)

public OSPolicy.Resource.PackageResource.Builder setZypper(OSPolicy.Resource.PackageResource.Zypper.Builder builderForValue)

A package managed by Zypper.

.google.cloud.osconfig.v1alpha.OSPolicy.Resource.PackageResource.Zypper zypper = 5;

Parameter
NameDescription
builderForValueOSPolicy.Resource.PackageResource.Zypper.Builder
Returns
TypeDescription
OSPolicy.Resource.PackageResource.Builder