Class SignedMemberships.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class SignedMemberships.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for SignedMemberships instances.
-
-
Field Summary
Fields Modifier and Type Field Description public SecureHash
hashCheck
public SecureHash.Builder
hashCheckBuilder
public List<SignedMemberInfo>
memberships
-
Method Summary
Modifier and Type Method Description SecureHash
getHashCheck()
Gets the value of the 'hashCheck' field. SignedMemberships.Builder
setHashCheck(SecureHash value)
Sets the value of the 'hashCheck' field. SecureHash.Builder
getHashCheckBuilder()
Gets the Builder instance for the 'hashCheck' field and creates one if it doesn't exist yet. SignedMemberships.Builder
setHashCheckBuilder(SecureHash.Builder value)
Sets the Builder instance for the 'hashCheck' field Hash value to help identify out-of-sync members. List<SignedMemberInfo>
getMemberships()
Gets the value of the 'memberships' field. SignedMemberships.Builder
setMemberships(List<SignedMemberInfo> value)
Sets the value of the 'memberships' field. boolean
hasHashCheck()
Checks whether the 'hashCheck' field has been set. boolean
hasHashCheckBuilder()
Checks whether the 'hashCheck' field has an active Builder instance Hash value to help identify out-of-sync members. SignedMemberships.Builder
clearHashCheck()
Clears the value of the 'hashCheck' field. boolean
hasMemberships()
Checks whether the 'memberships' field has been set. SignedMemberships.Builder
clearMemberships()
Clears the value of the 'memberships' field. SignedMemberships
build()
-
-
Method Detail
-
getHashCheck
SecureHash getHashCheck()
Gets the value of the 'hashCheck' field. Hash value to help identify out-of-sync members.
-
setHashCheck
SignedMemberships.Builder setHashCheck(SecureHash value)
Sets the value of the 'hashCheck' field. Hash value to help identify out-of-sync members.
- Parameters:
value
- The value of 'hashCheck'.
-
getHashCheckBuilder
SecureHash.Builder getHashCheckBuilder()
Gets the Builder instance for the 'hashCheck' field and creates one if it doesn't exist yet. Hash value to help identify out-of-sync members.
-
setHashCheckBuilder
SignedMemberships.Builder setHashCheckBuilder(SecureHash.Builder value)
Sets the Builder instance for the 'hashCheck' field Hash value to help identify out-of-sync members.
- Parameters:
value
- The builder instance that must be set.
-
getMemberships
List<SignedMemberInfo> getMemberships()
Gets the value of the 'memberships' field. List of signed membership updates.
-
setMemberships
SignedMemberships.Builder setMemberships(List<SignedMemberInfo> value)
Sets the value of the 'memberships' field. List of signed membership updates.
- Parameters:
value
- The value of 'memberships'.
-
hasHashCheck
boolean hasHashCheck()
Checks whether the 'hashCheck' field has been set. Hash value to help identify out-of-sync members.
-
hasHashCheckBuilder
boolean hasHashCheckBuilder()
Checks whether the 'hashCheck' field has an active Builder instance Hash value to help identify out-of-sync members.
-
clearHashCheck
SignedMemberships.Builder clearHashCheck()
Clears the value of the 'hashCheck' field. Hash value to help identify out-of-sync members.
-
hasMemberships
boolean hasMemberships()
Checks whether the 'memberships' field has been set. List of signed membership updates.
-
clearMemberships
SignedMemberships.Builder clearMemberships()
Clears the value of the 'memberships' field. List of signed membership updates.
-
build
SignedMemberships build()
-
-
-
-