public static final class Fingerprint.Builder extends GeneratedMessage.Builder<Fingerprint.Builder> implements FingerprintOrBuilderA set of properties that uniquely identify a given Docker image.
Protobuf type grafeas.v1.Fingerprint
Inheritance
java.lang.Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessage.Builder > Fingerprint.BuilderImplements
FingerprintOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllV2Blob(Iterable<String> values)
public Fingerprint.Builder addAllV2Blob(Iterable<String> values)Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The v2Blob to add. |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |
addV2Blob(String value)
public Fingerprint.Builder addV2Blob(String value)Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe v2Blob to add. |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |
addV2BlobBytes(ByteString value)
public Fingerprint.Builder addV2BlobBytes(ByteString value)Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the v2Blob to add. |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |
build()
public Fingerprint build()| Returns | |
|---|---|
| Type | Description |
Fingerprint |
|
buildPartial()
public Fingerprint buildPartial()| Returns | |
|---|---|
| Type | Description |
Fingerprint |
|
clear()
public Fingerprint.Builder clear()| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
|
clearV1Name()
public Fingerprint.Builder clearV1Name()Required. The layer ID of the final layer in the Docker image's v1 representation.
string v1_name = 1;
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |
clearV2Blob()
public Fingerprint.Builder clearV2Blob()Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |
clearV2Name()
public Fingerprint.Builder clearV2Name()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;
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |
getDefaultInstanceForType()
public Fingerprint getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
Fingerprint |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getV1Name()
public String getV1Name()Required. The layer ID of the final layer in the Docker image's v1 representation.
string v1_name = 1;
| Returns | |
|---|---|
| Type | Description |
String |
The v1Name. |
getV1NameBytes()
public ByteString getV1NameBytes()Required. The layer ID of the final layer in the Docker image's v1 representation.
string v1_name = 1;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for v1Name. |
getV2Blob(int index)
public String getV2Blob(int index)Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The v2Blob at the given index. |
getV2BlobBytes(int index)
public ByteString getV2BlobBytes(int index)Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the v2Blob at the given index. |
getV2BlobCount()
public int getV2BlobCount()Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
| Returns | |
|---|---|
| Type | Description |
int |
The count of v2Blob. |
getV2BlobList()
public ProtocolStringList getV2BlobList()Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the v2Blob. |
getV2Name()
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;
| Returns | |
|---|---|
| Type | Description |
String |
The v2Name. |
getV2NameBytes()
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;
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for v2Name. |
internalGetFieldAccessorTable()
protected GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public Fingerprint.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public Fingerprint.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
|
mergeFrom(Fingerprint other)
public Fingerprint.Builder mergeFrom(Fingerprint other)| Parameter | |
|---|---|
| Name | Description |
other |
Fingerprint |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
|
setV1Name(String value)
public Fingerprint.Builder setV1Name(String value)Required. The layer ID of the final layer in the Docker image's v1 representation.
string v1_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe v1Name to set. |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |
setV1NameBytes(ByteString value)
public Fingerprint.Builder setV1NameBytes(ByteString value)Required. The layer ID of the final layer in the Docker image's v1 representation.
string v1_name = 1;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for v1Name to set. |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |
setV2Blob(int index, String value)
public Fingerprint.Builder setV2Blob(int index, String value)Required. The ordered list of v2 blobs that represent a given image.
repeated string v2_blob = 2;
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe v2Blob to set. |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |
setV2Name(String value)
public Fingerprint.Builder setV2Name(String value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe v2Name to set. |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |
setV2NameBytes(ByteString value)
public Fingerprint.Builder setV2NameBytes(ByteString value)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;
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for v2Name to set. |
| Returns | |
|---|---|
| Type | Description |
Fingerprint.Builder |
This builder for chaining. |