Class ImageManifest

java.lang.Object
com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessage
com.google.protobuf.GeneratedMessage
com.google.devtools.artifactregistry.v1.ImageManifest
All Implemented Interfaces:
ImageManifestOrBuilder, com.google.protobuf.Message, com.google.protobuf.MessageLite, com.google.protobuf.MessageLiteOrBuilder, com.google.protobuf.MessageOrBuilder, Serializable

@Generated public final class ImageManifest extends com.google.protobuf.GeneratedMessage implements ImageManifestOrBuilder
 Details of a single image manifest within a multi-arch image.
 
Protobuf type google.devtools.artifactregistry.v1.ImageManifest
See Also:
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static final class 
    Details of a single image manifest within a multi-arch image.

    Nested classes/interfaces inherited from class com.google.protobuf.GeneratedMessage

    com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>,BuilderT extends com.google.protobuf.GeneratedMessage.ExtendableBuilder<MessageT,BuilderT>>, com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.ExtendableMessageOrBuilder<MessageT extends com.google.protobuf.GeneratedMessage.ExtendableMessage<MessageT>>, com.google.protobuf.GeneratedMessage.FieldAccessorTable, com.google.protobuf.GeneratedMessage.GeneratedExtension<ContainingT extends com.google.protobuf.Message,T extends Object>, com.google.protobuf.GeneratedMessage.UnusedPrivateParameter

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessage

    com.google.protobuf.AbstractMessage.BuilderParent

    Nested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite

    com.google.protobuf.AbstractMessageLite.InternalOneOfEnum
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     
    static final int
     

    Fields inherited from class com.google.protobuf.GeneratedMessage

    alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFields

    Fields inherited from class com.google.protobuf.AbstractMessage

    memoizedSize

    Fields inherited from class com.google.protobuf.AbstractMessageLite

    memoizedHashCode
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
     
    Optional.
    com.google.protobuf.ByteString
    Optional.
     
     
    static final com.google.protobuf.Descriptors.Descriptor
     
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    getOsFeatures(int index)
    Optional.
    com.google.protobuf.ByteString
    getOsFeaturesBytes(int index)
    Optional.
    int
    Optional.
    com.google.protobuf.ProtocolStringList
    Optional.
    Optional.
    com.google.protobuf.ByteString
    Optional.
    com.google.protobuf.Parser<ImageManifest>
     
    int
     
    Optional.
    com.google.protobuf.ByteString
    Optional.
    int
     
    protected com.google.protobuf.GeneratedMessage.FieldAccessorTable
     
    final boolean
     
     
     
     
    newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
     
     
    parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(byte[] data)
     
    parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.ByteString data)
     
    parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    parseFrom(com.google.protobuf.CodedInputStream input)
     
    parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
     
    parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry)
     
    static com.google.protobuf.Parser<ImageManifest>
     
     
    void
    writeTo(com.google.protobuf.CodedOutputStream output)
     

    Methods inherited from class com.google.protobuf.GeneratedMessage

    canUseUnsafe, computeStringSize, computeStringSizeNoTag, emptyBooleanList, emptyDoubleList, emptyFloatList, emptyIntList, emptyList, emptyLongList, getAllFields, getDescriptorForType, getField, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof, internalGetMapField, internalGetMapFieldReflection, isStringEmpty, makeExtensionsImmutable, makeMutableCopy, makeMutableCopy, mergeFromAndMakeImmutableInternal, newFileScopedGeneratedExtension, newInstance, newMessageScopedGeneratedExtension, parseDelimitedWithIOException, parseDelimitedWithIOException, parseUnknownField, parseUnknownFieldProto3, parseWithIOException, parseWithIOException, parseWithIOException, parseWithIOException, serializeBooleanMapTo, serializeIntegerMapTo, serializeLongMapTo, serializeStringMapTo, writeReplace, writeString, writeStringNoTag

    Methods inherited from class com.google.protobuf.AbstractMessage

    findInitializationErrors, getInitializationErrorString, hashFields, toString

    Methods inherited from class com.google.protobuf.AbstractMessageLite

    addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from class java.lang.Object

    clone, finalize, getClass, notify, notifyAll, wait, wait, wait

    Methods inherited from interface com.google.protobuf.MessageLite

    toByteArray, toByteString, writeDelimitedTo, writeTo

    Methods inherited from interface com.google.protobuf.MessageOrBuilder

    findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
  • Field Details

  • Method Details

    • getDescriptor

      public static final com.google.protobuf.Descriptors.Descriptor getDescriptor()
    • internalGetFieldAccessorTable

      protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()
      Specified by:
      internalGetFieldAccessorTable in class com.google.protobuf.GeneratedMessage
    • 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];
      Specified by:
      getArchitecture in interface ImageManifestOrBuilder
      Returns:
      The architecture.
    • getArchitectureBytes

      public com.google.protobuf.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];
      Specified by:
      getArchitectureBytes in interface ImageManifestOrBuilder
      Returns:
      The bytes for architecture.
    • 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];
      Specified by:
      getOs in interface ImageManifestOrBuilder
      Returns:
      The os.
    • getOsBytes

      public com.google.protobuf.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];
      Specified by:
      getOsBytes in interface ImageManifestOrBuilder
      Returns:
      The bytes for os.
    • getDigest

      public String getDigest()
       Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".
       
      string digest = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDigest in interface ImageManifestOrBuilder
      Returns:
      The digest.
    • getDigestBytes

      public com.google.protobuf.ByteString getDigestBytes()
       Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".
       
      string digest = 3 [(.google.api.field_behavior) = OPTIONAL];
      Specified by:
      getDigestBytes in interface ImageManifestOrBuilder
      Returns:
      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];
      Specified by:
      getMediaType in interface ImageManifestOrBuilder
      Returns:
      The mediaType.
    • getMediaTypeBytes

      public com.google.protobuf.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];
      Specified by:
      getMediaTypeBytes in interface ImageManifestOrBuilder
      Returns:
      The bytes for mediaType.
    • 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];
      Specified by:
      getOsVersion in interface ImageManifestOrBuilder
      Returns:
      The osVersion.
    • getOsVersionBytes

      public com.google.protobuf.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];
      Specified by:
      getOsVersionBytes in interface ImageManifestOrBuilder
      Returns:
      The bytes for osVersion.
    • getOsFeaturesList

      public com.google.protobuf.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];
      Specified by:
      getOsFeaturesList in interface ImageManifestOrBuilder
      Returns:
      A list containing the osFeatures.
    • 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];
      Specified by:
      getOsFeaturesCount in interface ImageManifestOrBuilder
      Returns:
      The count of osFeatures.
    • getOsFeatures

      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];
      Specified by:
      getOsFeatures in interface ImageManifestOrBuilder
      Parameters:
      index - The index of the element to return.
      Returns:
      The osFeatures at the given index.
    • getOsFeaturesBytes

      public com.google.protobuf.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];
      Specified by:
      getOsFeaturesBytes in interface ImageManifestOrBuilder
      Parameters:
      index - The index of the value to return.
      Returns:
      The bytes of the osFeatures at the given index.
    • 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];
      Specified by:
      getVariant in interface ImageManifestOrBuilder
      Returns:
      The variant.
    • getVariantBytes

      public com.google.protobuf.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];
      Specified by:
      getVariantBytes in interface ImageManifestOrBuilder
      Returns:
      The bytes for variant.
    • isInitialized

      public final boolean isInitialized()
      Specified by:
      isInitialized in interface com.google.protobuf.MessageLiteOrBuilder
      Overrides:
      isInitialized in class com.google.protobuf.GeneratedMessage
    • writeTo

      public void writeTo(com.google.protobuf.CodedOutputStream output) throws IOException
      Specified by:
      writeTo in interface com.google.protobuf.MessageLite
      Overrides:
      writeTo in class com.google.protobuf.GeneratedMessage
      Throws:
      IOException
    • getSerializedSize

      public int getSerializedSize()
      Specified by:
      getSerializedSize in interface com.google.protobuf.MessageLite
      Overrides:
      getSerializedSize in class com.google.protobuf.GeneratedMessage
    • equals

      public boolean equals(Object obj)
      Specified by:
      equals in interface com.google.protobuf.Message
      Overrides:
      equals in class com.google.protobuf.AbstractMessage
    • hashCode

      public int hashCode()
      Specified by:
      hashCode in interface com.google.protobuf.Message
      Overrides:
      hashCode in class com.google.protobuf.AbstractMessage
    • parseFrom

      public static ImageManifest parseFrom(ByteBuffer data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageManifest parseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageManifest parseFrom(com.google.protobuf.ByteString data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageManifest parseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageManifest parseFrom(byte[] data) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageManifest parseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws com.google.protobuf.InvalidProtocolBufferException
      Throws:
      com.google.protobuf.InvalidProtocolBufferException
    • parseFrom

      public static ImageManifest parseFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ImageManifest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ImageManifest parseDelimitedFrom(InputStream input) throws IOException
      Throws:
      IOException
    • parseDelimitedFrom

      public static ImageManifest parseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ImageManifest parseFrom(com.google.protobuf.CodedInputStream input) throws IOException
      Throws:
      IOException
    • parseFrom

      public static ImageManifest parseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException
      Throws:
      IOException
    • newBuilderForType

      public ImageManifest.Builder newBuilderForType()
      Specified by:
      newBuilderForType in interface com.google.protobuf.Message
      Specified by:
      newBuilderForType in interface com.google.protobuf.MessageLite
    • newBuilder

      public static ImageManifest.Builder newBuilder()
    • newBuilder

      public static ImageManifest.Builder newBuilder(ImageManifest prototype)
    • toBuilder

      public ImageManifest.Builder toBuilder()
      Specified by:
      toBuilder in interface com.google.protobuf.Message
      Specified by:
      toBuilder in interface com.google.protobuf.MessageLite
    • newBuilderForType

      protected ImageManifest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent)
      Overrides:
      newBuilderForType in class com.google.protobuf.AbstractMessage
    • getDefaultInstance

      public static ImageManifest getDefaultInstance()
    • parser

      public static com.google.protobuf.Parser<ImageManifest> parser()
    • getParserForType

      public com.google.protobuf.Parser<ImageManifest> getParserForType()
      Specified by:
      getParserForType in interface com.google.protobuf.Message
      Specified by:
      getParserForType in interface com.google.protobuf.MessageLite
      Overrides:
      getParserForType in class com.google.protobuf.GeneratedMessage
    • getDefaultInstanceForType

      public ImageManifest getDefaultInstanceForType()
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageLiteOrBuilder
      Specified by:
      getDefaultInstanceForType in interface com.google.protobuf.MessageOrBuilder