public final class Block extends Object
Constructor and Description |
---|
Block() |
Modifier and Type | Method and Description |
---|---|
String |
getName()
Get the name property: The base64 encoded block ID.
|
int |
getSize()
Deprecated.
|
long |
getSizeLong()
Get the sizeLong property: The block size in bytes.
|
Block |
setName(String name)
Set the name property: The base64 encoded block ID.
|
Block |
setSize(int size)
Deprecated.
|
Block |
setSizeLong(long sizeLong)
Set the sizeLong property: The block size in bytes.
|
public String getName()
public Block setName(String name)
name
- the name value to set.public long getSizeLong()
public Block setSizeLong(long sizeLong)
sizeLong
- the sizeLong value to set.@Deprecated public int getSize()
Block.getSizeLong()
@Deprecated public Block setSize(int size)
Block.setSizeLong(long)
size
- the size value to set.Copyright © 2020 Microsoft Corporation. All rights reserved.