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
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()
getDescriptor()
publicstaticfinalDescriptors.DescriptorgetDescriptor()
newBuilder()
publicstaticDerived.BuildernewBuilder()
newBuilder(Derived prototype)
publicstaticDerived.BuildernewBuilder(Derivedprototype)
| Parameter |
| Name |
Description |
prototype |
Derived
|
publicstaticDerivedparseDelimitedFrom(InputStreaminput)
publicstaticDerivedparseDelimitedFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(byte[] data)
publicstaticDerivedparseFrom(byte[]data)
| Parameter |
| Name |
Description |
data |
byte[]
|
parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
publicstaticDerivedparseFrom(byte[]data,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteString data)
publicstaticDerivedparseFrom(ByteStringdata)
parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
publicstaticDerivedparseFrom(ByteStringdata,ExtensionRegistryLiteextensionRegistry)
publicstaticDerivedparseFrom(CodedInputStreaminput)
publicstaticDerivedparseFrom(CodedInputStreaminput,ExtensionRegistryLiteextensionRegistry)
publicstaticDerivedparseFrom(InputStreaminput)
publicstaticDerivedparseFrom(InputStreaminput,ExtensionRegistryLiteextensionRegistry)
parseFrom(ByteBuffer data)
publicstaticDerivedparseFrom(ByteBufferdata)
parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
publicstaticDerivedparseFrom(ByteBufferdata,ExtensionRegistryLiteextensionRegistry)
parser()
publicstaticParser<Derived>parser()
Methods
equals(Object obj)
publicbooleanequals(Objectobj)
| Parameter |
| Name |
Description |
obj |
Object
|
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()
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()
publicFingerprintgetFingerprint()
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;
getFingerprintOrBuilder()
publicFingerprintOrBuildergetFingerprintOrBuilder()
Required. The fingerprint of the derived image.
.grafeas.v1beta1.image.Fingerprint fingerprint = 1;
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;
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
|
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()
Overrides
getSerializedSize()
publicintgetSerializedSize()
| Returns |
| Type |
Description |
int |
Overrides
getUnknownFields()
publicfinalUnknownFieldSetgetUnknownFields()
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()
| Returns |
| Type |
Description |
int |
Overrides
internalGetFieldAccessorTable()
protectedGeneratedMessageV3.FieldAccessorTableinternalGetFieldAccessorTable()
Overrides
isInitialized()
publicfinalbooleanisInitialized()
Overrides
newBuilderForType()
publicDerived.BuildernewBuilderForType()
newBuilderForType(GeneratedMessageV3.BuilderParent parent)
protectedDerived.BuildernewBuilderForType(GeneratedMessageV3.BuilderParentparent)
Overrides
newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
protectedObjectnewInstance(GeneratedMessageV3.UnusedPrivateParameterunused)
| Returns |
| Type |
Description |
Object |
Overrides
toBuilder()
publicDerived.BuildertoBuilder()
writeTo(CodedOutputStream output)
publicvoidwriteTo(CodedOutputStreamoutput)
Overrides