public final class Fingerprint extends GeneratedMessageV3 implements FingerprintOrBuilder
A set of properties that uniquely identify a given Docker image.Protobuf type
grafeas.v1.Fingerprint
Modifier and Type | Class and Description |
---|---|
static class |
Fingerprint.Builder
A set of properties that uniquely identify a given Docker image.
|
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 |
V1_NAME_FIELD_NUMBER |
static int |
V2_BLOB_FIELD_NUMBER |
static int |
V2_NAME_FIELD_NUMBER |
alwaysUseFieldBuilders, unknownFields
memoizedSize
memoizedHashCode
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 V1_NAME_FIELD_NUMBER
public static final int V2_BLOB_FIELD_NUMBER
public static final int V2_NAME_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 String getV1Name()
Required. The layer ID of the final layer in the Docker image's v1 representation.
string v1_name = 1;
getV1Name
in interface FingerprintOrBuilder
public ByteString getV1NameBytes()
Required. The layer ID of the final layer in the Docker image's v1 representation.
string v1_name = 1;
getV1NameBytes
in interface FingerprintOrBuilder
public ProtocolStringList getV2BlobList()
Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
getV2BlobList
in interface FingerprintOrBuilder
public int getV2BlobCount()
Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
getV2BlobCount
in interface FingerprintOrBuilder
public String getV2Blob(int index)
Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
getV2Blob
in interface FingerprintOrBuilder
public ByteString getV2BlobBytes(int index)
Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
getV2BlobBytes
in interface FingerprintOrBuilder
public String getV2Name()
Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blob[bottom] [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept.
string v2_name = 3;
getV2Name
in interface FingerprintOrBuilder
public ByteString getV2NameBytes()
Output only. The name of the image's v2 blobs computed via: [bottom] := v2_blob[bottom] [N] := sha256(v2_blob[N] + " " + v2_name[N+1]) Only the name of the final blob is kept.
string v2_name = 3;
getV2NameBytes
in interface FingerprintOrBuilder
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 Fingerprint parseFrom(ByteBuffer data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Fingerprint parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Fingerprint parseFrom(ByteString data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Fingerprint parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Fingerprint parseFrom(byte[] data) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Fingerprint parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry) throws InvalidProtocolBufferException
InvalidProtocolBufferException
public static Fingerprint parseFrom(InputStream input) throws IOException
IOException
public static Fingerprint parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Fingerprint parseDelimitedFrom(InputStream input) throws IOException
IOException
public static Fingerprint parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public static Fingerprint parseFrom(CodedInputStream input) throws IOException
IOException
public static Fingerprint parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry) throws IOException
IOException
public Fingerprint.Builder newBuilderForType()
newBuilderForType
in interface Message
newBuilderForType
in interface MessageLite
public static Fingerprint.Builder newBuilder()
public static Fingerprint.Builder newBuilder(Fingerprint prototype)
public Fingerprint.Builder toBuilder()
toBuilder
in interface Message
toBuilder
in interface MessageLite
protected Fingerprint.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
newBuilderForType
in class GeneratedMessageV3
public static Fingerprint getDefaultInstance()
public static Parser<Fingerprint> parser()
public Parser<Fingerprint> getParserForType()
getParserForType
in interface Message
getParserForType
in interface MessageLite
getParserForType
in class GeneratedMessageV3
public Fingerprint getDefaultInstanceForType()
getDefaultInstanceForType
in interface MessageLiteOrBuilder
getDefaultInstanceForType
in interface MessageOrBuilder
Copyright © 2019 Google LLC. All rights reserved.