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.

    • Constructor Detail

    • Method Detail

      • getGroupId

         String getGroupId()

        Gets the value of the 'groupId' field. Group which the group definition belongs to.

      • 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.

      • 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.

      • 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.

      • 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.

      • hasVersion

         boolean hasVersion()

        Checks whether the 'version' field has been set. The persisted static network information version number.