Class StaticNetworkInfo.Builder
-
- All Implemented Interfaces:
-
org.apache.avro.data.RecordBuilder
public class StaticNetworkInfo.Builder extends SpecificRecordBuilderBase<T> implements RecordBuilder<T>
RecordBuilder for StaticNetworkInfo instances.
-
-
Field Summary
Fields Modifier and Type Field Description public String
groupId
public KeyValuePairList
groupParameters
public KeyValuePairList.Builder
groupParametersBuilder
public ByteBuffer
mgmPublicSigningKey
public ByteBuffer
mgmPrivateSigningKey
public int
version
-
Method Summary
Modifier and Type Method Description String
getGroupId()
Gets the value of the 'groupId' field. StaticNetworkInfo.Builder
setGroupId(String value)
Sets the value of the 'groupId' field. KeyValuePairList
getGroupParameters()
Gets the value of the 'groupParameters' field. StaticNetworkInfo.Builder
setGroupParameters(KeyValuePairList value)
Sets the value of the 'groupParameters' field. KeyValuePairList.Builder
getGroupParametersBuilder()
Gets the Builder instance for the 'groupParameters' field and creates one if it doesn't exist yet. StaticNetworkInfo.Builder
setGroupParametersBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'groupParameters' field Group Parameters for the group. ByteBuffer
getMgmPublicSigningKey()
Gets the value of the 'mgmPublicSigningKey' field. StaticNetworkInfo.Builder
setMgmPublicSigningKey(ByteBuffer value)
Sets the value of the 'mgmPublicSigningKey' field. ByteBuffer
getMgmPrivateSigningKey()
Gets the value of the 'mgmPrivateSigningKey' field. StaticNetworkInfo.Builder
setMgmPrivateSigningKey(ByteBuffer value)
Sets the value of the 'mgmPrivateSigningKey' field. int
getVersion()
Gets the value of the 'version' field. StaticNetworkInfo.Builder
setVersion(int value)
Sets the value of the 'version' field. boolean
hasGroupId()
Checks whether the 'groupId' field has been set. StaticNetworkInfo.Builder
clearGroupId()
Clears the value of the 'groupId' field. boolean
hasGroupParameters()
Checks whether the 'groupParameters' field has been set. boolean
hasGroupParametersBuilder()
Checks whether the 'groupParameters' field has an active Builder instance Group Parameters for the group. StaticNetworkInfo.Builder
clearGroupParameters()
Clears the value of the 'groupParameters' field. boolean
hasMgmPublicSigningKey()
Checks whether the 'mgmPublicSigningKey' field has been set. StaticNetworkInfo.Builder
clearMgmPublicSigningKey()
Clears the value of the 'mgmPublicSigningKey' field. boolean
hasMgmPrivateSigningKey()
Checks whether the 'mgmPrivateSigningKey' field has been set. StaticNetworkInfo.Builder
clearMgmPrivateSigningKey()
Clears the value of the 'mgmPrivateSigningKey' field. boolean
hasVersion()
Checks whether the 'version' field has been set. StaticNetworkInfo.Builder
clearVersion()
Clears the value of the 'version' field. StaticNetworkInfo
build()
-
-
Method Detail
-
getGroupId
String getGroupId()
Gets the value of the 'groupId' field. Group which the group definition belongs to.
-
setGroupId
StaticNetworkInfo.Builder setGroupId(String value)
Sets the value of the 'groupId' field. Group which the group definition belongs to.
- Parameters:
value
- The value of 'groupId'.
-
getGroupParameters
KeyValuePairList getGroupParameters()
Gets the value of the 'groupParameters' field. Group Parameters for the group.
-
setGroupParameters
StaticNetworkInfo.Builder setGroupParameters(KeyValuePairList value)
Sets the value of the 'groupParameters' field. Group Parameters for the group.
- Parameters:
value
- The value of 'groupParameters'.
-
getGroupParametersBuilder
KeyValuePairList.Builder getGroupParametersBuilder()
Gets the Builder instance for the 'groupParameters' field and creates one if it doesn't exist yet. Group Parameters for the group.
-
setGroupParametersBuilder
StaticNetworkInfo.Builder setGroupParametersBuilder(KeyValuePairList.Builder value)
Sets the Builder instance for the 'groupParameters' field Group Parameters for the group.
- Parameters:
value
- The builder instance that must be set.
-
getMgmPublicSigningKey
ByteBuffer getMgmPublicSigningKey()
Gets the value of the 'mgmPublicSigningKey' field. The MGM's public key encoded as a byte array used for MGM signature verification in a static network.
-
setMgmPublicSigningKey
StaticNetworkInfo.Builder setMgmPublicSigningKey(ByteBuffer value)
Sets the value of the 'mgmPublicSigningKey' field. The MGM's public key encoded as a byte array used for MGM signature verification in a static network.
- Parameters:
value
- The value of 'mgmPublicSigningKey'.
-
getMgmPrivateSigningKey
ByteBuffer getMgmPrivateSigningKey()
Gets the value of the 'mgmPrivateSigningKey' field. The virtual MGM's private key encoded as a byte array used for signing as an MGM in a static network.
-
setMgmPrivateSigningKey
StaticNetworkInfo.Builder setMgmPrivateSigningKey(ByteBuffer value)
Sets the value of the 'mgmPrivateSigningKey' field. The virtual MGM's private key encoded as a byte array used for signing as an MGM in a static network.
- Parameters:
value
- The value of 'mgmPrivateSigningKey'.
-
getVersion
int getVersion()
Gets the value of the 'version' field. The persisted static network information version number.
-
setVersion
StaticNetworkInfo.Builder setVersion(int value)
Sets the value of the 'version' field. The persisted static network information version number.
- Parameters:
value
- The value of 'version'.
-
hasGroupId
boolean hasGroupId()
Checks whether the 'groupId' field has been set. Group which the group definition belongs to.
-
clearGroupId
StaticNetworkInfo.Builder clearGroupId()
Clears the value of the 'groupId' field. Group which the group definition belongs to.
-
hasGroupParameters
boolean hasGroupParameters()
Checks whether the 'groupParameters' field has been set. Group Parameters for the group.
-
hasGroupParametersBuilder
boolean hasGroupParametersBuilder()
Checks whether the 'groupParameters' field has an active Builder instance Group Parameters for the group.
-
clearGroupParameters
StaticNetworkInfo.Builder clearGroupParameters()
Clears the value of the 'groupParameters' field. Group Parameters for the group.
-
hasMgmPublicSigningKey
boolean hasMgmPublicSigningKey()
Checks whether the 'mgmPublicSigningKey' field has been set. The MGM's public key encoded as a byte array used for MGM signature verification in a static network.
-
clearMgmPublicSigningKey
StaticNetworkInfo.Builder clearMgmPublicSigningKey()
Clears the value of the 'mgmPublicSigningKey' field. The MGM's public key encoded as a byte array used for MGM signature verification in a static network.
-
hasMgmPrivateSigningKey
boolean hasMgmPrivateSigningKey()
Checks whether the 'mgmPrivateSigningKey' field has been set. The virtual MGM's private key encoded as a byte array used for signing as an MGM in a static network.
-
clearMgmPrivateSigningKey
StaticNetworkInfo.Builder clearMgmPrivateSigningKey()
Clears the value of the 'mgmPrivateSigningKey' field. The virtual MGM's private key encoded as a byte array used for signing as an MGM in a static network.
-
hasVersion
boolean hasVersion()
Checks whether the 'version' field has been set. The persisted static network information version number.
-
clearVersion
StaticNetworkInfo.Builder clearVersion()
Clears the value of the 'version' field. The persisted static network information version number.
-
build
StaticNetworkInfo build()
-
-
-
-