Interface GuestPolicies.SoftwareRecipe.ArtifactOrBuilder (2.49.0)

public static interface GuestPolicies.SoftwareRecipe.ArtifactOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getAllowInsecure()

public abstract boolean getAllowInsecure()

Defaults to false. When false, recipes are subject to validations based on the artifact type:

Remote: A checksum must be specified, and only protocols with transport-layer security are permitted. GCS: An object generation number must be specified.

bool allow_insecure = 4;

Returns
Type Description
boolean

The allowInsecure.

getArtifactCase()

public abstract GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase getArtifactCase()
Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase

getGcs()

public abstract GuestPolicies.SoftwareRecipe.Artifact.Gcs getGcs()

A Google Cloud Storage artifact.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;

Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Gcs

The gcs.

getGcsOrBuilder()

public abstract GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder getGcsOrBuilder()

A Google Cloud Storage artifact.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;

Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.GcsOrBuilder

getId()

public abstract String getId()

Required. Id of the artifact, which the installation and update steps of this recipe can reference. Artifacts in a recipe cannot have the same id.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
String

The id.

getIdBytes()

public abstract ByteString getIdBytes()

Required. Id of the artifact, which the installation and update steps of this recipe can reference. Artifacts in a recipe cannot have the same id.

string id = 1 [(.google.api.field_behavior) = REQUIRED];

Returns
Type Description
ByteString

The bytes for id.

getRemote()

public abstract GuestPolicies.SoftwareRecipe.Artifact.Remote getRemote()

A generic remote artifact.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;

Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.Remote

The remote.

getRemoteOrBuilder()

public abstract GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder getRemoteOrBuilder()

A generic remote artifact.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;

Returns
Type Description
GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder

hasGcs()

public abstract boolean hasGcs()

A Google Cloud Storage artifact.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Gcs gcs = 3;

Returns
Type Description
boolean

Whether the gcs field is set.

hasRemote()

public abstract boolean hasRemote()

A generic remote artifact.

.google.cloud.osconfig.v1beta.SoftwareRecipe.Artifact.Remote remote = 2;

Returns
Type Description
boolean

Whether the remote field is set.