Interface ArtifactResultOrBuilder (3.22.0)

public interface ArtifactResultOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getFileHash(int index)

public abstract FileHashes getFileHash(int index)

The file hash of the artifact.

repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FileHashes

getFileHashCount()

public abstract int getFileHashCount()

The file hash of the artifact.

repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;

Returns
TypeDescription
int

getFileHashList()

public abstract List<FileHashes> getFileHashList()

The file hash of the artifact.

repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;

Returns
TypeDescription
List<FileHashes>

getFileHashOrBuilder(int index)

public abstract FileHashesOrBuilder getFileHashOrBuilder(int index)

The file hash of the artifact.

repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;

Parameter
NameDescription
indexint
Returns
TypeDescription
FileHashesOrBuilder

getFileHashOrBuilderList()

public abstract List<? extends FileHashesOrBuilder> getFileHashOrBuilderList()

The file hash of the artifact.

repeated .google.devtools.cloudbuild.v1.FileHashes file_hash = 2;

Returns
TypeDescription
List<? extends com.google.cloudbuild.v1.FileHashesOrBuilder>

getLocation()

public abstract String getLocation()

The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, gs://mybucket/path/to/output.jar#generation.

string location = 1;

Returns
TypeDescription
String

The location.

getLocationBytes()

public abstract ByteString getLocationBytes()

The path of an artifact in a Google Cloud Storage bucket, with the generation number. For example, gs://mybucket/path/to/output.jar#generation.

string location = 1;

Returns
TypeDescription
ByteString

The bytes for location.