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| Modifier and Type | Class and Description |
|---|---|
static class |
ImageOccurrence.Builder
Details of the derived image portion of the DockerImage relationship.
|
GeneratedMessageV3.BuilderParent, GeneratedMessageV3.ExtendableBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage,BuilderType extends GeneratedMessageV3.ExtendableBuilder<MessageType,BuilderType>>, GeneratedMessageV3.ExtendableMessage<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.ExtendableMessageOrBuilder<MessageType extends GeneratedMessageV3.ExtendableMessage>, GeneratedMessageV3.FieldAccessorTable, GeneratedMessageV3.UnusedPrivateParameterAbstractMessageLite.InternalOneOfEnum| Modifier and Type | Field and Description |
|---|---|
static int |
BASE_RESOURCE_URL_FIELD_NUMBER |
static int |
DISTANCE_FIELD_NUMBER |
static int |
FINGERPRINT_FIELD_NUMBER |
static int |
LAYER_INFO_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFieldsmemoizedSizememoizedHashCode| Modifier and Type | Method and Description |
|---|---|
boolean |
equals(Object obj) |
String |
getBaseResourceUrl()
Output only.
|
ByteString |
getBaseResourceUrlBytes()
Output only.
|
static ImageOccurrence |
getDefaultInstance() |
ImageOccurrence |
getDefaultInstanceForType() |
static Descriptors.Descriptor |
getDescriptor() |
int |
getDistance()
Output only.
|
Fingerprint |
getFingerprint()
Required.
|
FingerprintOrBuilder |
getFingerprintOrBuilder()
Required.
|
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.
|
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.
|
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.
|
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.
|
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.
|
Parser<ImageOccurrence> |
getParserForType() |
int |
getSerializedSize() |
UnknownFieldSet |
getUnknownFields() |
boolean |
hasFingerprint()
Required.
|
int |
hashCode() |
protected GeneratedMessageV3.FieldAccessorTable |
internalGetFieldAccessorTable() |
boolean |
isInitialized() |
static ImageOccurrence.Builder |
newBuilder() |
static ImageOccurrence.Builder |
newBuilder(ImageOccurrence prototype) |
ImageOccurrence.Builder |
newBuilderForType() |
protected ImageOccurrence.Builder |
newBuilderForType(GeneratedMessageV3.BuilderParent parent) |
static ImageOccurrence |
parseDelimitedFrom(InputStream input) |
static ImageOccurrence |
parseDelimitedFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static ImageOccurrence |
parseFrom(byte[] data) |
static ImageOccurrence |
parseFrom(byte[] data,
ExtensionRegistryLite extensionRegistry) |
static ImageOccurrence |
parseFrom(ByteBuffer data) |
static ImageOccurrence |
parseFrom(ByteBuffer data,
ExtensionRegistryLite extensionRegistry) |
static ImageOccurrence |
parseFrom(ByteString data) |
static ImageOccurrence |
parseFrom(ByteString data,
ExtensionRegistryLite extensionRegistry) |
static ImageOccurrence |
parseFrom(CodedInputStream input) |
static ImageOccurrence |
parseFrom(CodedInputStream input,
ExtensionRegistryLite extensionRegistry) |
static ImageOccurrence |
parseFrom(InputStream input) |
static ImageOccurrence |
parseFrom(InputStream input,
ExtensionRegistryLite extensionRegistry) |
static Parser<ImageOccurrence> |
parser() |
ImageOccurrence.Builder |
toBuilder() |
void |
writeTo(CodedOutputStream output) |
canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof, internalGetMapField, makeExtensionsImmutable, mergeFromAndMakeImmutableInternal, mutableCopy, mutableCopy, mutableCopy, mutableCopy, mutableCopy, newBooleanList, newBuilderForType, newDoubleList, newFloatList, newInstance, newIntList, newLongList, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTagfindInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toStringaddAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToclone, finalize, getClass, notify, notifyAll, wait, wait, waitfindInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneoftoByteArray, toByteString, writeDelimitedTo, writeTopublic static final int FINGERPRINT_FIELD_NUMBER
public static final int DISTANCE_FIELD_NUMBER
public static final int LAYER_INFO_FIELD_NUMBER
public static final int BASE_RESOURCE_URL_FIELD_NUMBER
public final UnknownFieldSet getUnknownFields()
getUnknownFields in interface MessageOrBuildergetUnknownFields in class GeneratedMessageV3public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable in class GeneratedMessageV3public boolean hasFingerprint()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;hasFingerprint in interface ImageOccurrenceOrBuilderpublic Fingerprint getFingerprint()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;getFingerprint in interface ImageOccurrenceOrBuilderpublic FingerprintOrBuilder getFingerprintOrBuilder()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;getFingerprintOrBuilder in interface ImageOccurrenceOrBuilderpublic int getDistance()
Output only. The number of layers by which this image differs from the associated image basis.
int32 distance = 2;getDistance in interface ImageOccurrenceOrBuilderpublic 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;getLayerInfoList in interface ImageOccurrenceOrBuilderpublic 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;getLayerInfoOrBuilderList in interface ImageOccurrenceOrBuilderpublic 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;getLayerInfoCount in interface ImageOccurrenceOrBuilderpublic 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;getLayerInfo in interface ImageOccurrenceOrBuilderpublic 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;getLayerInfoOrBuilder in interface ImageOccurrenceOrBuilderpublic String getBaseResourceUrl()
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;getBaseResourceUrl in interface ImageOccurrenceOrBuilderpublic ByteString getBaseResourceUrlBytes()
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;getBaseResourceUrlBytes in interface ImageOccurrenceOrBuilderpublic final boolean isInitialized()
isInitialized in interface MessageLiteOrBuilderisInitialized in class GeneratedMessageV3public void writeTo(CodedOutputStream output) throws IOException
writeTo in interface MessageLitewriteTo in class GeneratedMessageV3IOExceptionpublic int getSerializedSize()
getSerializedSize in interface MessageLitegetSerializedSize in class GeneratedMessageV3public boolean equals(Object obj)
equals in interface Messageequals in class AbstractMessagepublic int hashCode()
hashCode in interface MessagehashCode in class AbstractMessagepublic static ImageOccurrence parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ImageOccurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ImageOccurrence parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ImageOccurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ImageOccurrence parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ImageOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferExceptionpublic static ImageOccurrence parseFrom(InputStream input) throws IOException
IOExceptionpublic static ImageOccurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImageOccurrence parseDelimitedFrom(InputStream input) throws IOException
IOExceptionpublic static ImageOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic static ImageOccurrence parseFrom(CodedInputStream input) throws IOException
IOExceptionpublic static ImageOccurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOExceptionpublic ImageOccurrence.Builder newBuilderForType()
newBuilderForType in interface MessagenewBuilderForType in interface MessageLitepublic static ImageOccurrence.Builder newBuilder()
public static ImageOccurrence.Builder newBuilder(ImageOccurrence prototype)
public ImageOccurrence.Builder toBuilder()
toBuilder in interface MessagetoBuilder in interface MessageLiteprotected ImageOccurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType in class GeneratedMessageV3public static ImageOccurrence getDefaultInstance()
public static Parser<ImageOccurrence> parser()
public Parser<ImageOccurrence> getParserForType()
getParserForType in interface MessagegetParserForType in interface MessageLitegetParserForType in class GeneratedMessageV3public ImageOccurrence getDefaultInstanceForType()
getDefaultInstanceForType in interface MessageLiteOrBuildergetDefaultInstanceForType in interface MessageOrBuilderCopyright © 2019 Google LLC. All rights reserved.