Class ImageManifest (1.80.0)

public final class ImageManifest extends GeneratedMessageV3 implements ImageManifestOrBuilder

Details of a single image manifest within a multi-arch image.

Protobuf type google.devtools.artifactregistry.v1.ImageManifest

Static Fields

ARCHITECTURE_FIELD_NUMBER

public static final int ARCHITECTURE_FIELD_NUMBER
Field Value
Type Description
int

DIGEST_FIELD_NUMBER

public static final int DIGEST_FIELD_NUMBER
Field Value
Type Description
int

MEDIA_TYPE_FIELD_NUMBER

public static final int MEDIA_TYPE_FIELD_NUMBER
Field Value
Type Description
int

OS_FEATURES_FIELD_NUMBER

public static final int OS_FEATURES_FIELD_NUMBER
Field Value
Type Description
int

OS_FIELD_NUMBER

public static final int OS_FIELD_NUMBER
Field Value
Type Description
int

OS_VERSION_FIELD_NUMBER

public static final int OS_VERSION_FIELD_NUMBER
Field Value
Type Description
int

VARIANT_FIELD_NUMBER

public static final int VARIANT_FIELD_NUMBER
Field Value
Type Description
int

Static Methods

getDefaultInstance()

public static ImageManifest getDefaultInstance()
Returns
Type Description
ImageManifest

getDescriptor()

public static final Descriptors.Descriptor getDescriptor()
Returns
Type Description
Descriptor

newBuilder()

public static ImageManifest.Builder newBuilder()
Returns
Type Description
ImageManifest.Builder

newBuilder(ImageManifest prototype)

public static ImageManifest.Builder newBuilder(ImageManifest prototype)
Parameter
Name Description
prototype ImageManifest
Returns
Type Description
ImageManifest.Builder

parseDelimitedFrom(InputStream input)

public static ImageManifest parseDelimitedFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageManifest
Exceptions
Type Description
IOException

parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageManifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageManifest
Exceptions
Type Description
IOException

parseFrom(byte[] data)

public static ImageManifest parseFrom(byte[] data)
Parameter
Name Description
data byte[]
Returns
Type Description
ImageManifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)

public static ImageManifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data byte[]
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageManifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data)

public static ImageManifest parseFrom(ByteString data)
Parameter
Name Description
data ByteString
Returns
Type Description
ImageManifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)

public static ImageManifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteString
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageManifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(CodedInputStream input)

public static ImageManifest parseFrom(CodedInputStream input)
Parameter
Name Description
input CodedInputStream
Returns
Type Description
ImageManifest
Exceptions
Type Description
IOException

parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageManifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input CodedInputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageManifest
Exceptions
Type Description
IOException

parseFrom(InputStream input)

public static ImageManifest parseFrom(InputStream input)
Parameter
Name Description
input InputStream
Returns
Type Description
ImageManifest
Exceptions
Type Description
IOException

parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)

public static ImageManifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
input InputStream
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageManifest
Exceptions
Type Description
IOException

parseFrom(ByteBuffer data)

public static ImageManifest parseFrom(ByteBuffer data)
Parameter
Name Description
data ByteBuffer
Returns
Type Description
ImageManifest
Exceptions
Type Description
InvalidProtocolBufferException

parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)

public static ImageManifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
Parameters
Name Description
data ByteBuffer
extensionRegistry ExtensionRegistryLite
Returns
Type Description
ImageManifest
Exceptions
Type Description
InvalidProtocolBufferException

parser()

public static Parser<ImageManifest> parser()
Returns
Type Description
Parser<ImageManifest>

Methods

equals(Object obj)

public boolean equals(Object obj)
Parameter
Name Description
obj Object
Returns
Type Description
boolean
Overrides

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

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 int

The 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 int

The 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.

getParserForType()

public Parser<ImageManifest> getParserForType()
Returns
Type Description
Parser<ImageManifest>
Overrides

getSerializedSize()

public int getSerializedSize()
Returns
Type Description
int
Overrides

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.

hashCode()

public int hashCode()
Returns
Type Description
int
Overrides

internalGetFieldAccessorTable()

protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Returns
Type Description
FieldAccessorTable
Overrides

isInitialized()

public final boolean isInitialized()
Returns
Type Description
boolean
Overrides

newBuilderForType()

public ImageManifest.Builder newBuilderForType()
Returns
Type Description
ImageManifest.Builder

newBuilderForType(GeneratedMessageV3.BuilderParent parent)

protected ImageManifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Parameter
Name Description
parent BuilderParent
Returns
Type Description
ImageManifest.Builder
Overrides

newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)

protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
Parameter
Name Description
unused UnusedPrivateParameter
Returns
Type Description
Object
Overrides

toBuilder()

public ImageManifest.Builder toBuilder()
Returns
Type Description
ImageManifest.Builder

writeTo(CodedOutputStream output)

public void writeTo(CodedOutputStream output)
Parameter
Name Description
output CodedOutputStream
Overrides
Exceptions
Type Description
IOException