Interface ImageOccurrenceOrBuilder (2.54.0)

public interface ImageOccurrenceOrBuilder extends MessageOrBuilder

Implements

MessageOrBuilder

Methods

getBaseResourceUrl()

public abstract String getBaseResourceUrl()

Output only. This contains the base image URL for the derived image occurrence.

string base_resource_url = 4;

Returns
Type Description
String

The baseResourceUrl.

getBaseResourceUrlBytes()

public abstract ByteString getBaseResourceUrlBytes()

Output only. This contains the base image URL for the derived image occurrence.

string base_resource_url = 4;

Returns
Type Description
ByteString

The bytes for baseResourceUrl.

getDistance()

public abstract int getDistance()

Output only. The number of layers by which this image differs from the associated image basis.

int32 distance = 2;

Returns
Type Description
int

The distance.

getFingerprint()

public abstract Fingerprint getFingerprint()

Required. The fingerprint of the derived image.

.grafeas.v1.Fingerprint fingerprint = 1;

Returns
Type Description
Fingerprint

The fingerprint.

getFingerprintOrBuilder()

public abstract FingerprintOrBuilder getFingerprintOrBuilder()

Required. The fingerprint of the derived image.

.grafeas.v1.Fingerprint fingerprint = 1;

Returns
Type Description
FingerprintOrBuilder

getLayerInfo(int index)

public abstract Layer getLayerInfo(int index)

This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.

repeated .grafeas.v1.Layer layer_info = 3;

Parameter
Name Description
index int
Returns
Type Description
Layer

getLayerInfoCount()

public abstract int getLayerInfoCount()

This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.

repeated .grafeas.v1.Layer layer_info = 3;

Returns
Type Description
int

getLayerInfoList()

public abstract List<Layer> getLayerInfoList()

This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.

repeated .grafeas.v1.Layer layer_info = 3;

Returns
Type Description
List<Layer>

getLayerInfoOrBuilder(int index)

public abstract LayerOrBuilder getLayerInfoOrBuilder(int index)

This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.

repeated .grafeas.v1.Layer layer_info = 3;

Parameter
Name Description
index int
Returns
Type Description
LayerOrBuilder

getLayerInfoOrBuilderList()

public abstract List<? extends LayerOrBuilder> getLayerInfoOrBuilderList()

This contains layer-specific metadata, if populated it has length "distance" and is ordered with [distance] being the layer immediately following the base image and [1] being the final layer.

repeated .grafeas.v1.Layer layer_info = 3;

Returns
Type Description
List<? extends io.grafeas.v1.LayerOrBuilder>

hasFingerprint()

public abstract boolean hasFingerprint()

Required. The fingerprint of the derived image.

.grafeas.v1.Fingerprint fingerprint = 1;

Returns
Type Description
boolean

Whether the fingerprint field is set.