azure-docs-sdk-java/docs-ref-autogen/com.azure.containers.contai...

191 строка
13 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.containers.containerregistry.models.OciDescriptor"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor"
name: "OciDescriptor"
nameWithType: "OciDescriptor"
summary: "Docker V2 image layer descriptor including config and layers."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedClassMethods:
- classRef: "java.lang.<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html\">Object</a>"
methodsRef:
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#clone--\">clone</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#equals-java.lang.Object-\">equals</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#finalize--\">finalize</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#getClass--\">getClass</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#hashCode--\">hashCode</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notify--\">notify</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#notifyAll--\">notifyAll</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#toString--\">toString</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait--\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-\">wait</a>"
- "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Object.html#wait-long-int-\">wait</a>"
syntax: "public final class **OciDescriptor**</br> implements <xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.containers.containerregistry.models.OciDescriptor?alt=com.azure.containers.containerregistry.models.OciDescriptor&text=OciDescriptor\" data-throw-if-not-resolved=\"False\" />&gt;"
constructors:
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.OciDescriptor()"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.OciDescriptor()"
name: "OciDescriptor()"
nameWithType: "OciDescriptor.OciDescriptor()"
summary: "Creates an instance of Oci<wbr>Descriptor class."
syntax: "public OciDescriptor()"
desc: "Creates an instance of OciDescriptor class."
methods:
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.fromJson(com.azure.json.JsonReader)"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.fromJson(JsonReader jsonReader)"
name: "fromJson(JsonReader jsonReader)"
nameWithType: "OciDescriptor.fromJson(JsonReader jsonReader)"
summary: "Reads an instance of Oci<wbr>Descriptor from the Json<wbr>Reader."
modifiers:
- "static"
parameters:
- description: "The JsonReader being read."
name: "jsonReader"
type: "<xref href=\"com.azure.json.JsonReader?alt=com.azure.json.JsonReader&text=JsonReader\" data-throw-if-not-resolved=\"False\" />"
syntax: "public static OciDescriptor fromJson(JsonReader jsonReader)"
exceptions:
- description: "If an error occurs while reading the OciDescriptor."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
desc: "Reads an instance of OciDescriptor from the JsonReader."
returns:
description: "An instance of OciDescriptor if the JsonReader was pointing to an instance of it, or null if it was\n pointing to JSON null."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciDescriptor?alt=com.azure.containers.containerregistry.models.OciDescriptor&text=OciDescriptor\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.getAnnotations()"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.getAnnotations()"
name: "getAnnotations()"
nameWithType: "OciDescriptor.getAnnotations()"
summary: "Get the annotations property: Additional information provided through arbitrary metadata."
syntax: "public OciAnnotations getAnnotations()"
desc: "Get the annotations property: Additional information provided through arbitrary metadata."
returns:
description: "the annotations value."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.getDigest()"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.getDigest()"
name: "getDigest()"
nameWithType: "OciDescriptor.getDigest()"
summary: "Get the digest property: Layer digest."
syntax: "public String getDigest()"
desc: "Get the digest property: Layer digest."
returns:
description: "the digest value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.getMediaType()"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.getMediaType()"
name: "getMediaType()"
nameWithType: "OciDescriptor.getMediaType()"
summary: "Get the media<wbr>Type property: Layer media type."
syntax: "public String getMediaType()"
desc: "Get the mediaType property: Layer media type."
returns:
description: "the mediaType value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.getSizeInBytes()"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.getSizeInBytes()"
name: "getSizeInBytes()"
nameWithType: "OciDescriptor.getSizeInBytes()"
summary: "Get the size<wbr>InBytes property: Layer size."
syntax: "public Long getSizeInBytes()"
desc: "Get the sizeInBytes property: Layer size."
returns:
description: "the sizeInBytes value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.getUrls()"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.getUrls()"
name: "getUrls()"
nameWithType: "OciDescriptor.getUrls()"
summary: "Get the urls property: Specifies a list of URIs from which this object may be downloaded."
syntax: "public List<String> getUrls()"
desc: "Get the urls property: Specifies a list of URIs from which this object may be downloaded."
returns:
description: "the urls value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.setAnnotations(com.azure.containers.containerregistry.models.OciAnnotations)"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.setAnnotations(OciAnnotations annotations)"
name: "setAnnotations(OciAnnotations annotations)"
nameWithType: "OciDescriptor.setAnnotations(OciAnnotations annotations)"
summary: "Set the annotations property: Additional information provided through arbitrary metadata."
parameters:
- description: "the annotations value to set."
name: "annotations"
type: "<xref href=\"com.azure.containers.containerregistry.models.OciAnnotations?alt=com.azure.containers.containerregistry.models.OciAnnotations&text=OciAnnotations\" data-throw-if-not-resolved=\"False\" />"
syntax: "public OciDescriptor setAnnotations(OciAnnotations annotations)"
desc: "Set the annotations property: Additional information provided through arbitrary metadata."
returns:
description: "the OciDescriptor object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciDescriptor?alt=com.azure.containers.containerregistry.models.OciDescriptor&text=OciDescriptor\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.setDigest(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.setDigest(String digest)"
name: "setDigest(String digest)"
nameWithType: "OciDescriptor.setDigest(String digest)"
summary: "Set the digest property: Layer digest."
parameters:
- description: "the digest value to set."
name: "digest"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciDescriptor setDigest(String digest)"
desc: "Set the digest property: Layer digest."
returns:
description: "the OciDescriptor object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciDescriptor?alt=com.azure.containers.containerregistry.models.OciDescriptor&text=OciDescriptor\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.setMediaType(java.lang.String)"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.setMediaType(String mediaType)"
name: "setMediaType(String mediaType)"
nameWithType: "OciDescriptor.setMediaType(String mediaType)"
summary: "Set the media<wbr>Type property: Layer media type."
parameters:
- description: "the mediaType value to set."
name: "mediaType"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public OciDescriptor setMediaType(String mediaType)"
desc: "Set the mediaType property: Layer media type."
returns:
description: "the OciDescriptor object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciDescriptor?alt=com.azure.containers.containerregistry.models.OciDescriptor&text=OciDescriptor\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.setSizeInBytes(java.lang.Long)"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.setSizeInBytes(Long sizeInBytes)"
name: "setSizeInBytes(Long sizeInBytes)"
nameWithType: "OciDescriptor.setSizeInBytes(Long sizeInBytes)"
summary: "Set the size<wbr>InBytes property: Layer size."
parameters:
- description: "the sizeInBytes value to set."
name: "sizeInBytes"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/Long.html\">Long</a>"
syntax: "public OciDescriptor setSizeInBytes(Long sizeInBytes)"
desc: "Set the sizeInBytes property: Layer size."
returns:
description: "the OciDescriptor object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciDescriptor?alt=com.azure.containers.containerregistry.models.OciDescriptor&text=OciDescriptor\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.setUrls(java.util.List<java.lang.String>)"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.setUrls(List<String> urls)"
name: "setUrls(List<String> urls)"
nameWithType: "OciDescriptor.setUrls(List<String> urls)"
summary: "Set the urls property: Specifies a list of URIs from which this object may be downloaded."
parameters:
- description: "the urls value to set."
name: "urls"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/util/List.html\">List</a>&lt;<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>&gt;"
syntax: "public OciDescriptor setUrls(List<String> urls)"
desc: "Set the urls property: Specifies a list of URIs from which this object may be downloaded."
returns:
description: "the OciDescriptor object itself."
type: "<xref href=\"com.azure.containers.containerregistry.models.OciDescriptor?alt=com.azure.containers.containerregistry.models.OciDescriptor&text=OciDescriptor\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.containers.containerregistry.models.OciDescriptor.toJson(com.azure.json.JsonWriter)"
fullName: "com.azure.containers.containerregistry.models.OciDescriptor.toJson(JsonWriter jsonWriter)"
name: "toJson(JsonWriter jsonWriter)"
nameWithType: "OciDescriptor.toJson(JsonWriter jsonWriter)"
parameters:
- name: "jsonWriter"
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
syntax: "public JsonWriter toJson(JsonWriter jsonWriter)"
exceptions:
- type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/io/IOException.html\">IOException</a>"
returns:
type: "<xref href=\"com.azure.json.JsonWriter?alt=com.azure.json.JsonWriter&text=JsonWriter\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Docker V2 image layer descriptor including config and layers."
implements:
- "<xref href=\"com.azure.json.JsonSerializable?alt=com.azure.json.JsonSerializable&text=JsonSerializable\" data-throw-if-not-resolved=\"False\" />&lt;<xref href=\"com.azure.containers.containerregistry.models.OciDescriptor?alt=com.azure.containers.containerregistry.models.OciDescriptor&text=OciDescriptor\" data-throw-if-not-resolved=\"False\" />&gt;"
metadata: {}
package: "com.azure.containers.containerregistry.models"
artifact: com.azure:azure-containers-containerregistry:1.2.13