Class CpkChunkId.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CpkChunkId.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CpkChunkId instances.
-
-
Field Summary
Fields Modifier and Type Field Description public SecureHash
cpkChecksum
public SecureHash.Builder
cpkChecksumBuilder
public int
cpkChunkPartNumber
-
Method Summary
Modifier and Type Method Description SecureHash
getCpkChecksum()
Gets the value of the 'cpkChecksum' field. CpkChunkId.Builder
setCpkChecksum(SecureHash value)
Sets the value of the 'cpkChecksum' field. SecureHash.Builder
getCpkChecksumBuilder()
Gets the Builder instance for the 'cpkChecksum' field and creates one if it doesn't exist yet. CpkChunkId.Builder
setCpkChecksumBuilder(SecureHash.Builder value)
Sets the Builder instance for the 'cpkChecksum' field CPK's checksum to which this chunk belongs to int
getCpkChunkPartNumber()
Gets the value of the 'cpkChunkPartNumber' field. CpkChunkId.Builder
setCpkChunkPartNumber(int value)
Sets the value of the 'cpkChunkPartNumber' field. boolean
hasCpkChecksum()
Checks whether the 'cpkChecksum' field has been set. boolean
hasCpkChecksumBuilder()
Checks whether the 'cpkChecksum' field has an active Builder instance CPK's checksum to which this chunk belongs to CpkChunkId.Builder
clearCpkChecksum()
Clears the value of the 'cpkChecksum' field. boolean
hasCpkChunkPartNumber()
Checks whether the 'cpkChunkPartNumber' field has been set. CpkChunkId.Builder
clearCpkChunkPartNumber()
Clears the value of the 'cpkChunkPartNumber' field. CpkChunkId
build()
-
-
Method Detail
-
getCpkChecksum
SecureHash getCpkChecksum()
Gets the value of the 'cpkChecksum' field. CPK's checksum to which this chunk belongs to
-
setCpkChecksum
CpkChunkId.Builder setCpkChecksum(SecureHash value)
Sets the value of the 'cpkChecksum' field. CPK's checksum to which this chunk belongs to
- Parameters:
value
- The value of 'cpkChecksum'.
-
getCpkChecksumBuilder
SecureHash.Builder getCpkChecksumBuilder()
Gets the Builder instance for the 'cpkChecksum' field and creates one if it doesn't exist yet. CPK's checksum to which this chunk belongs to
-
setCpkChecksumBuilder
CpkChunkId.Builder setCpkChecksumBuilder(SecureHash.Builder value)
Sets the Builder instance for the 'cpkChecksum' field CPK's checksum to which this chunk belongs to
- Parameters:
value
- The builder instance that must be set.
-
getCpkChunkPartNumber
int getCpkChunkPartNumber()
Gets the value of the 'cpkChunkPartNumber' field. number of CPK chunk
-
setCpkChunkPartNumber
CpkChunkId.Builder setCpkChunkPartNumber(int value)
Sets the value of the 'cpkChunkPartNumber' field. number of CPK chunk
- Parameters:
value
- The value of 'cpkChunkPartNumber'.
-
hasCpkChecksum
boolean hasCpkChecksum()
Checks whether the 'cpkChecksum' field has been set. CPK's checksum to which this chunk belongs to
-
hasCpkChecksumBuilder
boolean hasCpkChecksumBuilder()
Checks whether the 'cpkChecksum' field has an active Builder instance CPK's checksum to which this chunk belongs to
-
clearCpkChecksum
CpkChunkId.Builder clearCpkChecksum()
Clears the value of the 'cpkChecksum' field. CPK's checksum to which this chunk belongs to
-
hasCpkChunkPartNumber
boolean hasCpkChunkPartNumber()
Checks whether the 'cpkChunkPartNumber' field has been set. number of CPK chunk
-
clearCpkChunkPartNumber
CpkChunkId.Builder clearCpkChunkPartNumber()
Clears the value of the 'cpkChunkPartNumber' field. number of CPK chunk
-
build
CpkChunkId build()
-
-
-
-