azure-docs-sdk-java/docs-ref-autogen/com.azure.storage.blob.mode...

110 строки
5.2 KiB
YAML

### YamlMime:JavaType
uid: "com.azure.storage.blob.models.Block"
fullName: "com.azure.storage.blob.models.Block"
name: "Block"
nameWithType: "Block"
summary: "Represents a single block in a block blob."
inheritances:
- "<xref href=\"java.lang.Object?displayProperty=fullName\" data-throw-if-not-resolved=\"False\" />"
inheritedMembers:
- "java.lang.Object.clone()"
- "java.lang.Object.equals(java.lang.Object)"
- "java.lang.Object.finalize()"
- "java.lang.Object.getClass()"
- "java.lang.Object.hashCode()"
- "java.lang.Object.notify()"
- "java.lang.Object.notifyAll()"
- "java.lang.Object.toString()"
- "java.lang.Object.wait()"
- "java.lang.Object.wait(long)"
- "java.lang.Object.wait(long,int)"
syntax: "public final class Block"
constructors:
- uid: "com.azure.storage.blob.models.Block.Block()"
fullName: "com.azure.storage.blob.models.Block.Block()"
name: "Block()"
nameWithType: "Block.Block()"
syntax: "public Block()"
methods:
- uid: "com.azure.storage.blob.models.Block.getName()"
fullName: "com.azure.storage.blob.models.Block.getName()"
name: "getName()"
nameWithType: "Block.getName()"
summary: "Get the name property: The base64 encoded block ID."
syntax: "public String getName()"
desc: "Get the name property: The base64 encoded block ID."
returns:
description: "the name value."
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
- uid: "com.azure.storage.blob.models.Block.getSize()"
fullName: "com.azure.storage.blob.models.Block.getSize()"
name: "getSize()"
nameWithType: "Block.getSize()"
summary: "Get the size<wbr>Int property: The Size<wbr>Int property."
deprecatedTag: "Use <xref uid=\"com.azure.storage.blob.models.Block.getSizeLong()\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#getSizeLong()\"></xref>"
syntax: "@Deprecated\npublic int getSize()"
desc: "Get the sizeInt property: The SizeInt property."
hasDeprecatedTag: true
returns:
description: "the sizeInt value."
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.blob.models.Block.getSizeLong()"
fullName: "com.azure.storage.blob.models.Block.getSizeLong()"
name: "getSizeLong()"
nameWithType: "Block.getSizeLong()"
summary: "Get the size<wbr>Long property: The block size in bytes."
syntax: "public long getSizeLong()"
desc: "Get the sizeLong property: The block size in bytes."
returns:
description: "the sizeLong value."
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.blob.models.Block.setName(java.lang.String)"
fullName: "com.azure.storage.blob.models.Block.setName(String name)"
name: "setName(String name)"
nameWithType: "Block.setName(String name)"
summary: "Set the name property: The base64 encoded block ID."
parameters:
- description: "the name value to set."
name: "name"
type: "<a href=\"https://docs.oracle.com/javase/8/docs/api/java/lang/String.html\">String</a>"
syntax: "public Block setName(String name)"
desc: "Set the name property: The base64 encoded block ID."
returns:
description: "the Block object itself."
type: "<xref href=\"com.azure.storage.blob.models.Block?alt=com.azure.storage.blob.models.Block&text=Block\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.blob.models.Block.setSize(int)"
fullName: "com.azure.storage.blob.models.Block.setSize(int sizeInt)"
name: "setSize(int sizeInt)"
nameWithType: "Block.setSize(int sizeInt)"
summary: "Set the size<wbr>Int property: The Size<wbr>Int property."
deprecatedTag: "Use <xref uid=\"com.azure.storage.blob.models.Block.setSizeLong(long)\" data-throw-if-not-resolved=\"false\" data-raw-source=\"#setSizeLong(long)\"></xref>"
parameters:
- description: "the sizeInt value to set."
name: "sizeInt"
type: "<xref href=\"int?alt=int&text=int\" data-throw-if-not-resolved=\"False\" />"
syntax: "@Deprecated\npublic Block setSize(int sizeInt)"
desc: "Set the sizeInt property: The SizeInt property."
hasDeprecatedTag: true
returns:
description: "the Block object itself."
type: "<xref href=\"com.azure.storage.blob.models.Block?alt=com.azure.storage.blob.models.Block&text=Block\" data-throw-if-not-resolved=\"False\" />"
- uid: "com.azure.storage.blob.models.Block.setSizeLong(long)"
fullName: "com.azure.storage.blob.models.Block.setSizeLong(long sizeLong)"
name: "setSizeLong(long sizeLong)"
nameWithType: "Block.setSizeLong(long sizeLong)"
summary: "Set the size<wbr>Long property: The block size in bytes."
parameters:
- description: "the sizeLong value to set."
name: "sizeLong"
type: "<xref href=\"long?alt=long&text=long\" data-throw-if-not-resolved=\"False\" />"
syntax: "public Block setSizeLong(long sizeLong)"
desc: "Set the sizeLong property: The block size in bytes."
returns:
description: "the Block object itself."
type: "<xref href=\"com.azure.storage.blob.models.Block?alt=com.azure.storage.blob.models.Block&text=Block\" data-throw-if-not-resolved=\"False\" />"
type: "class"
desc: "Represents a single block in a block blob. It describes the block's ID and size."
metadata: {}
package: "com.azure.storage.blob.models"
artifact: com.azure:azure-storage-blob:12.19.1