Interface GuestPolicies.EffectiveGuestPolicy.SourcedPackageOrBuilder (2.51.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
Type Description
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
Type Description
GuestPolicies.PackageOrBuilder

getSource()

public abstract String getSource()

Name of the guest policy providing this config.

string source = 1;

Returns
Type Description
String

The source.

getSourceBytes()

public abstract ByteString getSourceBytes()

Name of the guest policy providing this config.

string source = 1;

Returns
Type Description
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
Type Description
boolean

Whether the package field is set.