Class VerificationResponse.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class VerificationResponse.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for VerificationResponse instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
registrationId
public KeyValuePairList
payload
public KeyValuePairList.Builder
payloadBuilder
-
Method Summary
Modifier and Type Method Description String
getRegistrationId()
Gets the value of the 'registrationId' field. VerificationResponse.Builder
setRegistrationId(String value)
Sets the value of the 'registrationId' field. KeyValuePairList
getPayload()
Gets the value of the 'payload' field. VerificationResponse.Builder
setPayload(KeyValuePairList value)
Sets the value of the 'payload' field. KeyValuePairList.Builder
getPayloadBuilder()
Gets the Builder instance for the 'payload' field and creates one if it doesn't exist yet. VerificationResponse.Builder
setPayloadBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'payload' field Response's payload. boolean
hasRegistrationId()
Checks whether the 'registrationId' field has been set. VerificationResponse.Builder
clearRegistrationId()
Clears the value of the 'registrationId' field. boolean
hasPayload()
Checks whether the 'payload' field has been set. boolean
hasPayloadBuilder()
Checks whether the 'payload' field has an active Builder instance Response's payload. VerificationResponse.Builder
clearPayload()
Clears the value of the 'payload' field. VerificationResponse
build()
-
-
Method Detail
-
getRegistrationId
String getRegistrationId()
Gets the value of the 'registrationId' field. ID of the registration we can associate the verification response with.
-
setRegistrationId
VerificationResponse.Builder setRegistrationId(String value)
Sets the value of the 'registrationId' field. ID of the registration we can associate the verification response with.
- Parameters:
value
- The value of 'registrationId'.
-
getPayload
KeyValuePairList getPayload()
Gets the value of the 'payload' field. Response's payload.
-
setPayload
VerificationResponse.Builder setPayload(KeyValuePairList value)
Sets the value of the 'payload' field. Response's payload.
- Parameters:
value
- The value of 'payload'.
-
getPayloadBuilder
KeyValuePairList.Builder getPayloadBuilder()
Gets the Builder instance for the 'payload' field and creates one if it doesn't exist yet. Response's payload.
-
setPayloadBuilder
VerificationResponse.Builder setPayloadBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'payload' field Response's payload.
- Parameters:
value
- The builder instance that must be set.
-
hasRegistrationId
boolean hasRegistrationId()
Checks whether the 'registrationId' field has been set. ID of the registration we can associate the verification response with.
-
clearRegistrationId
VerificationResponse.Builder clearRegistrationId()
Clears the value of the 'registrationId' field. ID of the registration we can associate the verification response with.
-
hasPayload
boolean hasPayload()
Checks whether the 'payload' field has been set. Response's payload.
-
hasPayloadBuilder
boolean hasPayloadBuilder()
Checks whether the 'payload' field has an active Builder instance Response's payload.
-
clearPayload
VerificationResponse.Builder clearPayload()
Clears the value of the 'payload' field. Response's payload.
-
build
VerificationResponse build()
-
-
-
-