Class ImageOccurrence (2.31.0)

public final class ImageOccurrence extends GeneratedMessageV3 implements ImageOccurrenceOrBuilder

Details of the derived image portion of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.

Protobuf type grafeas.v1.ImageOccurrence

Static Fields

BASE_RESOURCE_URL_FIELD_NUMBER

public static final int BASE_RESOURCE_URL_FIELD_NUMBER
Field Value
TypeDescription
int

DISTANCE_FIELD_NUMBER

public static final int DISTANCE_FIELD_NUMBER
Field Value
TypeDescription
int

FINGERPRINT_FIELD_NUMBER

public static final int FINGERPRINT_FIELD_NUMBER
Field Value
TypeDescription
int

LAYER_INFO_FIELD_NUMBER

public static final int LAYER_INFO_FIELD_NUMBER
Field Value
TypeDescription
int

Static Methods

getDefaultInstance()

public static ImageOccurrence getDefaultInstance()
Returns
TypeDescription
ImageOccurrence

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
TypeDescription
Descriptor

newBuilder()

public static ImageOccurrence.Builder newBuilder()
Returns
TypeDescription
ImageOccurrence.Builder

newBuilder(ImageOccurrence prototype)

public static ImageOccurrence.Builder newBuilder(ImageOccurrence prototype)
Parameter
NameDescription
prototypeImageOccurrence
Returns
TypeDescription
ImageOccurrence.Builder

parseDelimitedFrom(InputStream input)

public static ImageOccurrence parseDelimitedFrom(InputStream input)
Parameter
NameDescription
inputInputStream
Returns
TypeDescription
ImageOccurrence
Exceptions
TypeDescription
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
inputInputStream
extensionRegistryExtensionRegistryLite
Returns
TypeDescription
ImageOccurrence
Exceptions
TypeDescription
IOException

parseFrom(byte[] data)

public static ImageOccurrence parseFrom(byte[] data)
Parameter
NameDescription
databyte[]
Returns
TypeDescription
ImageOccurrence
Exceptions
TypeDescription
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImageOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
NameDescription
databyte[]
extensionRegistryExtensionRegistryLite