Interface GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder (2.43.0)

public static interface GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getPackage()

public abstract GuestPolicies.Package getPackage()

A software package to configure on the VM instance.

.google.cloud.osconfig.v1beta.Package package = 2;

Returns
TypeDescription
GuestPolicies.Package

The package.

getPackageOrBuilder()

public abstract GuestPolicies.PackageOrBuilder getPackageOrBuilder()

A software package to configure on the VM instance.

.google.cloud.osconfig.v1beta.Package package = 2;

Returns
TypeDescription
GuestPolicies.PackageOrBuilder

getSource()

public abstract String getSource()

Name of the guest policy providing this config.

string source = 1;

Returns
TypeDescription
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

Name of the guest policy providing this config.

string source = 1;

Returns
TypeDescription
ByteString

The bytes for source.

hasPackage()

public abstract boolean hasPackage()

A software package to configure on the VM instance.

.google.cloud.osconfig.v1beta.Package package = 2;

Returns
TypeDescription
boolean

Whether the package field is set.