Iot/src/V1/RegistryCredential.php
public function setPublicKeyCertificate($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Iot\V1\PublicKeyCertificate::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setPublicKeyCertificate($var)
    {
        GPBUtil::checkMessage($var, \Google\Cloud\Iot\V1\PublicKeyCertificate::class);
        $this->writeOneof(1, $var);

        return $this;
    }
public function setPublicKeyCertificate ( $ var ) { GPBUtil :: checkMessage ( $ var , \ Google \ Cloud \ Iot \ V1 \ PublicKeyCertificate :: class ) ; $ this -> writeOneof ( 1 , $ var ) ; return $ this ; }
A public key certificate used to verify the device credentials.

Generated from protobuf field <code>.google.cloud.iot.v1.PublicKeyCertificate public_key_certificate = 1;</code>
@param \Google\Cloud\Iot\V1\PublicKeyCertificate $var
@return $this
A public key certificate used to verify the device credentials .