com.aliyun.oss.model

## 类 PartETag

- java.lang.Object
- - com.aliyun.oss.model.PartETag

- 所有已实现的接口:
    Serializable

      public class PartETag
      extends Object
      implements Serializable

  The result information for a part's upload in a multipart upload.
  另请参阅:
    序列化表格

- - ### 构造器概要

    构造器
    构造器和说明
    `PartETag(int partNumber, String eTag)` Constructor
    `PartETag(int partNumber, String eTag, long partSize, Long partCRC)` Constructor

  - ### 方法概要

    方法
    限定符和类型 | 方法和说明
    --- | ---
    `String` | `getETag()` Gets the part's ETag
    `Long` | `getPartCRC()`
    `int` | `getPartNumber()` Gets part number.
    `long` | `getPartSize()`
    `int` | `hashCode()`
    `void` | `setETag(String eTag)` Sets the part's ETag.
    `void` | `setPartCRC(Long partCRC)`
    `void` | `setPartNumber(int partNumber)` Sets part number.
    `void` | `setPartSize(long partSize)`

    - ### 从类继承的方法 java.lang.Object

      `clone, equals, finalize, getClass, notify, notifyAll, toString, wait, wait, wait`

- - ### 构造器详细资料

    - #### PartETag

          public PartETag(int partNumber,
                  String eTag)

      Constructor
      参数:
        `partNumber` - Part number.
        `eTag` - Part ETag.

    - #### PartETag

          public PartETag(int partNumber,
                  String eTag,
                  long partSize,
                  Long partCRC)

      Constructor
      参数:
        `partNumber` - Part number.
        `eTag` - Part ETag.
        `partSize` - Part Size.
        `partCRC` - Part's CRC value.

  - ### 方法详细资料

    - #### getPartNumber

          public int getPartNumber()

      Gets part number.
      返回:
        Part number.

    - #### setPartNumber

          public void setPartNumber(int partNumber)

      Sets part number.
      参数:
        `partNumber` - Part number.

    - #### getETag

          public String getETag()

      Gets the part's ETag
      返回:
        Part ETag.

    - #### setETag

          public void setETag(String eTag)

      Sets the part's ETag.
      参数:
        `eTag` - Part ETag.

    - #### getPartSize

          public long getPartSize()

    - #### setPartSize

          public void setPartSize(long partSize)

    - #### getPartCRC

          public Long getPartCRC()

    - #### setPartCRC

          public void setPartCRC(Long partCRC)

    - #### hashCode

          public int hashCode()

      覆盖:
        `hashCode` 在类中 `Object`

Copyright © 2020. All Rights Reserved.