Class RegistrationState.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class RegistrationState.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for RegistrationState instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
registrationId
public HoldingIdentity
registeringMember
public HoldingIdentity.Builder
registeringMemberBuilder
public HoldingIdentity
mgm
public HoldingIdentity.Builder
mgmBuilder
public List<CompletedCommandMetadata>
previouslyCompletedCommands
-
Method Summary
Modifier and Type Method Description String
getRegistrationId()
Gets the value of the 'registrationId' field. RegistrationState.Builder
setRegistrationId(String value)
Sets the value of the 'registrationId' field. HoldingIdentity
getRegisteringMember()
Gets the value of the 'registeringMember' field. RegistrationState.Builder
setRegisteringMember(HoldingIdentity value)
Sets the value of the 'registeringMember' field. HoldingIdentity.Builder
getRegisteringMemberBuilder()
Gets the Builder instance for the 'registeringMember' field and creates one if it doesn't exist yet. RegistrationState.Builder
setRegisteringMemberBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'registeringMember' field Holding identity of the registering member as provided during P2P communication. HoldingIdentity
getMgm()
Gets the value of the 'mgm' field. RegistrationState.Builder
setMgm(HoldingIdentity value)
Sets the value of the 'mgm' field. HoldingIdentity.Builder
getMgmBuilder()
Gets the Builder instance for the 'mgm' field and creates one if it doesn't exist yet. RegistrationState.Builder
setMgmBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'mgm' field Holding identity of the MGM. List<CompletedCommandMetadata>
getPreviouslyCompletedCommands()
Gets the value of the 'previouslyCompletedCommands' field. RegistrationState.Builder
setPreviouslyCompletedCommands(List<CompletedCommandMetadata> value)
Sets the value of the 'previouslyCompletedCommands' field. boolean
hasRegistrationId()
Checks whether the 'registrationId' field has been set. RegistrationState.Builder
clearRegistrationId()
Clears the value of the 'registrationId' field. boolean
hasRegisteringMember()
Checks whether the 'registeringMember' field has been set. boolean
hasRegisteringMemberBuilder()
Checks whether the 'registeringMember' field has an active Builder instance Holding identity of the registering member as provided during P2P communication. RegistrationState.Builder
clearRegisteringMember()
Clears the value of the 'registeringMember' field. boolean
hasMgm()
Checks whether the 'mgm' field has been set. boolean
hasMgmBuilder()
Checks whether the 'mgm' field has an active Builder instance Holding identity of the MGM. RegistrationState.Builder
clearMgm()
Clears the value of the 'mgm' field. boolean
hasPreviouslyCompletedCommands()
Checks whether the 'previouslyCompletedCommands' field has been set. RegistrationState.Builder
clearPreviouslyCompletedCommands()
Clears the value of the 'previouslyCompletedCommands' field. RegistrationState
build()
-
-
Method Detail
-
getRegistrationId
String getRegistrationId()
Gets the value of the 'registrationId' field. UUID identifying this registration request
-
setRegistrationId
RegistrationState.Builder setRegistrationId(String value)
Sets the value of the 'registrationId' field. UUID identifying this registration request
- Parameters:
value
- The value of 'registrationId'.
-
getRegisteringMember
HoldingIdentity getRegisteringMember()
Gets the value of the 'registeringMember' field. Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.
-
setRegisteringMember
RegistrationState.Builder setRegisteringMember(HoldingIdentity value)
Sets the value of the 'registeringMember' field. Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.
- Parameters:
value
- The value of 'registeringMember'.
-
getRegisteringMemberBuilder
HoldingIdentity.Builder getRegisteringMemberBuilder()
Gets the Builder instance for the 'registeringMember' field and creates one if it doesn't exist yet. Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.
-
setRegisteringMemberBuilder
RegistrationState.Builder setRegisteringMemberBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'registeringMember' field Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.
- Parameters:
value
- The builder instance that must be set.
-
getMgm
HoldingIdentity getMgm()
Gets the value of the 'mgm' field. Holding identity of the MGM.
-
setMgm
RegistrationState.Builder setMgm(HoldingIdentity value)
Sets the value of the 'mgm' field. Holding identity of the MGM.
- Parameters:
value
- The value of 'mgm'.
-
getMgmBuilder
HoldingIdentity.Builder getMgmBuilder()
Gets the Builder instance for the 'mgm' field and creates one if it doesn't exist yet. Holding identity of the MGM.
-
setMgmBuilder
RegistrationState.Builder setMgmBuilder(HoldingIdentity.Builder value)
Sets the Builder instance for the 'mgm' field Holding identity of the MGM.
- Parameters:
value
- The builder instance that must be set.
-
getPreviouslyCompletedCommands
List<CompletedCommandMetadata> getPreviouslyCompletedCommands()
Gets the value of the 'previouslyCompletedCommands' field. A list of all the previously completed commands during registration. Can be used for idempotency in the case of message replays.
-
setPreviouslyCompletedCommands
RegistrationState.Builder setPreviouslyCompletedCommands(List<CompletedCommandMetadata> value)
Sets the value of the 'previouslyCompletedCommands' field. A list of all the previously completed commands during registration. Can be used for idempotency in the case of message replays.
- Parameters:
value
- The value of 'previouslyCompletedCommands'.
-
hasRegistrationId
boolean hasRegistrationId()
Checks whether the 'registrationId' field has been set. UUID identifying this registration request
-
clearRegistrationId
RegistrationState.Builder clearRegistrationId()
Clears the value of the 'registrationId' field. UUID identifying this registration request
-
hasRegisteringMember
boolean hasRegisteringMember()
Checks whether the 'registeringMember' field has been set. Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.
-
hasRegisteringMemberBuilder
boolean hasRegisteringMemberBuilder()
Checks whether the 'registeringMember' field has an active Builder instance Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.
-
clearRegisteringMember
RegistrationState.Builder clearRegisteringMember()
Clears the value of the 'registeringMember' field. Holding identity of the registering member as provided during P2P communication. Used to verify the registration request.
-
hasMgm
boolean hasMgm()
Checks whether the 'mgm' field has been set. Holding identity of the MGM.
-
hasMgmBuilder
boolean hasMgmBuilder()
Checks whether the 'mgm' field has an active Builder instance Holding identity of the MGM.
-
clearMgm
RegistrationState.Builder clearMgm()
Clears the value of the 'mgm' field. Holding identity of the MGM.
-
hasPreviouslyCompletedCommands
boolean hasPreviouslyCompletedCommands()
Checks whether the 'previouslyCompletedCommands' field has been set. A list of all the previously completed commands during registration. Can be used for idempotency in the case of message replays.
-
clearPreviouslyCompletedCommands
RegistrationState.Builder clearPreviouslyCompletedCommands()
Clears the value of the 'previouslyCompletedCommands' field. A list of all the previously completed commands during registration. Can be used for idempotency in the case of message replays.
-
build
RegistrationState build()
-
-
-
-