Class CpkIdentifier.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class CpkIdentifier.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for CpkIdentifier instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
name
public String
version
public SecureHash
signerSummaryHash
public SecureHash.Builder
signerSummaryHashBuilder
-
Method Summary
Modifier and Type Method Description String
getName()
Gets the value of the 'name' field. CpkIdentifier.Builder
setName(String value)
Sets the value of the 'name' field. String
getVersion()
Gets the value of the 'version' field. CpkIdentifier.Builder
setVersion(String value)
Sets the value of the 'version' field. SecureHash
getSignerSummaryHash()
Gets the value of the 'signerSummaryHash' field. CpkIdentifier.Builder
setSignerSummaryHash(SecureHash value)
Sets the value of the 'signerSummaryHash' field. SecureHash.Builder
getSignerSummaryHashBuilder()
Gets the Builder instance for the 'signerSummaryHash' field and creates one if it doesn't exist yet. CpkIdentifier.Builder
setSignerSummaryHashBuilder(SecureHash.Builder value)
Sets the Builder instance for the 'signerSummaryHash' field boolean
hasName()
Checks whether the 'name' field has been set. CpkIdentifier.Builder
clearName()
Clears the value of the 'name' field. boolean
hasVersion()
Checks whether the 'version' field has been set. CpkIdentifier.Builder
clearVersion()
Clears the value of the 'version' field. boolean
hasSignerSummaryHash()
Checks whether the 'signerSummaryHash' field has been set. boolean
hasSignerSummaryHashBuilder()
Checks whether the 'signerSummaryHash' field has an active Builder instance CpkIdentifier.Builder
clearSignerSummaryHash()
Clears the value of the 'signerSummaryHash' field. CpkIdentifier
build()
-
-
Method Detail
-
setName
CpkIdentifier.Builder setName(String value)
Sets the value of the 'name' field.
- Parameters:
value
- The value of 'name'.
-
getVersion
String getVersion()
Gets the value of the 'version' field.
-
setVersion
CpkIdentifier.Builder setVersion(String value)
Sets the value of the 'version' field.
- Parameters:
value
- The value of 'version'.
-
getSignerSummaryHash
SecureHash getSignerSummaryHash()
Gets the value of the 'signerSummaryHash' field.
-
setSignerSummaryHash
CpkIdentifier.Builder setSignerSummaryHash(SecureHash value)
Sets the value of the 'signerSummaryHash' field.
- Parameters:
value
- The value of 'signerSummaryHash'.
-
getSignerSummaryHashBuilder
SecureHash.Builder getSignerSummaryHashBuilder()
Gets the Builder instance for the 'signerSummaryHash' field and creates one if it doesn't exist yet.
-
setSignerSummaryHashBuilder
CpkIdentifier.Builder setSignerSummaryHashBuilder(SecureHash.Builder value)
Sets the Builder instance for the 'signerSummaryHash' field
- Parameters:
value
- The builder instance that must be set.
-
hasName
boolean hasName()
Checks whether the 'name' field has been set.
-
clearName
CpkIdentifier.Builder clearName()
Clears the value of the 'name' field.
-
hasVersion
boolean hasVersion()
Checks whether the 'version' field has been set.
-
clearVersion
CpkIdentifier.Builder clearVersion()
Clears the value of the 'version' field.
-
hasSignerSummaryHash
boolean hasSignerSummaryHash()
Checks whether the 'signerSummaryHash' field has been set.
-
hasSignerSummaryHashBuilder
boolean hasSignerSummaryHashBuilder()
Checks whether the 'signerSummaryHash' field has an active Builder instance
-
clearSignerSummaryHash
CpkIdentifier.Builder clearSignerSummaryHash()
Clears the value of the 'signerSummaryHash' field.
-
build
CpkIdentifier build()
-
-
-
-