Class Permission.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class Permission.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for Permission instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
id
public int
version
public ChangeDetails
lastChangeDetails
public ChangeDetails.Builder
lastChangeDetailsBuilder
public String
virtualNode
public PermissionType
permissionType
public String
permissionString
public String
groupVisibility
-
Method Summary
Modifier and Type Method Description String
getId()
Gets the value of the 'id' field. Permission.Builder
setId(String value)
Sets the value of the 'id' field. int
getVersion()
Gets the value of the 'version' field. Permission.Builder
setVersion(int value)
Sets the value of the 'version' field. ChangeDetails
getLastChangeDetails()
Gets the value of the 'lastChangeDetails' field. Permission.Builder
setLastChangeDetails(ChangeDetails value)
Sets the value of the 'lastChangeDetails' field. ChangeDetails.Builder
getLastChangeDetailsBuilder()
Gets the Builder instance for the 'lastChangeDetails' field and creates one if it doesn't exist yet. Permission.Builder
setLastChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'lastChangeDetails' field String
getVirtualNode()
Gets the value of the 'virtualNode' field. Permission.Builder
setVirtualNode(String value)
Sets the value of the 'virtualNode' field. PermissionType
getPermissionType()
Gets the value of the 'permissionType' field. Permission.Builder
setPermissionType(PermissionType value)
Sets the value of the 'permissionType' field. String
getPermissionString()
Gets the value of the 'permissionString' field. Permission.Builder
setPermissionString(String value)
Sets the value of the 'permissionString' field. String
getGroupVisibility()
Gets the value of the 'groupVisibility' field. Permission.Builder
setGroupVisibility(String value)
Sets the value of the 'groupVisibility' field. boolean
hasId()
Checks whether the 'id' field has been set. Permission.Builder
clearId()
Clears the value of the 'id' field. boolean
hasVersion()
Checks whether the 'version' field has been set. Permission.Builder
clearVersion()
Clears the value of the 'version' field. boolean
hasLastChangeDetails()
Checks whether the 'lastChangeDetails' field has been set. boolean
hasLastChangeDetailsBuilder()
Checks whether the 'lastChangeDetails' field has an active Builder instance Permission.Builder
clearLastChangeDetails()
Clears the value of the 'lastChangeDetails' field. boolean
hasVirtualNode()
Checks whether the 'virtualNode' field has been set. Permission.Builder
clearVirtualNode()
Clears the value of the 'virtualNode' field. boolean
hasPermissionType()
Checks whether the 'permissionType' field has been set. Permission.Builder
clearPermissionType()
Clears the value of the 'permissionType' field. boolean
hasPermissionString()
Checks whether the 'permissionString' field has been set. Permission.Builder
clearPermissionString()
Clears the value of the 'permissionString' field. boolean
hasGroupVisibility()
Checks whether the 'groupVisibility' field has been set. Permission.Builder
clearGroupVisibility()
Clears the value of the 'groupVisibility' field. Permission
build()
-
-
Method Detail
-
setId
Permission.Builder setId(String value)
Sets the value of the 'id' field.
- Parameters:
value
- The value of 'id'.
-
getVersion
int getVersion()
Gets the value of the 'version' field.
-
setVersion
Permission.Builder setVersion(int value)
Sets the value of the 'version' field.
- Parameters:
value
- The value of 'version'.
-
getLastChangeDetails
ChangeDetails getLastChangeDetails()
Gets the value of the 'lastChangeDetails' field.
-
setLastChangeDetails
Permission.Builder setLastChangeDetails(ChangeDetails value)
Sets the value of the 'lastChangeDetails' field.
- Parameters:
value
- The value of 'lastChangeDetails'.
-
getLastChangeDetailsBuilder
ChangeDetails.Builder getLastChangeDetailsBuilder()
Gets the Builder instance for the 'lastChangeDetails' field and creates one if it doesn't exist yet.
-
setLastChangeDetailsBuilder
Permission.Builder setLastChangeDetailsBuilder(ChangeDetails.Builder value)
Sets the Builder instance for the 'lastChangeDetails' field
- Parameters:
value
- The builder instance that must be set.
-
getVirtualNode
String getVirtualNode()
Gets the value of the 'virtualNode' field.
-
setVirtualNode
Permission.Builder setVirtualNode(String value)
Sets the value of the 'virtualNode' field.
- Parameters:
value
- The value of 'virtualNode'.
-
getPermissionType
PermissionType getPermissionType()
Gets the value of the 'permissionType' field.
-
setPermissionType
Permission.Builder setPermissionType(PermissionType value)
Sets the value of the 'permissionType' field.
- Parameters:
value
- The value of 'permissionType'.
-
getPermissionString
String getPermissionString()
Gets the value of the 'permissionString' field.
-
setPermissionString
Permission.Builder setPermissionString(String value)
Sets the value of the 'permissionString' field.
- Parameters:
value
- The value of 'permissionString'.
-
getGroupVisibility
String getGroupVisibility()
Gets the value of the 'groupVisibility' field.
-
setGroupVisibility
Permission.Builder setGroupVisibility(String value)
Sets the value of the 'groupVisibility' field.
- Parameters:
value
- The value of 'groupVisibility'.
-
hasId
boolean hasId()
Checks whether the 'id' field has been set.
-
clearId
Permission.Builder clearId()
Clears the value of the 'id' field.
-
hasVersion
boolean hasVersion()
Checks whether the 'version' field has been set.
-
clearVersion
Permission.Builder clearVersion()
Clears the value of the 'version' field.
-
hasLastChangeDetails
boolean hasLastChangeDetails()
Checks whether the 'lastChangeDetails' field has been set.
-
hasLastChangeDetailsBuilder
boolean hasLastChangeDetailsBuilder()
Checks whether the 'lastChangeDetails' field has an active Builder instance
-
clearLastChangeDetails
Permission.Builder clearLastChangeDetails()
Clears the value of the 'lastChangeDetails' field.
-
hasVirtualNode
boolean hasVirtualNode()
Checks whether the 'virtualNode' field has been set.
-
clearVirtualNode
Permission.Builder clearVirtualNode()
Clears the value of the 'virtualNode' field.
-
hasPermissionType
boolean hasPermissionType()
Checks whether the 'permissionType' field has been set.
-
clearPermissionType
Permission.Builder clearPermissionType()
Clears the value of the 'permissionType' field.
-
hasPermissionString
boolean hasPermissionString()
Checks whether the 'permissionString' field has been set.
-
clearPermissionString
Permission.Builder clearPermissionString()
Clears the value of the 'permissionString' field.
-
hasGroupVisibility
boolean hasGroupVisibility()
Checks whether the 'groupVisibility' field has been set.
-
clearGroupVisibility
Permission.Builder clearGroupVisibility()
Clears the value of the 'groupVisibility' field.
-
build
Permission build()
-
-
-
-