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
Inherited Members
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT)
com.google.protobuf.GeneratedMessageV3.<ListT>makeMutableCopy(ListT,int)
com.google.protobuf.GeneratedMessageV3.<T>emptyList(java.lang.Class<T>)
com.google.protobuf.GeneratedMessageV3.internalGetMapFieldReflection(int)
Static Fields
public static final int ARCHITECTURE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int DIGEST_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int MEDIA_TYPE_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int OS_FEATURES_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int OS_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int OS_VERSION_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
public static final int VARIANT_FIELD_NUMBER
| Field Value |
| Type |
Description |
int |
|
Static Methods
public static ImageManifest getDefaultInstance()
public static final Descriptors.Descriptor getDescriptor()
public static ImageManifest.Builder newBuilder()
public static ImageManifest.Builder newBuilder(ImageManifest prototype)
public static ImageManifest parseDelimitedFrom(InputStream input)
public static ImageManifest parseDelimitedFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ImageManifest parseFrom(byte[] data)
| Parameter |
| Name |
Description |
data |
byte[]
|
public static ImageManifest parseFrom(byte[] data, ExtensionRegistryLite extensionRegistry)
public static ImageManifest parseFrom(ByteString data)
public static ImageManifest parseFrom(ByteString data, ExtensionRegistryLite extensionRegistry)
public static ImageManifest parseFrom(CodedInputStream input)
public static ImageManifest parseFrom(CodedInputStream input, ExtensionRegistryLite extensionRegistry)
public static ImageManifest parseFrom(InputStream input)
public static ImageManifest parseFrom(InputStream input, ExtensionRegistryLite extensionRegistry)
public static ImageManifest parseFrom(ByteBuffer data)
public static ImageManifest parseFrom(ByteBuffer data, ExtensionRegistryLite extensionRegistry)
public static Parser<ImageManifest> parser()
Methods
public boolean equals(Object obj)
| Parameter |
| Name |
Description |
obj |
Object
|
Overrides
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.
|
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.
|
public ImageManifest getDefaultInstanceForType()
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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.
|
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];
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.
|
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.
|
public Parser<ImageManifest> getParserForType()
Overrides
public int getSerializedSize()
| Returns |
| Type |
Description |
int |
|
Overrides
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.
|
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.
|
| Returns |
| Type |
Description |
int |
|
Overrides
protected GeneratedMessageV3.FieldAccessorTable internalGetFieldAccessorTable()
Overrides
public final boolean isInitialized()
Overrides
public ImageManifest.Builder newBuilderForType()
protected ImageManifest.Builder newBuilderForType(GeneratedMessageV3.BuilderParent parent)
Overrides
protected Object newInstance(GeneratedMessageV3.UnusedPrivateParameter unused)
| Returns |
| Type |
Description |
Object |
|
Overrides
public ImageManifest.Builder toBuilder()
public void writeTo(CodedOutputStream output)
Overrides