Class Derived (2.45.0)

publicfinalclass DerivedextendsGeneratedMessageV3implementsDerivedOrBuilder

Derived describes the derived image portion (Occurrence) of the DockerImage relationship. This image would be produced from a Dockerfile with FROM <DockerImage.Basis in attached Note>.

Protobuf type grafeas.v1beta1.image.Derived

Implements

DerivedOrBuilder

Inherited Members

com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)

Static Fields

BASE_RESOURCE_URL_FIELD_NUMBER

publicstaticfinalintBASE_RESOURCE_URL_FIELD_NUMBER
Field Value
Type Description
int

DISTANCE_FIELD_NUMBER

publicstaticfinalintDISTANCE_FIELD_NUMBER
Field Value
Type Description
int

FINGERPRINT_FIELD_NUMBER

publicstaticfinalintFINGERPRINT_FIELD_NUMBER
Field Value
Type Description
int

LAYER_INFO_FIELD_NUMBER

publicstaticfinalintLAYER_INFO_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

publicstaticDerivedgetDefaultInstance()
Returns
Type Description
Derived

getDescriptor()

publicstaticfinalDescriptors.DescriptorgetDescriptor()
Returns
Type Description
Descriptor

newBuilder()

publicstaticDerived.BuildernewBuilder()
Returns
Type Description
Derived.Builder

newBuilder(Derived prototype)

publicstaticDerived.BuildernewBuilder(Derivedprototype)
Parameter
Name Description
prototype Derived
Returns
Type Description
Derived.Builder

parseDelimitedFrom(InputStream input)

publicstaticDerivedparseDelimitedFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Derived
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDerivedparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Derived
Exceptions
Type Description
IOException

parseFrom(byte[] data)

publicstaticDerivedparseFrom(byte[]data)
Parameter
Name Description
data byte[]
Returns
Type Description
Derived
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

publicstaticDerivedparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Derived
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

publicstaticDerivedparseFrom(ByteStringdata)
Parameter
Name Description
data ByteString
Returns
Type Description
Derived
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

publicstaticDerivedparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Derived
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

publicstaticDerivedparseFrom(CodedInputStreaminput)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
Derived
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDerivedparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Derived
Exceptions
Type Description
IOException

parseFrom(InputStream input)

publicstaticDerivedparseFrom(InputStreaminput)
Parameter
Name Description
input InputStream
Returns
Type Description
Derived
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

publicstaticDerivedparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Derived
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

publicstaticDerivedparseFrom(ByteBufferdata)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
Derived
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

publicstaticDerivedparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
Derived
Exceptions
Type Description
InvalidProtocolBufferException

parser()

publicstaticParser<Derived>parser()
Returns
Type Description
Parser<Derived>

Methods

equals(Object obj)

publicbooleanequals(Objectobj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

getBaseResourceUrl()

publicStringgetBaseResourceUrl()

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()

publicByteStringgetBaseResourceUrlBytes()

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.

getDefaultInstanceForType()

publicDerivedgetDefaultInstanceForType()
Returns
Type Description
Derived

getDistance()

publicintgetDistance()

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()

publicFingerprintgetFingerprint()

Required. The fingerprint of the derived image.

.grafeas.v1beta1.image.Fingerprint fingerprint = 1;

Returns
Type Description
Fingerprint

The fingerprint.

getFingerprintOrBuilder()

publicFingerprintOrBuildergetFingerprintOrBuilder()

Required. The fingerprint of the derived image.

.grafeas.v1beta1.image.Fingerprint fingerprint = 1;

Returns
Type Description
FingerprintOrBuilder

getLayerInfo(int index)

publicLayergetLayerInfo(intindex)

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.v1beta1.image.Layer layer_info = 3;

Parameter
Name Description
index int
Returns
Type Description
Layer

getLayerInfoCount()

publicintgetLayerInfoCount()

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.v1beta1.image.Layer layer_info = 3;

Returns
Type Description
int

getLayerInfoList()

publicList<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.v1beta1.image.Layer layer_info = 3;

Returns
Type Description
List<Layer>

getLayerInfoOrBuilder(int index)

publicLayerOrBuildergetLayerInfoOrBuilder(intindex)

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.v1beta1.image.Layer layer_info = 3;

Parameter
Name Description
index int
Returns
Type Description
LayerOrBuilder

getLayerInfoOrBuilderList()

publicList<?extendsLayerOrBuilder>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.v1beta1.image.Layer layer_info = 3;

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

getParserForType()

publicParser<Derived>getParserForType()
Returns
Type Description
Parser<Derived>
Overrides

getSerializedSize()

publicintgetSerializedSize()
Returns
Type Description
int
Overrides

getUnknownFields()

publicfinalUnknownFieldSetgetUnknownFields()
Returns
Type Description
UnknownFieldSet
Overrides

hasFingerprint()

publicbooleanhasFingerprint()

Required. The fingerprint of the derived image.

.grafeas.v1beta1.image.Fingerprint fingerprint = 1;

Returns
Type Description
boolean

Whether the fingerprint field is set.

hashCode()

publicinthashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

publicfinalbooleanisInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

publicDerived.BuildernewBuilderForType()
Returns
Type Description
Derived.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protectedDerived.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
Derived.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

publicDerived.BuildertoBuilder()
Returns
Type Description
Derived.Builder

writeTo(CodedOutputStream output)

publicvoidwriteTo(CodedOutputStreamoutput)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException

Except as otherwise noted, the content of this page is licensed under the Creative Commons Attribution 4.0 License, and code samples are licensed under the Apache 2.0 License. For details, see the Google Developers Site Policies. Java is a registered trademark of Oracle and/or its affiliates.

Last updated 2025年11月19日 UTC.