Interface ImageOccurrenceOrBuilder (2.4.2)

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
TypeDescription
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
TypeDescription
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
TypeDescription
int

The distance.

getFingerprint()

public abstract Fingerprint getFingerprint()

Required. The fingerprint of the derived image.

.grafeas.v1.Fingerprint fingerprint = 1;

Returns
TypeDescription
Fingerprint

The fingerprint.

getFingerprintOrBuilder()

public abstract FingerprintOrBuilder getFingerprintOrBuilder()

Required. The fingerprint of the derived image.

.grafeas.v1.Fingerprint fingerprint = 1;

Returns
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
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
TypeDescription
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
NameDescription
indexint
Returns
TypeDescription
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
TypeDescription
List<? extends io.grafeas.v1.LayerOrBuilder>

hasFingerprint()

public abstract boolean hasFingerprint()

Required. The fingerprint of the derived image.

.grafeas.v1.Fingerprint fingerprint = 1;

Returns
TypeDescription
boolean

Whether the fingerprint field is set.