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 ClassesModifier and TypeClassDescriptionstatic final classDetails 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.BuilderParentNested classes/interfaces inherited from class com.google.protobuf.AbstractMessageLite
com.google.protobuf.AbstractMessageLite.InternalOneOfEnum -
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intstatic final intFields inherited from class com.google.protobuf.GeneratedMessage
alwaysUseFieldBuilders, loggedPre22TypeNames, unknownFieldsFields inherited from class com.google.protobuf.AbstractMessage
memoizedSizeFields inherited from class com.google.protobuf.AbstractMessageLite
memoizedHashCode -
Method Summary
Modifier and TypeMethodDescriptionbooleanOptional.com.google.protobuf.ByteStringOptional.static ImageManifeststatic final com.google.protobuf.Descriptors.DescriptorOptional.com.google.protobuf.ByteStringOptional.Optional.com.google.protobuf.ByteStringOptional.getOs()Optional.com.google.protobuf.ByteStringOptional.getOsFeatures(int index) Optional.com.google.protobuf.ByteStringgetOsFeaturesBytes(int index) Optional.intOptional.com.google.protobuf.ProtocolStringListOptional.Optional.com.google.protobuf.ByteStringOptional.com.google.protobuf.Parser<ImageManifest>intOptional.com.google.protobuf.ByteStringOptional.inthashCode()protected com.google.protobuf.GeneratedMessage.FieldAccessorTablefinal booleanstatic ImageManifest.Builderstatic ImageManifest.BuildernewBuilder(ImageManifest prototype) protected ImageManifest.BuildernewBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) static ImageManifestparseDelimitedFrom(InputStream input) static ImageManifestparseDelimitedFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImageManifestparseFrom(byte[] data) static ImageManifestparseFrom(byte[] data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImageManifestparseFrom(com.google.protobuf.ByteString data) static ImageManifestparseFrom(com.google.protobuf.ByteString data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImageManifestparseFrom(com.google.protobuf.CodedInputStream input) static ImageManifestparseFrom(com.google.protobuf.CodedInputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImageManifestparseFrom(InputStream input) static ImageManifestparseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static ImageManifestparseFrom(ByteBuffer data) static ImageManifestparseFrom(ByteBuffer data, com.google.protobuf.ExtensionRegistryLite extensionRegistry) static com.google.protobuf.Parser<ImageManifest>parser()voidwriteTo(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, writeStringNoTagMethods inherited from class com.google.protobuf.AbstractMessage
findInitializationErrors, getInitializationErrorString, hashFields, toStringMethods inherited from class com.google.protobuf.AbstractMessageLite
addAll, checkByteStringIsUtf8, toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from class java.lang.Object
clone, finalize, getClass, notify, notifyAll, wait, wait, waitMethods inherited from interface com.google.protobuf.MessageLite
toByteArray, toByteString, writeDelimitedTo, writeToMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Field Details
-
ARCHITECTURE_FIELD_NUMBER
public static final int ARCHITECTURE_FIELD_NUMBER- See Also:
-
OS_FIELD_NUMBER
public static final int OS_FIELD_NUMBER- See Also:
-
DIGEST_FIELD_NUMBER
public static final int DIGEST_FIELD_NUMBER- See Also:
-
MEDIA_TYPE_FIELD_NUMBER
public static final int MEDIA_TYPE_FIELD_NUMBER- See Also:
-
OS_VERSION_FIELD_NUMBER
public static final int OS_VERSION_FIELD_NUMBER- See Also:
-
OS_FEATURES_FIELD_NUMBER
public static final int OS_FEATURES_FIELD_NUMBER- See Also:
-
VARIANT_FIELD_NUMBER
public static final int VARIANT_FIELD_NUMBER- See Also:
-
-
Method Details
-
getDescriptor
public static final com.google.protobuf.Descriptors.Descriptor getDescriptor() -
internalGetFieldAccessorTable
protected com.google.protobuf.GeneratedMessage.FieldAccessorTable internalGetFieldAccessorTable()- Specified by:
internalGetFieldAccessorTablein classcom.google.protobuf.GeneratedMessage
-
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:
getArchitecturein interfaceImageManifestOrBuilder- 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:
getArchitectureBytesin interfaceImageManifestOrBuilder- Returns:
- The bytes for architecture.
-
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:
getOsin interfaceImageManifestOrBuilder- 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:
getOsBytesin interfaceImageManifestOrBuilder- Returns:
- The bytes for os.
-
getDigest
Optional. The manifest digest, in the format "sha256:<sha256_hex_digest>".
string digest = 3 [(.google.api.field_behavior) = OPTIONAL];- Specified by:
getDigestin interfaceImageManifestOrBuilder- 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:
getDigestBytesin interfaceImageManifestOrBuilder- Returns:
- The bytes for digest.
-
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:
getMediaTypein interfaceImageManifestOrBuilder- 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:
getMediaTypeBytesin interfaceImageManifestOrBuilder- Returns:
- The bytes for mediaType.
-
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:
getOsVersionin interfaceImageManifestOrBuilder- 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:
getOsVersionBytesin interfaceImageManifestOrBuilder- 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:
getOsFeaturesListin interfaceImageManifestOrBuilder- 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:
getOsFeaturesCountin interfaceImageManifestOrBuilder- Returns:
- The count of osFeatures.
-
getOsFeatures
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:
getOsFeaturesin interfaceImageManifestOrBuilder- 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:
getOsFeaturesBytesin interfaceImageManifestOrBuilder- Parameters:
index- The index of the value to return.- Returns:
- The bytes of the osFeatures at the given index.
-
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:
getVariantin interfaceImageManifestOrBuilder- 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:
getVariantBytesin interfaceImageManifestOrBuilder- Returns:
- The bytes for variant.
-
isInitialized
public final boolean isInitialized()- Specified by:
isInitializedin interfacecom.google.protobuf.MessageLiteOrBuilder- Overrides:
isInitializedin classcom.google.protobuf.GeneratedMessage
-
writeTo
- Specified by:
writeToin interfacecom.google.protobuf.MessageLite- Overrides:
writeToin classcom.google.protobuf.GeneratedMessage- Throws:
IOException
-
getSerializedSize
public int getSerializedSize()- Specified by:
getSerializedSizein interfacecom.google.protobuf.MessageLite- Overrides:
getSerializedSizein classcom.google.protobuf.GeneratedMessage
-
equals
- Specified by:
equalsin interfacecom.google.protobuf.Message- Overrides:
equalsin classcom.google.protobuf.AbstractMessage
-
hashCode
public int hashCode()- Specified by:
hashCodein interfacecom.google.protobuf.Message- Overrides:
hashCodein classcom.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
- Throws:
IOException
-
parseFrom
public static ImageManifest parseFrom(InputStream input, com.google.protobuf.ExtensionRegistryLite extensionRegistry) throws IOException - Throws:
IOException
-
parseDelimitedFrom
- 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
- Specified by:
newBuilderForTypein interfacecom.google.protobuf.Message- Specified by:
newBuilderForTypein interfacecom.google.protobuf.MessageLite
-
newBuilder
-
newBuilder
-
toBuilder
- Specified by:
toBuilderin interfacecom.google.protobuf.Message- Specified by:
toBuilderin interfacecom.google.protobuf.MessageLite
-
newBuilderForType
protected ImageManifest.Builder newBuilderForType(com.google.protobuf.AbstractMessage.BuilderParent parent) - Overrides:
newBuilderForTypein classcom.google.protobuf.AbstractMessage
-
getDefaultInstance
-
parser
-
getParserForType
- Specified by:
getParserForTypein interfacecom.google.protobuf.Message- Specified by:
getParserForTypein interfacecom.google.protobuf.MessageLite- Overrides:
getParserForTypein classcom.google.protobuf.GeneratedMessage
-
getDefaultInstanceForType
- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageLiteOrBuilder- Specified by:
getDefaultInstanceForTypein interfacecom.google.protobuf.MessageOrBuilder
-