Class MembershipPackage.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class MembershipPackage.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for MembershipPackage instances.
-
-
Field Summary
Fields Modifier and Type Field Description public DistributionType
distributionType
public int
currentPage
public int
pageCount
public DistributionMetaData
distributionMetaData
public DistributionMetaData.Builder
distributionMetaDataBuilder
public SignedMemberships
memberships
public SignedMemberships.Builder
membershipsBuilder
public SignedGroupParameters
groupParameters
public SignedGroupParameters.Builder
groupParametersBuilder
-
Method Summary
Modifier and Type Method Description DistributionType
getDistributionType()
Gets the value of the 'distributionType' field. MembershipPackage.Builder
setDistributionType(DistributionType value)
Sets the value of the 'distributionType' field. int
getCurrentPage()
Gets the value of the 'currentPage' field. MembershipPackage.Builder
setCurrentPage(int value)
Sets the value of the 'currentPage' field. int
getPageCount()
Gets the value of the 'pageCount' field. MembershipPackage.Builder
setPageCount(int value)
Sets the value of the 'pageCount' field. DistributionMetaData
getDistributionMetaData()
Gets the value of the 'distributionMetaData' field. MembershipPackage.Builder
setDistributionMetaData(DistributionMetaData value)
Sets the value of the 'distributionMetaData' field. DistributionMetaData.Builder
getDistributionMetaDataBuilder()
Gets the Builder instance for the 'distributionMetaData' field and creates one if it doesn't exist yet. MembershipPackage.Builder
setDistributionMetaDataBuilder(DistributionMetaData.Builder value)
Sets the Builder instance for the 'distributionMetaData' field Basic information about the data distribution, can also be a response to a sync. SignedMemberships
getMemberships()
Gets the value of the 'memberships' field. MembershipPackage.Builder
setMemberships(SignedMemberships value)
Sets the value of the 'memberships' field. SignedMemberships.Builder
getMembershipsBuilder()
Gets the Builder instance for the 'memberships' field and creates one if it doesn't exist yet. MembershipPackage.Builder
setMembershipsBuilder(SignedMemberships.Builder value)
Sets the Builder instance for the 'memberships' field Membership updates. SignedGroupParameters
getGroupParameters()
Gets the value of the 'groupParameters' field. MembershipPackage.Builder
setGroupParameters(SignedGroupParameters value)
Sets the value of the 'groupParameters' field. SignedGroupParameters.Builder
getGroupParametersBuilder()
Gets the Builder instance for the 'groupParameters' field and creates one if it doesn't exist yet. MembershipPackage.Builder
setGroupParametersBuilder(SignedGroupParameters.Builder value)
Sets the Builder instance for the 'groupParameters' field GroupParameters updates. boolean
hasDistributionType()
Checks whether the 'distributionType' field has been set. MembershipPackage.Builder
clearDistributionType()
Clears the value of the 'distributionType' field. boolean
hasCurrentPage()
Checks whether the 'currentPage' field has been set. MembershipPackage.Builder
clearCurrentPage()
Clears the value of the 'currentPage' field. boolean
hasPageCount()
Checks whether the 'pageCount' field has been set. MembershipPackage.Builder
clearPageCount()
Clears the value of the 'pageCount' field. boolean
hasDistributionMetaData()
Checks whether the 'distributionMetaData' field has been set. boolean
hasDistributionMetaDataBuilder()
Checks whether the 'distributionMetaData' field has an active Builder instance Basic information about the data distribution, can also be a response to a sync. MembershipPackage.Builder
clearDistributionMetaData()
Clears the value of the 'distributionMetaData' field. boolean
hasMemberships()
Checks whether the 'memberships' field has been set. boolean
hasMembershipsBuilder()
Checks whether the 'memberships' field has an active Builder instance Membership updates. MembershipPackage.Builder
clearMemberships()
Clears the value of the 'memberships' field. boolean
hasGroupParameters()
Checks whether the 'groupParameters' field has been set. boolean
hasGroupParametersBuilder()
Checks whether the 'groupParameters' field has an active Builder instance GroupParameters updates. MembershipPackage.Builder
clearGroupParameters()
Clears the value of the 'groupParameters' field. MembershipPackage
build()
-
-
Method Detail
-
getDistributionType
DistributionType getDistributionType()
Gets the value of the 'distributionType' field. Distribution type for this data package. Could be a standard MGM update, or a response to a requested synchronisation.
-
setDistributionType
MembershipPackage.Builder setDistributionType(DistributionType value)
Sets the value of the 'distributionType' field. Distribution type for this data package. Could be a standard MGM update, or a response to a requested synchronisation.
- Parameters:
value
- The value of 'distributionType'.
-
getCurrentPage
int getCurrentPage()
Gets the value of the 'currentPage' field. Placeholder for the current page we are processing.
-
setCurrentPage
MembershipPackage.Builder setCurrentPage(int value)
Sets the value of the 'currentPage' field. Placeholder for the current page we are processing.
- Parameters:
value
- The value of 'currentPage'.
-
getPageCount
int getPageCount()
Gets the value of the 'pageCount' field. The total number of pages in the given update.
-
setPageCount
MembershipPackage.Builder setPageCount(int value)
Sets the value of the 'pageCount' field. The total number of pages in the given update.
- Parameters:
value
- The value of 'pageCount'.
-
getDistributionMetaData
DistributionMetaData getDistributionMetaData()
Gets the value of the 'distributionMetaData' field. Basic information about the data distribution, can also be a response to a sync.
-
setDistributionMetaData
MembershipPackage.Builder setDistributionMetaData(DistributionMetaData value)
Sets the value of the 'distributionMetaData' field. Basic information about the data distribution, can also be a response to a sync.
- Parameters:
value
- The value of 'distributionMetaData'.
-
getDistributionMetaDataBuilder
DistributionMetaData.Builder getDistributionMetaDataBuilder()
Gets the Builder instance for the 'distributionMetaData' field and creates one if it doesn't exist yet. Basic information about the data distribution, can also be a response to a sync.
-
setDistributionMetaDataBuilder
MembershipPackage.Builder setDistributionMetaDataBuilder(DistributionMetaData.Builder value)
Sets the Builder instance for the 'distributionMetaData' field Basic information about the data distribution, can also be a response to a sync.
- Parameters:
value
- The builder instance that must be set.
-
getMemberships
SignedMemberships getMemberships()
Gets the value of the 'memberships' field. Membership updates.
-
setMemberships
MembershipPackage.Builder setMemberships(SignedMemberships value)
Sets the value of the 'memberships' field. Membership updates.
- Parameters:
value
- The value of 'memberships'.
-
getMembershipsBuilder
SignedMemberships.Builder getMembershipsBuilder()
Gets the Builder instance for the 'memberships' field and creates one if it doesn't exist yet. Membership updates.
-
setMembershipsBuilder
MembershipPackage.Builder setMembershipsBuilder(SignedMemberships.Builder value)
Sets the Builder instance for the 'memberships' field Membership updates.
- Parameters:
value
- The builder instance that must be set.
-
getGroupParameters
SignedGroupParameters getGroupParameters()
Gets the value of the 'groupParameters' field. GroupParameters updates.
-
setGroupParameters
MembershipPackage.Builder setGroupParameters(SignedGroupParameters value)
Sets the value of the 'groupParameters' field. GroupParameters updates.
- Parameters:
value
- The value of 'groupParameters'.
-
getGroupParametersBuilder
SignedGroupParameters.Builder getGroupParametersBuilder()
Gets the Builder instance for the 'groupParameters' field and creates one if it doesn't exist yet. GroupParameters updates.
-
setGroupParametersBuilder
MembershipPackage.Builder setGroupParametersBuilder(SignedGroupParameters.Builder value)
Sets the Builder instance for the 'groupParameters' field GroupParameters updates.
- Parameters:
value
- The builder instance that must be set.
-
hasDistributionType
boolean hasDistributionType()
Checks whether the 'distributionType' field has been set. Distribution type for this data package. Could be a standard MGM update, or a response to a requested synchronisation.
-
clearDistributionType
MembershipPackage.Builder clearDistributionType()
Clears the value of the 'distributionType' field. Distribution type for this data package. Could be a standard MGM update, or a response to a requested synchronisation.
-
hasCurrentPage
boolean hasCurrentPage()
Checks whether the 'currentPage' field has been set. Placeholder for the current page we are processing.
-
clearCurrentPage
MembershipPackage.Builder clearCurrentPage()
Clears the value of the 'currentPage' field. Placeholder for the current page we are processing.
-
hasPageCount
boolean hasPageCount()
Checks whether the 'pageCount' field has been set. The total number of pages in the given update.
-
clearPageCount
MembershipPackage.Builder clearPageCount()
Clears the value of the 'pageCount' field. The total number of pages in the given update.
-
hasDistributionMetaData
boolean hasDistributionMetaData()
Checks whether the 'distributionMetaData' field has been set. Basic information about the data distribution, can also be a response to a sync.
-
hasDistributionMetaDataBuilder
boolean hasDistributionMetaDataBuilder()
Checks whether the 'distributionMetaData' field has an active Builder instance Basic information about the data distribution, can also be a response to a sync.
-
clearDistributionMetaData
MembershipPackage.Builder clearDistributionMetaData()
Clears the value of the 'distributionMetaData' field. Basic information about the data distribution, can also be a response to a sync.
-
hasMemberships
boolean hasMemberships()
Checks whether the 'memberships' field has been set. Membership updates.
-
hasMembershipsBuilder
boolean hasMembershipsBuilder()
Checks whether the 'memberships' field has an active Builder instance Membership updates.
-
clearMemberships
MembershipPackage.Builder clearMemberships()
Clears the value of the 'memberships' field. Membership updates.
-
hasGroupParameters
boolean hasGroupParameters()
Checks whether the 'groupParameters' field has been set. GroupParameters updates.
-
hasGroupParametersBuilder
boolean hasGroupParametersBuilder()
Checks whether the 'groupParameters' field has an active Builder instance GroupParameters updates.
-
clearGroupParameters
MembershipPackage.Builder clearGroupParameters()
Clears the value of the 'groupParameters' field. GroupParameters updates.
-
build
MembershipPackage build()
-
-
-
-