- 1.80.0 (latest)
- 1.79.0
- 1.77.0
- 1.75.0
- 1.74.0
- 1.73.0
- 1.72.0
- 1.71.0
- 1.69.0
- 1.67.0
- 1.66.0
- 1.63.0
- 1.62.0
- 1.61.0
- 1.59.0
- 1.58.0
- 1.57.0
- 1.56.0
- 1.55.0
- 1.54.0
- 1.53.0
- 1.52.0
- 1.51.0
- 1.50.0
- 1.48.0
- 1.47.0
- 1.46.0
- 1.45.0
- 1.44.0
- 1.43.0
- 1.42.0
- 1.41.0
- 1.40.0
- 1.39.0
- 1.38.0
- 1.36.0
- 1.35.0
- 1.34.0
- 1.33.0
- 1.32.0
- 1.31.0
- 1.30.0
- 1.29.0
- 1.28.0
- 1.27.0
- 1.26.0
- 1.23.0
- 1.22.0
- 1.21.0
- 1.20.0
- 1.19.0
- 1.18.0
- 1.17.0
- 1.16.0
- 1.15.0
- 1.14.0
- 1.13.0
- 1.12.0
- 1.11.0
- 1.10.0
- 1.9.0
- 1.8.0
- 1.7.0
- 1.6.0
- 1.5.0
- 1.4.0
- 1.3.0
- 1.2.9
- 1.1.1
- 0.5.0
- 0.4.0
public static final class ImageManifest.Builder extends GeneratedMessageV3.Builder<ImageManifest.Builder> implements ImageManifestOrBuilderDetails of a single image manifest within a multi-arch image.
Protobuf type google.devtools.artifactregistry.v1.ImageManifest
Inheritance
Object > AbstractMessageLite.Builder<MessageType,BuilderType> > AbstractMessage.Builder<BuilderType> > GeneratedMessageV3.Builder > ImageManifest.BuilderImplements
ImageManifestOrBuilderStatic Methods
getDescriptor()
public static final Descriptors.Descriptor getDescriptor()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
Methods
addAllOsFeatures(Iterable<String> values)
public ImageManifest.Builder addAllOsFeatures(Iterable<String> values) Optional. The required OS features for the image, for example on Windows
win32k.
repeated string os_features = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
values |
Iterable<String>The osFeatures to add. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
addOsFeatures(String value)
public ImageManifest.Builder addOsFeatures(String value) Optional. The required OS features for the image, for example on Windows
win32k.
repeated string os_features = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe osFeatures to add. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
addOsFeaturesBytes(ByteString value)
public ImageManifest.Builder addOsFeaturesBytes(ByteString value) Optional. The required OS features for the image, for example on Windows
win32k.
repeated string os_features = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes of the osFeatures to add. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
addRepeatedField(Descriptors.FieldDescriptor field, Object value)
public ImageManifest.Builder addRepeatedField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
build()
public ImageManifest build()| Returns | |
|---|---|
| Type | Description |
ImageManifest |
|
buildPartial()
public ImageManifest buildPartial()| Returns | |
|---|---|
| Type | Description |
ImageManifest |
|
clear()
public ImageManifest.Builder clear()| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
clearArchitecture()
public ImageManifest.Builder clearArchitecture()Optional. The CPU architecture of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le", "s390x", "riscv64", "mips64le", etc.
string architecture = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
clearDigest()
public ImageManifest.Builder clearDigest()Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".
string digest = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
clearField(Descriptors.FieldDescriptor field)
public ImageManifest.Builder clearField(Descriptors.FieldDescriptor field)| Parameter | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
clearMediaType()
public ImageManifest.Builder clearMediaType()Optional. The media type of the manifest, e.g., "application/vnd.docker.distribution.manifest.v2+json"
string media_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
clearOneof(Descriptors.OneofDescriptor oneof)
public ImageManifest.Builder clearOneof(Descriptors.OneofDescriptor oneof)| Parameter | |
|---|---|
| Name | Description |
oneof |
OneofDescriptor |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
clearOs()
public ImageManifest.Builder clearOs()Optional. The operating system of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix", etc.
string os = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
clearOsFeatures()
public ImageManifest.Builder clearOsFeatures() Optional. The required OS features for the image, for example on Windows
win32k.
repeated string os_features = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
clearOsVersion()
public ImageManifest.Builder clearOsVersion() Optional. The OS version of the image, for example on Windows
10.0.14393.1066.
string os_version = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
clearVariant()
public ImageManifest.Builder clearVariant() Optional. The variant of the CPU in the image, for example v7 to specify
ARMv7 when architecture is arm.
string variant = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
clone()
public ImageManifest.Builder clone()| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
getArchitecture()
public String getArchitecture()Optional. The CPU architecture of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le", "s390x", "riscv64", "mips64le", etc.
string architecture = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The architecture. |
getArchitectureBytes()
public ByteString getArchitectureBytes()Optional. The CPU architecture of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le", "s390x", "riscv64", "mips64le", etc.
string architecture = 1 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for architecture. |
getDefaultInstanceForType()
public ImageManifest getDefaultInstanceForType()| Returns | |
|---|---|
| Type | Description |
ImageManifest |
|
getDescriptorForType()
public Descriptors.Descriptor getDescriptorForType()| Returns | |
|---|---|
| Type | Description |
Descriptor |
|
getDigest()
public String getDigest()Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".
string digest = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The digest. |
getDigestBytes()
public ByteString getDigestBytes()Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".
string digest = 3 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for digest. |
getMediaType()
public String getMediaType()Optional. The media type of the manifest, e.g., "application/vnd.docker.distribution.manifest.v2+json"
string media_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The mediaType. |
getMediaTypeBytes()
public ByteString getMediaTypeBytes()Optional. The media type of the manifest, e.g., "application/vnd.docker.distribution.manifest.v2+json"
string media_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for mediaType. |
getOs()
public String getOs()Optional. The operating system of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix", etc.
string os = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The os. |
getOsBytes()
public ByteString getOsBytes()Optional. The operating system of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix", etc.
string os = 2 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for os. |
getOsFeatures(int index)
public String getOsFeatures(int index) Optional. The required OS features for the image, for example on Windows
win32k.
repeated string os_features = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the element to return. |
| Returns | |
|---|---|
| Type | Description |
String |
The osFeatures at the given index. |
getOsFeaturesBytes(int index)
public ByteString getOsFeaturesBytes(int index) Optional. The required OS features for the image, for example on Windows
win32k.
repeated string os_features = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
index |
intThe index of the value to return. |
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes of the osFeatures at the given index. |
getOsFeaturesCount()
public int getOsFeaturesCount() Optional. The required OS features for the image, for example on Windows
win32k.
repeated string os_features = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
int |
The count of osFeatures. |
getOsFeaturesList()
public ProtocolStringList getOsFeaturesList() Optional. The required OS features for the image, for example on Windows
win32k.
repeated string os_features = 6 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ProtocolStringList |
A list containing the osFeatures. |
getOsVersion()
public String getOsVersion() Optional. The OS version of the image, for example on Windows
10.0.14393.1066.
string os_version = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The osVersion. |
getOsVersionBytes()
public ByteString getOsVersionBytes() Optional. The OS version of the image, for example on Windows
10.0.14393.1066.
string os_version = 5 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for osVersion. |
getVariant()
public String getVariant() Optional. The variant of the CPU in the image, for example v7 to specify
ARMv7 when architecture is arm.
string variant = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
String |
The variant. |
getVariantBytes()
public ByteString getVariantBytes() Optional. The variant of the CPU in the image, for example v7 to specify
ARMv7 when architecture is arm.
string variant = 7 [(.google.api.field_behavior) = OPTIONAL];
| Returns | |
|---|---|
| Type | Description |
ByteString |
The bytes for variant. |
internalGetFieldAccessorTable()
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()| Returns | |
|---|---|
| Type | Description |
FieldAccessorTable |
|
isInitialized()
public final boolean isInitialized()| Returns | |
|---|---|
| Type | Description |
boolean |
|
mergeFrom(ImageManifest other)
public ImageManifest.Builder mergeFrom(ImageManifest other)| Parameter | |
|---|---|
| Name | Description |
other |
ImageManifest |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public ImageManifest.Builder mergeFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)| Parameters | |
|---|---|
| Name | Description |
input |
CodedInputStream |
extensionRegistry |
ExtensionRegistryLite |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
| Exceptions | |
|---|---|
| Type | Description |
IOException |
|
mergeFrom(Message other)
public ImageManifest.Builder mergeFrom(Message other)| Parameter | |
|---|---|
| Name | Description |
other |
Message |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
mergeUnknownFields(UnknownFieldSet unknownFields)
public final ImageManifest.Builder mergeUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
setArchitecture(String value)
public ImageManifest.Builder setArchitecture(String value)Optional. The CPU architecture of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le", "s390x", "riscv64", "mips64le", etc.
string architecture = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe architecture to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setArchitectureBytes(ByteString value)
public ImageManifest.Builder setArchitectureBytes(ByteString value)Optional. The CPU architecture of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "amd64", "arm64", "ppc64le", "s390x", "riscv64", "mips64le", etc.
string architecture = 1 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for architecture to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setDigest(String value)
public ImageManifest.Builder setDigest(String value)Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".
string digest = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe digest to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setDigestBytes(ByteString value)
public ImageManifest.Builder setDigestBytes(ByteString value)Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".
string digest = 3 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for digest to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setField(Descriptors.FieldDescriptor field, Object value)
public ImageManifest.Builder setField(Descriptors.FieldDescriptor field, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
setMediaType(String value)
public ImageManifest.Builder setMediaType(String value)Optional. The media type of the manifest, e.g., "application/vnd.docker.distribution.manifest.v2+json"
string media_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe mediaType to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setMediaTypeBytes(ByteString value)
public ImageManifest.Builder setMediaTypeBytes(ByteString value)Optional. The media type of the manifest, e.g., "application/vnd.docker.distribution.manifest.v2+json"
string media_type = 4 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for mediaType to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setOs(String value)
public ImageManifest.Builder setOs(String value)Optional. The operating system of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix", etc.
string os = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe os to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setOsBytes(ByteString value)
public ImageManifest.Builder setOsBytes(ByteString value)Optional. The operating system of the image. Values are provided by the Docker client and are not validated by Artifact Registry. Example values include "linux", "windows", "darwin", "aix", etc.
string os = 2 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for os to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setOsFeatures(int index, String value)
public ImageManifest.Builder setOsFeatures(int index, String value) Optional. The required OS features for the image, for example on Windows
win32k.
repeated string os_features = 6 [(.google.api.field_behavior) = OPTIONAL];
| Parameters | |
|---|---|
| Name | Description |
index |
intThe index to set the value at. |
value |
StringThe osFeatures to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setOsVersion(String value)
public ImageManifest.Builder setOsVersion(String value) Optional. The OS version of the image, for example on Windows
10.0.14393.1066.
string os_version = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe osVersion to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setOsVersionBytes(ByteString value)
public ImageManifest.Builder setOsVersionBytes(ByteString value) Optional. The OS version of the image, for example on Windows
10.0.14393.1066.
string os_version = 5 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for osVersion to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)
public ImageManifest.Builder setRepeatedField(Descriptors.FieldDescriptor field, int index, Object value)| Parameters | |
|---|---|
| Name | Description |
field |
FieldDescriptor |
index |
int |
value |
Object |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
setUnknownFields(UnknownFieldSet unknownFields)
public final ImageManifest.Builder setUnknownFields(UnknownFieldSet unknownFields)| Parameter | |
|---|---|
| Name | Description |
unknownFields |
UnknownFieldSet |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
|
setVariant(String value)
public ImageManifest.Builder setVariant(String value) Optional. The variant of the CPU in the image, for example v7 to specify
ARMv7 when architecture is arm.
string variant = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
StringThe variant to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |
setVariantBytes(ByteString value)
public ImageManifest.Builder setVariantBytes(ByteString value) Optional. The variant of the CPU in the image, for example v7 to specify
ARMv7 when architecture is arm.
string variant = 7 [(.google.api.field_behavior) = OPTIONAL];
| Parameter | |
|---|---|
| Name | Description |
value |
ByteStringThe bytes for variant to set. |
| Returns | |
|---|---|
| Type | Description |
ImageManifest.Builder |
This builder for chaining. |