Class V22ManifestListTemplate.ManifestDescriptorTemplate
- java.lang.Object
-
- com.google.cloud.tools.jib.image.json.V22ManifestListTemplate.ManifestDescriptorTemplate
-
- All Implemented Interfaces:
JsonTemplate
- Enclosing class:
- V22ManifestListTemplate
public static class V22ManifestListTemplate.ManifestDescriptorTemplate extends java.lang.Object implements JsonTemplate
Template for inner JSON object representing a single platform specific manifest.
-
-
Nested Class Summary
Nested Classes Modifier and Type Class Description static class
V22ManifestListTemplate.ManifestDescriptorTemplate.Platform
-
Constructor Summary
Constructors Constructor Description ManifestDescriptorTemplate()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getDigest()
java.lang.String
getMediaType()
V22ManifestListTemplate.ManifestDescriptorTemplate.Platform
getPlatform()
void
setDigest(java.lang.String digest)
void
setMediaType(java.lang.String mediaType)
void
setPlatform(java.lang.String architecture, java.lang.String os)
Sets a platform.void
setSize(long size)
-
-
-
Method Detail
-
setSize
public void setSize(long size)
-
setDigest
public void setDigest(java.lang.String digest)
-
getDigest
@Nullable public java.lang.String getDigest()
-
setMediaType
public void setMediaType(java.lang.String mediaType)
-
getMediaType
@Nullable public java.lang.String getMediaType()
-
setPlatform
public void setPlatform(java.lang.String architecture, java.lang.String os)
Sets a platform.- Parameters:
architecture
- the manifest architectureos
- the manifest os
-
getPlatform
@Nullable public V22ManifestListTemplate.ManifestDescriptorTemplate.Platform getPlatform()
-
-