Interface OSPolicy.Resource.PackageResourceOrBuilder (2.9.0)

public static interface OSPolicy.Resource.PackageResourceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getApt()

public abstract 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.

getAptOrBuilder()

public abstract 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 abstract 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.

getDebOrBuilder()

public abstract 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

getDesiredState()

public abstract 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 abstract 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 abstract 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.

getGoogetOrBuilder()

public abstract 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 abstract 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.

getMsiOrBuilder()

public abstract 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 abstract 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.

getRpmOrBuilder()

public abstract 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 abstract OSPolicy.Resource.PackageResource.SystemPackageCase getSystemPackageCase()
Returns
TypeDescription
OSPolicy.Resource.PackageResource.SystemPackageCase

getYum()

public abstract 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.

getYumOrBuilder()

public abstract 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 abstract 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.

getZypperOrBuilder()

public abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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 abstract 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.