Interface GuestPolicies.SoftwareRecipe.ArtifactOrBuilder (2.20.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
TypeDescription
boolean

The allowInsecure.

getArtifactCase()

public abstract GuestPolicies.SoftwareRecipe.Artifact.ArtifactCase getArtifactCase()
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
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
TypeDescription
GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder

hasGcs()

public abstract boolean hasGcs()

A Google Cloud Storage artifact.

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

Returns
TypeDescription
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
TypeDescription
boolean

Whether the remote field is set.