- 2.54.0 (latest)
- 2.53.0
- 2.52.0
- 2.50.0
- 2.49.0
- 2.48.0
- 2.47.0
- 2.46.0
- 2.45.0
- 2.44.0
- 2.43.0
- 2.42.0
- 2.41.0
- 2.40.0
- 2.38.0
- 2.37.0
- 2.36.0
- 2.35.0
- 2.34.0
- 2.33.0
- 2.32.0
- 2.31.0
- 2.30.0
- 2.29.0
- 2.28.0
- 2.25.0
- 2.24.0
- 2.23.0
- 2.22.0
- 2.21.0
- 2.20.0
- 2.19.0
- 2.18.0
- 2.17.0
- 2.16.0
- 2.15.0
- 2.14.0
- 2.13.0
- 2.12.0
- 2.10.0
- 2.9.0
- 2.8.0
- 2.7.0
- 2.6.0
- 2.5.0
- 2.4.5
- 2.3.1
- 2.2.3
- 2.1.3
public static final class Fingerprint.Builder extends GeneratedMessageV3.Builder<Fingerprint.Builder> implements FingerprintOrBuilder
A set of properties that uniquely identify a given Docker image.
Protobuf type grafeas.v1.Fingerprint
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.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. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public Fingerprint.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Fingerprint.Builder |
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 |
String The 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 |
ByteString The 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 |
clearField(Descriptors.FieldDescriptor field)
public Fingerprint.Builder clearField(Descriptors.FieldDescriptor field)
Parameter | |
---|---|
Name | Description |
field |
FieldDescriptor |
Returns | |
---|---|
Type | Description |
Fingerprint.Builder |
clearOneof(Descriptors.OneofDescriptor oneof)
public Fingerprint.Builder clearOneof(Descriptors.OneofDescriptor oneof)
Parameter | |
---|---|
Name | Description |
oneof |
OneofDescriptor |
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. |
clone()
public Fingerprint.Builder clone()
Returns | |
---|---|
Type | Description |
Fingerprint.Builder |
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 |
int The 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 |
int The 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 GeneratedMessageV3.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 |
mergeUnknownFields(UnknownFieldSet unknownFields)
public final Fingerprint.Builder mergeUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
Returns | |
---|---|
Type | Description |
Fingerprint.Builder |
setField(Descriptors.FieldDescriptor field, Object value)
public Fingerprint.Builder setField(Descriptors.FieldDescriptor field, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
value |
Object |
Returns | |
---|---|
Type | Description |
Fingerprint.Builder |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public Fingerprint.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
Parameters | |
---|---|
Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
Returns | |
---|---|
Type | Description |
Fingerprint.Builder |
setUnknownFields(UnknownFieldSet unknownFields)
public final Fingerprint.Builder setUnknownFields(UnknownFieldSet unknownFields)
Parameter | |
---|---|
Name | Description |
unknownFields |
UnknownFieldSet |
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 |
String The 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 |
ByteString The 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 |
int The index to set the value at. |
value |
String The 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 |
String The 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 |
ByteString The bytes for v2Name to set. |
Returns | |
---|---|
Type | Description |
Fingerprint.Builder |
This builder for chaining. |