Interface GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder (2.54.0)

public static interface GuestPolicies.SoftwareRecipe.Artifact.RemoteOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getChecksum()

public abstract String getChecksum()

Must be provided if allow_insecure is false. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps.

string checksum = 2;

Returns
Type Description
String

The checksum.

getChecksumBytes()

public abstract ByteString getChecksumBytes()

Must be provided if allow_insecure is false. SHA256 checksum in hex format, to compare to the checksum of the artifact. If the checksum is not empty and it doesn't match the artifact then the recipe installation fails before running any of the steps.

string checksum = 2;

Returns
Type Description
ByteString

The bytes for checksum.

getUri()

public abstract String getUri()

URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.

string uri = 1;

Returns
Type Description
String

The uri.

getUriBytes()

public abstract ByteString getUriBytes()

URI from which to fetch the object. It should contain both the protocol and path following the format {protocol}://{location}.

string uri = 1;

Returns
Type Description
ByteString

The bytes for uri.