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.UnusedPrivateParameter
AbstractMessageLite.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, unknownFields
memoizedSize
memoizedHashCode
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, writeStringNoTag
findInitializationErrors, getInitializationErrorString, hashBoolean, hashEnum, hashEnumList, hashFields, hashLong, toString
addAll, addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo
clone, finalize, getClass, notify, notifyAll, wait, wait, wait
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, hasField, hasOneof
toByteArray, toByteString, writeDelimitedTo, writeTo
public 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 MessageOrBuilder
getUnknownFields
in class GeneratedMessageV3
public static final Descriptors.Descriptor getDescriptor()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
internalGetFieldAccessorTable
in class GeneratedMessageV3
public boolean hasFingerprint()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
hasFingerprint
in interface ImageOccurrenceOrBuilder
public Fingerprint getFingerprint()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
getFingerprint
in interface ImageOccurrenceOrBuilder
public FingerprintOrBuilder getFingerprintOrBuilder()
Required. The fingerprint of the derived image.
.grafeas.v1.Fingerprint fingerprint = 1;
getFingerprintOrBuilder
in interface ImageOccurrenceOrBuilder
public int getDistance()
Output only. The number of layers by which this image differs from the associated image basis.
int32 distance = 2;
getDistance
in interface ImageOccurrenceOrBuilder
public 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 ImageOccurrenceOrBuilder
public 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 ImageOccurrenceOrBuilder
public 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 ImageOccurrenceOrBuilder
public 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 ImageOccurrenceOrBuilder
public 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 ImageOccurrenceOrBuilder
public String getBaseResourceUrl()
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;
getBaseResourceUrl
in interface ImageOccurrenceOrBuilder
public ByteString getBaseResourceUrlBytes()
Output only. This contains the base image URL for the derived image occurrence.
string base_resource_url = 4;
getBaseResourceUrlBytes
in interface ImageOccurrenceOrBuilder
public final boolean isInitialized()
isInitialized
in interface MessageLiteOrBuilder
isInitialized
in class GeneratedMessageV3
public void writeTo(CodedOutputStream output) throws IOException
writeTo
in interface MessageLite
writeTo
in class GeneratedMessageV3
IOException
public int getSerializedSize()
getSerializedSize
in interface MessageLite
getSerializedSize
in class GeneratedMessageV3
public boolean equals(Object obj)
equals
in interface Message
equals
in class AbstractMessage
public int hashCode()
hashCode
in interface Message
hashCode
in class AbstractMessage
public static ImageOccurrence parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ImageOccurrence parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ImageOccurrence parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ImageOccurrence parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ImageOccurrence parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ImageOccurrence parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static ImageOccurrence parseFrom(InputStream input) throws IOException
IOException
public static ImageOccurrence parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ImageOccurrence parseDelimitedFrom(InputStream input) throws IOException
IOException
public static ImageOccurrence parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static ImageOccurrence parseFrom(CodedInputStream input) throws IOException
IOException
public static ImageOccurrence parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public ImageOccurrence.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static ImageOccurrence.Builder newBuilder()
public static ImageOccurrence.Builder newBuilder(ImageOccurrence prototype)
public ImageOccurrence.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected ImageOccurrence.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static ImageOccurrence getDefaultInstance()
public static Parser<ImageOccurrence> parser()
public Parser<ImageOccurrence> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public ImageOccurrence getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.